/* ============================================================
   GoodCall Psychiatry — Main Stylesheet
   Warm, soft, professional aesthetic
   Mobile-first, WCAG 2.1 AA compliant
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=Poppins:wght@600&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Palette */
  --warm-white:      #FAF7F4;
  --cream:           #F3EDE5;
  --cream-mid:       #EDE4D8;
  --rose:            #C9A4A0;
  --rose-light:      #EAD8D5;
  --rose-dark:       #A97870;
  --rose-deep:       #8C5F5A;
  --sage:            #9BAF95;
  --sage-light:      #CDD8CA;
  --sage-dark:       #6E8E68;
  --terracotta:      #B8765A;
  --terracotta-light:#D9AA93;
  --clay:            #C4A882;
  --clay-light:      #E5D5BF;
  --sand:            #E8DDD0;

  /* Text */
  --text-dark:       #3A2F2A;
  --text-medium:     #6B5A54;
  --text-light:      #9E8E88;
  --text-xlight:     #BFB2AC;

  /* UI */
  --border:          #E2D5CE;
  --shadow-sm:       0 2px 8px rgba(58,47,42,0.07);
  --shadow-md:       0 4px 24px rgba(58,47,42,0.10);
  --shadow-lg:       0 8px 48px rgba(58,47,42,0.13);
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       28px;
  --radius-xl:       48px;
  --radius-full:     999px;

  /* Typography */
  --font-display:    'Playfair Display', Georgia, serif;
  --font-body:       'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad:     clamp(64px, 8vw, 112px);
  --container:       1200px;
  --gutter:          clamp(20px, 5vw, 48px);

  /* Transitions */
  --ease:            cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:             0.35s;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: var(--font-body);
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--rose-light);
  color: var(--text-dark);
}

/* ─── Focus Styles (WCAG) ───────────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Skip to Content ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: white;
  padding: 10px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ─── Typography Scale ──────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-medium);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  max-width: 68ch;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-medium);
  font-weight: 300;
  line-height: 1.8;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin-bottom: 12px;
  display: block;
}

/* ─── Container ─────────────────────────────────────────────── */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navbar-bg);
  color: white;
  border-color: var(--navbar-bg);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--navbar-bg) 80%, black);
  border-color: color-mix(in srgb, var(--navbar-bg) 80%, black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navbar-bg);
  border-color: var(--navbar-bg);
}
.btn-secondary:hover {
  background: var(--navbar-bg);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ─── Section Utilities ─────────────────────────────────────── */
.section {
  padding-block: var(--section-pad);
}

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

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header h2,
.team-section h2,
.faq-sidebar h2 {
  color: var(--brand-navy);
}

.section-header p {
  margin-inline: auto;
  margin-top: 16px;
  max-width: 60ch;
  text-align: center;
}

.section-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-coral), var(--brand-navy));
  border-radius: var(--radius-full);
  margin: 16px auto 0;
}

/* ─── Crisis Banner ─────────────────────────────────────────── */
.crisis-banner {
  background: var(--rose-deep);
  color: white;
  text-align: center;
  padding: 10px var(--gutter);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  position: relative;
  z-index: 1000;
}

.crisis-banner a {
  color: white;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.crisis-banner a:hover {
  opacity: 0.85;
}

.crisis-banner strong {
  font-weight: 600;
}

/* ─── Navigation ────────────────────────────────────────────── */
/*
   NAVBAR COLOUR — change --navbar-bg to match your exact logo orange.
   Current value matches the terracotta/warm-orange in the palette.
   Tip: open your logo in a browser, use the eyedropper in DevTools
   (Elements → colour picker) to grab the exact hex.
*/
:root {
  --navbar-bg:    #FC6F5E;
  --brand-coral:  #fc6f5e;
  --brand-navy:   #103e60;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navbar-bg);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  transition: box-shadow var(--dur) var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  height: 115px;
  /* Match hero container: centred block, same max-width and side padding */
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-left: 0;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.navbar-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Nav links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: 'Poppins', var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(255,255,255,0.18);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
  background: none;
  border: none;
  cursor: pointer;
}

/* Navbar CTA button: white on orange */
.navbar-cta .btn-primary {
  font-family: 'Poppins', var(--font-body);
  font-weight: 600;
  background: white;
  color: var(--navbar-bg);
  border-color: white;
}
.navbar-cta .btn-primary:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.88);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hamburger:hover {
  background: rgba(255,255,255,0.18);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white; /* white lines on orange navbar */
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--warm-white);
  padding: 136px var(--gutter) 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav .nav-link {
  font-size: 1.2rem;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border);
  color: var(--brand-navy);
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  color: var(--brand-navy);
  background: rgba(16, 62, 96, 0.08);
}

.mobile-nav .btn {
  margin-top: 16px;
  justify-content: center;
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 47, 42, 0.4);
  z-index: 799;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #EAD8D5 0%, #E5D5BF 35%, #CDD8CA 70%, #EAD8D5 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(250, 245, 240, 0.82) 0%,
    rgba(245, 238, 230, 0.72) 50%,
    rgba(205, 216, 202, 0.55) 100%
  );
}

/* Organic blob decorations */
.hero-blob-1 {
  position: absolute;
  top: -8%;
  right: -5%;
  width: clamp(300px, 45vw, 600px);
  aspect-ratio: 1;
  background: radial-gradient(ellipse at center, rgba(201,164,160,0.25) 0%, transparent 70%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: blobFloat 12s ease-in-out infinite;
  z-index: 1;
}

.hero-blob-2 {
  position: absolute;
  bottom: -5%;
  left: -8%;
  width: clamp(250px, 35vw, 500px);
  aspect-ratio: 1;
  background: radial-gradient(ellipse at center, rgba(155,175,149,0.2) 0%, transparent 70%);
  border-radius: 40% 60% 30% 70% / 60% 40% 50% 50%;
  animation: blobFloat 15s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes blobFloat {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; transform: translate(0, 0); }
  33% { border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%; transform: translate(8px, -12px); }
  66% { border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%; transform: translate(-8px, 8px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 20px;
  padding: 8px 18px;
  background: var(--rose-light);
  border-radius: var(--radius-full);
}

.hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--rose-dark);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-deep);
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-medium);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 4/5;
  border-radius: 56% 44% 38% 62% / 44% 56% 44% 56%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-light), var(--sage-light));
  box-shadow: var(--shadow-lg);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-frame .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(145deg, var(--rose-light) 0%, var(--clay-light) 50%, var(--sage-light) 100%);
}

.hero-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: white;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--rose-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge-text {
  line-height: 1.3;
}

.hero-badge-text strong {
  font-size: 0.95rem;
  color: var(--text-dark);
  display: block;
}

.hero-badge-text span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ─── Feature Cards ─────────────────────────────────────────── */
.features {
  padding-block: clamp(40px, 5vw, 72px);
  background: white;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--dur) var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--rose-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  color: var(--rose-dark);
}

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 100%;
}

/* ─── Team / About Section ───────────────────────────────────── */
.team-section {
  background: var(--warm-white);
  padding-block: var(--section-pad);
}

.team-bg-grid { display: none; } /* unused — kept so HTML is valid */

.team-heading {
  color: var(--brand-navy);
}

/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  justify-content: center;
}

/* ── Individual Card ── */
.team-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--rose);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  max-width: 640px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--rose-dark);
}

/* ── Card Content ── */
.team-card-content {
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

/* Identity block */
.team-card-identity {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 3px;
  line-height: 1.3;
}

.team-title {
  font-size: 0.82rem;
  color: var(--brand-coral);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  max-width: 100%;
}

.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-pill {
  background: var(--rose-light);
  color: var(--rose-deep);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.team-pill--years {
  background: var(--clay-light);
  color: var(--terracotta);
}

/* ── Card Body ── */
.team-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-bio {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.75;
  max-width: 100%;
}

/* Specialties */
.team-specialties {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-specialty-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-xlight);
}

.team-specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.team-specialty-list li {
  font-size: 0.8rem;
  color: var(--text-medium);
  padding: 4px 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.team-card:hover .team-specialty-list li {
  background: var(--rose-light);
  border-color: var(--rose);
}

/* Quote */
.team-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  padding-left: 16px;
  border-left: 3px solid var(--brand-navy);
  margin: 0;
}

/* ── Card Footer ── */
.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.team-ahpra {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-xlight);
}

.team-ahpra svg {
  color: var(--sage-dark);
  flex-shrink: 0;
}

.team-ahpra strong {
  color: var(--text-light);
  font-weight: 500;
}

.team-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navbar-bg);
  background: transparent;
  border: 1.5px solid var(--navbar-bg);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.team-cta:hover {
  background: var(--navbar-bg);
  color: white;
  gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card-top { flex-direction: column; align-items: center; text-align: center; }
  .team-credentials { justify-content: center; }
  .team-card-footer { flex-direction: column; align-items: flex-start; }
}

/* ── Patient Care Coordinator ── */
.pcc-section {
  margin-top: 48px;
}

.pcc-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pcc-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pcc-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  border-left: 4px solid var(--brand-coral);
  transition: box-shadow var(--dur) var(--ease);
}

.pcc-card:hover {
  box-shadow: var(--shadow-md);
}

.pcc-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.pcc-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--sage-light);
  background: linear-gradient(145deg, var(--sage-light), var(--clay-light));
  flex-shrink: 0;
}

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

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcc-photo .team-photo-placeholder {
  color: var(--sage-dark);
  background: linear-gradient(145deg, var(--sage-light), var(--clay-light));
}

.pcc-photo--large {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-xl);
}

.pcc-name-block {
  width: 100%;
}

.pcc-name-block .team-title {
  color: var(--sage-dark);
}

.pcc-name-block .team-pill {
  background: var(--sage-light);
  color: var(--sage-dark);
}

.pcc-name-block .team-pill--years {
  background: var(--clay-light);
  color: var(--terracotta);
}

.pcc-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pcc-body .team-quote {
  border-left-color: var(--brand-navy);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .pcc-card {
    grid-template-columns: 1fr;
  }
  .pcc-photo-wrap {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  .pcc-photo {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
  }
  .pcc-photo--large {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-xl);
  }
  .pcc-photo-wrap:has(.pcc-photo--large) {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Doctor Card ── */
.doctor-section {
  margin-bottom: 28px;
}

.doctor-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.doctor-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.doctor-card {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-navy);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease);
}

.doctor-card:hover {
  box-shadow: var(--shadow-md);
}

.doctor-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.doctor-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--rose-light);
  background: linear-gradient(145deg, var(--rose-light), var(--clay-light));
  flex-shrink: 0;
}

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

.doctor-photo .team-photo-placeholder {
  color: var(--rose-deep);
}

.doctor-photo--large {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-xl);
}

.doctor-name-block {
  width: 100%;
}

.doctor-role-badge {
  display: inline-flex;
  align-items: center;
  background: var(--rose-light);
  color: var(--rose-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.doctor-name-block .team-name {
  margin-bottom: 4px;
}

/* Alt colour scheme for second doctor */
.doctor-card--alt {
  border-left-color: var(--brand-coral);
}

.doctor-photo--alt {
  border-color: var(--sage-light);
  background: linear-gradient(145deg, var(--sage-light), var(--clay-light));
}

.doctor-photo--alt .team-photo-placeholder {
  color: var(--sage-dark);
}

.doctor-role-badge--alt {
  background: var(--sage-light);
  color: var(--sage-dark);
}

.doctor-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doctor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .doctor-card {
    grid-template-columns: 1fr;
  }
  .doctor-photo-col {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  .doctor-photo {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
  }
  .doctor-photo--large {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-xl);
  }
  .doctor-photo-col:has(.doctor-photo--large) {
    flex-direction: column;
    text-align: center;
  }
  .doctor-body,
  .pcc-body {
    display: none;
  }
  .doctor-section.expanded .doctor-body,
  .pcc-section.expanded .pcc-body {
    display: flex;
  }
  .doctor-section.expanded .team-toggle-btn svg,
  .pcc-section.expanded .team-toggle-btn svg {
    transform: rotate(180deg);
  }
}

.team-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--brand-navy);
  cursor: pointer;
  margin-top: 10px;
}

.team-toggle-btn svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* ─── Services Section ──────────────────────────────────────── */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon--rose    { background: rgba(252,111,94,0.15); color: var(--brand-coral); }
.service-icon--sage    { background: rgba(16,62,96,0.10);  color: var(--brand-navy); }
.service-icon--clay    { background: rgba(252,111,94,0.12); color: var(--brand-coral); }
.service-icon--sand    { background: var(--sand);        color: var(--text-medium); }

.service-card h3 {
  font-size: 1.1rem;
  color: var(--brand-navy);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.65;
  flex: 1;
  max-width: 100%;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--terracotta);
  margin-top: auto;
  transition: gap var(--dur) var(--ease);
}

.service-link:hover {
  gap: 10px;
}

/* ─── Referrals Section ─────────────────────────────────────── */
.referrals {
  background: var(--warm-white);
}

.referrals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.referrals-intro p {
  margin-bottom: 16px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 20px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-medium);
}

.check-icon {
  width: 22px;
  height: 22px;
  background: rgba(16,62,96,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon svg {
  color: var(--brand-navy);
}

.referral-action-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.referral-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.referral-card h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.referral-card h4 svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

.referral-card p, .referral-card a {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.referral-card a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.urgency-note {
  margin-top: 20px;
  background: #FFF5F4;
  border: 1px solid var(--rose-light);
  border-left: 4px solid var(--rose-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-medium);
}

.urgency-note strong {
  color: var(--rose-deep);
  display: block;
  margin-bottom: 4px;
}

/* ─── Fees Section ──────────────────────────────────────────── */
.fees {
  background: var(--cream);
}

.fees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Full-width variant: fee tables stacked in a 2-col grid, info cards below */
.fees-grid--full {
  grid-template-columns: 1fr;
}

.fees-tables-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 768px) {
  .fees-tables-wrap { grid-template-columns: 1fr; }
}

.fees-table {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.fees-table-header {
  background: linear-gradient(135deg, rgba(252,111,94,0.12), rgba(16,62,96,0.10));
  padding: 20px 24px;
}

.fees-table-header h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.fee-row:last-child {
  border-bottom: none;
}

.fee-row-info {}

.fee-row-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.fee-row-info span {
  font-size: 0.82rem;
  color: var(--text-light);
}

.fee-amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navbar-bg);
  white-space: nowrap;
  text-align: right;
}

/* Out-of-pocket label shown smaller beneath the fee */
.fee-gap {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 2px;
}

/* Informational note row inside a fees table */
.fee-note {
  padding: 12px 24px;
  font-size: 0.82rem;
  color: var(--text-medium);
  background: var(--cream);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  font-style: italic;
}

.fees-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid var(--border);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.info-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-light);
  color: var(--rose-deep);
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
  max-width: 100%;
}

/* ─── FAQ Section ───────────────────────────────────────────── */
.faq {
  background: var(--warm-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 100px;
}

.faq-sidebar p {
  margin: 16px 0 24px;
}

.crisis-card {
  background: var(--rose-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.crisis-card h4 {
  font-size: 1rem;
  color: var(--rose-deep);
  margin-bottom: 12px;
}

.crisis-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(169,120,112,0.2);
}

.crisis-line:last-child {
  border-bottom: none;
}

.crisis-line-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.crisis-line-number {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--rose-deep);
  font-size: 1rem;
  white-space: nowrap;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.accordion-item.open {
  border-color: var(--rose);
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
  font-family: var(--font-body);
}

.accordion-trigger:hover {
  background: var(--cream);
}

.accordion-trigger[aria-expanded="true"] {
  background: rgba(16,62,96,0.07);
  color: var(--brand-navy);
}

.accordion-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background: var(--brand-navy);
  transform: rotate(180deg);
}

.accordion-icon svg {
  transition: color var(--dur) var(--ease);
  color: var(--text-medium);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon svg {
  color: white;
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.accordion-item.open .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-body-inner {
  overflow: hidden;
}

.accordion-body-inner p,
.accordion-body-inner ul {
  padding: 4px 22px 18px;
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.7;
  max-width: 100%;
}

.accordion-body-inner ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 36px;
  list-style: disc;
}

/* ─── Contact Section ───────────────────────────────────────── */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info {}

.contact-info p {
  margin-bottom: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-block: 28px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(16,62,96,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rose-dark);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-detail-text span, .contact-detail-text a {
  font-size: 0.92rem;
  color: var(--text-medium);
}

.contact-detail-text a:hover {
  color: var(--terracotta);
}

.contact-note {
  background: #FFF5F4;
  border: 1px solid var(--rose-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.86rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.contact-note strong {
  color: var(--rose-deep);
}

/* Contact Form */
.contact-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.contact-form-card > p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 100%;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

label .required {
  color: var(--rose-dark);
  margin-left: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--warm-white);
  color: var(--text-dark);
  font-size: 0.92rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(201,164,160,0.2);
  background: white;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-xlight);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239E8E88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-xlight);
  line-height: 1.5;
  margin-bottom: 18px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.form-success {
  display: none;
  background: var(--sage-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: var(--sage-dark);
  font-weight: 500;
}

/* ─── Join / Collaborate Section ────────────────────────────── */
.join-section {
  background: linear-gradient(135deg, var(--rose-light) 0%, var(--clay-light) 50%, var(--sage-light) 100%);
  position: relative;
  overflow: hidden;
}

.join-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.3);
  border-radius: 40% 60% 70% 30% / 50% 40% 60% 50%;
}

.join-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.join-content h2 {
  margin-bottom: 16px;
}

.join-content p {
  margin-bottom: 12px;
}

.join-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}

.join-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-medium);
}

.join-benefit::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  flex-shrink: 0;
}

.join-form-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255,255,255,0.5);
}

.join-form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: var(--text-xlight);
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: white;
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-xlight);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 28ch;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-xlight);
  transition: all var(--dur) var(--ease);
}

.social-icon:hover {
  background: var(--rose-dark);
  color: white;
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-xlight);
  transition: color var(--dur) var(--ease);
}

.footer-link:hover {
  color: var(--rose-light);
}

.footer-acknowledgement-inline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 16px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  max-width: 80ch;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ─── Floating Book Button ──────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 700;
  background: var(--navbar-bg);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(252,111,94,0.45);
  transition: all var(--dur) var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.floating-cta:hover {
  background: color-mix(in srgb, var(--navbar-bg) 80%, black);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(184,118,90,0.5);
}

.floating-cta svg {
  flex-shrink: 0;
}

/* ─── Scroll Reveal Animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Responsive: Tablet ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero { min-height: 80vh; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-col { max-width: 320px; }
  .fees-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .referrals-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
  .join-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ─── Responsive: Mobile ────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-cta .btn:not(.hamburger) { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero { min-height: unset; }
  .hero-content { padding-block: 40px; }
  .hero-grid { gap: 16px; }
  .hero-visual { display: flex; }
  .hero-image-frame { aspect-ratio: 3 / 4; width: 100%; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .fees-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; width: 52px; height: 52px; justify-content: center; }
  .footer-meta { flex-direction: column; align-items: flex-start; }

  #referrals,
  #fees,
  #faq {
    display: none;
  }
  #referrals.mobile-visible,
  #fees.mobile-visible,
  #faq.mobile-visible {
    display: block;
  }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .credentials-row { flex-wrap: wrap; }
}

/* ─── Print ──────────────────────────────────────────────────── */
@media print {
  .navbar, .crisis-banner, .floating-cta, .hamburger, .mobile-nav {
    display: none !important;
  }
}

/* ─── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
