/*
Theme Name: Anchored Healthcare
Theme URI: https://anchoredhealthcare.com
Author: Anchored Healthcare Initiative
Description: Custom theme for the Anchored Healthcare Initiative — an exact replication of the original brand site, with member login, registration, and CRM integration.
Version: 2.1.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: anchored-healthcare
*/

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

:root {
  /* Anchored Healthcare colour palette — extracted from brand slides */
  --teal-dark:   #0C4D66;   /* primary — nav, headers */
  --teal-mid:    #326475;   /* secondary teal */
  --teal-light:  #4A7A8A;   /* light teal */
  --olive:       #7A7550;   /* earthy olive — section backgrounds */
  --olive-dark:  #5C5838;   /* deeper olive */
  --olive-light: #A09870;   /* soft olive */
  --amber:       #CA8D38;   /* accent — CTAs, highlights */
  --amber-dark:  #A87028;   /* darker amber for hover */
  --amber-light: #DFB06A;   /* light amber */
  --cream:       #F5F0E5;   /* warm off-white */
  --warm-white:  #FAF7F2;   /* page background */
  --charcoal:    #1C1A14;   /* body text */
  --slate:       #3D3A2E;   /* secondary text */
  --muted:       #7A7560;   /* muted text */
  --white:       #FFFFFF;
}

/* Smooth scrolling is applied via JS for same-page anchors only — a global
   CSS rule animates the jump-to-anchor on cross-page loads, which reads as a
   flash of the previous scroll position ("peep-through"). */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  height: 72px;
  background: var(--teal-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
nav.site-nav.scrolled { box-shadow: 0 4px 24px rgba(12,77,102,0.35); }

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; fill: var(--white); }
.logo-text { font-family: 'Playfair Display', serif; font-size: 17px;
             font-weight: 700; color: var(--white); line-height: 1.2; }
.logo-sub  { font-size: 10px; font-weight: 400; color: var(--amber-light);
             letter-spacing: 1.2px; text-transform: uppercase; }

nav.site-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
nav.site-nav ul li a {
  text-decoration: none; font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.82); padding: 8px 14px; border-radius: 5px;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
nav.site-nav ul li a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
nav.site-nav ul li a.active { color: var(--amber-light); }

.nav-join {
  background: var(--amber); color: var(--white);
  padding: 9px 22px; border-radius: 6px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; display: inline-block; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.nav-join:hover { background: var(--amber-dark); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(12,77,102,0.92) 0%, rgba(50,100,117,0.85) 45%, rgba(122,117,80,0.70) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
  background-color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 56px 80px;
  position: relative; overflow: hidden;
}

/* Decorative circles */
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(202,141,56,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,122,138,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(202,141,56,0.18); border: 1px solid rgba(202,141,56,0.4);
  color: var(--amber-light); font-size: 11px; font-weight: 500;
  padding: 5px 14px; border-radius: 20px; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-eyebrow::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background: var(--amber); flex-shrink:0;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4vw, 58px); font-weight: 700;
  line-height: 1.1; color: var(--white);
  letter-spacing: -0.5px; margin-bottom: 22px;
}
.hero h1 em { color: var(--amber-light); font-style: normal; }
.hero-sub {
  font-size: 17px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.72); margin-bottom: 0; max-width: 480px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-amber {
  background: var(--amber); color: var(--white);
  padding: 14px 30px; border-radius: 7px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(202,141,56,0.35);
}
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(202,141,56,0.45); }
.btn-outline-white {
  background: transparent; color: var(--white);
  padding: 13px 30px; border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 400;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* Hero visual card */
.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
}
.hero-visual-cta { text-align: center; margin-top: 8px; }
.stat-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 24px 28px;
}
.stat-card.accent { background: rgba(202,141,56,0.15); border-color: rgba(202,141,56,0.3); }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 36px;
            font-weight: 700; color: var(--amber-light); line-height: 1; margin-bottom: 6px; }
.stat-lbl { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.65); }
.stat-divider { width: 1px; background: rgba(255,255,255,0.1); margin: 0 4px; }
.mission-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 14px;
}
.mission-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--teal-mid); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mission-icon svg { width: 18px; height: 18px; stroke: var(--amber-light); fill: none; }
.mission-title { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.mission-desc  { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ── ABOUT ── */
.about {
  padding: 100px 56px;
  background: var(--warm-white);
}
.about-inner { max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-label {
  font-size: 11px; font-weight: 600; color: var(--amber);
  text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 2.8vw, 42px); font-weight: 700;
  color: var(--teal-dark); line-height: 1.15; margin-bottom: 18px;
}
.section-title em { color: var(--amber); font-style: normal; }
.section-body { font-size: 16px; font-weight: 300; line-height: 1.8;
  color: var(--slate); margin-bottom: 16px; }
.value-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.value-list li { display: flex; align-items: flex-start; gap: 12px; }
.value-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); margin-top: 7px; flex-shrink: 0;
}
.value-text { font-size: 15px; font-weight: 400; color: var(--slate); line-height: 1.6; }
.value-text strong { color: var(--teal-dark); font-weight: 500; }

/* About visual */
.about-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.av-card {
  border-radius: 14px; padding: 28px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.av-card.c1 { background: var(--teal-dark); }
.av-card.c2 { background: var(--olive); }
.av-card.c3 { background: var(--cream); border: 1px solid var(--amber-light); }
.av-card.c4 { background: var(--teal-mid); }
.av-icon { width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.av-icon svg { width: 20px; height: 20px; }
.av-title { font-size: 15px; font-weight: 600; }
.av-desc  { font-size: 13px; font-weight: 300; line-height: 1.5; opacity: 0.8; }
.c1 .av-title, .c1 .av-desc, .c2 .av-title, .c2 .av-desc,
.c4 .av-title, .c4 .av-desc { color: var(--white); }
.c3 .av-title { color: var(--teal-dark); }
.c3 .av-desc  { color: var(--slate); }
.c3 .av-icon  { background: rgba(12,77,102,0.1); }
.c1 .av-icon svg, .c2 .av-icon svg, .c4 .av-icon svg { stroke: var(--amber-light); fill: none; }
.c3 .av-icon svg { stroke: var(--teal-dark); fill: none; }
/* Fifth "Our approach" card spans the full row */
.av-card.c5 { background: var(--olive-dark); grid-column: 1 / -1; }
.c5 .av-title, .c5 .av-desc { color: var(--white); }
.c5 .av-icon svg { stroke: var(--amber-light); fill: none; }

/* ── HOW IT WORKS ── */
.how {
  padding: 100px 56px;
  background: var(--teal-dark);
  position: relative; overflow: hidden;
}
.how::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(202,141,56,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.how-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.how .section-label { color: var(--amber-light); }
.how .section-title { color: var(--white); margin-bottom: 60px; }
.how .section-title em { color: var(--amber-light); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 30px 24px;
  transition: background 0.2s;
}
.step-card:hover { background: rgba(255,255,255,0.09); }
.step-num {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--amber); color: var(--white);
  font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step-title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.step-desc  { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* ── SERVICES ── */
.services {
  padding: 100px 56px;
  background: var(--cream);
}
.services-inner { max-width: 1100px; margin: 0 auto; }
.services .section-title { text-align: center; margin-bottom: 10px; }
.services .section-label { text-align: center; }
.services-sub { text-align: center; font-size: 16px; font-weight: 300;
  color: var(--muted); max-width: 560px; margin: 0 auto 60px; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white); border-radius: 14px; padding: 34px 28px;
  border: 1px solid rgba(122,117,80,0.15);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(12,77,102,0.12);
  border-color: var(--amber-light);
}
.service-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(12,77,102,0.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--teal-dark); fill: none; }
.service-title { font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 600; color: var(--teal-dark); margin-bottom: 10px; }
.service-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* ── PARTNERS ── */
.partners {
  padding: 72px 56px;
  background: var(--olive);
  text-align: center;
}
.partners-label {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 36px;
}
.partners-logos {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; align-items: center;
}
.partner-pill {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 14px; font-weight: 400;
  padding: 10px 24px; border-radius: 30px; letter-spacing: 0.3px;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 110px 56px;
  background: var(--warm-white);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(12,77,102,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.cta-section .section-label { color: var(--amber); }
.cta-section .section-title { color: var(--teal-dark); margin-bottom: 16px; }
.cta-body {
  font-size: 17px; font-weight: 300; line-height: 1.75;
  color: var(--muted); max-width: 620px; margin: 0 auto 56px;
}

/* The two CTA cards */
.cta-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 780px; margin: 0 auto;
}
.cta-card {
  border-radius: 16px; padding: 44px 36px; text-align: left;
  position: relative; overflow: hidden;
}
.cta-card.professional {
  background: var(--teal-dark);
  border: 1px solid rgba(74,122,138,0.3);
}
.cta-card.institution {
  background: var(--olive-dark);
  border: 1px solid rgba(202,141,56,0.25);
}
.cta-card::before {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  pointer-events: none;
}
.cta-card.professional::before {
  background: radial-gradient(circle, rgba(74,122,138,0.3) 0%, transparent 70%);
}
.cta-card.institution::before {
  background: radial-gradient(circle, rgba(202,141,56,0.25) 0%, transparent 70%);
}
.cta-card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--amber-light);
  background: rgba(202,141,56,0.15); border: 1px solid rgba(202,141,56,0.3);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
}
.cta-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; color: var(--white);
  margin-bottom: 12px; line-height: 1.2;
}
.cta-card-desc {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.68);
  line-height: 1.7; margin-bottom: 30px;
}
.cta-card-perks { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 8px; }
.cta-card-perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.75);
}
.perk-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(202,141,56,0.25); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.perk-check svg { width: 10px; height: 10px; stroke: var(--amber-light); fill: none; }
.btn-register-prof {
  display: inline-block; width: 100%; text-align: center;
  background: var(--amber); color: var(--white);
  padding: 14px 28px; border-radius: 8px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(202,141,56,0.3);
}
.btn-register-prof:hover { background: var(--amber-dark); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(202,141,56,0.45); }
.btn-register-inst {
  display: inline-block; width: 100%; text-align: center;
  background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: 8px;
  border: 1.5px solid rgba(202,141,56,0.6);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-register-inst:hover { background: rgba(202,141,56,0.15);
  border-color: var(--amber); transform: translateY(-2px); }
.cta-more {
  margin-top: 28px; font-size: 14px; font-weight: 300; color: var(--muted);
}
.cta-more a { color: var(--amber-dark); font-weight: 500; text-decoration: none; }
.cta-more a:hover { text-decoration: underline; }

/* ── TESTIMONIAL STRIP ── */
.testimonials {
  padding: 80px 56px;
  background: var(--teal-mid);
}
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-label { font-size: 11px; font-weight: 500; color: var(--amber-light);
  text-transform: uppercase; letter-spacing: 1.4px; text-align: center; margin-bottom: 44px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 28px;
}
.quote-mark { font-family: 'Playfair Display', serif; font-size: 48px;
  color: var(--amber); line-height: 1; margin-bottom: 12px; }
.quote-text { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.85);
  line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.quote-author { font-size: 13px; font-weight: 500; color: var(--amber-light); }
.quote-role   { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }


/* ── CONTACT FORM SECTION ── */
.contact-section {
  padding: 110px 56px;
  background: var(--teal-dark);
  position: relative; overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute; bottom: -200px; left: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,117,80,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.contact-section::after {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(202,141,56,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start;
  position: relative; z-index: 1;
}
.contact-left .section-label { color: var(--amber-light); }
.contact-left .section-title { color: var(--white); margin-bottom: 18px; }
.contact-left .section-title em { color: var(--amber-light); }
.contact-left-desc {
  font-size: 16px; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,0.62); margin-bottom: 44px;
}

/* Form card */
.contact-form-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px; padding: 50px 46px;
}
.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.45); margin-bottom: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.60); letter-spacing: 0.3px; }
.form-label span { color: var(--amber-light); }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 9px; padding: 13px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 300;
  color: var(--white); outline: none; width: 100%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23DFB06A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-select option { background: #0C4D66; color: white; }
.form-textarea { resize: vertical; min-height: 124px; line-height: 1.65; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amber);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(202,141,56,0.15);
}
.form-input:hover:not(:focus), .form-select:hover:not(:focus), .form-textarea:hover:not(:focus) {
  border-color: rgba(255,255,255,0.22);
}
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.form-consent input[type="checkbox"] {
  width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--amber); cursor: pointer;
}
.form-consent-text { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.6; }
.form-consent-text a { color: var(--amber-light); text-decoration: none; }
.form-consent-text a:hover { text-decoration: underline; }
.btn-submit {
  width: 100%; padding: 15px; border-radius: 9px; border: none;
  background: var(--amber); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(202,141,56,0.28);
}
.btn-submit:hover { background: var(--amber-dark); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(202,141,56,0.42); }
.btn-submit svg { width: 18px; height: 18px; stroke: white; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-submit:disabled { opacity: 0.6; pointer-events: none; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(202,141,56,0.15); border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.form-success-icon svg { width: 30px; height: 30px; stroke: var(--amber-light);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-success-title { font-family: 'Playfair Display', serif; font-size: 24px;
  color: var(--white); margin-bottom: 12px; }
.form-success-msg { font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,0.58); line-height: 1.75; }

@media (max-width: 900px) {
  .contact-section { padding: 70px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer.site-footer {
  background: var(--charcoal);
  padding: 70px 56px 28px;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 17px;
  font-weight: 700; color: var(--white); }
.footer-logo-sub  { font-size: 10px; color: var(--amber-light); letter-spacing: 1px;
  text-transform: uppercase; }
.footer-brand-desc { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.5);
  line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background 0.2s;
}
.social-btn:hover { background: rgba(202,141,56,0.2); border-color: rgba(202,141,56,0.4); }
.social-btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.7); fill: none; }

.footer-col-title {
  font-size: 13px; font-weight: 600; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-links li a:hover { color: var(--amber-light); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none;
  transition: color 0.2s; }
.footer-legal a:hover { color: var(--amber-light); }

/* ── AUTH PAGES (login / register / dashboard) ── */
.auth-section {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(12,77,102,0.92) 0%, rgba(50,100,117,0.85) 45%, rgba(122,117,80,0.70) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
  background-color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  padding: 130px 24px 80px;
  position: relative; overflow: hidden;
}
.auth-section::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(202,141,56,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.auth-section::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,122,138,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card {
  width: 100%; max-width: 520px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px; padding: 50px 46px;
  position: relative; z-index: 1;
}
.auth-card.wide { max-width: 620px; }
.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 6px;
}
.auth-sub {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.45); margin-bottom: 32px;
}
.auth-sub span { color: var(--amber-light); }
.form-error {
  display: none;
  background: rgba(196,74,52,0.16); border: 1px solid rgba(196,74,52,0.45);
  color: #EFC3B4; padding: 12px 16px; border-radius: 9px;
  font-size: 14px; font-weight: 300; line-height: 1.55; margin-bottom: 22px;
}
.form-error.visible { display: block; }
.form-error a { color: var(--amber-light); text-decoration: none; }
.auth-links { margin-top: 24px; text-align: center;
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.45); }
.auth-links a { color: var(--amber-light); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .auth-card { padding: 32px 24px; }
}

/* Registration page intro block (above the form card) */
.auth-stack {
  width: 100%; max-width: 720px; position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 28px; align-items: stretch;
}
.auth-stack .auth-card, .auth-stack .auth-card.wide { max-width: none; }
.auth-intro { padding: 0 6px; }
.auth-intro .auth-title { font-size: 32px; margin-bottom: 14px; }
.auth-intro-body {
  font-size: 15px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.72); margin-bottom: 14px; max-width: 640px;
}
.auth-intro .cta-card-perks { margin: 18px 0 6px; }
.auth-intro .cta-card-perks li { font-size: 14px; }

/* Grouped form sections */
.form-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600; color: var(--amber-light);
  margin: 30px 0 16px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.form-section-title:first-of-type { margin-top: 8px; }
.form-section-note { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.45);
  margin: -8px 0 16px; line-height: 1.6; }

/* Checkbox grids */
.check-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-bottom: 18px;
}
.check-item {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.78); line-height: 1.5;
}
.check-item input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px;
  accent-color: var(--amber); cursor: pointer;
}
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }

/* File inputs */
.form-file { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 300; }
.form-file::file-selector-button {
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 7px;
  padding: 9px 16px; margin-right: 12px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  transition: background 0.2s;
}
.form-file::file-selector-button:hover { background: rgba(255,255,255,0.16); }

.form-saved {
  display: none;
  background: rgba(64,140,80,0.18); border: 1px solid rgba(96,180,110,0.45);
  color: #BFE5C4; padding: 12px 16px; border-radius: 9px;
  font-size: 14px; font-weight: 300; margin-bottom: 22px;
}
.form-saved.visible { display: block; }

/* Status pills */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 18px;
}
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; }
.status-pill.pending { background: rgba(202,141,56,0.16); border: 1px solid rgba(202,141,56,0.4); color: var(--amber-light); }
.status-pill.pending::before { background: var(--amber); }
.status-pill.approved { background: rgba(64,140,80,0.18); border: 1px solid rgba(96,180,110,0.45); color: #BFE5C4; }
.status-pill.approved::before { background: #5CB870; }
.status-pill.declined { background: rgba(196,74,52,0.16); border: 1px solid rgba(196,74,52,0.45); color: #EFC3B4; }
.status-pill.declined::before { background: #C44A34; }

/* ── MEMBER DASHBOARD ── */
.dash-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--amber-light);
  background: rgba(202,141,56,0.15); border: 1px solid rgba(202,141,56,0.3);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
}
.dash-rows { display: flex; flex-direction: column; margin-bottom: 30px; }
.dash-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dash-row:last-child { border-bottom: none; }
.dash-row-label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.8px; padding-top: 2px; }
.dash-row-value { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.85); }
.dash-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── REGISTRATION EMAIL GATE + CONSENT MODAL ── */
.ahc-step2[hidden] { display: none; }
.ahc-continue { margin-top: 4px; }

.ahc-modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(9,32,42,0.78);
  backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.ahc-modal {
  width: 100%; max-width: 560px;
  background: var(--teal-dark);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px; padding: 36px 34px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.ahc-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 14px;
}
.ahc-modal-body {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.75);
  line-height: 1.7; margin-bottom: 26px; max-height: 50vh; overflow-y: auto;
}
.ahc-modal-body a { color: var(--amber-light); }
.ahc-modal-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.ahc-modal-actions button {
  cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 14px;
}
.ahc-modal-actions .btn-amber { border: none; }

/* ── OPPORTUNITIES ── */
.opp-filters {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  padding: 22px 24px !important;
}
.opp-filters .form-input { flex: 1 1 200px; }
.opp-filters .form-select { flex: 0 1 210px; }
.opp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.opp-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.75); padding: 4px 12px; border-radius: 20px;
}
.opp-tag.amber {
  background: rgba(202,141,56,0.16); border-color: rgba(202,141,56,0.4);
  color: var(--amber-light);
}
.opp-body { font-size: 15px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.72); margin-bottom: 22px; }
.opp-body p { margin-bottom: 12px; }
.opp-eoi summary {
  list-style: none; display: inline-block; cursor: pointer; user-select: none;
}
.opp-eoi summary::-webkit-details-marker { display: none; }

/* ── GENERIC INNER PAGES (privacy, etc.) ── */
.generic-page {
  padding: 150px 56px 100px;
  background: var(--warm-white);
  min-height: 70vh;
}
.generic-page-inner { max-width: 760px; margin: 0 auto; }
.generic-page-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3vw, 44px); font-weight: 700;
  color: var(--teal-dark); line-height: 1.15; margin-bottom: 28px;
}
.generic-page-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; color: var(--teal-dark); margin: 36px 0 14px;
}
.generic-page-inner p, .generic-page-inner li {
  font-size: 16px; font-weight: 300; line-height: 1.8;
  color: var(--slate); margin-bottom: 16px;
}
.generic-page-inner ul, .generic-page-inner ol { padding-left: 24px; margin-bottom: 16px; }
.generic-page-inner a { color: var(--amber-dark); }

@media (max-width: 900px) {
  .generic-page { padding: 120px 24px 70px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav.site-nav { padding: 0 24px; }
  nav.site-nav ul { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-cards { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about, .how, .services, .cta-section, .partners { padding: 70px 24px; }
  .hero { padding: 100px 24px 60px; }
}
