:root {
  --navy: #071d36;
  --deep: #0b3451;
  --teal: #4f9fa3;
  --aqua: #9fd7d4;
  --foam: #eef8f7;
  --white: #ffffff;
  --ink: #10243a;
  --muted: #587080;
  --line: #cde3e1;
  --whatsapp: #178a4b;
  --shadow: 0 18px 48px rgba(7, 29, 54, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--navy); color: white; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: .55rem clamp(1rem, 4vw, 4.5rem); background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--deep); font-size: .82rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .05em; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.brand strong { font-family: "Playfair Display", serif; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--navy); }
nav { display: flex; align-items: center; gap: 1.45rem; }
nav a { font-weight: 600; text-decoration: none; }
.nav-cta { padding: .65rem 1rem; border-radius: 999px; background: var(--navy); color: white; }

.hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 7vw, 8rem); background-color: var(--foam); border-bottom: 10px solid var(--aqua); overflow: hidden; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Playfair Display", serif; color: var(--navy); line-height: 1.08; }
h1 { max-width: 850px; margin: 0; font-size: clamp(3rem, 7vw, 6.8rem); letter-spacing: -.045em; }
.hero-lead { max-width: 680px; margin: 1.7rem 0 2rem; color: var(--deep); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.25rem; border: 1px solid var(--navy); border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7,29,54,.15); }
.button.primary { background: var(--navy); color: white; }
.button.secondary { background: white; color: var(--navy); }
.enrollment { position: relative; padding: 2rem; background: white; border: 1px solid var(--line); border-radius: 32px 8px 32px 8px; box-shadow: var(--shadow); }
.enrollment img { width: 95px; height: 95px; margin: -4.5rem 0 1rem auto; object-fit: cover; border: 7px solid white; border-radius: 50%; box-shadow: 0 8px 22px rgba(7,29,54,.12); }
.enrollment-label { margin: 0; color: var(--muted); font-weight: 600; }
.schedule-dates { margin: .7rem 0 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.date-row { display: grid; gap: .1rem; padding: .55rem 0; }
.date-row + .date-row { margin-top: .35rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.date-row strong { font-family: "Playfair Display", serif; color: var(--navy); font-size: clamp(3rem, 5vw, 4.4rem); line-height: .95; letter-spacing: .02em; }
.date-row-multiple strong { font-size: clamp(2.15rem, 3.5vw, 3.15rem); white-space: nowrap; }
.date-row span { color: var(--teal); font-size: .86rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.price-row span { color: var(--muted); }
.price-row strong { font-size: 1.6rem; color: var(--navy); }
.price-row small { font-size: .7rem; }
.credential { margin: .8rem 0 0; color: var(--teal); font-weight: 700; }

.countdown-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 7vw, 8rem); background: var(--navy); color: white; }
.countdown-copy h2 { margin: 0; color: white; font-size: clamp(2.2rem, 4vw, 4rem); }
.countdown-copy > p:not(.eyebrow) { max-width: 650px; color: #d4e6ec; font-size: 1.1rem; }
.payment-button { margin-top: .6rem; border-color: var(--aqua); background: var(--aqua); color: var(--navy); }
.countdown-copy small { display: block; margin-top: .75rem; color: #b9d1dc; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.countdown div { padding: 1.15rem .45rem; background: rgba(255,255,255,.09); border: 1px solid rgba(159,215,212,.35); border-radius: 18px 4px 18px 4px; text-align: center; }
.countdown strong { display: block; color: white; font-family: "Playfair Display", serif; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1; }
.countdown span { display: block; margin-top: .5rem; color: var(--aqua); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.countdown > p { grid-column: 1 / -1; margin: .25rem 0 0; color: #b9d1dc; text-align: center; }

.coach-collection { position: relative; display: grid; grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; margin: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 7rem); padding: clamp(1rem, 2vw, 1.5rem); overflow: hidden; background: linear-gradient(135deg, #eefafa 0%, #d9f3f4 52%, #eff8ff 100%); border: 1px solid var(--line); border-radius: 8px 46px 8px 46px; box-shadow: var(--shadow); }
.coach-collection::after { content: "COACH"; position: absolute; right: -1rem; bottom: -3.2rem; color: rgba(7,29,54,.045); font-family: "DM Sans", sans-serif; font-size: clamp(6rem, 15vw, 13rem); font-weight: 700; line-height: 1; letter-spacing: -.06em; pointer-events: none; }
.collection-visual { position: relative; z-index: 1; overflow: hidden; border-radius: 5px 34px 5px 34px; box-shadow: 0 22px 50px rgba(7,29,54,.2); }
.collection-visual img { width: 100%; height: min(760px, 70vw); min-height: 560px; object-fit: cover; }
.collection-stamp { position: absolute; left: 1.1rem; bottom: 1.1rem; padding: .55rem .9rem; background: rgba(7,29,54,.9); border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: white; font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; backdrop-filter: blur(10px); }
.collection-copy { position: relative; z-index: 1; padding: clamp(1rem, 4vw, 4rem) clamp(1rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem) 0; }
.collection-copy h2 { max-width: 720px; margin: 0; font-size: clamp(2.7rem, 5vw, 5.4rem); letter-spacing: -.04em; }
.collection-lead { max-width: 680px; margin: 1.4rem 0; color: var(--deep); font-size: 1.12rem; }
.collection-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.collection-items li { display: flex; align-items: center; gap: .7rem; padding: .72rem .85rem; background: rgba(255,255,255,.72); border: 1px solid rgba(79,159,163,.28); border-radius: 12px 3px 12px 3px; color: var(--navy); font-weight: 700; }
.collection-items span { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto; background: var(--aqua); border-radius: 50%; color: var(--navy); font-size: .68rem; }
.collection-note { display: grid; gap: .1rem; margin: 1.4rem 0; padding: 1rem 1.2rem; background: white; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; }
.collection-note strong { color: var(--navy); }
.collection-note span { color: var(--muted); }
.collection-button { border-color: var(--navy); background: var(--navy); color: white; }

.courses-section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2, .info-section h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); letter-spacing: -.035em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.15rem; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.course-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 6px 30px 6px 30px; box-shadow: 0 10px 30px rgba(7,29,54,.07); }
.course-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: .88fr 1.12fr; }
.course-card > img { width: 100%; height: 330px; object-fit: cover; }
.course-card:last-child > img { height: 100%; min-height: 430px; }
.course-body { padding: clamp(1.4rem, 3vw, 2.3rem); }
.course-number { color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.course-card h3 { margin: .55rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.course-card p { color: var(--muted); }
.course-card .ideal { padding: .8rem 1rem; background: var(--foam); border-left: 3px solid var(--teal); color: var(--deep); }
details { margin-top: 1.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { padding: 1rem 0; color: var(--deep); font-weight: 700; cursor: pointer; }
details ul { margin: 0 0 1.2rem; padding-left: 1.25rem; color: var(--muted); }
details li + li { margin-top: .45rem; }
.course-link { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; color: var(--navy); font-weight: 700; text-decoration: none; }
.course-link span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--aqua); transition: transform .2s; }
.course-link:hover span { transform: translateX(4px); }


.enrollment-details { padding: 0 clamp(1.25rem, 6vw, 7rem) clamp(4.5rem, 8vw, 8rem); }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.detail-card { padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 6px 30px 6px 30px; }
.documents-card { background: var(--navy); color: white; }
.requirements-card { background: var(--foam); }
.detail-kicker { color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.detail-card h3 { margin: .45rem 0 1.5rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.documents-card h3 { color: white; }
.document-gallery { display: grid; gap: 1.25rem; }
.document-gallery figure { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(190px, .85fr); gap: 1rem; align-items: center; margin: 0; padding: 1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(159,215,212,.3); border-radius: 16px 4px 16px 4px; }
.document-gallery img { width: 100%; max-height: 210px; object-fit: contain; background: white; border-radius: 6px; }
.document-gallery figcaption { display: grid; gap: .45rem; color: #d9e9ee; }
.document-gallery figcaption strong { color: white; font-size: 1.1rem; }
.document-gallery figcaption span { font-size: .94rem; line-height: 1.5; }
.requirements-list { list-style: none; margin: 0; padding: 0; }
.requirements-list li { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); color: var(--deep); font-weight: 700; }
.requirements-list span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--aqua); color: var(--navy); font-size: .75rem; }
.age-note { margin: 1.25rem 0 0; padding: 1rem; background: white; border-left: 3px solid var(--teal); color: var(--deep); }

.verification-section { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; margin: 0 clamp(1.25rem, 6vw, 7rem) clamp(4.5rem, 8vw, 8rem); padding: clamp(2.5rem, 6vw, 5rem); background: var(--aqua); border: 1px solid var(--teal); border-radius: 6px 46px 6px 46px; }
.verification-copy h2 { margin: 0; max-width: 780px; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.verification-copy > p:not(.eyebrow) { max-width: 720px; color: var(--deep); font-size: 1.1rem; }
.verification-button { margin-top: 1rem; background: var(--navy); color: white; }
.qr-card { display: grid; justify-items: center; padding: 1.4rem; background: white; border: 1px solid rgba(7,29,54,.14); border-radius: 28px 6px 28px 6px; box-shadow: var(--shadow); color: var(--navy); text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.qr-card:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(7,29,54,.18); }
.qr-card img { width: min(100%, 320px); aspect-ratio: 1; object-fit: contain; }
.qr-card span { margin-top: .85rem; font-family: "Playfair Display", serif; font-size: 1.45rem; font-weight: 700; }
.qr-card small { color: var(--muted); }

.triathlon-section { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 530px; margin: 0 clamp(1.25rem, 6vw, 7rem) clamp(4.5rem, 8vw, 8rem); overflow: hidden; background: var(--deep); border-radius: 32px 6px 32px 6px; color: white; }
.triathlon-section > img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; }
.triathlon-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4.5rem); }
.triathlon-copy h2 { margin: 0; color: white; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.triathlon-copy > p:not(.eyebrow) { color: #d1e2e8; }
.triathlon-copy .button { align-self: flex-start; margin-top: 1rem; }

.venue-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin: 0 clamp(1.25rem, 6vw, 7rem) clamp(4.5rem, 8vw, 8rem); padding: clamp(1rem, 2vw, 1.5rem); background: var(--foam); border: 1px solid var(--line); border-radius: 32px 6px 32px 6px; }
.venue-image { overflow: hidden; border-radius: 24px 4px 24px 4px; }
.venue-image img { width: 100%; min-height: 410px; object-fit: cover; }
.venue-copy { padding: clamp(1rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3.5rem) 0; }
.venue-copy h2 { margin: 0; font-size: clamp(2.4rem, 4.5vw, 4.4rem); }
.venue-copy > p:not(.eyebrow) { color: var(--muted); }
.venue-copy address { margin: 1.5rem 0; padding: 1rem 0 1rem 1.2rem; border-left: 3px solid var(--teal); color: var(--deep); font-style: normal; font-weight: 600; }

.info-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; margin: 0 clamp(1.25rem, 6vw, 7rem) clamp(4rem, 8vw, 8rem); padding: clamp(2.5rem, 6vw, 5rem); background: var(--navy); color: white; border-radius: 6px 46px 6px 46px; }
.info-section h2 { color: white; }
.info-section > div > p:not(.eyebrow) { max-width: 620px; color: #c9dce5; }
.whatsapp { margin-top: 1rem; border-color: white; background: white; color: var(--navy); }
.contact-card { padding: 1.4rem 2rem; background: white; color: var(--ink); border-radius: 24px 5px 24px 5px; }
.contact-card div { display: grid; gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-card div:last-child { border-bottom: 0; }
.contact-card span { color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-card a { color: var(--navy); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 2.2rem clamp(1.25rem, 6vw, 7rem); background: var(--foam); color: var(--muted); }
footer img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; }
footer p { margin: 0; }
footer strong { color: var(--navy); }
.floating-whatsapp { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; padding: .85rem 1.1rem; border-radius: 999px; background: var(--whatsapp); color: white; box-shadow: 0 10px 28px rgba(5,68,35,.3); font-weight: 700; text-decoration: none; }

@media (max-width: 850px) {
  nav > a:not(.nav-cta) { display: none; }
  .brand span { display: none; }
  .hero, .countdown-section, .coach-collection, .info-section, .details-grid, .verification-section, .triathlon-section, .venue-section { grid-template-columns: 1fr; }
  .hero { padding-top: 5rem; }
  .enrollment { margin-top: 2rem; }
  .collection-visual img { height: auto; min-height: 0; }
  .collection-copy { padding: 1.25rem; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card:last-child { grid-column: auto; display: block; }
  .course-card:last-child > img { height: 330px; min-height: 0; }
  .triathlon-section > img { min-height: 360px; }
  .venue-image img { min-height: 320px; }
  .venue-copy { padding: 1rem; }
  .document-gallery figure { grid-template-columns: 1fr; }
  .document-gallery img { max-height: 300px; }
  footer { grid-template-columns: auto 1fr; }
  footer > p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-header { min-height: 66px; }
  .brand img { width: 48px; height: 48px; }
  .nav-cta { padding: .55rem .85rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero { min-height: auto; }
  .hero-actions .button { width: 100%; }
  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date-row strong { font-size: 3.2rem; }
  .date-row-multiple strong { font-size: clamp(2rem, 10vw, 2.7rem); }
  .course-card > img, .course-card:last-child > img { height: 240px; }
  .info-section { margin-left: .75rem; margin-right: .75rem; padding: 2rem 1.25rem; }
  .verification-section { margin-left: .75rem; margin-right: .75rem; padding: 2rem 1.25rem; }
  .coach-collection { margin-left: .75rem; margin-right: .75rem; }
  .collection-items { grid-template-columns: 1fr; }
  .collection-button { width: 100%; }
  .contact-card { padding: 1rem 1.25rem; }
  .triathlon-section { margin-left: .75rem; margin-right: .75rem; }
  .triathlon-copy .button { width: 100%; }
  .floating-whatsapp { left: 1rem; right: 1rem; text-align: center; }
  footer { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
