/* ============================================================
   NIQ AMMAR SOFFIAN
   MAIN WEBSITE STYLESHEET
   ============================================================ */


/* ============================================================
   1. GLOBAL VARIABLES
   ============================================================ */

:root {

  --navy: #0A2554;

  --navy-dark: #081c43;

  --gold: #c9a35b;

  --gold-dark: #b48f49;

  --text: #667085;

  --heading: #102a56;

  --bg: #f7f8fb;

  --white: #ffffff;

  --border: #e7e9ee;

  --shadow: 0 10px 30px rgba(15, 30, 65, 0.08);

  --container: 1200px;

  --radius: 4px;

}


/* ============================================================
   2. BASIC RESET
   ============================================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}


img {
  max-width: 100%;
  display: block;
}


a {
  text-decoration: none;
  color: inherit;
}


ul {
  list-style: none;
}


button,
input,
select,
textarea {
  font-family: inherit;
}


a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 163, 91, 0.35);
  outline-offset: 3px;
}


/* ============================================================
   3. CONTAINER
   ============================================================ */

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}


/* ============================================================
   4. GENERAL SECTIONS
   ============================================================ */

.section {
  padding: 90px 0;
}


.section-light {
  background: var(--bg);
}


.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--heading);
  text-align: center;
  margin-bottom: 18px;
}


.section-subtitle {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.05rem;
}


main .section > .container > h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 20px;
}


main .section > .container > p + p {
  margin-top: 18px;
}


/* ============================================================
   5. PAGE BANNER
   ============================================================ */

.page-banner {
  background: var(--navy);
  color: var(--white);
  padding: 68px 0;
  text-align: center;
}


.page-banner h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 10px;
}


.page-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
  margin: 0 auto;
}


/* ============================================================
   6. HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(16, 42, 86, 0.08);
  box-shadow: 0 2px 10px rgba(16, 42, 86, 0.05);
}


.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


/* ============================================================
   7. BRAND
   ============================================================ */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}


.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}


.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--heading);
  font-size: 1.55rem;
  line-height: 1;
  white-space: nowrap;
}


/* ============================================================
   8. MOBILE NAVIGATION BUTTON
   ============================================================ */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-shrink: 0;
}


.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--heading);
  margin: 7px 0;
  transition: 0.25s ease;
}


/* ============================================================
   9. MAIN NAVIGATION
   ============================================================ */

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 30px;
}


.main-nav a {
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--heading);
  text-transform: uppercase;
  transition: color 0.25s ease;
}


.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}


/* ============================================================
   10. NAVIGATION DROPDOWN
   ============================================================ */

.has-dropdown {
  position: relative;
}


.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}


.has-dropdown > a::after {
  content: "⌄";
  font-size: 0.9rem;
  line-height: 1;
  transform: translateY(-1px);
}


.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s ease;
  z-index: 1001;
}


.dropdown a {
  display: block;
  padding: 14px 16px;
  font-size: 0.92rem;
  text-transform: none;
  white-space: nowrap;
}


.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* ============================================================
   11. HOMEPAGE HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(11, 34, 78, 0.68),
      rgba(11, 34, 78, 0.68)
    ),
    url("../images/Background.jpg") center / cover no-repeat;
}


.hero .container {
  position: relative;
  z-index: 1;
}


.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.4vw, 5.2rem);
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 22px;
}


.hero p {
  max-width: 780px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
}


.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================================
   12. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
  border-radius: 2px;
  cursor: pointer;
}


.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}


.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}


.btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--heading);
}


.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
}


.btn-dark:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}


.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}


.btn:disabled:hover {
  transform: none;
}


/* ============================================================
   13. GENERAL INTRODUCTION
   ============================================================ */

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}


.intro-text {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}


.intro-text h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 22px;
}


.intro-text p + p {
  margin-top: 18px;
}


.intro-text .btn {
  margin-top: 28px;
}


.intro-image img {
  width: 100%;
  border-radius: 0;
  box-shadow: var(--shadow);
  object-fit: cover;
}


/* ============================================================
   14. ABOUT PAGE MAIN INTRODUCTION
   ============================================================ */

/*
   Centres the group photograph above the About section.
*/
.about-hero-image {
  max-width: 820px;
  margin: 0 auto 52px;
}


/*
   Group photo appearance.
*/
.about-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow);
}


/*
   Holds the About heading and paragraphs beneath the photo.
*/
.about-main-content {
  max-width: 920px;
  margin: 0 auto;
}


/*
   About heading.
*/
.about-main-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
}


/*
   Paragraph spacing.
*/
.about-main-content p + p {
  margin-top: 18px;
}


/* ============================================================
   15. HOMEPAGE PRACTICE CARDS
   ============================================================ */

.cards {
  display: grid;
  gap: 24px;
}


.cards-5 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.practice-preview-wrap {
  max-width: 1080px;
  margin: 0 auto;
}


.card {
  height: 100%;
  background: var(--white);
  border: 1px solid transparent;
  padding: 28px 28px 24px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}


.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}


.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: 1.85rem;
  line-height: 1.2;
  margin-bottom: 14px;
}


.card p {
  font-size: 1rem;
}


/*
   Kept for compatibility if highlight is used elsewhere.
   Civil Litigation no longer uses this class.
*/
.card.highlight {
  border-color: var(--gold);
}


.practice-card h3 {
  font-size: 1.55rem;
}


.practice-card {
  min-height: 210px;
}


.practice-card-link {
  display: block;
  height: 100%;
}


.practice-card-link:hover .practice-card h3 {
  color: var(--gold);
}


/* ============================================================
   16. WHY CHOOSE US
   ============================================================ */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}


.feature h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: 1.75rem;
  margin-bottom: 12px;
  line-height: 1.2;
}


/* ============================================================
   17. CLIENT TESTIMONIALS
   ============================================================ */

.testimonial-section {
  background: var(--navy);
  color: var(--white);
}


/*
   IMPORTANT:
   Forces the heading to remain white against the navy
   background regardless of other heading styles.
*/
.testimonial-section .section-title {
  color: #ffffff !important;
}


/*
   Makes introductory testimonial wording clearly visible.
*/
.testimonial-section .section-subtitle {
  color: #ffffff !important;
}


/*
   Ensures ordinary paragraph text inside the testimonial
   section is also white.
*/
.testimonial-section p {
  color: #ffffff;
}


.testimonial-slider {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}


.testimonial-slide {
  display: none;
}


.testimonial-slide.active {
  display: block;
}


.testimonial-quote {
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.6;
  color: #ffffff !important;
  margin-bottom: 22px;
}


.testimonial-name {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}


.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}


.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}


.dot.active {
  background: var(--gold);
}


/* ============================================================
   18. HOMEPAGE TEAM PREVIEW
   ============================================================ */

.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: start;
}


.team-preview-card {
  text-align: center;
}


.team-preview-card img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  margin-bottom: 16px;
}


.team-preview-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 6px;
}


.team-preview-card p {
  color: var(--gold);
}


/* ============================================================
   19. ABOUT MISSION / VISION
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}


.two-col h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 20px;
}


.two-col p + p {
  margin-top: 16px;
}


/* ============================================================
   20. CORE VALUES
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  max-width: 980px;
  margin: 0 auto;
}


.value-box {
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}


.value-box h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: 1.65rem;
  margin-bottom: 10px;
}


/* ============================================================
   21. TEAM PAGE
   ============================================================ */

.team-member {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}


.team-member:last-child {
  border-bottom: none;
}


.team-member.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
}


.team-member.reverse .member-image {
  order: 2;
}


.team-member.reverse .member-content {
  order: 1;
}


.member-image img {
  width: 100%;
  aspect-ratio: 4 / 5.5;
  object-fit: cover;
}


.member-role {
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.09em;
  font-size: 0.95rem;
  margin-bottom: 10px;
}


.member-name {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 22px;
}


.member-content p {
  margin-bottom: 18px;
}


.member-content {
  max-width: 760px;
}


.member-block-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 28px 0 12px;
}


.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


.tag {
  border: 1px solid var(--border);
  padding: 8px 11px;
  font-size: 0.9rem;
  line-height: 1.2;
  background: var(--white);
}


.member-email {
  color: var(--gold);
  display: inline-block;
  margin-top: 18px;
  overflow-wrap: anywhere;
}


.member-email:hover {
  color: var(--gold-dark);
}


/* ============================================================
   22. PRACTICE AREAS PAGE
   ============================================================ */

.practice-area-list {
  max-width: 940px;
  margin: 0 auto;
}


.practice-area-item {
  padding: 44px 0 50px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 110px;
}


.practice-area-item:last-child {
  border-bottom: none;
}


.practice-area-item h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 16px;
}


.practice-area-item p + p {
  margin-top: 16px;
}


/* ============================================================
   23. FAQ
   ============================================================ */

.faq-list {
  max-width: 980px;
  margin: 46px auto 0;
}


.faq-item {
  border-bottom: 1px solid var(--border);
}


.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 26px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}


.faq-question span:last-child {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}


.faq-answer {
  display: none;
  padding: 0 0 24px;
  max-width: 880px;
}


.faq-item.active .faq-answer {
  display: block;
}


.faq-item.active .faq-question span:last-child {
  transform: rotate(45deg);
}


/* ============================================================
   24. CONTACT PAGE
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}


.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 34px;
  box-shadow: var(--shadow);
}


.contact-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 14px;
}


.contact-card > p {
  margin-bottom: 24px;
}


.contact-info p {
  margin-bottom: 18px;
}


.contact-info p:last-child {
  margin-bottom: 0;
}


.contact-info strong {
  color: var(--heading);
}


.contact-info a {
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}


.contact-info a:hover {
  color: var(--gold);
}


/* ============================================================
   25. CONTACT FORM
   ============================================================ */

.form-group {
  margin-bottom: 18px;
}


label {
  display: block;
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 8px;
}


input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


select {
  cursor: pointer;
}


input::placeholder,
textarea::placeholder {
  color: #98a2b3;
}


input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 163, 91, 0.12);
}


textarea {
  min-height: 160px;
  resize: vertical;
}


.form-note {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* ============================================================
   26. MAP
   ============================================================ */

.map-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}


.map-wrap iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}


/* ============================================================
   27. FOOTER
   ============================================================ */

.site-footer {
  background: var(--navy);
  color: #dce3f3;
  padding: 62px 0 28px;
  margin-top: 0;
}


.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}


.footer-brand img {
  width: 48px;
  margin-bottom: 18px;
}


.footer-brand h3,
.footer-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--white);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}


.footer-brand p {
  max-width: 320px;
}


.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}


.footer-contact a {
  overflow-wrap: anywhere;
}


.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}


.footer-whatsapp {
  margin-top: 18px;
}


.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.95rem;
}


/* ============================================================
   28. FLOATING WHATSAPP
   ============================================================ */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 1100;
  transition: transform 0.25s ease;
}


.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}


.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}


/* ============================================================
   29. FADE-IN
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}


.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   30. TABLET / SMALL DESKTOP
   ============================================================ */

@media (max-width: 1100px) {


  .features,
  .team-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .cards-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .team-member,
  .team-member.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }


  .team-member.reverse .member-image,
  .team-member.reverse .member-content {
    order: initial;
  }


  .member-image {
    max-width: 430px;
  }


  .member-content {
    max-width: none;
  }

}


/* ============================================================
   31. TABLET / MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 900px) {


  .nav-toggle {
    display: block;
  }


  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(15, 30, 65, 0.10);
    display: none;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }


  .main-nav.open {
    display: block;
  }


  .main-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 20px;
  }


  .main-nav li {
    width: 100%;
  }


  .main-nav a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }


  .has-dropdown > a {
    display: flex;
  }


  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding-left: 14px;
    margin-top: -4px;
    min-width: 0;
  }


  .intro-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }


  .values-grid {
    grid-template-columns: 1fr 1fr;
  }


  .hero {
    min-height: 640px;
  }


  .map-wrap iframe {
    height: 440px;
  }


  /*
     Slightly reduces About image width on tablets.
  */
  .about-hero-image {
    max-width: 720px;
  }

}


/* ============================================================
   32. MOBILE
   ============================================================ */

@media (max-width: 680px) {


  .container {
    width: min(100% - 24px, var(--container));
  }


  .section {
    padding: 70px 0;
  }


  .page-banner {
    padding: 54px 0;
  }


  .hero {
    min-height: 560px;
  }


  .hero p {
    font-size: 1.03rem;
  }


  .hero-actions {
    flex-direction: column;
    align-items: center;
  }


  .btn {
    width: 100%;
    max-width: 340px;
  }


  .features,
  .team-preview-grid,
  .cards-5,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }


  .cards {
    gap: 18px;
  }


  .practice-card {
    min-height: 0;
  }


  /*
     About photograph uses full width on mobile.
  */
  .about-hero-image {
    max-width: 100%;
    margin-bottom: 36px;
  }


  /*
     Slightly reduces the About heading on mobile.
  */
  .about-main-content h2 {
    font-size: 2rem;
  }


  .team-member {
    padding: 60px 0;
  }


  .member-name {
    font-size: 2.3rem;
  }


  .member-image {
    max-width: 100%;
  }


  .practice-area-item h2 {
    font-size: 2rem;
  }


  .feature h3,
  .card h3 {
    font-size: 1.75rem;
  }


  .faq-question {
    font-size: 1.28rem;
  }


  .brand-text {
    font-size: 1.2rem;
  }


  .contact-card {
    padding: 26px 20px;
  }


  input,
  select,
  textarea {
    padding: 13px 14px;
  }


  .map-wrap iframe {
    height: 360px;
  }


  .footer-grid {
    gap: 34px;
  }


  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }


  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

}


/* ============================================================
   33. VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {


  .brand {
    gap: 9px;
  }


  .brand img {
    width: 25px;
    height: 25px;
  }


  .brand-text {
    font-size: 1.05rem;
  }


  .header-inner {
    min-height: 72px;
  }


  .hero h1 {
    font-size: 2.45rem;
  }


  .hero p {
    font-size: 1rem;
  }


  .member-name {
    font-size: 2rem;
  }


  .contact-card h2 {
    font-size: 1.9rem;
  }


  .testimonial-quote {
    font-size: 1.25rem;
  }

}


/* ============================================================
   34. REDUCED MOTION ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {


  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }


  .fade-in {
    opacity: 1;
    transform: none;
  }

}
