/* ==========================================================================
   PRIVATE GP WEBSITE — STYLESHEET
   Premium redesign: Navy / White / Warm Gold
   Mobile-first, production-quality
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Brand — Navy */
  --c-primary:        #1B3A5C;
  --c-primary-hover:  #254D7A;
  --c-accent:         #B8892A;
  --c-accent-light:   #F8F0DC;
  --c-accent-hover:   #9A7222;

  /* Blue highlight tones */
  --c-blue:           #3D7CB8;
  --c-blue-light:     #E6F0FA;
  --c-blue-mid:       #C8DDF0;

  /* Backgrounds */
  --c-bg:             #FFFFFF;
  --c-surface:        #FFFFFF;
  --c-surface-alt:    #F0F6FD;
  --c-surface-warm:   #FAFBFC;

  /* Text */
  --c-text:           #1A2333;
  --c-text-muted:     #4A5568;
  --c-text-light:     #7A8A9E;
  --c-text-on-dark:   #FFFFFF;

  /* Borders */
  --c-border:         #D2E0EE;
  --c-border-light:   #E8F0F8;

  /* Semantic */
  --c-success:        #1A6B4A;
  --c-error:          #B83232;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:     1200px;
  --container-padding: 1.5rem;
  --border-radius:     10px;
  --border-radius-lg:  18px;
  --border-radius-xl:  24px;

  /* Elevation system — 3 levels */
  --shadow-sm:  0 1px 3px rgba(27,58,92,0.06), 0 2px 8px rgba(27,58,92,0.05);
  --shadow:     0 2px 8px rgba(27,58,92,0.06), 0 6px 20px rgba(27,58,92,0.09);
  --shadow-lg:  0 6px 20px rgba(27,58,92,0.07), 0 18px 48px rgba(27,58,92,0.12);
  --shadow-xl:  0 12px 40px rgba(27,58,92,0.10), 0 32px 80px rgba(27,58,92,0.16);

  /* Motion */
  --transition:      200ms ease;
  --transition-slow: 400ms ease;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-primary);
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--c-text);
}

h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  margin-bottom: var(--space-6);
}

h2 {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  margin-bottom: var(--space-4);
}

h3 {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  margin-bottom: var(--space-3);
}

h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-4);
  color: var(--c-text);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--c-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--c-primary);
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
  margin: 0;
}

address {
  font-style: normal;
}

strong {
  font-weight: 600;
}


/* ==========================================================================
   3. ACCESSIBILITY
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  z-index: 9999;
  background: var(--c-primary);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: 800px;
}

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

.section--sm {
  padding: var(--space-12) 0;
}

.section--dark {
  background: linear-gradient(135deg, var(--c-primary) 0%, #0E2440 100%);
  color: var(--c-text-on-dark);
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay on dark sections */
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(61,124,184,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184,137,42,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section--dark > * {
  position: relative;
  z-index: 1;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #FFFFFF;
}

.section--dark p {
  color: rgba(255,255,255,0.85);
}

.section--dark a {
  color: var(--c-accent-light);
}

.section--dark a:hover {
  color: white;
}

.section--alt {
  background: var(--c-surface-alt);
}

.section--accent {
  background: var(--c-accent-light);
}

.section--white {
  background: #fff;
}


/* ==========================================================================
   5. SECTION HEADINGS WITH GOLD ACCENT LINE
   ========================================================================== */

.section-heading {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-heading h2 {
  color: var(--c-primary);
  margin-bottom: var(--space-3);
}

.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
  margin: var(--space-3) auto 0;
}

.section-heading p {
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  max-width: 580px;
  margin: var(--space-4) auto 0;
}


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.8125rem 1.875rem;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
  box-shadow: 0 2px 8px rgba(184,137,42,0.30);
}

.btn--primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184,137,42,0.40);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

.btn--outline-dark {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn--outline-dark:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn--blue {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
  box-shadow: 0 2px 8px rgba(61,124,184,0.25);
}

.btn--blue:hover {
  background: #2D6BA3;
  border-color: #2D6BA3;
  color: #fff;
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1.0625rem 2.375rem;
  font-size: var(--text-lg);
}


/* ==========================================================================
   7. CARDS
   ========================================================================== */

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
}

.card--hover {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-blue-mid);
}


/* ==========================================================================
   8. NAVIGATION (mobile-first)
   ========================================================================== */

.nav {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--c-border-light);
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.nav__logo img {
  height: 46px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--c-primary);
  line-height: 1.15;
  text-decoration: none;
}

.nav__logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mobile menu */
.nav__menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: white;
  padding: var(--space-4) var(--container-padding);
  border-bottom: 2px solid var(--c-primary);
  box-shadow: var(--shadow-lg);
  list-style: none;
}

.nav__menu--open {
  display: flex;
}

.nav__link {
  display: block;
  padding: var(--space-3) 0;
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border-light);
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--c-accent);
}

.nav__item--dropdown .nav__dropdown {
  display: block;
  list-style: none;
  padding: var(--space-2) 0 0 var(--space-4);
}

.nav__dropdown a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  border-bottom: none;
}

.nav__dropdown a:hover {
  color: var(--c-accent);
}

/* Hamburger */
.nav__toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 1px;
  transition: var(--transition);
}

.nav__cta {
  display: none;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.nav__phone {
  color: var(--c-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__phone:hover {
  color: var(--c-accent);
}

/* Desktop nav */
@media (min-width: 900px) {
  .nav__menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    align-items: center;
    gap: var(--space-8);
  }

  .nav__link {
    border-bottom: none;
    padding: var(--space-2) 0;
    position: relative;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    border-radius: 1px;
  }

  .nav__link:hover::after,
  .nav__link--active::after {
    transform: scaleX(1);
  }

  .nav__link--active {
    color: var(--c-primary);
  }

  .nav__toggle {
    display: none;
  }

  .nav__cta {
    display: flex;
  }

  /* Dropdown on desktop */
  .nav__item--dropdown {
    position: relative;
  }

  .nav__item--dropdown .nav__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: -1rem;
    background: white;
    border: 1px solid var(--c-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 230px;
    padding: var(--space-3) 0;
    z-index: 200;
  }

  .nav__item--dropdown:hover .nav__dropdown {
    display: block;
  }

  .nav__dropdown a {
    display: block;
    padding: var(--space-3) var(--space-6);
    color: var(--c-text);
    font-size: var(--text-sm);
    white-space: nowrap;
    border-bottom: none;
    font-weight: 400;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
  }

  .nav__dropdown a:hover {
    background: var(--c-surface-alt);
    color: var(--c-primary);
    padding-left: calc(var(--space-6) + 4px);
  }

  .nav__item--dropdown .nav__link {
    padding-right: 0;
  }
}


/* ==========================================================================
   9. HERO SECTION (homepage)
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, #0E2440 0%, var(--c-primary) 60%, #1F4B72 100%);
  color: white;
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

/* Decorative orbs for depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(61,124,184,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(184,137,42,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.hero__content {
  flex: 1;
  max-width: 580px;
}

.hero h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  color: white;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

/* Gold underline accent on hero h1 */
.hero h1 span {
  color: var(--c-accent-light);
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-8);
  line-height: 1.65;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__image {
  display: none;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  flex: 0 0 420px;
  height: 520px;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255,255,255,0.12);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (min-width: 900px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
  }

  .hero__image {
    display: block;
  }
}


/* ==========================================================================
   10. PAGE HERO (inner pages)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, #0E2440 0%, var(--c-primary) 100%);
  color: white;
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(61,124,184,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: white;
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: var(--space-8);
}


/* ==========================================================================
   11. TRUST BAR
   ========================================================================== */

.trust-bar {
  background: white;
  border-bottom: 1px solid var(--c-border-light);
  padding: var(--space-4) 0;
  box-shadow: 0 2px 8px rgba(27,58,92,0.04);
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.trust-item__star {
  color: var(--c-accent);
  font-size: var(--text-base);
}

@media (min-width: 768px) {
  .trust-bar__inner {
    justify-content: space-between;
  }
}


/* ==========================================================================
   12. SERVICES GRID
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6) var(--space-6) var(--space-8);
  text-align: center;
  text-decoration: none;
  color: var(--c-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-blue-mid);
  color: var(--c-text);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--c-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: 1.5rem;
  border: 2px solid var(--c-blue-mid);
  transition: background var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--c-accent-light);
  border-color: var(--c-accent);
}

.service-card h3 {
  font-size: var(--text-base);
  color: var(--c-primary);
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}


/* ==========================================================================
   13. FEES SECTION
   ========================================================================== */

.fees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.fee-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  backdrop-filter: blur(4px);
}

.fee-card--featured {
  background: rgba(255,255,255,0.16);
  border-color: var(--c-accent);
  box-shadow: 0 0 0 2px rgba(184,137,42,0.3);
}

.fee-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-4));
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fee-card__duration {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fee-card__price {
  font-size: var(--text-5xl);
  font-family: var(--font-display);
  color: white;
  font-weight: 500;
  line-height: 1;
  margin: var(--space-3) 0 var(--space-2);
}

.fee-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

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

/* Fees table (on fees.html) */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
}

.fees-table th {
  background: var(--c-primary);
  color: white;
  padding: var(--space-4);
  text-align: left;
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
}

.fees-table th:first-child {
  border-radius: var(--border-radius) 0 0 0;
}

.fees-table th:last-child {
  border-radius: 0 var(--border-radius) 0 0;
}

.fees-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--c-border-light);
  font-size: var(--text-sm);
  vertical-align: top;
}

.fees-table tr:nth-child(even) td {
  background: var(--c-surface-alt);
}

.fees-table tr:hover td {
  background: var(--c-blue-light);
}

.fees-table .price {
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
  font-size: var(--text-base);
}


/* ==========================================================================
   14. TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.testimonial {
  background: white;
  border: 1px solid var(--c-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--c-accent);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--c-accent-light);
  line-height: 1;
  position: absolute;
  top: var(--space-2);
  left: var(--space-6);
}

.testimonial__stars {
  color: var(--c-accent);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.testimonial__text {
  font-style: italic;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

.testimonial__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ==========================================================================
   15. SPLIT LAYOUT
   ========================================================================== */

.split {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.split--reverse {
  flex-direction: column-reverse;
}

.split__image {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.split__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.split__content {
  flex: 1;
}

@media (min-width: 768px) {
  .split {
    flex-direction: row;
    align-items: center;
    gap: var(--space-12);
  }

  .split--reverse {
    flex-direction: row-reverse;
  }

  .split__image {
    flex: 0 0 42%;
  }

  .split__image img {
    height: 460px;
  }
}


/* ==========================================================================
   16. CTA SECTIONS
   ========================================================================== */

.cta-section {
  text-align: center;
}

.cta-phone {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-family: var(--font-display);
  color: var(--c-accent);
  display: block;
  margin: var(--space-4) auto var(--space-6);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.cta-phone:hover {
  color: var(--c-accent-light);
}


/* ==========================================================================
   17. ABOUT / BIO CONTENT
   ========================================================================== */

.bio-text {
  max-width: 700px;
}

.bio-text p {
  font-size: var(--text-base);
  line-height: 1.85;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}

.credentials-list li {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-primary);
  background: var(--c-blue-light);
  border: 1px solid var(--c-blue-mid);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.award-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--c-border-light);
}

.award-item:last-child {
  border-bottom: none;
}

.award-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.award-item h3 {
  font-size: var(--text-lg);
  color: var(--c-primary);
  margin-bottom: var(--space-2);
}

.award-item p {
  color: var(--c-text-muted);
}

.publication {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--c-border-light);
}

.publication:last-child {
  border-bottom: none;
}

.publication p {
  color: var(--c-text-muted);
}

.publication cite {
  font-style: italic;
}

.qual-table {
  width: 100%;
  border-collapse: collapse;
}

.qual-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--c-border-light);
  font-size: var(--text-sm);
  vertical-align: top;
}

.qual-table td:first-child {
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
  width: 140px;
}

.qual-table td:last-child {
  color: var(--c-text-muted);
}

.qual-table tr:nth-child(even) td {
  background: var(--c-surface-alt);
}


/* ==========================================================================
   18. BREADCRUMB
   ========================================================================== */

.breadcrumb {
  background: white;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--c-border-light);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-sm);
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--c-text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-2);
  color: var(--c-border);
}

.breadcrumb a {
  color: var(--c-blue);
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

.breadcrumb li:last-child {
  color: var(--c-text);
  font-weight: 500;
}


/* ==========================================================================
   19. FAQ ACCORDION
   ========================================================================== */

.faq-list {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0;
}

.faq-item {
  border-bottom: 1px solid var(--c-border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--c-border-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--c-blue);
}

.faq-question[aria-expanded="true"] {
  color: var(--c-primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-weight: 300;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 var(--space-6) 0;
  color: var(--c-text-muted);
  line-height: 1.85;
  max-width: 720px;
}

.faq-answer.is-open {
  display: block;
}

.faq-answer p {
  color: var(--c-text-muted);
}


/* ==========================================================================
   20. BLOG LISTING
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

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

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

.post-card {
  background: white;
  border: 1px solid var(--c-border-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--c-text);
}

.post-card__image {
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  font-size: var(--text-xs);
  color: var(--c-text-light);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.post-card h2,
.post-card h3 {
  font-size: var(--text-lg);
  color: var(--c-primary);
  margin-bottom: var(--space-3);
  line-height: 1.35;
  font-family: var(--font-display);
}

.post-card p {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  flex: 1;
  line-height: 1.65;
  margin: 0;
}

.post-card__read-more {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-blue);
}

.post-card:hover .post-card__read-more {
  color: var(--c-primary);
}


/* ==========================================================================
   21. ARTICLE / BLOG POST CONTENT
   ========================================================================== */

.article-hero {
  position: relative;
}

.article-hero__image {
  height: 380px;
  overflow: hidden;
}

.article-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 2px solid var(--c-accent);
  margin-bottom: var(--space-8);
}

.article-meta__author {
  font-weight: 600;
  color: var(--c-primary);
}

.article-meta__date {
  color: var(--c-text-muted);
  font-size: var(--text-sm);
}

.article-meta__tag {
  background: var(--c-blue-light);
  color: var(--c-blue);
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.article-content {
  max-width: 720px;
}

.article-content h2 {
  font-size: var(--text-2xl);
  color: var(--c-primary);
  margin: var(--space-10) 0 var(--space-4);
  padding-top: var(--space-4);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: var(--text-xl);
  color: var(--c-primary);
  margin: var(--space-8) 0 var(--space-3);
}

.article-content p {
  line-height: 1.85;
  color: var(--c-text);
  margin-bottom: var(--space-5);
}

.article-content ul,
.article-content ol {
  margin: var(--space-4) 0 var(--space-6) var(--space-6);
}

.article-content li {
  margin-bottom: var(--space-2);
  color: var(--c-text);
  line-height: 1.7;
}

.article-content img {
  border-radius: var(--border-radius-lg);
  margin: var(--space-8) 0;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.article-content .callout {
  margin: var(--space-8) 0;
}

.article-sidebar {
  position: sticky;
  top: calc(76px + var(--space-6));
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr 300px;
    gap: var(--space-12);
    align-items: start;
  }
}


/* ==========================================================================
   22. SLEEP CLINIC SPECIFIC
   ========================================================================== */

.watchpat-box {
  background: linear-gradient(135deg, var(--c-blue-light) 0%, #F0F8FF 100%);
  border: 1px solid var(--c-blue-mid);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.watchpat-box img {
  max-width: 200px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .watchpat-box {
    flex-direction: row;
    align-items: center;
  }
}

.includes-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
}

.includes-list li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--c-border-light);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
}

.includes-list li::before {
  content: '✓';
  color: var(--c-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ==========================================================================
   23. LOCATION CARDS
   ========================================================================== */

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.location-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-border-light);
}

.location-card__map {
  height: 240px;
}

.location-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-card__body {
  padding: var(--space-6);
  background: white;
}

.location-card h2,
.location-card h3 {
  color: var(--c-primary);
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.location-card address {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 2;
}

.location-card p {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--space-3);
}


/* ==========================================================================
   24. CONTACT FORM
   ========================================================================== */

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  color: var(--c-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: white;
  color: var(--c-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(61,124,184,0.15);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234A5568' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}


/* ==========================================================================
   25. FEATURE BANNER (sleep clinic CTA)
   ========================================================================== */

.feature-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, #0E2440 100%);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8) var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.feature-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(61,124,184,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.feature-banner > * {
  position: relative;
  z-index: 1;
}

.feature-banner h3 {
  color: white;
  font-size: var(--text-2xl);
  margin: 0;
}

.feature-banner p {
  color: rgba(255,255,255,0.8);
  margin: var(--space-2) 0 0;
}

.feature-banner .price {
  color: var(--c-accent-light);
  font-weight: 600;
  font-size: var(--text-lg);
}

.feature-banner img {
  border-radius: var(--border-radius);
  max-width: 180px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .feature-banner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ==========================================================================
   26. CALLOUT / HIGHLIGHT BOX
   ========================================================================== */

.callout {
  background: var(--c-accent-light);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

.callout p {
  color: var(--c-text);
  margin: 0;
}

.callout--info {
  background: var(--c-blue-light);
  border-left-color: var(--c-blue);
}

.callout--info p {
  color: var(--c-text);
}


/* ==========================================================================
   27. SCROLL ANIMATIONS
   ========================================================================== */

/* Elements start hidden and fade up on scroll */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate="fade"] {
  transform: none;
}

[data-animate="left"] {
  transform: translateX(-28px);
}

[data-animate="right"] {
  transform: translateX(28px);
}

[data-animate="scale"] {
  transform: scale(0.96);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays for grid children */
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }
[data-animate-delay="6"] { transition-delay: 0.6s; }
[data-animate-delay="7"] { transition-delay: 0.7s; }
[data-animate-delay="8"] { transition-delay: 0.8s; }


/* ==========================================================================
   28. FOOTER
   ========================================================================== */

.footer {
  background: linear-gradient(160deg, #0E2440 0%, var(--c-primary) 100%);
  color: rgba(255,255,255,0.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: var(--space-16) 0;
}

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

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--space-10);
  }
}

.footer__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: white;
  margin: 0 0 var(--space-1);
}

.footer__title {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin: 0 0 var(--space-2);
}

.footer__quals {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin: 0 0 var(--space-1);
}

.footer__doctify {
  margin-top: var(--space-5);
  display: inline-block;
}

.footer__doctify-badge {
  display: inline-block;
  background: rgba(184,137,42,0.18);
  border: 1px solid rgba(184,137,42,0.5);
  border-radius: var(--border-radius);
  padding: 0.4rem 0.9rem;
  font-size: var(--text-xs);
  color: #E8C97A;
  text-decoration: none;
  transition: background var(--transition);
}

.footer__doctify-badge:hover {
  background: rgba(184,137,42,0.28);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--c-accent-light);
  padding-left: 4px;
}

.footer__contact address {
  font-size: var(--text-sm);
  line-height: 2;
}

.footer__contact a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--c-accent-light);
}

.footer__locations {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  line-height: 2;
  color: rgba(255,255,255,0.55);
}

.footer__locations strong {
  color: rgba(255,255,255,0.75);
}

.footer p {
  margin: 0 0 var(--space-1);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer__bottom a {
  color: rgba(255,255,255,0.45);
}

.footer__bottom a:hover {
  color: var(--c-accent-light);
}


/* ==========================================================================
   29. CONTACT PAGE PHONE DISPLAY
   ========================================================================== */

.contact-phone {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-family: var(--font-display);
  color: var(--c-accent);
  display: block;
  margin: var(--space-4) auto var(--space-6);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.contact-phone:hover {
  color: var(--c-accent-light);
}


/* ==========================================================================
   30. RESPONSIVE UTILITIES
   ========================================================================== */

.img-responsive {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }

  .show-mobile {
    display: none;
  }
}


/* ==========================================================================
   31. PRINT STYLES
   ========================================================================== */

@media print {
  .nav,
  footer,
  .cta-section,
  .breadcrumb,
  .feature-banner {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .section {
    padding: 1rem 0;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}


/* ==========================================================================
   32. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}
