/* A1 Soccer Academy — shared styles (version 3).
   Goal: book in as few clicks as possible. Every colour, size and spacing value
   is a token below so it can be set up once as Wix Studio site styles. */
:root {
  /* Brand */
  --green: #1D3E2F;
  --green-deep: #13281F;
  --green-mid: #2F5F43;
  --ink: #202E27;
  --lime: #BEDC5F;
  --lime-hover: #D0E883;
  --lime-soft: #EEF5D6;
  --cream: #F3F2EC;
  --white: #FFFFFF;

  /* Roles */
  --bg: #FAFAF7;
  --surface: var(--white);
  --text: var(--ink);
  --text-muted: #56635B;          /* 6:1 on white */
  --line: #E3E4DD;
  --line-strong: #C9CCC2;
  --on-dark: rgba(255,255,255,.92);
  --on-dark-muted: rgba(255,255,255,.72);
  --focus: #2F5F43;
  --error: #B42318;
  --full: #8A5A00;

  /* Type: Archivo for everything, Big Shoulders only for prices and big numbers */
  --sans: "Archivo", system-ui, sans-serif;
  --num: "Big Shoulders Display", "Archivo", sans-serif;

  /* Shape and depth */
  --r-sm: 6px;
  --r: 10px;
  --shadow: 0 1px 2px rgba(19,40,31,.06), 0 4px 16px rgba(19,40,31,.06);
  --shadow-lift: 0 2px 4px rgba(19,40,31,.08), 0 12px 32px rgba(19,40,31,.12);
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Spacing (8px steps) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --max: 1240px;
  --gutter: 32px;
  --head-h: 100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 24px); }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--lime); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--lime); color: var(--green-deep); padding: 12px 16px; font-weight: 700; text-decoration: none; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.lede { font-size: 19px; line-height: 1.55; color: var(--text-muted); max-width: 36em; margin: 12px 0 0; }
.small { font-size: 15px; color: var(--text-muted); }
.num { font-family: var(--num); font-weight: 800; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: var(--r-sm); font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; touch-action: manipulation; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--green-deep); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-dark { background: var(--green); color: var(--white); }
.btn-dark:hover { background: var(--green-mid); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--green); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.link { font-weight: 700; color: var(--green-mid); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.textbtn { background: none; border: 0; padding: 8px 4px; font: 600 15px var(--sans); color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Preview-only markers ---------- */
.tbc { background: #FFF3B0; color: #5C4A00; font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1.4; padding: 1px 6px; border-radius: 4px; vertical-align: middle; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.preview-note { position: fixed; left: 12px; bottom: 12px; z-index: 60; max-width: 320px; background: #FFF3B0; color: #5C4A00; font-size: 13px; padding: 8px 12px; border-radius: var(--r-sm); box-shadow: var(--shadow-lift); }
.preview-note button { background: none; border: 0; padding: 4px 0 4px 6px; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Header: logo + the four programs and About, always visible ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--green-deep); color: var(--white); }
.site-head .bar { display: flex; align-items: center; gap: var(--s3); height: var(--head-h); }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { height: 76px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 12px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--on-dark); border-radius: var(--r-sm); transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav a[aria-current="page"] { color: var(--lime); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--lime); border-radius: 2px; }
.nav .short { display: none; }
.head-cta { margin-left: 12px; min-height: 46px; padding: 8px 18px; }

/* ---------- Sections ---------- */
.sec { padding: var(--s7) 0; }
.sec.tight { padding: var(--s6) 0; }
.page-top { padding-top: var(--s6); padding-bottom: var(--s4); }
.page-top .crumb { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.on-dark { background: var(--green-deep); color: var(--white); }
.on-dark .lede, .on-dark .small { color: var(--on-dark-muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------- Home: full-screen carousel with the headline over it ---------- */
.carousel { position: relative; height: min(72svh, 760px); min-height: 460px; overflow: hidden; background: var(--green-deep); color: var(--white); touch-action: pan-y; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.slide > img, .slide > video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 5.5s linear; }
.slide.active > img, .slide.active > video { transform: scale(1); }
/* Darker at the bottom-left, where the text sits, so it stays readable on any slide */
.carousel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(19,40,31,.85) 0%, rgba(19,40,31,.35) 40%, rgba(19,40,31,0) 65%), linear-gradient(90deg, rgba(19,40,31,.55) 0%, rgba(19,40,31,0) 55%); }
.slide figcaption { position: absolute; z-index: 2; right: var(--gutter); top: 20px; padding: 6px 10px; border-radius: var(--r-sm); background: rgba(19,40,31,.6); font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.hero-text { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-bottom: 96px; }
.hero-text .wrap { padding-left: max(var(--gutter), 88px); padding-right: max(var(--gutter), 88px); }
.hero-text h1 { font-size: clamp(42px, 6vw, 84px); line-height: .98; max-width: 11ch; }
.hero-text .lede { color: rgba(255,255,255,.88); font-size: 20px; margin: 16px 0 28px; }
.hero-text .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: var(--white); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.carousel-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; gap: 8px; }
.carousel-ui .dots { display: flex; gap: 6px; margin-right: auto; }
.carousel-ui .dots button { width: 28px; min-width: 0; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-ui .dots button::before { content: ""; display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.4); transition: background-color .3s var(--ease); }
.carousel-ui .dots button[aria-current="true"]::before { background: var(--lime); }
.car-arrow { position: absolute; z-index: 4; top: 50%; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.5); border-radius: var(--r-sm); background: rgba(19,40,31,.45); color: var(--white); font: 700 24px/1 var(--sans); cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.car-arrow:hover { background: rgba(19,40,31,.75); border-color: var(--lime); color: var(--lime); }
.car-arrow.prev { left: 20px; }
.car-arrow.next { right: 20px; }
.carousel-ui .count { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; margin-right: 6px; }

/* ---------- Program tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.tile { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tile .pic { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.tile .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover .pic img { transform: scale(1.04); }
.tile .body { display: flex; flex-direction: column; gap: 6px; padding: var(--s3); flex: 1; }
.tile .price { font-size: 15px; color: var(--text-muted); }
.tile .price b { font-family: var(--num); font-size: 26px; font-weight: 800; color: var(--green); margin-right: 4px; }
.tile .go { margin-top: auto; padding-top: var(--s2); font-weight: 700; color: var(--green-mid); }
.tile.main { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--shadow); }
.tile.main .go { color: var(--green); }

/* ---------- Home: About A1 ---------- */
.about-a1 { display: grid; grid-template-columns: 6fr 5fr; gap: var(--s6); align-items: center; }
.about-a1 img { width: 100%; height: auto; aspect-ratio: 7/6; object-fit: cover; border-radius: var(--r); }
.about-a1 .lede { margin-bottom: var(--s3); }
.whys { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s3); }
.whys li { padding-top: 12px; border-top: 2px solid var(--green); color: var(--text-muted); font-size: 15px; }
.whys b { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-mid); }
.on-dark .eyebrow { color: var(--lime); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #7FA62B; box-shadow: 0 0 0 0 rgba(127,166,43,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127,166,43,0); } 100% { box-shadow: 0 0 0 0 rgba(127,166,43,0); } }
.notice { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s4); align-items: center; padding: var(--s5); }
.notice img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); }
.notice .lede { margin-bottom: var(--s3); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: "→"; position: absolute; left: 0; top: 10px; font-weight: 800; color: var(--green-mid); }
.coach { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: start; }
.coach img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); }
.figcap { margin-top: 10px; font-size: 14px; color: var(--text-muted); }

/* ---------- Facts line (short, top of program pages) ---------- */
.facts-line { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: var(--s3); padding: 0; list-style: none; font-size: 15px; }
.facts-line li { color: var(--text-muted); }
.facts-line b { color: var(--text); font-weight: 700; }

/* ---------- Holiday booking calendar ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s4); align-items: start; }
.cal { padding: var(--s3); }
.cal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--s3); }
.cal-head h2 { font-size: 26px; }
.season { display: inline-flex; padding: 4px; background: var(--cream); border-radius: var(--r-sm); }
.season button { min-height: 40px; padding: 6px 14px; border: 0; border-radius: 4px; background: transparent; font: 600 14px var(--sans); color: var(--text-muted); cursor: pointer; }
.season button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.dow, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dow span { text-align: center; font-size: 13px; font-weight: 700; color: var(--text-muted); padding-bottom: 6px; }
.daycell { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 76px; padding: 10px; border: 1.5px solid transparent; border-radius: var(--r-sm); background: transparent; font: inherit; text-align: left; color: var(--line-strong); }
.daycell .d { font-size: 17px; font-weight: 700; }
.daycell .st { font-size: 12px; font-weight: 600; line-height: 1.25; }
button.daycell { cursor: pointer; color: var(--text); background: var(--lime-soft); border-color: transparent; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
button.daycell .st { color: var(--green-mid); }
button.daycell:hover { border-color: var(--green-mid); }
button.daycell.few .st { color: #6B5300; }
button.daycell.full { background: #F6EFE2; }
button.daycell.full .st { color: var(--full); }
button.daycell[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
button.daycell[aria-pressed="true"] .st { color: var(--lime); }
button.daycell[aria-pressed="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--s3); font-size: 14px; color: var(--text-muted); }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 3px; background: var(--lime-soft); }
.legend .lf::before { background: #F6EFE2; }
.legend .ls::before { background: var(--green); }
.cal-empty { padding: var(--s5) var(--s3); text-align: center; color: var(--text-muted); }

.summary { position: sticky; top: calc(var(--head-h) + 24px); padding: var(--s3); }
.summary h2 { font-size: 22px; margin-bottom: var(--s2); }
.summary .form.parent { grid-template-columns: 1fr 1fr; gap: 12px; margin: var(--s2) 0; }
.summary .form.parent .field input { min-height: 46px; padding: 10px 12px; }
.form.parent .field textarea { min-height: 72px; }
.form.parent .field label { font-size: 14px; }
.players { display: grid; gap: 12px; }
.player { display: grid; gap: 10px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); min-width: 0; }
.player legend { padding: 0 4px; font-size: 14px; font-weight: 800; }
.cal-loading { margin: var(--s2) 0; }.picked { list-style: none; margin: 0 0 var(--s2); padding: 0; font-size: 15px; }
.picked li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.picked .wl { color: var(--full); font-weight: 600; }
.picked .none { color: var(--text-muted); border: 0; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.stepper { display: inline-grid; grid-template-columns: 44px 44px 44px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; }
.stepper button { min-height: 44px; border: 0; background: var(--surface); font: 700 20px var(--sans); color: var(--green); cursor: pointer; }
.stepper button:hover { background: var(--cream); }
.stepper output { display: grid; place-items: center; font-weight: 800; border-left: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); }
.code { display: flex; gap: 8px; margin: 6px 0 4px; }
.code input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; font: 600 15px var(--sans); text-transform: uppercase; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); }
.code button { min-height: 44px; padding: 0 14px; border: 1.5px solid var(--green); border-radius: var(--r-sm); background: var(--surface); color: var(--green); font: 700 14px var(--sans); cursor: pointer; }
.code-msg { min-height: 20px; margin: 0; font-size: 14px; font-weight: 600; color: var(--green-mid); }
.code-msg.bad { color: var(--error); }
.totals { margin: var(--s2) 0; padding-top: var(--s2); border-top: 1.5px solid var(--line-strong); font-size: 15px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.totals .grand { align-items: baseline; margin-top: 8px; color: var(--text); font-weight: 700; }
.totals .grand .num { font-size: 44px; line-height: 1; color: var(--green); }

/* ---------- Choice cards (weekly classes, private packs) ---------- */
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .in { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: var(--s3); border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease); }
.choice:hover .in { border-color: var(--green-mid); }
.choice input:checked + .in { border-color: var(--green); background: #F4F8EC; box-shadow: 0 0 0 1px var(--green), var(--shadow); }
.choice input:focus-visible + .in { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice .when { font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.choice .meta { color: var(--text-muted); font-size: 15px; }
.choice .spots { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; color: var(--green-mid); }
.choice .spots.low { color: #6B5300; }
.choice .tick { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); }
.choice input:checked ~ .tick { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 4px var(--surface); }
.enrol-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s3); padding: var(--s3); }
.enrol-bar .sel { font-weight: 700; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s3); }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 15px; font-weight: 600; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: inherit; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,95,67,.2); }
.field .help { font-size: 14px; color: var(--text-muted); }
.field .err { display: none; font-size: 14px; font-weight: 600; color: var(--error); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }
.pills-q { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font-weight: 600; cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.opt input:checked + span { border-color: var(--green); background: #F4F8EC; color: var(--green); }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.form-status { margin: 0; font-weight: 600; }
.enquiry { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: start; }
.enquiry .side img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); }
.enquiry .side ul { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.enquiry .side li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.enquiry .side .ticks li { padding-left: 28px; }
.enquiry form { padding: var(--s4); }

/* ---------- 5% popup ---------- */
.offer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(19,40,31,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s var(--ease); }
.offer.show { opacity: 1; }
.offer .box { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(820px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--surface); border-radius: var(--r); box-shadow: 0 24px 64px rgba(0,0,0,.3); transform: translateY(12px) scale(.98); transition: transform .3s var(--ease); }
.offer.show .box { transform: none; }
.offer .art { position: relative; min-height: 100%; background: var(--green) url("media/pyramid.jpg") center 65%/cover; }
.offer .art span { position: absolute; left: 20px; bottom: 20px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--lime); color: var(--green-deep); font-family: var(--num); font-weight: 800; font-size: 40px; line-height: 1; }
.offer .content { padding: var(--s5) var(--s4) var(--s4); }
.offer .stepno { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }
.offer .bar { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: var(--s3); overflow: hidden; }
.offer .bar i { display: block; height: 100%; width: 33%; background: var(--green); transition: width .3s var(--ease); }
.offer h2 { font-size: 30px; }
.offer p.sub { color: var(--text-muted); margin: 10px 0 var(--s3); }
.offer form { display: grid; gap: var(--s2); }
.offer .check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; cursor: pointer; }
.offer .check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.offer .fine { font-size: 13px; color: var(--text-muted); margin: 0; }
.offer .close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--text); font: 400 26px/1 var(--sans); cursor: pointer; }
.offer .codebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: var(--s2) 0; padding: 14px 16px; border: 1.5px dashed var(--green); border-radius: var(--r-sm); background: var(--lime-soft); }
.offer .codebox b { font-family: var(--num); font-size: 32px; font-weight: 800; letter-spacing: .04em; color: var(--green); }
.offer .nothanks { justify-self: center; }

/* ---------- Footer ---------- */
.site-foot { padding: var(--s6) 0 var(--s4); }
.site-foot .cols { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s6); }
.site-foot h2 { font-size: 28px; color: var(--white); }
.site-foot .contact { list-style: none; margin: var(--s3) 0; padding: 0; display: grid; gap: 2px; }
.site-foot .contact a { display: inline-block; padding: 6px 0; color: var(--lime); font-weight: 700; text-decoration: none; }
.site-foot .contact a:hover { text-decoration: underline; }
.site-foot .form .field input, .site-foot .form .field select, .site-foot .form .field textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: var(--white); }
.site-foot .form .field select option { color: var(--ink); }
.site-foot .form .field input:focus, .site-foot .form .field textarea:focus, .site-foot .form .field select:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(190,220,95,.25); }
.site-foot .field .req { color: var(--lime); }
.site-foot .field .err { color: #FFB4A8; }
.site-foot .field.invalid input, .site-foot .field.invalid textarea { border-color: #FFB4A8; }
.site-foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: var(--on-dark-muted); }
.site-foot .legal nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-foot .legal a { color: var(--on-dark); text-decoration: none; padding: 6px 0; }
.site-foot .legal a:hover { text-decoration: underline; }

/* ---------- Simple content pages (About, FAQ) ---------- */
.prose { max-width: 760px; }
.facts { width: 100%; border-collapse: collapse; margin-top: var(--s3); }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts th { width: 40%; padding-right: var(--s2); font-weight: 600; color: var(--text-muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 28px; font-weight: 400; color: var(--green-mid); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 var(--s3); color: var(--text-muted); max-width: 44em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.split img { width: 100%; border-radius: var(--r); object-fit: cover; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .slide > img, .slide > video { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav a { padding: 10px 9px; font-size: 15px; }
}
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .head-cta { display: none; }
  .booking { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 1000px) {
  .nav .long { display: none; }
  .nav .short { display: inline; }
}
@media (max-width: 900px) {
  .choices { grid-template-columns: 1fr; }
  .enquiry, .split, .site-foot .cols, .about-a1, .notice, .coach { grid-template-columns: 1fr; gap: var(--s4); }
  .notice { padding: var(--s3); }
  .coach img { max-width: 420px; }
  .enquiry .side img { aspect-ratio: 16/9; }
  .offer .box { grid-template-columns: 1fr; }
  .offer .art { min-height: 150px; }
}
/* Phones: logo on top, the four programs and About in one row underneath (still one tap). */
@media (max-width: 720px) {
  :root { --gutter: 16px; --head-h: 128px; }
  body { font-size: 16px; }
  .site-head .bar { flex-wrap: wrap; height: auto; gap: 0; padding-top: 8px; }
  .brand img { height: 56px; }
  .nav { order: 3; width: 100%; margin: 6px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .nav a { padding: 12px 0; text-align: center; font-size: 14px; border-radius: 0; }
  .nav a[aria-current="page"]::after { left: 20%; right: 20%; bottom: 0; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .head-cta { display: inline-flex; margin-left: auto; min-height: 40px; font-size: 14px; padding: 6px 12px; }
  .sec { padding: var(--s6) 0; }
  .page-top { padding-top: var(--s4); padding-bottom: var(--s3); }
  .carousel { height: 64svh; min-height: 420px; }
  .hero-text .wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
  .car-arrow { top: auto; bottom: 12px; width: 44px; height: 44px; margin-top: 0; font-size: 20px; }
  .car-arrow.prev { left: auto; right: 64px; }
  .car-arrow.next { right: 16px; }
  .whys { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 92px; }
  .hero-text .lede { font-size: 17px; margin: 12px 0 20px; }
  .hero-text .actions .btn { flex: 1 1 100%; }
  .carousel-ui { bottom: 20px; }
  .carousel-ui .dots { display: none; }
  .carousel-ui .count { margin-right: auto; }
  .slide figcaption { top: 12px; font-size: 13px; }
  .tiles { grid-template-columns: 1fr; gap: var(--s2); }
  .tile { flex-direction: row; min-height: 150px; }
  .tile .pic { width: 38%; aspect-ratio: auto; flex: none; }
  .tile .body { padding: var(--s2); }
  .tile .go { padding-top: 6px; }
  .tile h3 { font-size: 19px; }
  .form { grid-template-columns: 1fr; }
  .cal { padding: var(--s2); }
  .dow, .days { gap: 3px; }
  .daycell { min-height: 58px; padding: 6px 4px; align-items: center; text-align: center; }
  .daycell .st { font-size: 10px; overflow-wrap: anywhere; }
  .dow span { font-size: 11px; }
  button.daycell[aria-pressed="true"]::after { top: 5px; right: 5px; width: 6px; height: 6px; }
  .enquiry form { padding: var(--s3) var(--s2); }
  .offer .content { padding: var(--s4) var(--s3) var(--s3); }
  .offer h2 { font-size: 26px; }
  .facts th { width: 44%; }
}
