/* ============================================
   Design Tokens
   ============================================ */
:root {
  --color-navy: #0D1B2A;
  --color-navy-dark: #071525;
  --color-navy-mid: #1B2A4A;
  --color-navy-light: #243352;
  --color-royal-blue: #173F73;
  --color-prof-blue: #245A9C;
  --color-blue-accent: #4D8FD8;
  --color-gold: #C9A227;
  --color-gold-light: #E2C47A;
  --color-white: #FFFFFF;
  --color-off-white: #F5F7FA;
  --color-light-blue: #EAF2FA;
  --color-charcoal: #3C3C3C;
  --color-deep-gray: #2D2D2D;
  --color-border: #E0DDD6;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-size-base: 16px;

  --section-padding-y: 6rem;
  --section-padding-x: 1.5rem;
  --max-content-width: 1320px;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   Reset
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--color-deep-gray);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  padding-top: 5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

p {
  margin-bottom: 1rem;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

/* Gold rule accent under section headings */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-royal-blue), var(--color-gold));
  margin-top: 0.6rem;
  border-radius: 2px;
}

.section-title--center {
  display: block;
  text-align: center;
}

.section-title--center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.section {
  padding: var(--section-padding-y) 0;
}

@media (min-width: 768px) {
  :root {
    --section-padding-x: 2rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-padding-x: 2rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --section-padding-x: 2rem;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
}

.animate-in {
  animation: fade-up 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animate-in--fade {
  animation-name: fade-in;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
  }
}

/* ============================================
   Navigation
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  transition: background var(--transition);
}

.site-header.scrolled::before {
  background: rgba(13, 27, 42, 0.98);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.site-header.menu-open::before {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(13, 27, 42, 1);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(13, 27, 42, 0.98);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 6rem 0 2rem 0;
  overflow-y: auto;
  z-index: 999;
}

.nav__links.nav__links--open {
  display: flex !important;
}

/* Hamburger animation */
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__link {
  display: block;
  padding: 0.7rem var(--section-padding-x);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link:focus {
  color: var(--color-gold);
}

.nav__item {
  /* Let dropdown anchor to nav */
  position: static;
}

/* 
   DROPDOWN (Mobile first) 
*/
.nav__dropdown-wrapper {
  /* Allows proper handling of dropdown inside nav__item */
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: 5rem;
  right: max(1rem, calc(50vw - 580px));
  left: auto;
  transform: none;
  width: 700px;
  /* Mega menu width */
  background: var(--color-white);
  border-top: 4px solid var(--color-gold);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  z-index: 1001;
}

/* Invisible bridge to prevent hover loss */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -3rem;
  left: 0;
  width: 100%;
  height: 3rem;
}

.nav__dropdown.mega-menu {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.nav__dropdown-wrapper:hover .nav__dropdown.mega-menu,
.nav__dropdown-wrapper:focus-within .nav__dropdown.mega-menu {
  display: grid;
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gold);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  text-transform: none;
}

.nav__dropdown-link:hover,
.nav__dropdown-link:focus {
  background: rgba(13, 27, 42, 0.04);
  color: var(--color-navy);
}

.mega-menu__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-royal-blue);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.mega-menu__icon svg {
  width: 20px;
  height: 20px;
}

.nav__dropdown-link:hover .mega-menu__icon {
  background: var(--color-gold);
  color: var(--color-white);
}

@media (max-width: 767px) {
  .nav__dropdown {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0 1rem;
    background: transparent;
  }

  .nav__dropdown-wrapper:hover .nav__dropdown.mega-menu,
  .nav__dropdown-wrapper:focus-within .nav__dropdown.mega-menu {
    display: flex;
    flex-direction: column;
  }

  .nav__dropdown-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem;
  }

  .nav__dropdown-link:hover,
  .nav__dropdown-link:focus {
    color: var(--color-gold);
    background: transparent;
  }

  .mega-menu__icon {
    display: none;
  }
}


.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: static;
    width: auto;
    height: auto;
    background: none;
    border: none;
    padding: 0;
    gap: 0.1rem;
    align-self: stretch;
    overflow: visible !important;
  }

  .nav__item {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .nav__link {
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav__hamburger {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav__link {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 0 6rem 0;
  margin-top: calc(-5rem - 2.4rem);
  text-align: left;
  /* Removed overflow: hidden to allow stats cards to overlap the bottom edge */
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(6, 15, 25, 0.85) 0%,
      rgba(6, 15, 25, 0.5) 45%,
      rgba(6, 15, 25, 0.05) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: 800px;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding: 0 2rem;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.hero__headline {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero__headline-accent {
  color: var(--color-gold);
}

.hero__subheadline {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero__cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  background: linear-gradient(135deg, var(--color-gold), #e0c270);
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.hero__cta:hover,
.hero__cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.hero__cta--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.hero__cta--outline:hover,
.hero__cta--outline:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  box-shadow: none;
}

/* Hero Stats Bar & Overlap Wrapper */
.stats-overlap-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  /* Pulls the container up to overlap the hero section */
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__stats-container {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.5rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero__stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero__stats-container {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 2rem;
    gap: 0.75rem;
  }
}

.hero__stats-card {
  background: #061122;
  /* Solid dark blue to match screenshot */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--color-white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero__stats-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.5);
}

.hero__stats-icon-wrapper {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__stats-icon {
  width: 28px;
  height: 28px;
}

.hero__stats-text {
  display: flex;
  flex-direction: column;
}

.hero__stats-number {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: 'Playfair Display', Georgia, serif;
}

.hero__stats-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* ============================================
   About
   ============================================ */
.about {
  background: var(--color-white);
  padding-top: calc(var(--section-padding-y) + 3rem);
  /* Extra padding for overlapping hero stats */
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about__heading {
  margin-bottom: 1.5rem;
}

.about__mission {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--color-charcoal);
  border-left: 3px solid var(--color-gold);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.about__history {
  color: var(--color-deep-gray);
  line-height: 1.8;
}

.about__values {
  margin-top: 1.75rem;
}

.about__values-heading {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.about__values-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about__value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.6;
}

.about__value-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* Gold corner accent */
.about__image-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--color-gold);
  border-left: 3px solid var(--color-gold);
  border-radius: 4px 0 0 0;
  z-index: 1;
}

@media (min-width:768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ============================================
   About Modern Layout (Redesign)
   ============================================ */
.about-modern {
  position: relative;
  padding: 2rem 0 6rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.about-modern__main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  background-color: var(--color-white);
}

@media (min-width: 1024px) {
  .about-modern__main {
    flex-direction: row;
    align-items: stretch;
  }
}

.about-modern__left {
  flex: 1;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .about-modern__left {
    padding-right: 4rem;
  }
}

.about-modern__eyebrow-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.about-modern__eyebrow-line {
  width: 40px;
  height: 2px;
  background-color: var(--color-gold);
  position: relative;
}

.about-modern__eyebrow-line::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--color-gold);
}

.about-modern__eyebrow {
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.about-modern__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.about-modern__mission-box {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.15);
}

.about-modern__mission-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.about-modern__mission-icon svg {
  width: 42px;
  height: 42px;
}

.about-modern__mission-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}

.about-modern__text {
  font-size: 1.05rem;
  color: var(--color-deep-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-modern__right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  background-color: var(--color-navy);
  padding: 3rem 0 9rem 3rem;
  border-radius: 80px 0 0 80px;
}

/* Extend navy background to the right screen edge reliably without affecting height */
.about-modern__right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 50vw;
  height: 100%;
  background-color: var(--color-navy);
}

@media (max-width: 1024px) {
  .about-modern__right {
    border-radius: 60px;
    padding: 3rem 2rem 6rem 3rem;
  }

  .about-modern__right::after {
    display: none;
  }
}

.about-modern__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  padding: 8px;
  /* Gold border on ALL sides */
  background-color: var(--color-gold);
  border-radius: 120px 40px 40px 40px;
  /* Big top-left curve */
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

@media (max-width: 1024px) {
  .about-modern__image-wrapper {
    border-radius: 40px;
  }
}

.about-modern__image-inner {
  padding: 12px;
  /* Navy gap on ALL sides */
  background-color: var(--color-navy);
  border-radius: 112px 32px 32px 32px;
}

@media (max-width: 1024px) {
  .about-modern__image-inner {
    border-radius: 32px;
  }
}

.about-modern__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 100px 20px 20px 20px;
  /* Inner curve for the image */
  display: block;
  margin: 0;
}

@media (max-width: 1024px) {
  .about-modern__image {
    border-radius: 20px;
  }
}

.about-modern__badge {
  position: absolute;
  bottom: -15px;
  /* Overlaps the bottom edge */
  right: 30px;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.about-modern__badge-icon {
  color: var(--color-gold);
}

.about-modern__badge-icon svg {
  width: 36px;
  height: 36px;
}

.about-modern__badge-text {
  display: flex;
  flex-direction: column;
}

.about-modern__badge-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.about-modern__badge-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Core Values Overlapping Card */
.about-modern__values-card {
  background-color: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  position: relative;
  margin-top: -80px;
  /* Overlap the image/text above */
  z-index: 15;
  max-width: 1100px;
  margin-left: 1rem;
  margin-right: 1rem;
}

@media (min-width: 1024px) {
  .about-modern__values-card {
    margin-left: auto;
    margin-right: auto;
  }
}

.about-modern__values-eyebrow-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
}

.about-modern__values-eyebrow-line {
  width: 30px;
  height: 1px;
  background-color: var(--color-gold);
}

.about-modern__values-eyebrow {
  color: var(--color-navy);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.about-modern__values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}

@media (min-width: 640px) {
  .about-modern__values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-modern__values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.about-modern__value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Vertical separators for desktop */
@media (min-width: 1024px) {
  .about-modern__value-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -1rem;
    height: 60%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.05);
  }
}

.about-modern__value-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(13, 27, 42, 0.2);
}

.about-modern__value-icon-circle svg {
  width: 32px;
  height: 32px;
}

.about-modern__value-title {
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.about-modern__value-desc {
  font-size: 0.9rem;
  color: var(--color-deep-gray);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

.about-modern__values-quote {
  position: absolute;
  opacity: 0.5;
}

.about-modern__values-quote--left {
  top: 2.5rem;
  left: 2.5rem;
}

.about-modern__values-quote--right {
  bottom: 2.5rem;
  right: 2.5rem;
}

/* ============================================
   Practice Areas (Premium Dark Redesign)
   ============================================ */
.practice-areas {
  background: var(--color-navy);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  /* To prevent watermark bleeds if any */
}

/* Give the parent section a navy background instead of white */
#practice-areas {
  background: var(--color-navy);
  /* The original #practice-areas is just a div inside the about container, 
     but actually we need to style its container if possible. 
     Instead, we just style this inner wrapper. */
  padding: 5rem 2rem;
  border-radius: 40px;
  margin-top: 4rem;
}

@media (max-width: 1024px) {
  #practice-areas {
    padding: 3rem 1rem;
    border-radius: 20px;
  }
}

#practice-areas .section-title {
  color: var(--color-gold);
}

#practice-areas .about__sub-intro {
  color: var(--color-off-white);
  opacity: 0.8;
  margin-bottom: 3rem;
}

.practice-areas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.practice-areas__card {
  background: rgba(255, 255, 255, 0.03);
  /* Subtle glassmorphism */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Watermark Icon */
.practice-areas__watermark {
  position: absolute;
  bottom: -20px;
  right: -20px;
  color: var(--color-white);
  opacity: 0.03;
  z-index: -1;
  transition: all 0.5s ease;
}

.practice-areas__watermark i,
.practice-areas__watermark svg {
  width: 180px;
  height: 180px;
}

/* Hover effects */
.practice-areas__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 162, 39, 0.3);
  /* Gold border */
  background: rgba(255, 255, 255, 0.06);
}

.practice-areas__card:hover .practice-areas__watermark {
  opacity: 0.08;
  color: var(--color-gold);
  transform: scale(1.1) rotate(-5deg);
}

/* Icon */
.practice-areas__icon {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.practice-areas__card:hover .practice-areas__icon {
  background: var(--color-gold);
  color: var(--color-navy);
  transform: scale(1.05);
}

.practice-areas__icon i,
.practice-areas__icon svg {
  width: 28px;
  height: 28px;
}

/* Text */
.practice-areas__title {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.practice-areas__description {
  color: #A0ABC0;
  /* Light gray-blue */
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Link */
.practice-areas__card-link {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  transition: all 0.3s ease;
}

.practice-areas__card:hover .practice-areas__card-link {
  color: var(--color-white);
}

@media (min-width: 768px) {
  .practice-areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .practice-areas__grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

/* ============================================
   Why Choose Us
   ============================================ */
.why-choose-us {
  background: var(--color-white);
}

.why-choose-us__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.why-choose-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-choose-us__item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.why-choose-us__item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.why-choose-us__icon {
  font-size: 1.75rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.why-choose-us__title {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.why-choose-us__description {
  color: var(--color-charcoal);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

@media (min-width:768px) {
  .why-choose-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .why-choose-us__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Industries
   ============================================ */
.industries {
  background: var(--color-navy);
}

.industries__heading {
  text-align: center;
  color: var(--color-white);
  margin-bottom: 3rem;
}

.industries__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.industries__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}

.industries__item:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.4);
}

.industries__icon {
  font-size: 1.25rem;
  color: var(--color-gold);
  flex-shrink: 0;
}

.industries__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
}

@media (min-width:768px) {
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .industries__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Team
   ============================================ */
.team {
  background: var(--color-off-white);
}

.team__heading {
  text-align: center;
  margin-bottom: 0.75rem;
}

.team__subheading {
  text-align: center;
  color: var(--color-charcoal);
  max-width: 500px;
  margin: 0 auto 3rem;
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Two-card centered layout */
.team__grid--centered {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width:600px) {
  .team__grid--centered {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.team__headshot-wrapper {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e8e4dc;
}

.team__headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition);
}

.team__card:hover .team__headshot {
  transform: scale(1.04);
}

.team__info {
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
  border-top: 3px solid var(--color-gold);
}

.team__name {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.team__title {
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team__expertise {
  color: var(--color-charcoal);
  font-size: 0.875rem;
  margin: 0;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  background: var(--color-navy);
}

.testimonials__heading {
  text-align: center;
  color: var(--color-white);
  margin-bottom: 3rem;
}

.testimonials__carousel {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.testimonials__track {
  position: relative;
  min-height: 220px;
}

.testimonials__card {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.testimonials__card[data-index="0"] {
  display: block;
}

.testimonials__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonials__quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--color-gold);
  line-height: 0;
  vertical-align: -0.6rem;
  margin-right: 0.2rem;
}

.testimonials__client {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonials__client-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
}

.testimonials__company {
  color: var(--color-gold);
  font-size: 0.875rem;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--color-white);
  font-size: 1.1rem;
  transition: background var(--transition), border-color var(--transition);
}

.testimonials__arrow:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--color-gold);
}

.testimonials__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background var(--transition), transform var(--transition);
}

.testimonials__dot--active {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* ============================================
   Case Highlights
   ============================================ */
.case-highlights {
  background: var(--color-white);
}

.case-highlights__heading {
  text-align: center;
  margin-bottom: 0.75rem;
}

.case-highlights__subheading {
  text-align: center;
  color: var(--color-charcoal);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.case-highlights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.case-highlights__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.case-highlights__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition);
}

.case-highlights__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.case-highlights__card:hover::after {
  opacity: 1;
}

.case-highlights__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.case-highlights__description {
  color: var(--color-charcoal);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.case-highlights__metric {
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1rem;
}

@media (min-width:768px) {
  .case-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Insights
   ============================================ */
.insights {
  background: var(--color-off-white);
}

.insights__heading {
  text-align: center;
  margin-bottom: 0.75rem;
}

.insights__subheading {
  text-align: center;
  color: var(--color-charcoal);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.insights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.insights__card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  color: inherit;
}

.insights__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.insights__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-navy);
  background: rgba(201, 168, 76, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.insights__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.insights__date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.insights__excerpt {
  color: var(--color-charcoal);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

@media (min-width:768px) {
  .insights__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .insights__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Contact
   ============================================ */
.contact {
  background: var(--color-white);
}

.contact__heading {
  text-align: center;
  margin-bottom: 0.75rem;
}

.contact__subheading {
  text-align: center;
  color: var(--color-charcoal);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact__form-group {
  margin-bottom: 1.25rem;
}

.contact__label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--color-deep-gray);
}

.contact__input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-deep-gray);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact__input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

.contact__input.field-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.contact__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233C3C3C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact__textarea {
  resize: vertical;
  min-height: 130px;
}

.contact__error {
  display: block;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 0.25rem;
  min-height: 1.2rem;
}

.contact__submit {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.contact__submit:hover,
.contact__submit:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.45);
}

.contact__form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact__form-message:empty {
  display: none;
}

.contact__form-message--success {
  background: #eafaf1;
  color: #1e8449;
  border: 1px solid #a9dfbf;
}

.contact__form-message--error {
  background: #fdedec;
  color: #c0392b;
  border: 1px solid #f5b7b1;
}

.contact__disclaimer {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: #f8f6ef;
  border-left: 3px solid var(--color-gold);
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #555;
}

.contact__disclaimer strong {
  color: var(--color-navy);
}

.contact__disclaimer a {
  color: var(--color-gold);
  text-decoration: underline;
}

.contact__info {
  padding: 2.5rem 2rem;
  background: linear-gradient(145deg, var(--color-navy), var(--color-navy-light));
  color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.contact__info-heading {
  color: var(--color-white);
  margin-bottom: 1.75rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact__info-icon {
  font-size: 1.25rem;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact__info-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  color: var(--color-gold);
}

.contact__info-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact__info-item a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact__info-item a:hover {
  color: var(--color-gold);
}

@media (min-width:768px) {
  .contact__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* ============================================
   Disclaimer Modal (one-time on visit)
   ============================================ */
.disclaimer-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.disclaimer-modal[hidden] {
  display: none;
}

.disclaimer-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.disclaimer-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-navy);
  color: var(--color-white);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  padding: 3rem 2.75rem 2.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: disclaimerFadeIn 0.35s ease-out;
}

@keyframes disclaimerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.disclaimer-modal__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-gold);
  text-align: center;
  margin: 0 0 1.5rem;
  letter-spacing: 0.01em;
}

.disclaimer-modal__intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.25rem;
}

.disclaimer-modal__list {
  margin: 0 0 1.75rem;
  padding-left: 1.4rem;
  list-style: decimal;
}

.disclaimer-modal__list li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.85rem;
  padding-left: 0.35rem;
}

.disclaimer-modal__list li::marker {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.disclaimer-modal__list a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.disclaimer-modal__list a:hover {
  color: var(--color-gold-light);
}

.disclaimer-modal__actions {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.disclaimer-modal__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--color-navy-light);
  color: var(--color-white);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  padding: 0.95rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.disclaimer-modal__btn:hover,
.disclaimer-modal__btn:focus {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
  outline: none;
}

.disclaimer-modal__arrow {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform var(--transition);
}

.disclaimer-modal__btn:hover .disclaimer-modal__arrow {
  transform: translateX(4px);
}

body.disclaimer-open {
  overflow: hidden;
}

@media (max-width:560px) {
  .disclaimer-modal__dialog {
    padding: 2.25rem 1.5rem 1.75rem;
  }

  .disclaimer-modal__title {
    font-size: 2rem;
    margin-bottom: 1.1rem;
  }

  .disclaimer-modal__intro,
  .disclaimer-modal__list li {
    font-size: 0.875rem;
  }

  .disclaimer-modal__btn {
    padding: 0.85rem 2rem;
    letter-spacing: 0.14em;
  }
}

/* ============================================
   Floating Chat Widget
   ============================================ */
.chat-widget {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 998;
  font-family: var(--font-body);
}

.chat-widget__launcher {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #1B4FA1, #2A6BD9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(27, 79, 161, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.chat-widget__launcher:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(27, 79, 161, 0.55);
}

.chat-widget__launcher::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(42, 107, 217, 0.35);
  animation: chatPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes chatPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.25);
    opacity: 0;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.chat-widget__launcher-icon {
  width: 26px;
  height: 26px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-widget__launcher-icon--close {
  position: absolute;
  opacity: 0;
  transform: rotate(-45deg);
}

.chat-widget.is-open .chat-widget__launcher-icon--chat {
  opacity: 0;
  transform: rotate(45deg);
}

.chat-widget.is-open .chat-widget__launcher-icon--close {
  opacity: 1;
  transform: rotate(0deg);
}

.chat-widget.is-open .chat-widget__launcher::after {
  animation: none;
  opacity: 0;
}

.chat-widget__panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(10, 20, 40, 0.22);
  overflow: hidden;
  transform-origin: bottom left;
  animation: chatPanelOpen 0.25s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-widget__panel[hidden] {
  display: none;
}

@keyframes chatPanelOpen {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-widget__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem 1.1rem;
  background: linear-gradient(135deg, #1B4FA1, #2A6BD9);
  color: #fff;
}

.chat-widget__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.chat-widget__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex: 1;
}

.chat-widget__close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.chat-widget__close:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.chat-widget__close svg {
  width: 16px;
  height: 16px;
}

.chat-widget__body {
  padding: 1rem 1rem 0.5rem;
  background: #fff;
}

.chat-widget__lead {
  margin: 0 0 0.85rem;
  color: #4a5568;
  font-size: 0.875rem;
  line-height: 1.45;
}

.chat-widget__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.55rem;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  color: #1a202c;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.chat-widget__option:hover {
  border-color: #2A6BD9;
  background: #f5f9ff;
  transform: translateX(2px);
}

.chat-widget__option-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef3fb;
  color: #1B4FA1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-widget__option-icon svg {
  width: 16px;
  height: 16px;
}

.chat-widget__option--whatsapp .chat-widget__option-icon {
  background: #25D366;
  color: #fff;
}

.chat-widget__option--whatsapp:hover {
  border-color: #25D366;
  background: #f0fff4;
}

.chat-widget__footer {
  padding: 0.65rem 1rem 0.85rem;
  text-align: center;
  font-size: 0.7rem;
  color: #8b92a3;
  border-top: 1px solid #f0f0f0;
}

.chat-widget__footer strong {
  color: var(--color-navy);
  font-weight: 600;
}

@media (max-width: 480px) {
  .chat-widget {
    left: 1rem;
    bottom: 1rem;
  }

  .chat-widget__panel {
    width: calc(100vw - 2rem);
    max-width: 320px;
  }
}

/* Avoid clash: nudge back-to-top up if both buttons would overlap visually
   (they don't — back-to-top is right, chat is left — but keep z-index sane). */
.back-to-top {
  z-index: 997;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer__logo-img {
  height: 3rem;
  width: auto;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 260px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 1.1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__social-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__social-link:hover {
  color: var(--color-gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom p {
  margin: 0;
}

@media (min-width:768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ============================================
   Image Banner Strip (img3.jpg)
   ============================================ */
.img-banner {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.img-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.img-banner:hover .img-banner__img {
  transform: scale(1);
}

.img-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 27, 42, 0.82) 0%,
      rgba(27, 42, 74, 0.65) 100%);
}

.img-banner__text {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-banner__text span {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--color-white);
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.4rem;
}

/* ============================================
   Contact Section — background image (img4.jpg)
   ============================================ */
.contact {
  position: relative;
  overflow: hidden;
}

.contact__bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.08;
}

.contact__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(245, 244, 240, 0.97) 0%,
      rgba(245, 244, 240, 0.93) 100%);
}

.contact__inner {
  position: relative;
  z-index: 1;
}

/* ============================================
   Top Contact Bar
   ============================================ */
.topbar {
  background: var(--color-navy);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.4rem;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
  white-space: nowrap;
}

.topbar__item:hover {
  color: var(--color-gold);
}

.topbar__icon {
  font-size: 0.85rem;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}

.topbar__social svg {
  width: 12px;
  height: 12px;
  display: block;
}

.topbar__social:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.12);
  transform: translateY(-1px);
}

/* Hide phone on very small screens */
@media (max-width: 480px) {
  .topbar__contact a:last-child {
    display: none;
  }
}

/* Hide topbar on mobile entirely to save space */
@media (max-width: 640px) {
  .topbar {
    display: none;
  }
}

/* Adjust header and body offset for topbar */
.site-header {
  top: 2.4rem;
}

body {
  padding-top: calc(5rem + 2.4rem);
}

@media (max-width: 640px) {
  .site-header {
    top: 0;
  }

  body {
    padding-top: 5rem;
  }

  .hero {
    margin-top: -5rem;
  }
}

/* ============================================
   Footer — Improved
   ============================================ */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 0;
  padding-bottom: 0;
}

.footer__accent-bar {
  height: 2px;
  background: var(--color-gold);
  opacity: 0.5;
}

.site-footer .container {
  padding-top: 4rem;
  padding-bottom: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
  }
}

/* Brand */
.footer__logo {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.footer__logo-img {
  height: 3.25rem;
  width: auto;
}

.footer__tagline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer__social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.footer__social-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer__social-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
  transform: translateY(-2px);
}

/* Columns */
.footer__col {}


.footer__heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__link::before {
  content: '›';
  color: var(--color-gold);
  font-size: 1rem;
  line-height: 1;
}

.footer__link:hover {
  color: var(--color-white);
  padding-left: 4px;
}

/* Contact list */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer__contact-item--address {
  align-items: flex-start;
}

.footer__contact-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.9rem;
}

.footer__contact-link {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
  word-break: break-all;
}

.footer__contact-link:hover {
  color: var(--color-gold);
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__bottom-link {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer__bottom-link:hover {
  color: var(--color-gold);
}

.footer__bottom-sep {
  color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   Scroll offset — compensate for fixed header
   ============================================ */
/* topbar (2.4rem) + nav (5rem) + a little breathing room */
:root {
  --header-offset: 8rem;
}

section[id],
div[id] {
  scroll-margin-top: var(--header-offset);
}

/* On mobile (topbar hidden), only nav height applies */
@media (max-width: 640px) {
  :root {
    --header-offset: 5.5rem;
  }
}

/* ============================================
   Nav logo company name
   ============================================ */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav__logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__logo-name--main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.nav__logo-name--sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ============================================
   Footer logo company name
   ============================================ */
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  text-decoration: none;
}

.footer__logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer__logo-name--main {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.03em;
}

.footer__logo-name--sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Bump up heading sizes slightly for Cormorant (it runs smaller than Playfair) */
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

/* Nav logo name — update to Cormorant */
.nav__logo-name--main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.nav__logo-name--sub {
  font-family: var(--font-body);
}

/* ============================================
   Lucide icon sizing
   ============================================ */
.practice-areas__icon i,
.practice-areas__icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--color-gold);
  stroke-width: 1.5;
}

.why-choose-us__icon i,
.why-choose-us__icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--color-gold);
  stroke-width: 1.5;
}

.industries__icon i,
.industries__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: var(--color-gold);
  stroke-width: 1.5;
}

/* ============================================
   About — subsections (practice areas, why us, team inside about)
   ============================================ */
.about__subsection {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--color-border);
}

.about__sub-intro {
  text-align: center;
  color: var(--color-charcoal);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Industries dark band inside about */
.about__industries-band {
  background: var(--color-navy);
  padding: 4rem 0;
  margin-top: 5rem;
}

.about__industries-heading {
  color: var(--color-white) !important;
  margin-bottom: 2.5rem;
}

.about__industries-heading::after {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

/* Remove bottom padding from about section since subsections handle spacing */
.about.section {
  padding-bottom: 0;
}

.about .container:last-child {
  padding-bottom: var(--section-padding-y);
}

/* Testimonials band inside about section */
.about__testimonials-band {
  background: var(--color-navy);
  padding: 5rem 0;
  margin-top: 5rem;
}

.about__testimonials-heading {
  color: var(--color-white) !important;
  margin-bottom: 2.5rem;
}

.about__testimonials-heading::after {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.55);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-navy);
  stroke-width: 2.5;
}



/* Footer email — prevent overflow */
.footer__contact-link--email {
  word-break: break-all;
  font-size: 0.82rem;
}

/* ============================================
   Legal Pages (Terms & Privacy)
   ============================================ */
.legal-page__hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: 5rem 0 3rem;
  border-bottom: 3px solid var(--color-gold);
}

.legal-page__title {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.legal-page__meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  margin: 0;
}

.legal-page__body {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  max-width: 860px;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section p,
.legal-section li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-charcoal);
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   macOS / Safari Compatibility Fixes
   ============================================ */

/* Safari doesn't support gap in flex as well — use margin fallback */
@supports not (gap: 1rem) {
  .nav__links>*+* {
    margin-left: 0.1rem;
  }

  .hero__cta-group>*+* {
    margin-left: 1rem;
  }

  .footer__social-row>*+* {
    margin-left: 0.6rem;
  }

  .topbar__contact>*+* {
    margin-left: 1.5rem;
  }
}

/* Safari: backdrop-filter needs -webkit prefix */
.site-header {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Safari: aspect-ratio fallback for team headshots */
.team__headshot-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133%;
  /* 3:4 ratio fallback */
  overflow: hidden;
}

@supports (aspect-ratio: 3/4) {
  .team__headshot-wrapper {
    padding-top: 0;
    aspect-ratio: 3/4;
  }
}

.team__headshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@supports (aspect-ratio: 3/4) {
  .team__headshot {
    position: static;
  }
}

/* Safari: clamp() is supported but ensure font sizes don't collapse */
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

/* Safari: smooth scroll polyfill hint */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Safari: button appearance reset */
button,
input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
}

/* Safari: input/select styling */
.contact__input,
.contact__select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: var(--radius);
}

/* ============================================
   COMPREHENSIVE RESPONSIVE OVERHAUL
   320px  — small phones
   480px  — large phones
   600px  — small Android tablets
   768px  — tablets / iPad mini
   1024px — iPad Pro / small laptops
   1280px — MacBook Air / standard laptops
   1440px — MacBook Pro / large desktops
   1920px — wide monitors
   ============================================ */

/* ── 320px baseline (already mobile-first above) ── */

/* ── 480px: large phones ── */
@media (max-width: 480px) {
  :root {
    --section-padding-y: 3.5rem;
  }

  .hero__content {
    padding: 1.5rem 1rem;
  }

  .hero__headline {
    font-size: 1.9rem;
  }

  .hero__subheadline {
    font-size: 0.95rem;
  }

  .hero__cta {
    padding: 0.8rem 1.5rem;
    font-size: 0.875rem;
    width: 100%;
    text-align: center;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }

  .nav__logo-img {
    height: 2.5rem;
  }

  .nav__logo-name--main {
    font-size: 1rem;
  }

  .nav__logo-name--sub {
    font-size: 0.55rem;
  }

  .about__image-wrapper::before {
    display: none;
  }

  .contact__grid {
    gap: 2rem;
  }

  .contact__info {
    padding: 1.5rem 1rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__logo-name--main {
    font-size: 1.1rem;
  }

  .team__grid--centered {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .topbar {
    display: none;
  }

  body {
    padding-top: 5rem;
  }

  .site-header {
    top: 0;
  }

  .hero {
    margin-top: -5rem;
  }
}

/* ── 600px: small Android tablets ── */
@media (min-width: 600px) and (max-width: 767px) {
  :root {
    --section-padding-y: 4rem;
    --section-padding-x: 2rem;
  }

  .practice-areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid--centered {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 768px: tablets / iPad mini ── */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --section-padding-y: 5rem;
    --section-padding-x: 2.5rem;
  }

  .nav__link {
    font-size: 0.72rem;
    padding: 0.5rem 0.45rem;
  }

  .hero__headline {
    font-size: 2.75rem;
  }

  .hero__subheadline {
    font-size: 1.05rem;
  }

  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .practice-areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__info {
    margin-top: 0;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 1024px: iPad Pro / small laptops ── */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --section-padding-x: 2rem;
  }

  .nav__link {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
  }

  .practice-areas__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-choose-us__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .industries__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .insights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
  }
}

/* ── 1280px: MacBook Air / standard laptops ── */
@media (min-width: 1280px) and (max-width: 1439px) {
  :root {
    --section-padding-x: 2rem;
  }

  .insights__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
  }
}

/* ── 1440px: MacBook Pro / large desktops ── */
@media (min-width: 1440px) {
  :root {
    --section-padding-x: 2rem;
    --section-padding-y: 7rem;
  }

  .container {
    max-width: 1360px;
  }

  .hero__content {
    max-width: 960px;
  }

  .hero__headline {
    font-size: 4.5rem;
  }
}

/* ── 1920px: wide monitors ── */
@media (min-width: 1920px) {
  :root {
    --section-padding-x: 3rem;
  }

  .container {
    max-width: 1600px;
  }
}

/* ── Landscape phones ── */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 100svh;
  }

  .hero__content {
    padding: 1rem;
  }

  .hero__headline {
    font-size: 1.75rem;
  }

  :root {
    --section-padding-y: 3rem;
  }
}

/* ── High-DPI / Retina screens ── */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .nav__logo-img,
  .footer__logo-img,
  .team__headshot,
  .about__image {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ── Touch devices — remove hover effects that feel broken ── */
@media (hover: none) and (pointer: coarse) {

  .practice-areas__card:hover,
  .why-choose-us__item:hover,
  .team__card:hover,
  .case-highlights__card:hover,
  .insights__card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }

  .hero__cta:hover,
  .contact__submit:hover {
    transform: none;
  }
}

/* ── Ensure no horizontal overflow on any screen ── */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  overflow-x: hidden;
}

/* ============================================
   Communication Consent Checkbox
   ============================================ */
.contact__consent-group {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.contact__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.contact__consent-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 0.2rem;
  accent-color: var(--color-gold);
  cursor: pointer;
  border-radius: 3px;
}

.contact__consent-text {
  font-size: 0.8125rem;
  color: var(--color-charcoal);
  line-height: 1.6;
}

.contact__consent-text strong {
  color: var(--color-navy);
}

/* Unsubscribe card */
.unsubscribe-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-card);
  margin-top: 1rem;
}

/* ============================================
   Insights — card with image
   ============================================ */
.insights__card {
  padding: 0;
  overflow: hidden;
}

.insights__card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-off-white);
}

.insights__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.insights__card:hover .insights__card-media img {
  transform: scale(1.04);
}

.insights__card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.insights__read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

/* ============================================
   Blog post detail page
   ============================================ */
.blog-post {
  background: var(--color-white);
}

.blog-post__hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  color: var(--color-white);
  padding: 3.5rem 0 3rem;
}

.blog-post__hero h1,
.blog-post__hero .blog-post__title {
  color: var(--color-white);
}

.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.blog-post__back:hover {
  color: var(--color-white);
}

.blog-post__category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-navy);
  background: var(--color-gold);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.blog-post__title {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.2;
  max-width: 880px;
  margin-bottom: 1.25rem;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.blog-post__dot {
  color: rgba(255, 255, 255, 0.45);
}

.blog-post__cover {
  background: var(--color-off-white);
  padding: 2rem 0;
}

.blog-post__cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.blog-post__body {
  max-width: 800px;
  padding: 3rem 1.5rem 4rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-deep-gray);
}

.blog-post__lead {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-navy-mid);
  border-left: 3px solid var(--color-gold);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.blog-post__section {
  margin-bottom: 2rem;
}

.blog-post__section h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.blog-post__section p {
  margin-bottom: 1rem;
  color: var(--color-deep-gray);
}

.blog-post__list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0 1.25rem;
}

.blog-post__list li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.blog-post__downloads {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--color-off-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.blog-post__downloads h2 {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.blog-post__download-list li {
  margin-bottom: 0.5rem;
}

.blog-post__download-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--color-navy);
  transition: color var(--transition);
}

.blog-post__download-list a:hover {
  color: var(--color-gold);
}

.blog-post__disclaimer {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  background: rgba(201, 168, 76, 0.08);
  border-left: 3px solid var(--color-gold);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  line-height: 1.65;
}

.blog-post__disclaimer p {
  margin: 0;
}

.blog-post__related {
  background: var(--color-off-white);
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.blog-post__related-heading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-post__hero {
    padding: 2.5rem 0 2rem;
  }

  .blog-post__body {
    padding: 2rem 1.25rem 3rem;
    font-size: 1rem;
  }

  .blog-post__section h2 {
    font-size: 1.35rem;
  }

  .blog-post__lead {
    font-size: 1.1rem;
  }
}


/* ============================================
Android Chrome Compatibility Fix
============================================ */

/* Fallback: solid bg ensures header always visible on Android (backdrop-filter not supported on all Android) */
.site-header {
  background: rgba(13, 27, 42, 0.97) !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Ensure hamburger lines always render on Android */
.nav__hamburger-line {
  background: #C9A84C !important;
  display: block !important;
  min-height: 2px !important;
}

/* Improve hamburger tap area on touch devices */
.nav__hamburger {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Mobile nav dropdown: remove backdrop-filter on small screens (unsupported on older Android Chrome) */
@media (max-width: 767px) {
  .nav__links {
    background: rgba(13, 27, 42, 0.99) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* Force GPU-accelerated rendering for all fixed elements on Android */
.topbar,
.chat-widget,
.back-to-top {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}


/* ============================================
iOS Safari Fix — nav gap & scroll offset
============================================ */

/* iOS Safari: remove backdrop-filter on mobile to prevent rendering gap below fixed nav */
@supports (-webkit-touch-callout: none) {
  .site-header {
    background: rgba(13, 27, 42, 0.97) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Fix scroll-margin-top for iOS — nav is 5rem on mobile (no topbar) */
  @media (max-width: 640px) {

    section[id],
    div[id] {
      scroll-margin-top: 5.5rem !important;
    }
  }
}

/* iOS Safari: prevent elastic overscroll from showing gap above fixed header */
@media (max-width: 767px) {
  html {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* Ensure site-header has no gap/bleed below it on iOS */
  .site-header {
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    /* Prevent sub-pixel rendering gap on Retina screens */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  /* Remove any margin/padding from first child after body that could cause gap */
  body>*:not(.site-header):not(.topbar) {
    position: relative;
  }
}

/* ============================================
   Solutions Built Around Your Legal Needs
   ============================================ */
.solutions {
  background: var(--color-off-white);
  padding: 5rem 0;
  overflow: hidden;
}

.solutions__wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
}

.solutions__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.solutions__col--left {
  align-items: flex-end;
}

.solutions__col--right {
  align-items: flex-start;
}

.solutions__pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 260px;
  max-width: 320px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.solutions__pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.solutions__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f7fb;
  color: var(--color-navy);
  flex-shrink: 0;
}

.solutions__icon svg {
  width: 18px;
  height: 18px;
}

/* Connecting Lines */
.solutions__col--left .solutions__pill::after,
.solutions__col--right .solutions__pill::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background: var(--color-gold);
  z-index: -1;
  opacity: 0.5;
}

.solutions__col--left .solutions__pill::after {
  right: -50px;
}

.solutions__col--right .solutions__pill::after {
  left: -50px;
}

/* Connecting Dots */
.solutions__col--left .solutions__pill::before,
.solutions__col--right .solutions__pill::before {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  z-index: 0;
}

.solutions__col--left .solutions__pill::before {
  right: -50px;
}

.solutions__col--right .solutions__pill::before {
  left: -50px;
}

/* Center Scales & Ripples */
.solutions__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.solutions__scale {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.solutions__ripples {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 100px;
  z-index: 0;
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--color-navy);
  opacity: 0.15;
}

.ripple-1 {
  width: 100%;
  height: 100%;
}

.ripple-2 {
  width: 75%;
  height: 75%;
}

.ripple-3 {
  width: 50%;
  height: 50%;
  opacity: 0.3;
}

.solutions__btn {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
  position: relative;
  z-index: 2;
}

.solutions__btn:hover {
  background: var(--color-navy-light);
}

.solutions__btn svg {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
  .solutions__wrapper {
    gap: 1.5rem;
  }

  .solutions__col--left .solutions__pill::after,
  .solutions__col--right .solutions__pill::after,
  .solutions__col--left .solutions__pill::before,
  .solutions__col--right .solutions__pill::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .solutions__wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .solutions__col--left,
  .solutions__col--right {
    align-items: stretch;
  }

  .solutions__pill {
    max-width: 100%;
  }

  .solutions__center {
    order: -1;
  }
}

/* ============================================
   NEW PRACTICE AREAS SECTION
   ============================================ */
.practice-areas-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #F8F9FA;
  padding-bottom: 6rem;
}

.pa-header {
  position: relative;
  width: 100%;
  background: var(--color-navy);
  padding: 8rem 6% 8rem 6%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.pa-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-navy) 0%, rgba(13, 27, 42, 0.4) 50%, transparent 100%),
    url('/static/images/law_hero_bg_new.png') no-repeat right center;
  background-size: cover;
  z-index: 1;
  opacity: 0.8;
}

.pa-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 8vw;
  min-height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' preserveAspectRatio='none' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,120 L1440,120 L1440,80 C960,80 720,120 0,20 Z' fill='%23F8F9FA'/%3E%3Cpath d='M0,16 C720,116 960,76 1440,76 L1440,80 C960,80 720,120 0,20 Z' fill='%23C9A84C'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: bottom left;
  z-index: 2;
}

.pa-header-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.pa-header__content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.pa-header__eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
}

.pa-header__eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -60px;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.pa-header__title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.pa-header__desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.pa-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  position: relative;
  z-index: 3;
  margin-top: 2rem;
}

.pa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pa-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.pa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.pa-card__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.pa-card__icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  background: transparent;
  flex-shrink: 0;
  position: relative;
}

.pa-card__icon-wrapper::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
}

.pa-card__icon-wrapper i,
.pa-card__icon-wrapper svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.pa-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-navy);
  margin: 0;
  line-height: 1.3;
}

.pa-card__desc {
  font-size: 0.95rem;
  color: #4A5568;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 2.5rem;
}

.pa-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.pa-card__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pa-card:hover .pa-card__link {
  color: var(--color-royal-blue);
}

.pa-card__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.pa-card__btn i,
.pa-card__btn svg {
  width: 18px;
  height: 18px;
}

.pa-card:hover .pa-card__btn {
  background: var(--color-gold);
  transform: translateX(4px);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .pa-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pa-header {
    padding: 6rem 4% 6rem 4%;
  }

  .pa-header__title {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .pa-grid {
    grid-template-columns: 1fr;
  }

  .pa-header__title {
    font-size: 2.5rem;
  }

  .pa-header::after {
    height: 40px;
  }
}

/* DESKTOP MEGA MENU SAFEGUARD */
@media (min-width: 768px) {

  .site-header,
  .site-header::before,
  .nav,
  .nav__links,
  .nav__item,
  .nav__dropdown-wrapper {
    overflow: visible !important;
    contain: none !important;
    clip-path: none !important;
  }

  .nav__links {
    position: static !important;
    height: auto !important;
    max-height: none !important;
  }

  .nav__dropdown,
  .nav__dropdown.mega-menu {
    position: absolute !important;
    top: 5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 800px !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
  }
}

/* ============================================
   WhatsApp Widget
   ============================================ */
.whatsapp-widget {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.whatsapp-widget:hover, .whatsapp-widget:focus {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-widget svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 480px) {
  .whatsapp-widget {
    left: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
  }
  .whatsapp-widget svg {
    width: 30px;
    height: 30px;
  }
}