/* ==========================================================================
   PodLife Swimming — shared system
   Direction: Still Water. Calm, warm, quietly prepared.
   ========================================================================== */

:root {
  /* Palette sampled from the PodLife badge: ink black + one sky blue
     (#54b4e4 = oklch(73.2% 0.114 233)). */
  --brand:         oklch(73.2% 0.114 233);
  --brand-deep:    oklch(54% 0.12 233);
  --bg:            oklch(98.2% 0.008 233);
  --surface:       oklch(100% 0 0);
  --surface-2:     oklch(96.4% 0.018 233);
  --fg:            oklch(24.5% 0.032 235);
  --fg-soft:       oklch(36% 0.028 235);
  --muted:         oklch(52% 0.022 233);
  --border:        oklch(89.5% 0.014 230);
  --border-strong: oklch(82% 0.018 230);
  --accent:        oklch(48% 0.115 233);
  --accent-hover:  oklch(45% 0.11 233);
  --accent-ink:    oklch(42% 0.10 233);
  --accent-soft:   oklch(94% 0.035 233);
  --ink:           oklch(21.5% 0.034 235);
  --ink-2:         oklch(28% 0.032 235);
  --on-ink:        oklch(97% 0.008 233);

  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --fs-display: clamp(2.35rem, 1.55rem + 3.1vw, 3.85rem);
  --fs-h1:      clamp(1.95rem, 1.35rem + 2.1vw, 2.75rem);
  --fs-h2:      clamp(1.5rem, 1.2rem + 1.15vw, 2.05rem);
  --fs-h3:      clamp(1.12rem, 1.03rem + 0.35vw, 1.3rem);
  --fs-lead:    clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-cap:     0.75rem;

  --r-xs: 8px;
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 22px;

  --shadow-1: 0 1px 2px oklch(21.5% 0.034 235 / 0.05),
              0 10px 26px -14px oklch(21.5% 0.034 235 / 0.16);
  --shadow-2: 0 2px 4px oklch(21.5% 0.034 235 / 0.06),
              0 22px 44px -22px oklch(21.5% 0.034 235 / 0.28);
  --shadow-btn: 0 1px 2px oklch(21.5% 0.034 235 / 0.16),
                0 6px 14px -6px oklch(54% 0.12 233 / 0.5);

  --wrap: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7vw, 6.25rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

figure, figcaption, dl, dd, dt, blockquote, fieldset, legend { margin: 0; }
fieldset, legend { padding: 0; border: 0; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.band-tint { background: var(--surface-2); }
.band-card { background: var(--surface); }
.band-ink  { background: var(--ink); color: var(--on-ink); }
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--on-ink); }
.band-ink .eyebrow { color: oklch(79% 0.09 233); }
.band-ink p { color: oklch(88% 0.015 233); }

.rule {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* ---------- type helpers ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 0.9rem;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 62ch;
}

.small { font-size: var(--fs-small); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

.section-head { max-width: 46rem; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: 0.9rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-inline-end: auto;
}

.brand__logo { flex: none; width: 40px; height: 40px; }
.site-footer .brand__logo { width: 46px; height: 46px; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--fg-soft);
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-xs);
  transition: background 140ms ease, color 140ms ease;
}

.nav a:not(.btn):hover { background: var(--surface-2); color: var(--fg); }
.nav a:not(.btn)[aria-current="page"] { color: var(--fg); font-weight: 600; }

.nav__cta { margin-inline-start: 0.6rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--r-xs);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.72rem 1.4rem;
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-deep);
  color: var(--surface);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--fg-soft); background: var(--surface); }

.btn--light {
  background: var(--on-ink);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.btn--light:hover { background: var(--surface); }

.btn--quiet {
  background: transparent;
  color: var(--fg);
  border-color: transparent;
  padding-inline: 0.4rem;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 5px;
}
.btn--quiet:hover { text-decoration-color: var(--accent); }

.btn--wide { width: 100%; }

.link-plain {
  color: var(--fg);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 5px;
}
.link-plain:hover { text-decoration-color: var(--accent); }

/* ---------- chips ---------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border-radius: var(--r-xs);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--fg-soft);
}

.chip--accent {
  background: var(--accent-soft);
  border-color: color-mix(in oklab, var(--accent) 22%, var(--border));
  color: var(--accent-ink);
  font-weight: 600;
}

.chip--ink {
  background: transparent;
  border-color: color-mix(in oklab, var(--on-ink) 26%, transparent);
  color: var(--on-ink);
}

/* ---------- cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
}

.card--flat { border-radius: var(--r-sm); }

.card h3 { font-size: var(--fs-h3); }

.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hero__grid > *, .grid > * { min-width: 0; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--fs-display);
  letter-spacing: -0.028em;
  font-weight: 700;
}

.hero__lead { margin-top: 1.15rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.8rem;
}

.hero__facts {
  margin-top: 2.1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.hero__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  background: var(--ink);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.hero__badge span { font-size: var(--fs-small); color: var(--fg-soft); }
.hero__badge > span { min-width: 0; }

.hero__badge .dot {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 24%, var(--border));
  display: grid;
  place-items: center;
  color: var(--accent-ink);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.step {
  padding: 1.6rem 1.4rem 1.6rem 0;
  border-bottom: 1px solid var(--border);
  padding-inline-end: 1.5rem;
}

.step + .step { padding-inline-start: 1.5rem; border-left: 1px solid var(--border); }

.step__n {
  font-family: var(--font-display);
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--accent-ink);
}

.step h3 { margin-top: 0.65rem; font-size: 1.05rem; }
.step p { margin-top: 0.5rem; font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }

/* ---------- feature list ---------- */

.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.list-check li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--fg-soft);
}
.list-check svg { margin-top: 3px; color: var(--accent); }
.band-ink .list-check li { color: oklch(88% 0.015 233); }

/* ---------- definition grid ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
}

.facts__cell { padding: 1.05rem 1.15rem; background: var(--surface); }
.facts__cell dt {
  font-size: var(--fs-cap);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.facts__cell dd {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.facts__cell dd small { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-small); color: var(--muted); margin-top: 0.2rem; }

/* ---------- programme cards ---------- */

.programme { display: flex; flex-direction: column; gap: 0.75rem; }
.programme h3 { font-size: 1.1rem; }
.programme p { font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }
.programme__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.programme__meta span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg-soft);
  font-variant-numeric: tabular-nums;
  background: var(--surface-2);
  border-radius: var(--r-xs);
  padding: 0.25rem 0.5rem;
}

/* ---------- accordion ---------- */

.faq { border-top: 1px solid var(--border); }

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--fg-soft);
  border-bottom: 2px solid var(--fg-soft);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq .faq__body {
  padding: 0 0 1.35rem;
  max-width: 62ch;
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.62;
}

.band-ink .faq, .band-ink .faq details { border-color: color-mix(in oklab, var(--on-ink) 18%, transparent); }
.band-ink .faq summary { color: var(--on-ink); }
.band-ink .faq summary::after { border-color: oklch(80% 0.02 233); }
.band-ink .faq .faq__body { color: oklch(86% 0.015 233); }

/* ---------- table ---------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  min-width: 620px;
}

table.data th, table.data td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.data thead th {
  font-size: var(--fs-cap);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: var(--surface-2);
}

table.data tbody tr:last-child td { border-bottom: 0; }
table.data td strong { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
table.data .num { font-variant-numeric: tabular-nums; }

/* ---------- timetable ---------- */

.timetable { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.5rem; }

.tt-day {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 0.8rem 0.7rem;
  min-height: 150px;
}

.tt-day h3 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
}

.tt-slot {
  margin-top: 0.6rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--r-xs);
  background: var(--surface-2);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  color: var(--fg-soft);
}

.tt-slot b { display: block; font-family: var(--font-display); font-size: 0.82rem; color: var(--fg); }

.tt-slot--quiet {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, var(--border));
  color: var(--accent-ink);
}
.tt-slot--quiet b { color: var(--accent-ink); }

/* ---------- forms ---------- */

.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .field--full { grid-column: 1 / -1; }

.field { display: grid; gap: 0.45rem; }

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg);
}

.field .hint { font-size: 0.78rem; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xs);
  padding: 0.72rem 0.85rem;
  min-height: 48px;
  width: 100%;
}

.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

.field select { appearance: none; background-image: none; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: oklch(55% 0.17 28);
  outline-color: oklch(55% 0.17 28);
}

.field .error { font-size: 0.78rem; font-weight: 600; color: oklch(50% 0.17 28); display: none; }
.field.is-invalid .error { display: block; }

.choice-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xs);
  background: var(--surface);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.choice input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.85rem;
  color: var(--fg-soft);
  line-height: 1.55;
}
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); }

.form-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}
.form-note svg { flex: none; margin-top: 2px; color: var(--accent); }

.form-success {
  border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--border));
  background: var(--accent-soft);
  border-radius: var(--r);
  padding: 1.6rem;
}
.form-success h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.form-success p { font-size: 0.92rem; color: var(--fg-soft); }

[hidden] { display: none !important; }

/* ---------- contact ---------- */

.contact-block { display: grid; gap: 1.5rem; }

.contact-line { display: grid; gap: 0.25rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.contact-line dt { font-size: var(--fs-cap); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-line dd { margin: 0; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.contact-line dd a { text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.contact-line dd a:hover { border-color: var(--accent); }
.contact-line span { font-size: var(--fs-small); color: var(--muted); font-weight: 500; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.cta-band__media {
  position: absolute;
  inset: 0;
  opacity: 0.34;
}

.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }

.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.75rem; align-items: center; }

.cta-band h2 { color: var(--on-ink); font-size: var(--fs-h2); }
.cta-band p { color: oklch(88% 0.015 233); margin-top: 0.7rem; max-width: 48ch; font-size: 0.98rem; }

/* ---------- media panels ---------- */

.panel-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink);
}

.panel-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.panel-media--tall img { aspect-ratio: 4 / 3.2; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: var(--section);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: var(--fs-cap);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a:not(.brand) { text-decoration: none; font-size: 0.92rem; color: var(--fg-soft); }
.site-footer a:not(.brand):hover { color: var(--accent-ink); }

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- helpers ---------- */

.stack-sm { display: grid; gap: 0.75rem; }
.stack { display: grid; gap: 1.25rem; }
.stack-lg { display: grid; gap: 2rem; }
.flow > * + * { margin-top: 1rem; }
.pill-note {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-xs);
  padding: 0.35rem 0.65rem;
}

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timetable { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__figure img { aspect-ratio: 16 / 10; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step + .step { border-left: 0; padding-inline-start: 0; }
  .step:nth-child(odd) { padding-inline-end: 1.5rem; }
  .step:nth-child(even) { border-left: 1px solid var(--border); padding-inline-start: 1.5rem; }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem var(--gutter) 1.2rem;
    box-shadow: var(--shadow-1);
  }
  .site-header.is-open .nav a:not(.btn) { padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .site-header.is-open .nav__cta { margin: 0.8rem 0 0; }
  .site-header.is-open .nav__cta .btn { width: 100%; }
}

@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) { border-left: 0; padding-inline-start: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .timetable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__figure { background: var(--surface-2); }
  .hero__figure img { aspect-ratio: 4 / 3; }
  .hero__badge {
    position: static;
    inset: auto;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: none;
  }
}

/* ==========================================================================
   Organic water shapes — decorative background layer
   Two forms only, both unmistakably water: three even ripple rings drawn as
   hairline arcs behind a hero photo, and a waterline wave where a tinted band
   meets the page canvas. Both live inside .deco, which is clipped and
   pointer-inert, so they can never affect layout or scroll.
   ========================================================================== */

.hero, .section, .cta-band, .site-footer { position: relative; isolation: isolate; }

.deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.deco > * { position: absolute; display: block; }

/* Soft-edged mask: a ring cluster fades out toward the far side of its band
   instead of being sliced in half by the section boundary. */
.hero > .deco,
[data-od-id="page-intro"] > .deco,
[data-od-id="about-hero"] > .deco,
[data-od-id="contact-hero"] > .deco,
[data-od-id="sen-hero"] > .deco,
[data-od-id="careers"] > .deco {
  -webkit-mask-image: radial-gradient(122% 122% at 96% 34%, black 42%, transparent 88%);
          mask-image: radial-gradient(122% 122% at 96% 34%, black 42%, transparent 88%);
}

/* Hero shapes span the viewport rather than the text container, so ripples
   bleed off the browser edge instead of stopping at the column. */
.hero.wrap > .deco,
[data-od-id="page-intro"] > .deco,
[data-od-id="about-hero"] > .deco,
[data-od-id="contact-hero"] > .deco {
  left: 50%;
  right: auto;
  width: 100vw;
  margin-left: -50vw;
}

/* --- three even ripples, hairline arcs off the photo's corner --- */
.d-r  { top: 3%; right: -6%; }
.d-xl { width: 30rem; height: 30rem; }
.d-lg { width: 22rem; height: 22rem; }

.deco__rings > span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--brand) 48%, transparent);
}
.deco__rings > span:nth-child(2) {
  margin: 9%;
  border-color: color-mix(in oklab, var(--brand) 30%, transparent);
}
.deco__rings > span:nth-child(3) {
  margin: 18%;
  border-color: color-mix(in oklab, var(--brand) 18%, transparent);
}

.deco--ink .deco__rings > span { border-color: color-mix(in oklab, var(--on-ink) 18%, transparent); }
.deco--ink .deco__rings > span:nth-child(2) { border-color: color-mix(in oklab, var(--on-ink) 12%, transparent); }
.deco--ink .deco__rings > span:nth-child(3) { border-color: color-mix(in oklab, var(--on-ink) 8%, transparent); }

/* --- waterline wave: the tinted band ends in water --- */
.deco__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 4rem;
}
.deco__wave path { fill: var(--bg); }
.deco__wave path:last-child {
  fill: none;
  stroke: color-mix(in oklab, var(--brand) 50%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.deco--top .deco__wave { top: 0; bottom: auto; }

/* --- Motion: the shapes behave like water ---------------------------------
   Every cycle is long (12–34s) and every delay is staggered, so nothing ever
   pulses in unison and nothing reads as a UI animation. All of it is
   transform/opacity only, and all of it is opt-in: a visitor who has asked
   for reduced motion gets a completely still page.                            */

@media (prefers-reduced-motion: no-preference) {

  /* the ring cluster floats and tilts, like something resting on a surface */
  .deco__rings { animation: water-float 30s ease-in-out infinite; }

  /* each ripple breathes on its own clock, so the set never syncs up */
  .deco__rings > span { animation: ripple-breathe 14s ease-in-out infinite; }
  .deco__rings > span:nth-child(2) { animation-duration: 19s; animation-delay: -5s; }
  .deco__rings > span:nth-child(3) { animation-duration: 24s; animation-delay: -11s; }

  /* the waterline rises, slips sideways and glints */
  .deco__wave { animation: water-bob 15s ease-in-out infinite; }
  .deco__wave path:last-child { animation: water-glint 9s ease-in-out infinite; }
  .deco--top .deco__wave { animation-duration: 19s; animation-direction: reverse; }

}

@keyframes water-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(-14px, -18px, 0) rotate(1.5deg); }
}

@keyframes ripple-breathe {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50%      { transform: scale(1.06); opacity: 1; }
}

@keyframes water-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-7px, -6px, 0); }
}

@keyframes water-glint {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

@media (max-width: 900px) {
  .d-xl { width: 21rem; height: 21rem; }
  .d-lg { width: 17rem; height: 17rem; }
}

@media (max-width: 680px) {
  .d-xl { width: 16rem; height: 16rem; }
  .d-lg { width: 13rem; height: 13rem; }
  .deco__wave { height: 2.75rem; }
}
:root {
  --whatsapp: #25d366;
  --whatsapp-hover: #1eb958;
}

.wrap--full {
  max-width: none;
}

.deco__wave {
  animation: none;
}

.deco__wave path:last-child {
  stroke-width: 2;
}

[data-od-id="hero"] > .hero__grid,
[data-od-id="page-intro"] > .hero__grid,
[data-od-id$="-hero"] > .hero__grid,
[data-od-id$="-hero"] > .section-head {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero.wrap > .deco,
[data-od-id="page-intro"] > .deco,
[data-od-id="about-hero"] > .deco,
[data-od-id="contact-hero"] > .deco {
  left: 0;
  right: 0;
  width: auto;
  margin-left: 0;
}

.nav-group {
  position: relative;
}

.nav-group > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--fg-soft);
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-xs);
  transition: background 140ms ease, color 140ms ease;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary:hover {
  background: var(--surface-2);
  color: var(--fg);
}

.nav-group[open] > summary {
  color: var(--fg);
}

.nav-group > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-group[open] > summary::after {
  transform: translateY(0) rotate(-135deg);
}

.nav-group:not([open]) > .nav-group__panel {
  display: none;
}

.nav .nav-group__panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  left: auto;
  z-index: 60;
  min-width: 17rem;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  display: grid;
  gap: 0.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-2);
}

.nav .nav-group__panel a:not(.btn) {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-xs);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg-soft);
}

.nav .nav-group__panel a:not(.btn):hover {
  background: var(--surface-2);
  color: var(--fg);
}

.nav .nav-group__panel a:not(.btn)[aria-current="page"] {
  color: var(--fg);
  font-weight: 600;
  background: var(--surface-2);
}

@media (max-width: 900px) {
  .nav-group {
    width: 100%;
  }

  .nav-group > summary {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    width: 100%;
  }

  .nav-group[open] > summary {
    border-bottom-color: transparent;
  }

  .nav .nav-group__panel {
    position: static;
    min-width: 0;
    padding: 0 0 0.6rem 0.9rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav .nav-group__panel a:not(.btn) {
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav .nav-group__panel a:not(.btn)[aria-current="page"] {
    background: transparent;
  }
}

@media (max-width: 1040px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer a,
.site-footer li {
  overflow-wrap: anywhere;
}

.card:has(.form-steps) {
  container-type: inline-size;
}

.form-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.form-steps__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.form-steps__n {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.form-steps__label {
  display: none;
}

@container (min-width: 560px) {
  .form-steps__label {
    display: inline;
  }
}

.form-steps__item[aria-current="step"] {
  color: var(--fg);
}

.form-steps__item[aria-current="step"] .form-steps__n {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: var(--surface);
}

.form-steps__item.is-done .form-steps__n {
  background: var(--accent-soft);
  border-color: color-mix(in oklab, var(--accent) 24%, var(--border));
  color: var(--accent-ink);
}

.form-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form-step__legend {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  padding: 0;
  margin: 0 0 0.4rem;
}

.form-step__hint {
  margin-bottom: 1.1rem;
  max-width: 52ch;
}

.form-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.form-nav__forward {
  margin-inline-start: auto;
}

.field input[type="checkbox"],
.field input[type="radio"] {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

@media (max-width: 680px) {
  .form-steps {
    gap: 0.5rem 0.9rem;
  }
}

.whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-2);
  transition: background 140ms ease, transform 140ms ease;
}

.whatsapp svg {
  flex: none;
}

.whatsapp:hover {
  background: var(--whatsapp-hover);
}

.whatsapp:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .whatsapp {
    display: inline-flex;
  }
}
