/* ==========================================================================
   Freediving Wrocław — styles
   ========================================================================== */
:root {
  --depth: 0;
  --ink: #e9f3f8;
  --ink-soft: rgba(233, 243, 248, 0.72);
  --ink-mute: rgba(233, 243, 248, 0.5);
  --line: rgba(233, 243, 248, 0.14);
  --surface: #0a4a70;
  --mid: #063456;
  --deep: #031a2e;
  --abyss: #010b16;
  --accent: #f2a65a;      /* warm sun / wetsuit-orange accent */
  --accent-2: #7fd3e6;    /* aqua highlight */
  --wa: #25d366;
  --radius: 18px;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --pad: clamp(16px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--abyss);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* the ocean gets darker the deeper you scroll */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 70% -10%, rgba(127, 211, 230, calc(0.22 - var(--depth) * 0.2)), transparent 60%),
    linear-gradient(180deg, var(--mid) 0%, var(--deep) 55%, var(--abyss) 100%);
  opacity: calc(1 - var(--depth) * 0.45);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--abyss); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h3 { font-size: 1.8rem; }
em { font-style: italic; color: var(--accent-2); }
h1 em, h2 em { font-family: var(--serif); }

.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
  color: var(--accent); margin: 0 0 1.1rem;
  display: inline-flex; align-items: center; gap: 0.8em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-lead { color: var(--ink-soft); margin: 1.4rem 0 0; font-size: 1.08rem; }

section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: var(--h); padding: 0 1.6em; border-radius: 999px;
  font: 500 0.95rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 1.25em; height: 1.25em; flex: none; }
.btn--wa { background: var(--ink); color: var(--abyss); }
.btn--wa .ico { color: #1aa855; }
.btn--wa:hover { background: #fff; box-shadow: 0 12px 40px -12px rgba(127, 211, 230, .55); }
.btn--ghost { border-color: rgba(233, 243, 248, .4); color: var(--ink); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.1); }
.btn--small { --h: 42px; padding: 0 1.2em; font-size: 0.85rem; }
.btn--big { --h: 66px; padding: 0 2.2em; font-size: 1.05rem; }
.link-arrow { font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--accent-2); }
.link-arrow::after { content: " →"; transition: margin .3s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: padding .4s var(--ease), background-color .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(3, 20, 36, .72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav__links a { text-decoration: none; font-size: .9rem; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  background: none; border: 0; color: var(--ink-mute); font: 500 .75rem/1 var(--sans); letter-spacing: .1em;
  padding: 8px 10px; border-radius: 999px; cursor: pointer; transition: all .3s;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--abyss); }
.nav__burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s; }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.nav.is-open .nav__burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Depth gauge ---------- */
.depth {
  position: fixed; right: clamp(10px, 1.6vw, 26px); top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 12px;
  pointer-events: none; mix-blend-mode: screen;
}
.depth__track { width: 1px; height: 28vh; background: var(--line); position: relative; overflow: hidden; }
.depth__fill { position: absolute; inset: 0; background: linear-gradient(var(--accent-2), var(--accent)); transform-origin: top; transform: scaleY(0); }
.depth__value { font-size: .68rem; letter-spacing: .12em; color: var(--ink-mute); writing-mode: vertical-rl; font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 0 0 clamp(80px, 12vh, 140px); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__img { animation: heroZoom 18s var(--ease) both; }
.hero__video { opacity: 0; transition: opacity 1.2s; }
.hero__video.is-ready { opacity: 1; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 11, 22, .55) 0%, rgba(1, 11, 22, 0) 30%),
    linear-gradient(0deg, var(--abyss) 0%, rgba(3, 26, 46, .55) 38%, rgba(3, 26, 46, 0) 70%),
    linear-gradient(90deg, rgba(1, 11, 22, .6) 0%, rgba(1, 11, 22, 0) 60%);
}
.hero__content { position: relative; }
.hero__title { font-size: clamp(3.4rem, 10vw, 8.6rem); line-height: .95; letter-spacing: -0.02em; margin-bottom: 1.6rem; }
.hero__lead { max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-soft); margin: 0 0 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1px solid rgba(233,243,248,.4); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: scrollDot 2.2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.bubbles i {
  position: absolute; bottom: -20px; width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08);
  animation: rise linear infinite;
}
.bubbles i:nth-child(1) { left: 12%; animation-duration: 11s; }
.bubbles i:nth-child(2) { left: 22%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: 2s; }
.bubbles i:nth-child(3) { left: 38%; width: 9px; height: 9px; animation-duration: 13s; animation-delay: 4s; }
.bubbles i:nth-child(4) { left: 51%; width: 3px; height: 3px; animation-duration: 7s; animation-delay: 1s; }
.bubbles i:nth-child(5) { left: 63%; animation-duration: 10s; animation-delay: 5s; }
.bubbles i:nth-child(6) { left: 72%; width: 5px; height: 5px; animation-duration: 9s; animation-delay: 3s; }
.bubbles i:nth-child(7) { left: 81%; width: 8px; height: 8px; animation-duration: 14s; animation-delay: 6s; }
.bubbles i:nth-child(8) { left: 88%; width: 4px; height: 4px; animation-duration: 8.5s; animation-delay: .5s; }
.bubbles i:nth-child(9) { left: 30%; width: 3px; height: 3px; animation-duration: 9.5s; animation-delay: 7s; }
.bubbles i:nth-child(10) { left: 94%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 2.5s; }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(14px, -50vh); }
  100% { transform: translate(-6px, -105vh); opacity: 0; }
}

/* ---------- Statement + stats ---------- */
.statement { padding-top: clamp(60px, 9vw, 120px); }
.statement__text { font-family: var(--serif); font-size: clamp(1.8rem, 3.8vw, 3.2rem); line-height: 1.2; max-width: 1050px; margin: 0 0 clamp(56px, 8vw, 100px); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.stats span { font-size: .85rem; color: var(--ink-mute); }

/* ---------- Offer cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(127,211,230,.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 26px; }
.card__tag { align-self: flex-start; font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--ink-soft); margin: 0 0 18px; font-size: .97rem; }
.card__list { list-style: none; padding: 0; margin: 0 0 26px; font-size: .9rem; }
.card__list li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; }
.card__list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 1px solid var(--accent-2); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.price small { font-family: var(--sans); font-size: .75rem; color: var(--ink-mute); letter-spacing: .05em; }
.price b { font-weight: 400; }
.card--featured { background: linear-gradient(180deg, rgba(127,211,230,.14), rgba(127,211,230,.03)); border-color: rgba(127,211,230,.3); }

/* ---------- Parallax band ---------- */
.band { min-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.band__bg, .contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; z-index: -1; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(1,11,22,.2), rgba(1,11,22,.75)), linear-gradient(180deg, var(--abyss) 0%, transparent 18%, transparent 82%, var(--abyss) 100%); }
.band { isolation: isolate; }
.band blockquote { margin: 0 auto; max-width: 900px; text-align: center; }
.band blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.15; margin: 0; }

/* ---------- Courses ---------- */
.levels { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.level {
  display: grid; grid-template-columns: 90px 1fr 340px; gap: 32px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--line);
  transition: background-color .4s;
}
.level:hover { background: linear-gradient(90deg, transparent, rgba(127,211,230,.05), transparent); }
.level__num { font-family: var(--serif); font-size: 4.4rem; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--accent-2); }
.level h3 { font-size: 2rem; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.level h3 span { font-style: italic; color: var(--ink-soft); font-size: 1.4rem; }
.level p { margin: 0; color: var(--ink-soft); max-width: 620px; }
.level__req { margin-top: 12px !important; font-size: .82rem; color: var(--ink-mute) !important; letter-spacing: .02em; }
.level__req > span:first-child { color: var(--accent); }
.pill { font-family: var(--sans); font-style: normal; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--abyss); background: var(--accent); padding: 5px 10px; border-radius: 999px; align-self: center; }
.level__meta { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.level__meta dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.level__meta dd { margin: 0; font-size: .95rem; }
.level__meta dd b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.note { margin: 28px 0 0; font-size: .85rem; color: var(--ink-mute); max-width: 760px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; border-radius: var(--radius); }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 52% 50%; border-radius: var(--radius); }
.about__badge {
  position: absolute; right: -22px; bottom: 36px; width: 128px; height: 128px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--accent); color: var(--abyss); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  animation: float 6s ease-in-out infinite;
}
.about__badge span { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.about__badge small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
@keyframes float { 50% { transform: translateY(-10px); } }
.about__text h2 { margin-bottom: 28px; }
.about__text > p { color: var(--ink-soft); margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 30px 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.checks li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 34px; font-size: .85rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 5px; border-left: 1.5px solid var(--accent-2); border-bottom: 1.5px solid var(--accent-2); transform: translateY(-70%) rotate(-45deg); }

/* ---------- Media ---------- */
.videos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.video-slot {
  position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 16 / 9; background: var(--deep); color: var(--ink); font: inherit; text-align: left;
}
.video-slot:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.video-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.video-slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1,11,22,.75), transparent 55%); }
.video-slot:hover img { transform: scale(1.05); }
.video-slot__play {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(233,243,248,.14); border: 1px solid rgba(233,243,248,.5); backdrop-filter: blur(8px);
  transition: transform .5s var(--ease), background-color .3s;
}
.video-slot__play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-slot:hover .video-slot__play { transform: scale(1.1); background: rgba(233,243,248,.28); }
.video-slot:not(:first-child) .video-slot__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.video-slot:not(:first-child) .video-slot__play svg { width: 22px; height: 22px; }
.video-slot__title { position: absolute; z-index: 1; left: 22px; bottom: 18px; right: 22px; font-family: var(--serif); font-size: 1.5rem; }
.video-slot__soon { position: absolute; z-index: 1; top: 16px; left: 16px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(1,11,22,.6); border: 1px solid var(--line); }
.video-slot.is-empty { cursor: default; }
.video-slot.is-empty img { filter: saturate(.6) brightness(.7); }
.video-slot.is-empty .video-slot__play { opacity: .45; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); grid-auto-flow: dense; gap: 18px; }
.gallery__item { border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--deep); }
.gallery__item.is-wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(1, 8, 16, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; animation: fade .3s; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: 100%; border-radius: 10px; }
.lightbox__stage iframe { width: min(100%, 160vh); aspect-ratio: 16/9; border: 0; border-radius: 10px; }
.lightbox button { background: none; border: 0; color: var(--ink); cursor: pointer; }
.lightbox__close { position: absolute; top: 14px; right: 20px; font-size: 2.6rem; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3.4rem; padding: 10px 18px; opacity: .7; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: 6px; }
.lightbox__next { right: 6px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--accent-2); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -6px 0 26px; color: var(--ink-soft); max-width: 640px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate; text-align: center; padding: clamp(110px, 16vw, 200px) 0; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--abyss) 0%, rgba(1,11,22,.55) 35%, rgba(1,11,22,.7) 100%); }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.contact h2 { font-size: clamp(2.8rem, 7vw, 6rem); margin-bottom: 26px; }
.contact__inner > p { max-width: 560px; color: var(--ink-soft); margin: 0 0 40px; }
.contact__alt { list-style: none; padding: 0; margin: 56px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; }
.contact__alt li { display: flex; flex-direction: column; gap: 4px; font-size: .95rem; }
.contact__alt li[hidden] { display: none; }
.contact__alt span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.contact__alt b { font-weight: 400; }
.contact__alt a { text-decoration: none; border-bottom: 1px solid var(--line); }

.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .82rem; color: var(--ink-mute); background: var(--abyss); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 18px 0 16px;
  border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .6), 0 4px 12px rgba(0,0,0,.25);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float__label { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.35, 1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .level { grid-template-columns: 70px 1fr; }
  .level__meta { grid-column: 2; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: span 2; }
  .cards .card:last-child .card__img { aspect-ratio: 21 / 8; }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; padding: 0 var(--pad); background: rgba(2, 14, 26, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav__links a { font-family: var(--serif); font-size: 2.6rem; color: var(--ink); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__burger { display: block; }
  .nav .btn--small { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
  .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__badge { right: 16px; }
  .videos { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .video-slot:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .depth { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { padding-top: 16px; padding-bottom: 16px; }
      .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  .cards .card:last-child .card__img { aspect-ratio: 16 / 10; }
  .level { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .level__num { font-size: 3rem; }
  .level__meta { grid-column: auto; }
  .level h3 { font-size: 1.7rem; }
  .videos { grid-template-columns: 1fr; }
  .video-slot:first-child { grid-column: auto; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 10px; }
  .faq summary { font-size: 1.3rem; }
  .wa-float { right: 16px; bottom: 16px; height: 56px; width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
  .lightbox { padding: 50px 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .btn--big { --h: 58px; padding: 0 1.6em; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
/* backdrop-filter would trap the fixed mobile menu inside the nav bar */
.nav.is-open { backdrop-filter: none; background: transparent; border-bottom-color: transparent; }

/* ---------- v2: brand, SEO h1, language links, Why AIDA ---------- */
.lang a {
  color: var(--ink-mute); font: 500 .75rem/1 var(--sans); letter-spacing: .1em; text-decoration: none;
  padding: 8px 10px; border-radius: 999px; transition: all .3s;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--abyss); }
h1.eyebrow { font-family: var(--sans); font-size: .75rem; line-height: 1.5; letter-spacing: .28em; }
.hero__title { font-family: var(--serif); font-weight: 400; margin-top: 0; }
.level__req + .level__req { margin-top: 6px !important; }
.checks a { text-decoration: none; }
.footer a { color: inherit; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why__grid article { padding: 30px 26px 10px 0; }
.why__grid article + article { padding-left: 26px; border-left: 1px solid var(--line); }
.why__n { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 18px; }
.why__grid h3 { font-size: 1.45rem; margin-bottom: 12px; }
.why__grid p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 1080px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .why__grid article:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 10px; }
}
@media (max-width: 680px) {
      .why__grid { grid-template-columns: 1fr; }
  .why__grid article, .why__grid article + article { padding: 26px 0 16px; border-left: 0; border-top: 1px solid var(--line); margin: 0; }
  .why__grid article:first-child { border-top: 0; }
}

.gallery__item.is-tall { grid-row: span 2; }
/* intro card: reef descent photo, keep the diver in frame */
.card__img img.is-aida { object-position: 50% 45%; }

/* ---------- v4: competition photos + photo credits ---------- */
.gallery__item { position: relative; }
.gallery__item.is-big { grid-column: span 2; grid-row: span 2; }
.card__img { position: relative; }
.card__img img.is-start { object-position: 70% 100%; } /* keeps the photographer's watermark whole */
.about__media img.is-portrait { height: auto; object-position: 50% 28%; } /* width/height attrs only reserve space */
.credit {
  position: absolute; left: 12px; bottom: 10px; z-index: 1;
  font-size: .62rem; letter-spacing: .06em; color: rgba(233, 243, 248, .78);
  background: rgba(1, 11, 22, .45); padding: 3px 8px; border-radius: 999px; pointer-events: none;
}
.about__media .credit { left: 16px; bottom: 16px; }
@media (max-width: 680px) {
  .gallery__item.is-big { grid-column: span 2; grid-row: span 1; }
}

/* ---------- logo: ripples where a freediver went under + the line down to the diver ---------- */
.logo { --s: 1.9rem; display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); white-space: nowrap; }
.logo__mark { width: calc(var(--s) * 1.45); height: calc(var(--s) * 1.45); flex: none; overflow: visible; }
.logo__text { display: flex; flex-direction: column; }
.logo__word { font-family: var(--serif); font-size: var(--s); line-height: .95; }
.logo__tag { font: 500 max(8.5px, calc(var(--s) * .26))/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-mute); margin-top: calc(var(--s) * .16); }
@media (max-width: 680px) { .logo { --s: 1.6rem; } }
@media (max-width: 680px) {
  /* smaller badge on phones so it doesn't cover the shirt's emblem */
  .about__badge { width: 88px; height: 88px; right: 12px; bottom: 14px; }
  .about__badge span { font-size: 1.5rem; }
  .about__badge small { font-size: .5rem; letter-spacing: .14em; }
}

/* ---------- gallery credit + Instagram embeds ---------- */
.videos:empty { display: none; }
.gallery__item .credit { left: 10px; bottom: 10px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery__credit { margin: 16px 0 0; font-size: .8rem; color: var(--ink-mute); }
.gallery__credit a { color: var(--ink-soft); }
.ig { margin-top: clamp(56px, 8vw, 96px); }
.ig__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.ig__head h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.reel { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--deep); }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1,11,22,.6), transparent 45%); }
.reel:hover img { transform: scale(1.05); }
.reel__play {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(233,243,248,.16); border: 1px solid rgba(233,243,248,.55);
  backdrop-filter: blur(8px); color: var(--ink); transition: transform .5s var(--ease), background-color .3s;
}
.reel__play svg { width: 22px; height: 22px; margin-left: 3px; }
.reel:hover .reel__play { transform: scale(1.1); background: rgba(233,243,248,.3); }
.reel__tag { position: absolute; z-index: 1; left: 12px; bottom: 12px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lightbox__stage iframe.lightbox__ig { width: min(400px, 92vw); height: min(86vh, 760px); aspect-ratio: auto; background: #fff; border-radius: 12px; }
@media (max-width: 900px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .reel { scroll-snap-align: start; }
}
