/* ============================================
   The Learning Lighthouse — Design System
   ============================================ */

:root {
  /* Brand colors — exact palette */
  --navy: #1e3a5f;
  --navy-deep: #1e3a5f;
  --teal: #2DB8D0;
  --teal-light: #BDE8EE;
  --teal-pale: #BDE8EE;
  --gold: #FFC200;
  --gold-soft: #FFC200;
  --coral: #FFC200;
  --cream: #FCFDFD;
  --warm-bg: #FCFDFD;
  --ink: #3B3F3A;
  --ink-soft: #3B3F3A;
  --line: #e6ebed;
  --white: #FCFDFD;
  
  /* Typography */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing & radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
  --shadow: 0 6px 22px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 14px 40px rgba(30, 58, 95, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink); }

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

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

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ============================================
   Header / Navigation
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

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

.nav-logo-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav-logo-text .sub {
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.18em;
  margin-top: 3px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover { color: var(--teal); }

.nav-links a.active {
  color: var(--teal);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.nav-cta {
  display: inline-block;
  background: var(--teal);
  color: white !important;
  padding: 11px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 3px 12px rgba(14, 168, 192, 0.25);
  min-width: 160px;
  text-align: center;
}

.nav-cta:hover {
  background: var(--navy);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(14, 168, 192, 0.35);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--navy);
}

.mobile-toggle svg { width: 28px; height: 28px; }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 14px rgba(14, 168, 192, 0.3);
}

.btn-primary:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(14, 168, 192, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: white;
}

.btn-gold {
  background: var(--gold-soft);
  color: var(--navy-deep);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 200, 87, 0.4);
}

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

/* ============================================
   Hero (homepage)
   ============================================ */

.hero {
  position: relative;
  background: linear-gradient(165deg, #BDE8EE 0%, #FCFDFD 60%, #FCFDFD 100%);
  padding: 0px 0 0px;
  overflow: hidden;
}

/* Layered wave pattern — three overlapping tones mimicking the mockup */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  pointer-events: none;
  z-index: 1;
}

.hero-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: end;
  position: relative;
  z-index: 2;
  min-height: 520px;
}

.hero-image {
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 380px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(30, 58, 95, 0.12));
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  color: var(--teal);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 em {
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  font-weight: 400;
}

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

/* ============================================
   Page Header (interior pages)
   ============================================ */

.page-header {
  background: linear-gradient(165deg, #BDE8EE 0%, #FCFDFD 70%, #FCFDFD 100%);
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: cover;
}

.page-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 14px;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   Sections
   ============================================ */

section { padding: 80px 0; }

.section-tight { padding: 60px 0; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 14px auto 0;
}

/* ============================================
   Features (3-column)
   ============================================ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
}

.feature {
  text-align: center;
  padding: 0 10px;
  position: relative;
}

.feature:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--line);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--teal-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal);
}

.feature-icon svg { width: 34px; height: 34px; }

.feature.feature-gold .feature-icon {
  background: #FFC200;
  color: #1e3a5f;
}

.feature h3 {
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}

/* ============================================
   About / Split sections
   ============================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse { grid-template-columns: 1.1fr 1fr; }

.split-image {
  position: relative;
  min-width: 0;
}

.split-image-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin: 0 14px 14px 0;
  /* Force GPU compositing so border-radius clips all corners */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.split-image-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  /* Prevent any gap at bottom */
  vertical-align: bottom;
  line-height: 0;
}

.split-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.split-content h2 {
  color: var(--teal);
  margin-bottom: 20px;
}

/* Decorative lighthouse silhouette overlay for split sections */
.split.with-lighthouse {
  position: relative;
}

.split.with-lighthouse .lighthouse-art {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.split.with-lighthouse .split-content {
  position: relative;
  z-index: 1;
}

.split.with-lighthouse .lighthouse-art svg {
  width: 100%;
  height: 100%;
}

.split-content .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.warm-bg { background: var(--warm-bg); }
.teal-bg { background: var(--teal-pale); }

/* ============================================
   Service cards
   ============================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 28px; height: 28px; }

.card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card .badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}

/* ============================================
   Trust list (checkmarks)
   ============================================ */

.trust-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-block .split-image {
  min-width: 0; /* prevent grid blowout */
}

.trust-block h2 {
  color: var(--teal);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.trust-block h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gold);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.trust-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink);
}

.trust-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCFDFD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================
   CTA section
   ============================================ */

.cta-band {
  background: linear-gradient(135deg, #2DB8D0 0%, #34A3BA 100%);
  color: white;
  text-align: center;
  padding: 70px 20px;
  position: relative;
  overflow: hidden;
}

.cta-band .cta-art {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
  width: 260px;
  height: 170px;
}

.cta-band .cta-art svg { width: 100%; height: 100%; }

.cta-band .cta-art.left { left: 3%; }
.cta-band .cta-art.right { right: 3%; }

.cta-band .container { position: relative; z-index: 2; }

.cta-band h2 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Approach / Steps
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--teal);
}

.step-number {
  position: absolute;
  top: -22px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.step h3 {
  margin: 12px 0 10px;
  font-size: 1.1rem;
  color: var(--teal);
}

.step p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin: 0;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.faq-item summary {
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--teal); }

.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--teal);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary { color: var(--teal); }

.faq-content {
  padding: 0 28px 24px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-content p:last-child { margin-bottom: 0; }

/* ============================================
   Contact form
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  background: var(--teal-pale);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--teal);
}

.contact-info h3 {
  color: var(--teal);
  margin-bottom: 18px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 38px;
  height: 38px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info-icon svg { width: 18px; height: 18px; }

.contact-info-item .label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-item .value {
  font-weight: 600;
  color: var(--navy);
}

.contact-info-item .value a { color: var(--navy); }
.contact-info-item .value a:hover { color: var(--teal); }

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

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

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

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

label .req { color: var(--coral); }

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
}

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

.form-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(14, 168, 192, 0.3);
}

.form-submit:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 168, 192, 0.4);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}

.form-success, .form-error {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}

.form-success {
  background: #e8f7e8;
  color: #1a6b1a;
  border-left: 4px solid #1a6b1a;
}

.form-error {
  background: #fde8e3;
  color: #a8331c;
  border-left: 4px solid var(--coral);
}

/* ============================================
   About / Mission blocks
   ============================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.value-card {
  background: white;
  padding: 32px 26px;
  border-radius: var(--radius);
  border-bottom: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}

.value-card:nth-child(2) { border-bottom-color: var(--gold); }
.value-card:nth-child(3) { border-bottom-color: var(--coral); }

.value-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   Pricing / quick facts strip
   ============================================ */

.facts-strip {
  background: var(--navy);
  color: white;
  padding: 50px 0;
}

.facts-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.fact .number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.fact .label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 80px;
  margin-bottom: 16px;
  background: white;
  padding: 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

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

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-col a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 20px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  
  .nav-links.open { display: flex; }
  
  .mobile-toggle { display: block; }
  
  .nav-cta { display: none; }
  
  .nav-links.open .nav-cta { display: inline-block; align-self: flex-start; }
  
  .hero-grid,
  .split,
  .split.reverse,
  .trust-block,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-image { order: -1; }
  
  .hero-image img { max-width: 280px; }

  /* Push hero content down enough on mobile so buttons clear the wave SVG */
  .hero {
    padding-bottom: 200px;
  }

  .hero-content {
    padding-bottom: 20px !important;
    position: relative;
    z-index: 4;
  }

  .hero-buttons, .hero-btns {
    position: relative;
    z-index: 4;
  }

  /* Reset desktop logo positioning for mobile */
  .hero-image--hero,
  .hero-image--xlarge,
  .hero-image--large {
    align-self: auto !important;
    justify-content: center !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .hero-image--hero img,
  .hero-image--xlarge img {
    margin-top: 0 !important;
    max-width: 280px;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .feature:not(:last-child)::after { display: none; }
  
  .features {
    gap: 28px;
  }
  
  .feature {
    padding: 20px 16px;
  }
  
  /* Hide decorative lighthouse silhouette on mobile — it stacks awkwardly */
  .split.with-lighthouse .lighthouse-art { display: none; }
  
  .cards { grid-template-columns: 1fr; }
  
  .steps { grid-template-columns: 1fr 1fr; }
  
  .values-grid { grid-template-columns: 1fr; }
  
  .trust-list { grid-template-columns: 1fr; }
  
  .facts-strip-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  
  .footer-brand { grid-column: 1 / -1; }
  
  .form-row { grid-template-columns: 1fr; gap: 0; }
  
  .form-row .form-group { margin-bottom: 20px; }
  
  section { padding: 60px 0; }
  
  .contact-form { padding: 28px; }
  
  .cta-band .cta-art { display: none; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .facts-strip-grid { grid-template-columns: 1fr; }
  .nav-logo-text { display: none; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; }
}

/* ============================================
   Hero logo — larger, more prominent
   ============================================ */

.hero-image--large img {
  max-width: 480px;
  filter: drop-shadow(0 12px 32px rgba(30, 58, 95, 0.18));
}

/* ============================================
   How We Help cards — circular teal icon bg
   ============================================ */

.teal-bg .card-icon {
  width: 72px;
  height: 72px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(14, 168, 192, 0.35);
}

.teal-bg .card-icon svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   CTA band — deeper teal
   ============================================ */

.cta-band--deep {
  background: linear-gradient(135deg, #34A3BA 0%, #34A3BA 100%);
}

/* ============================================
   Footer — simplified single row
   ============================================ */

.site-footer--simple {
  background: var(--navy-deep);
  padding: 30px 0 0;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.footer-simple-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.footer-simple-brand img {
  height: 52px;
  width: auto;
  background: white;
  padding: 5px;
  border-radius: 8px;
}

.footer-simple-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  letter-spacing: 0.02em;
}

.footer-simple-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-simple-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-simple-nav a:hover {
  color: var(--gold);
}

.footer-simple-contact {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-simple-contact .footer-contact-item {
  font-size: 0.88rem;
}

.footer-simple-contact .footer-contact-item a {
  color: rgba(255,255,255,0.75);
}

.footer-simple-contact .footer-contact-item a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .footer-simple {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .hero-image--large img {
    max-width: 260px;
  }
}

/* ============================================
   Hero waves — taller container for organic wave
   ============================================ */

.hero-waves {
  height: 200px;
}

/* ============================================
   Lighthouse art — smaller, non-overlapping
   ============================================ */

.lighthouse-art--small {
  width: 140px !important;
  height: 140px !important;
  bottom: -10px !important;
  right: -10px !important;
  opacity: 0.35 !important;
}

/* ============================================
   Exact brand palette overrides
   ============================================ */

/* Ensure hero logo/text sit above waves */
.hero--layered .hero-grid {
  position: relative;
  z-index: 3;
  align-items: stretch;
}

.hero--layered .hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

/* Hero background gradient using new palette */
.hero {
  background: linear-gradient(165deg, #BDE8EE 0%, #FCFDFD 55%, #FCFDFD 100%);
}

/* Page header gradient */
.page-header {
  background: linear-gradient(165deg, #BDE8EE 0%, #FCFDFD 70%, #FCFDFD 100%);
}

/* CTA band exact colors */
.cta-band {
  background: linear-gradient(135deg, #2DB8D0 0%, #34A3BA 100%);
}

.cta-band--deep {
  background: linear-gradient(135deg, #34A3BA 0%, #2DB8D0 100%);
}

/* Accent/gold elements */
.btn-gold, .btn-gold:visited {
  background: #FFC200;
  color: #FCFDFD;
}
.btn-gold:hover {
  background: #b5692e;
  color: #FCFDFD;
}

/* Trust list checkmarks */
.trust-list li::before {
  background-color: #2DB8D0;
}

/* Nav CTA exact color */
.nav-cta {
  background: #2DB8D0;
  padding: 11px 30px;
  font-size: 0.88rem;
  min-width: 160px;
  text-align: center;
}
.nav-cta:hover {
  background: #1e3a5f;
}

/* Step numbers accent */
.step-number {
  background: #FFC200;
  color: #FCFDFD;
}

/* Section title underline */
.section-title h2::after {
  background: #FFC200;
}

/* Card icons */
.card-icon {
  background: #2DB8D0;
}

/* Warm bg / light sections */
.warm-bg {
  background: #FCFDFD;
}

.teal-bg {
  background: #BDE8EE;
}

/* Value card accent borders */
.value-card {
  border-bottom-color: #2DB8D0;
}
.value-card:nth-child(2) {
  border-bottom-color: #FFC200;
}

/* Facts strip */
.facts-strip {
  background: #1e3a5f;
}
.fact .number {
  color: #FFC200;
}

/* Footer */
.site-footer, .site-footer--simple {
  background: #1e3a5f;
}

/* Body text */
body {
  color: #3B3F3A;
  background: #FCFDFD;
}

/* Links */
a { color: #2DB8D0; }
a:hover { color: #1e3a5f; }

/* Form submit */
.form-submit {
  background: #2DB8D0;
}
.form-submit:hover {
  background: #1e3a5f;
}

/* Contact info border */
.contact-info {
  border-left-color: #2DB8D0;
  background: #BDE8EE;
}

/* Hero wave colors — exact palette */
.hero-waves-svg .wave1 { fill: #BDE8EE; }
.hero-waves-svg .wave2 { fill: #BDE8EE; }

/* Hero logo — 20% larger than --large */
.hero-image--xlarge {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;
}

.hero-image--xlarge img {
  max-width: 576px;
  filter: drop-shadow(0 12px 32px rgba(30, 58, 95, 0.18));
}

/* Hero text column stays centred while logo drops to bottom */
.hero-content {
  align-self: center;
}

/* ============================================
   DEFINITIVE HERO LAYOUT — added last so nothing overrides
   ============================================ */

/* Grid must stretch so child align-self works */
.hero-grid,
.hero--layered .hero-grid {
  align-items: stretch !important;
}

/* Logo column: flex column, content pushed to bottom */
.hero-image--xlarge {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-self: stretch !important;
}

/* Text column: stays vertically centred */
.hero-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-self: center !important;
}

/* ============================================
   HERO LOGO — fills column, sits at bottom
   ============================================ */
.hero-image--hero {
  align-self: end;
  text-align: center;
  padding-bottom: 0;
}

.hero-image--hero img {
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 12px 32px rgba(30, 58, 95, 0.15));
  display: block;
  margin: 0 auto;
}

/* Text column stays vertically centred */
.hero-content {
  align-self: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding-bottom: 80px;
}

/* ============================================
   Trust block image — constrain so it never
   overflows the gold border offset
   ============================================ */
.trust-block .split-image {
  overflow: visible;
  max-width: calc(100% - 14px);
}

.trust-block .split-image img {
  width: 100%;
  max-width: 100%;
}

/* Gold offset frame — sits behind the image, visible on bottom-right */
.split-image-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 14px 14px 0 0 #FFC200;
  pointer-events: none;
  z-index: 2;
}
