/* ============================================================
   HOME PAGE
   ============================================================ */

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 100% 70% at 75% 10%, #0e3a7a 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(21,76,158,0.2) 0%, transparent 60%),
    var(--navy-ink);
  color: var(--ivory);
  padding-top: clamp(9.5rem, 17vw, 13rem);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 3rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.04;
  margin: 1rem 0 1.6rem;
  max-width: 15ch;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lede {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(248,244,233,0.78);
  max-width: 46ch;
  margin: 0 0 2.5rem;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Convergence SVG ---- */
.converge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.converge-wrap svg { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.converge-path { fill: none; stroke-width: 2; stroke-linecap: round; }
.converge-path.left  { stroke: rgba(21,76,158,0.7); }
.converge-path.right { stroke: rgba(248,244,233,0.4); }
.converge-node { fill: var(--gold); }
.converge-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  fill: rgba(248,244,233,0.45);
  text-transform: uppercase;
}
.converge-path {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw 2s cubic-bezier(.4,0,.2,1) forwards;
}
.converge-path.right { animation-delay: 0.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.converge-node {
  opacity: 0;
  animation: pop 0.6s ease forwards 1.9s;
}
@keyframes pop { to { opacity: 1; } }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .converge-wrap { display: none; }
}

/* ---- Trust bar ---- */
.trust-bar { padding: 3rem 0; border-bottom: var(--section-rule); }
.trust-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-light);
  text-align: center;
  margin-bottom: 1.75rem;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.trust-logos img {
  height: 44px;
  width: auto;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s ease;
}
.trust-logos img:hover { filter: grayscale(0) opacity(1); }

/* ---- About split ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-image::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}
.about-text h2 {
  margin: 0.75rem 0 1.4rem;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.12;
}
.about-text p {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}
.about-text .btn { margin-top: 1.75rem; }

@media (max-width: 820px) {
  .about-split   { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image::after { display: none; }
}

/* ---- Card icon ---- */
.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.4rem;
  object-fit: contain;
  opacity: 0.85;
}

/* ---- Training CTA ---- */
.training-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.training-cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.12;
}
.training-cta-inner p {
  color: rgba(248,244,233,0.68);
  margin-top: 1rem;
  max-width: 48ch;
  line-height: 1.75;
}
.training-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 780px) {
  .training-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ---- Booking form ---- */
.booking-form { max-width: 840px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}
.form-group.full { margin-bottom: 1.4rem; }
.booking-form .btn { margin-top: 0.75rem; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
