/* Still Young Surf School */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --red: #9B2915;
  --red-bright: #C8452B;
  --ink: #202124;
  --bg: #fafafa;
  --white: #ffffff;
  --muted: #6a6a6a;
  --line: #e7e7e7;
  --green: #17874a;
  --tag-green: #3d7d3d;
  --radius: 22px;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --tight: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.h2 {
  font-family: var(--tight);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #126f3c; }
.btn-black { background: var(--ink); color: var(--white); }
.btn-wide { width: 100%; }
.btn.push { margin-top: auto; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, transform 0.35s ease;
}
.header.hide { transform: translateY(-110%); }
.header.scrolled { background: transparent; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header.light { background: rgba(250, 250, 250, 0.2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header.light .brand, .header.light .burger { color: var(--ink); }
.header.light .brand img { filter: invert(1); }
.brand, .burger, .brand img { transition: color 0.25s ease, filter 0.25s ease; }
.header-inner {
  max-width: 1600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { height: 36px; width: auto; }
.brand span { font-family: var(--tight); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.burger {
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 6px; color: var(--white);
}
.burger i { display: block; width: 28px; height: 2px; background: currentColor; transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.2s ease; }
.menu-open .burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.menu-open .burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--pad) 48px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu nav { display: grid; gap: 6px; max-width: var(--max); width: 100%; margin: 0 auto; }
.menu a {
  font-family: var(--tight); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 6rem); line-height: 1; letter-spacing: -0.03em;
  text-decoration: none; padding: 6px 0;
}
.menu a:hover { color: var(--red-bright); }

/* Hero */
.hero-track { position: relative; background: var(--red); height: calc(100svh + 100vh); }
.hero-media {
  position: sticky; top: 0; height: 100svh; margin-bottom: 0; z-index: 2; pointer-events: none;
  --p: 0; --bw: clamp(150px, 18vw, 340px); --bh: calc(var(--bw) * 0.625); --cy: 50svh;
}
.hero-media img, .hero-media video {
  position: absolute; display: block; object-fit: cover; object-position: 50% 55%;
  left: calc((100% - var(--bw)) / 2 * (1 - var(--p)));
  top: calc((var(--cy) - var(--bh) / 2) * (1 - var(--p)));
  width: calc(var(--bw) + (100% - var(--bw)) * var(--p));
  height: calc(var(--bh) + (100% - var(--bh)) * var(--p));
  border-radius: calc(14px * (1 - var(--p)));
  filter: grayscale(calc(1 - var(--p))) contrast(1.05) brightness(calc(1 - 0.3 * var(--p)));
}
.hero {
  position: relative; z-index: 1; margin-top: -100svh;
  min-height: 100svh;
  background: transparent;
  color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  padding-top: 96px;
}
.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 var(--pad); }
.hero-stage { position: relative; width: 100%; max-width: 1600px; text-align: center; }
.hero-title {
  font-family: var(--tight); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.7rem, 10.6vw, 11rem);
  line-height: 0.9; letter-spacing: -0.035em;
}
.hero-title span { display: block; }
.hero-title .line-2 { color: var(--ink); }
.hero-sub { margin-top: clamp(28px, 4vw, 48px); font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 34ch; margin-inline: auto; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.marquee {
  overflow: hidden; padding: 26px 0 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: scroll 46s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span {
  font-family: var(--tight); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.7rem); letter-spacing: -0.005em; white-space: nowrap;
}
.marquee-group svg { width: 54px; height: 24px; margin: 0 clamp(22px, 3vw, 44px); stroke: var(--white); fill: none; stroke-width: 2.6; stroke-linecap: round; flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Lesson */
.lesson-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
.lesson-head { max-width: 760px; }
.lesson-head p { margin-top: 22px; font-size: 1.15rem; max-width: 56ch; }
.steps { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.step { padding-top: 20px; }
.step-num { font-family: var(--tight); font-weight: 600; font-size: 0.95rem; color: var(--red); letter-spacing: 0.06em; }
.step h3 { font-family: var(--tight); text-transform: uppercase; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin: 10px 0 12px; line-height: 1; }
.step p { color: #2a2a2a; max-width: 34ch; }
.lesson-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; justify-content: space-between; }
.lesson-foot .big { font-family: var(--tight); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.015em; max-width: 30ch; line-height: 1.15; }
.lesson-foot small { display: block; margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* Packages */
.packages { background: var(--white); border-block: 1px solid var(--line); }
.cards { margin-top: 44px; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 3 / 4.15; overflow: hidden; color: var(--white); isolation: isolate; display: flex; flex-direction: column; padding: 16px 16px 18px; }
.card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; z-index: -3; }
.card-media::before, .card-media::after { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity 0.35s ease; }
.card-media::before { background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.06) 60%, rgba(0, 0, 0, 0.22)); z-index: -2; }
.card-media::after { background: linear-gradient(to top, rgba(127, 23, 14, 0.96), rgba(127, 23, 14, 0.2) 72%); opacity: 0; }
.card:hover .card-media::after, .card:focus-within .card-media::after { opacity: 1; }
.card:hover .card-media > img { transform: scale(1.04); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 11px; border-radius: 8px; background: #000; color: var(--white); line-height: 1; }
.tag.green { background: var(--tag-green); }
.card-title {
  margin-top: auto; padding-top: 24px;
  font-family: var(--tight); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem); line-height: 0.95; letter-spacing: -0.025em;
}
.card-bottom { margin-top: 16px; display: grid; gap: 9px; }
.row { display: flex; align-items: center; gap: 10px; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.price {
  justify-self: start; margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 9px 15px; white-space: nowrap;
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; background: rgba(0, 0, 0, 0.12);
}
.price small { font-size: 0.68em; font-weight: 500; letter-spacing: 0.08em; opacity: 0.9; }
.card-body { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.card-body > p { font-size: 0.97rem; line-height: 1.5; color: #222; }
.facts { margin: 0; display: grid; gap: 12px; margin-top: auto; }
.facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.facts dt { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.facts dd { margin: 3px 0 0; font-size: 0.93rem; line-height: 1.4; }

/* Instructor */
.instructor-sec { position: relative; }
.instructor-title { text-align: center; font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: clamp(40px, 7vw, 96px); }
.instructor-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.instructor-card {
  border: 1.5px solid var(--ink); border-radius: 36px; padding: clamp(26px, 4vw, 52px);
  background: rgba(250, 250, 250, 0.16);
  transform: translate3d(0, var(--ky, 0px), 0); will-change: transform;
}
.instructor-card .pill { display: inline-block; border: 1px dashed var(--ink); border-radius: 999px; padding: 7px 13px; color: var(--ink); line-height: 1; }
.instructor-card .name-tag { margin: 18px 0 26px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; text-transform: none; color: var(--ink); line-height: 1.1; }
.instructor-card p { font-size: 1.08rem; max-width: 56ch; }
.instructor-card p + p { margin-top: 16px; }
.instructor-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1.08; background: #ddd; --py: 0px; --pr: 0deg; transform: translate3d(0, var(--py), 0) rotate(calc(4deg + var(--pr))); will-change: transform; margin-top: clamp(40px, 9vw, 130px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); }
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* Map */
.map-section { background: #202124; color: var(--white); overflow: hidden; }
.map-section .label { color: #9a9a9a; }
.map-title { font-family: var(--tight); font-weight: 800; text-transform: uppercase; font-size: clamp(2.1rem, 6.4vw, 5.4rem); line-height: 0.92; letter-spacing: -0.03em; max-width: 14ch; }
.map-caption { margin-top: 22px; color: #cfcfcf; max-width: 46ch; font-size: 1.1rem; }
.map-section { position: relative; min-height: clamp(600px, 100svh, 940px); display: flex; align-items: flex-start; padding: clamp(96px, 11vw, 150px) 0 clamp(72px, 8vw, 110px); }
.map-canvas { position: absolute; inset: 0; z-index: 0; overflow: hidden; container-type: size; touch-action: pan-y; cursor: grab; }
.map-canvas.drag { cursor: grabbing; }
.map-canvas::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(32,33,36,0.55) 0%, rgba(32,33,36,0.25) 40%, rgba(32,33,36,0) 70%); }
#guest-map.map-world {
  --s: 1; --tx: 0px; --ty: 0px;
  position: absolute; left: 50%; top: 50%; width: max(100cqw, 147cqh); aspect-ratio: 1000 / 679;
  transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(var(--s)); transform-origin: 50% 50%;
  transition: transform 0.35s ease;
}
#guest-map.map-world.drag { transition: none; }
.map-tile { position: absolute; top: 0; width: 100%; height: 100%; }
.map-tile img { width: 100%; height: 100%; display: block; pointer-events: none; }
#guest-map img { width: 100%; height: 100%; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.map-copy { position: relative; z-index: 2; width: 100%; --f: clamp(2.1rem, 6.4vw, 5.4rem); pointer-events: none; }
.map-copy .map-title { font-size: var(--f); max-width: 14ch; }
.map-controls { position: absolute; z-index: 3; left: var(--pad); bottom: 28px; display: flex; gap: 8px; }
.map-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.35); background: rgba(20,20,20,0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background 0.2s ease, color 0.2s ease; }
.map-btn:hover { background: #fff; color: var(--ink); }
.map-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.75; } 100% { transform: scale(4.2); opacity: 0; } }
.dot-btn { position: absolute; transform: scale(calc(1 / var(--s, 1))); transition: transform 0.35s ease; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot { position: relative; display: block; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(155,41,21,0.45); }
.dot::before, .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red-bright); opacity: 0; animation: pulse 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
.dot::after { animation-delay: calc(var(--d, 0s) + 1.2s); }
.country-tip { position: absolute; transform-origin: 50% 100%; transform: translate(-50%, calc(-100% - 16px)) scale(calc(1 / var(--s, 1))); background: #fff; color: #202124; font-size: 0.8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; z-index: 3; }
.country-tip.on { opacity: 1; }
.map-list { padding: 0; margin: 22px 0 0; position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: #bdbdbd; font-size: 0.85rem; }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 40px; }
.rating-line { font-family: var(--tight); font-weight: 600; font-size: 1.25rem; }
.reviews-link { font-size: 0.95rem; }
.reviews-embed { min-height: 220px; }
.reviews-fallback { color: var(--muted); display: none; }

/* FAQ */
.faq-list { margin-top: 44px; border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--tight); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.8rem; font-weight: 400; line-height: 1; transition: transform 0.25s ease; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 26px; color: #2a2a2a; }
.faq-list a { text-underline-offset: 3px; }

/* Closing */
.closing { position: relative; isolation: isolate; overflow: hidden; background: #202124; color: var(--white); text-align: center; }
.closing::before { content: ""; position: absolute; inset: -24px; z-index: -2; background: url("../assets/closing.webp") 50% 58% / cover no-repeat; filter: blur(3px) brightness(1.12); }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.10); }
.closing h2 { font-family: var(--tight); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 8vw, 7rem); line-height: 0.92; letter-spacing: -0.035em; max-width: 14ch; margin: 0 auto; }
.closing p { margin: 26px auto 0; max-width: 40ch; font-size: 1.2rem; }
.closing .btn { margin-top: 32px; }
.closing .btn .icon { color: var(--green); }
.closing .group-line { margin-top: 48px; font-family: var(--tight); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: 0.02em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: clamp(40px, 6vw, 72px); }
.contact-list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.contact-list li { border-top: 1px solid var(--line); padding: 16px 0; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 3px; }
.contact-list a { text-underline-offset: 3px; }
.contact-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.map-embed { border-radius: var(--radius); overflow: hidden; background: #e8e8e8; aspect-ratio: 4 / 3.4; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.footer { background: #202124; color: var(--white); padding: 88px 0 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; padding-bottom: 56px; border-bottom: 1px solid #2a2a2a; }
.footer-invite { font-family: var(--tight); font-weight: 500; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 15ch; margin: 0; text-wrap: balance; }
.footer-cta { font-family: var(--tight); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 3rem); letter-spacing: -0.02em; color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.footer-cta:hover { color: var(--red-bright); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: clamp(54px, 5.4vw, 68px); height: clamp(54px, 5.4vw, 68px); border: 1.5px solid var(--white); border-radius: 50%; display: grid; place-items: center; color: var(--white); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.footer-social a:hover { background: var(--white); color: var(--ink); }
.footer-social .icon { width: 46%; height: 46%; }
.footer-cols { padding: 56px 0 72px; }
.footer-label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #777; margin: 0 0 28px; }
.footer nav a { display: block; width: fit-content; padding: 10px 0; color: var(--white); text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer nav a.footer-ig { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--red-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px 48px; }
.footer-logo img { width: clamp(84px, 10vw, 120px); height: auto; display: block; }
.footer-up { color: var(--white); text-decoration: none; padding-bottom: 6px; }
.footer-up:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer small { display: block; color: #bdbdbd; font-size: 0.9rem; line-height: 1.6; text-align: right; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, opacity 0.25s ease, visibility 0.25s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float.hide { opacity: 0; visibility: hidden; pointer-events: none; }

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step p { max-width: none; }
  .instructor-grid { grid-template-columns: 1fr; }
  .instructor-photo { aspect-ratio: 4 / 3.4; margin-top: 8px; transform: translate3d(0, var(--py), 0) rotate(calc(3deg + var(--pr))); }
  .instructor-card { border-radius: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 4 / 4.6; }
  .hero { padding-top: 84px; }
  .hero-title { font-size: 10.7vw; }
  .hero-title span { white-space: nowrap; }
  .hero-media { --bw: 38vw; }
  .hero-cta .btn { width: 100%; }
  .brand span { font-size: 1.1rem; }
  .brand img { height: 32px; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .dot::before, .dot::after { animation: none; }
  .card-media > img { transition: none; }
}
@media (max-width: 640px) {
  .footer { padding-top: 64px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer small { text-align: left; }
}
.closing h2, .closing p, .closing .group-line { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); }

/* Language switcher */
.header-right { display: flex; align-items: center; gap: 4px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--white); font-weight: 600; font-size: 0.95rem; cursor: pointer; border-radius: 999px; transition: color 0.25s ease; }
.lang-btn:hover { background: rgba(255, 255, 255, 0.14); }
.globe { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; margin: 0; padding: 8px; list-style: none; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28); z-index: 60; }
.lang-list[hidden] { display: none; }
.lang-list a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.lang-list a:hover { background: #f1f1f1; }
.lang-list a[aria-current] { background: #f1f1f1; font-weight: 700; }
.header.light .lang-btn { color: var(--ink); }
.header.light .lang-btn:hover { background: #f1f1f1; }

/* Languages: fonts and sizes */
html:lang(zh) { --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; --tight: "Inter Tight", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html:lang(ja) { --sans: "Inter", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", sans-serif; --tight: "Inter Tight", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", sans-serif; }
html:lang(ko) { --sans: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; --tight: "Inter Tight", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; }
html:lang(zh) :is(h1, h2, h3, .hero-title, .card-title, .price, .big, .footer-invite, .footer-cta, .map-title, .closing h2, .brand span),
html:lang(ja) :is(h1, h2, h3, .hero-title, .card-title, .price, .big, .footer-invite, .footer-cta, .map-title, .closing h2, .brand span),
html:lang(ko) :is(h1, h2, h3, .hero-title, .card-title, .price, .big, .footer-invite, .footer-cta, .map-title, .closing h2, .brand span) { letter-spacing: 0; line-height: 1.12; text-transform: none; }
html:lang(zh) body, html:lang(ja) body, html:lang(ko) body { line-height: 1.7; }
html:lang(ja) .footer-invite, html:lang(ko) .footer-invite, html:lang(zh) .footer-invite { max-width: 18ch; }
html:lang(id) .hero-title { font-size: clamp(2rem, 7.7vw, 8.4rem); }
html:lang(ru) .hero-title { font-size: clamp(2rem, 6.9vw, 7.4rem); }
html:lang(zh) .hero-title, html:lang(ja) .hero-title, html:lang(ko) .hero-title { font-size: clamp(2.6rem, 9vw, 9rem); }
@media (max-width: 640px) {
  html:lang(id) .hero-title { font-size: 7.3vw; }
  html:lang(ru) .hero-title { font-size: 7.1vw; }
  html:lang(zh) .hero-title { font-size: 13vw; }
  html:lang(ja) .hero-title { font-size: 9.6vw; }
  html:lang(ko) .hero-title { font-size: 11vw; }
}
@media (max-width: 640px) { html:lang(ru) .card-title { font-size: clamp(1.25rem, 2vw, 1.7rem); overflow-wrap: anywhere; hyphens: auto; } }
html:lang(id) .card-title { overflow-wrap: anywhere; }
html:lang(ja) .card-title, html:lang(ko) .card-title { font-size: clamp(1.25rem, 2vw, 1.7rem); }

/* Flags and Arabic (RTL) */
.flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.lang-btn .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.lang-list a { display: flex; align-items: center; gap: 12px; }
html:lang(ar) { --sans: "Inter", "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", "Arial", sans-serif; --tight: "Inter Tight", "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", "Arial", sans-serif; }
html:lang(ar) body { line-height: 1.75; }
html:lang(ar) :is(h1, h2, h3, .hero-title, .card-title, .price, .big, .footer-invite, .footer-cta, .map-title, .closing h2, .brand span, .label, .tag, .row, .facts dt, .footer-label, .step-num) { letter-spacing: 0; text-transform: none; }
html:lang(ar) :is(h1, h2, h3, .hero-title, .card-title, .footer-invite, .closing h2, .map-title) { line-height: 1.25; }
html:lang(ar) .hero-title { font-size: clamp(2.6rem, 9vw, 9rem); }
html:lang(ar) .brand, html:lang(ar) .marquee, html:lang(ar) .map-canvas { direction: ltr; }
html:lang(ar) .marquee-group span { direction: rtl; unicode-bidi: isolate; }
html:lang(ar) .lang-list { right: auto; left: 0; }
html:lang(ar) .footer small { text-align: left; }
html:lang(ar) .contact-list a[href^="mailto"], html:lang(ar) .contact-list a[href*="wa.me"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (max-width: 640px) { html:lang(ar) .hero-title { font-size: 12vw; } html:lang(ar) .footer small { text-align: right; } }
html:lang(ar) .contact-list a { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html:lang(ar) .name-tag { letter-spacing: 0; text-transform: none; }
html:lang(ar) .footer small { direction: ltr; text-align: left; }
@media (max-width: 640px) { html:lang(ar) .footer small { text-align: right; } }

@media (prefers-reduced-motion: reduce) { .hero-track { height: auto; } .hero-media { position: absolute; inset: 0; margin: 0; height: auto; } }


/* Opening quote */
.quote-sec { padding: clamp(96px, 14vw, 190px) 0; background: var(--white, #fafafa); }
.quote { margin: 0 auto; text-align: center; }
.quote p { font-family: var(--tight); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.035em; margin: 0 auto; max-width: 24ch; color: var(--ink); text-wrap: balance; }
.quote footer { margin-top: clamp(28px, 4vw, 48px); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
html:lang(zh) .quote p, html:lang(ja) .quote p, html:lang(ko) .quote p { letter-spacing: 0; line-height: 1.25; text-transform: none; }
html:lang(ar) .quote p { letter-spacing: 0; line-height: 1.35; text-transform: none; }
html:lang(ko) .quote p { word-break: keep-all; }
.quote .hl { color: var(--red); }

/* Still Young is ... */
.si { text-align: center; }
.si-lead { margin: 0; font-size: clamp(0.95rem, 1.5vw, 1.2rem); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.si-phrase { margin: clamp(14px, 2vw, 24px) auto 0; max-width: 18ch; min-height: 2em; font-family: var(--tight); font-weight: 800; text-transform: uppercase; font-size: clamp(2.1rem, 5.8vw, 5rem); line-height: 1; letter-spacing: -0.035em; color: var(--red); }
.si-caret { display: inline-block; width: 0.07em; height: 0.82em; margin-left: 0.06em; background: var(--red); vertical-align: -0.04em; animation: sicaret 1s steps(1) infinite; }
@keyframes sicaret { 50% { opacity: 0; } }
@media (max-width: 700px) { .si-phrase { min-height: 3em; } }
html:lang(zh) .si-phrase, html:lang(ja) .si-phrase, html:lang(ko) .si-phrase { letter-spacing: 0; line-height: 1.2; text-transform: none; }
html:lang(ar) .si-phrase, html:lang(ar) .si-lead { letter-spacing: 0; text-transform: none; line-height: 1.3; }
html:lang(ko) .si-phrase { word-break: keep-all; }
@media (prefers-reduced-motion: reduce) { .si-caret { animation: none; } }
.si-text { display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.si-text.out { opacity: 0; transform: translateY(0.12em); }
.si-caret { display: none; }
.si-text { white-space: pre-line; }

/* What every lesson includes */
.included .h2 { margin-bottom: clamp(32px, 5vw, 56px); }


/* Header phone */
.header-phone { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 10px; color: var(--white); font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; transition: color .25s ease, background .2s ease; }
.header-phone:hover { background: rgba(255,255,255,0.14); }
.header-phone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.header.light .header-phone { color: var(--ink); }
.header.light .header-phone:hover { background: #f1f1f1; }
@media (max-width: 760px) { .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .header-phone { padding: 0 10px; } }

/* What every lesson includes: outlined, interactive, no photos */
.ic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ic { --c: var(--ink); position: relative; aspect-ratio: 4 / 4.6; border: 1.5px solid var(--c); border-radius: var(--radius); color: var(--c); background: transparent; overflow: hidden; isolation: isolate; }
.ic-extra { --c: var(--red); }
.ic-face { position: absolute; inset: 0; padding: 16px 16px 20px; display: flex; flex-direction: column; cursor: pointer; }
.ic-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 4; }
.ic-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 11px; border-radius: 8px; background: var(--c); color: var(--white); line-height: 1; }
.ic-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--c); background: transparent; color: var(--c); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.ic-toggle:hover, .ic-toggle:focus-visible, .ic.open .ic-toggle { background: var(--c); color: var(--white); }
.ic-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-title { margin: auto 0 0; font-family: var(--tight); font-weight: 800; text-transform: uppercase; font-size: clamp(1.55rem, 2.3vw, 2.15rem); line-height: 0.95; letter-spacing: -0.025em; }
.ic-panel { position: absolute; inset: 0; z-index: 3; padding: 70px 18px 18px; background: var(--bg, #fafafa); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.ic.open .ic-panel { opacity: 1; visibility: visible; transform: none; }
.ic-panel p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: #222; }
.ic-extra .ic-panel p { color: #3a1210; }
.ic-close { margin-top: auto; align-self: flex-end; border: 1.5px solid var(--c); background: transparent; color: var(--c); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; cursor: pointer; white-space: nowrap; }
.ic-close:hover, .ic-close:focus-visible { background: var(--c); color: var(--white); }
@media (max-width: 1000px) { .ic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ic-grid { grid-template-columns: 1fr; } .ic { aspect-ratio: 4 / 3.2; } }
html:lang(zh) .ic-title, html:lang(ja) .ic-title, html:lang(ko) .ic-title { letter-spacing: 0; line-height: 1.2; text-transform: none; }
html:lang(ar) .ic-title, html:lang(ar) .ic-tag, html:lang(ar) .ic-close { letter-spacing: 0; text-transform: none; line-height: 1.3; }
.ic-label { margin-top: auto; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.ic-label + .ic-title { margin-top: 8px; }
html:lang(zh) .ic-label, html:lang(ja) .ic-label, html:lang(ko) .ic-label, html:lang(ar) .ic-label { letter-spacing: 0; text-transform: none; }
@media (hover: hover) and (pointer: fine) {
  .ic-face { cursor: default; }
  .ic:hover .ic-panel { opacity: 1; visibility: visible; transform: none; }
  .ic:hover .ic-toggle { background: var(--c); color: var(--white); }
  .ic-close { display: none; }
}

.ic-panel .u { text-decoration: none; font-weight: 700; }


/* Touch devices: text always visible inside the card */
@media not all and (hover: hover) and (pointer: fine) {
  .ic { aspect-ratio: auto; display: flex; flex-direction: column; }
  .ic-face { position: static; inset: auto; padding: 16px 16px 0; cursor: default; }
  .ic-title { margin-top: 28px; }
  .ic-label { margin-top: 28px; }
  .ic-label + .ic-title { margin-top: 8px; }
  .ic-toggle { pointer-events: none; }
  .ic-panel { position: static; inset: auto; padding: 14px 16px 20px; background: transparent; opacity: 1; visibility: visible; transform: none; overflow: visible; }
  .ic-close { display: none; }
}

/* Still Young is ... over the opened photo/video */
.hero-si { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px var(--pad) 0; text-align: center; opacity: clamp(0, calc((var(--p) - 0.75) * 4), 1); }
.hero-si .si-lead { color: rgba(255,255,255,0.9); }
.hero-si .si-phrase { color: var(--white); text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero-si::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0) 80%); }

/* Lesson steps: one line from Balance to Ride, wave forms along the way */
.steps.js { position: relative; }
.steps.js .step { padding-top: 54px; }
.steps-line { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.steps-line .base { fill: none; stroke: var(--line, #ddd); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.steps-line .prog { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.steps-line .dot { fill: var(--bg, #fafafa); stroke: #c4c4c4; stroke-width: 2; transition: fill .3s ease, stroke .3s ease; }
.steps-line .dot.on { fill: var(--red); stroke: var(--red); }
.steps.js .step h3, .steps.js .step .step-num { color: #c4c4c4; transition: color .35s ease; }
.steps.js .step.on h3, .steps.js .step.on .step-num { color: var(--red); }
@media (max-width: 860px) { .steps.js { gap: 36px; } .steps.js .step { padding-top: 0; padding-left: 46px; } }
@media (prefers-reduced-motion: reduce) { .steps.js .step h3, .steps.js .step .step-num, .steps-line .dot { transition: none; } }

/* Photographer: photo left, text right */
.photog-sec { position: relative; }
.photog-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.photog-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #ddd; --py: 0px; --pr: 0deg; transform: translate3d(0, var(--py), 0) rotate(calc(-3deg + var(--pr))); will-change: transform; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); }
.photog-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.photog-grid .instructor-card { background: transparent; }
@media (max-width: 860px) { .photog-grid { grid-template-columns: 1fr; } .photog-photo { aspect-ratio: 4 / 4.6; transform: translate3d(0, var(--py), 0) rotate(calc(-2deg + var(--pr))); } }

/* Lucman: photo right, text left on desktop */
.photog-grid.rev { grid-template-columns: 6fr 5fr; }
.photog-grid.rev .photog-photo { order: 2; transform: translate3d(0, var(--py), 0) rotate(calc(3deg + var(--pr))); }
.photog-photo.sq { aspect-ratio: 1 / 1.05; }
.photog-photo.sq img { object-position: 45% 40%; }
@media (max-width: 860px) { .photog-grid.rev { grid-template-columns: 1fr; } .photog-grid.rev .photog-photo { order: 0; transform: translate3d(0, var(--py), 0) rotate(calc(2deg + var(--pr))); aspect-ratio: 4 / 4.2; } }

/* One orange glow running through the team sections, alternating sides */
.team-bg { position: relative; overflow: hidden; background:
  radial-gradient(62% 18% at 10% 20%, rgba(230, 172, 55, 0.88), rgba(230, 172, 55, 0) 72%),
  radial-gradient(62% 18% at 92% 50%, rgba(230, 172, 55, 0.88), rgba(230, 172, 55, 0) 72%),
  radial-gradient(62% 18% at 8% 80%, rgba(230, 172, 55, 0.88), rgba(230, 172, 55, 0) 72%), #fafafa; }
.photog-photo.badul img { object-position: 42% 50%; }

/* Lesson heading on one line */
.lesson-head { max-width: none; }
.lesson-head p { max-width: 62ch; }
@media (min-width: 700px) { html:lang(en) .lesson-head .h2 { white-space: nowrap; } }

.tag small { font-size: inherit; font-weight: inherit; letter-spacing: inherit; opacity: 1; }

.card-bottom .card-btn { justify-self: start; margin-top: 6px; }

/* Package cards: photo on top, then title, text, price, button */
.card.pc { background: var(--bg, #fafafa); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card.pc:hover .pc-media img { transform: scale(1.04); }
.pc-tag { position: absolute; top: 14px; left: 14px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.pc-title { margin: 0; font-family: var(--tight); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 1.9vw, 1.7rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.pc-desc { margin: 14px 0 0; font-size: .95rem; line-height: 1.55; color: #444; flex: 1; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.pc-m { display: inline-flex; align-items: center; gap: 8px; }
.pc-m svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pc-price { margin-top: 10px; font-family: var(--tight); font-weight: 800; font-size: clamp(1.9rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.pc-price small { font-family: inherit; font-size: .38em; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pc-btn { margin-top: 18px; width: 100%; justify-content: center; }
html:lang(zh) .pc-title, html:lang(ja) .pc-title, html:lang(ko) .pc-title, html:lang(zh) .pc-price, html:lang(ja) .pc-price, html:lang(ko) .pc-price { letter-spacing: 0; text-transform: none; line-height: 1.2; }
html:lang(ar) :is(.pc-title, .pc-price, .pc-tag, .pc-meta) { letter-spacing: 0; text-transform: none; }
.pc-price small { display: block; margin-top: 3px; font-size: .4em; }
.pc-media { aspect-ratio: 5 / 4; }


/* Package cards: hover highlight */
.card.pc { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .card.pc:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 14px 30px rgba(155, 41, 21, 0.14), 0 4px 12px rgba(0, 0, 0, 0.07); }
}
@media (prefers-reduced-motion: reduce) { .card.pc, .card.pc:hover { transition: none; transform: none; } }
.pc-media img[src$="semi-private.webp"] { object-position: 95% 50%; }

/* Packages: dark red, details on click */
.pk-sec { background: var(--red); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.pk-sec .label { color: rgba(255,255,255,.75); }
.pk-sec .label::before { background: #fff; }
.pk-sec .h2 { color: #fff; }
.pk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.pk { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pk-media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #5a0f09; }
.pk-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pk-media img[src$="semi-private.webp"] { object-position: 95% 50%; }
.pk-title { margin: 26px 0 0; font-family: var(--tight); font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff; min-height: 2.1em; display: flex; align-items: center; justify-content: center; }
.pk-meta { margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.82); min-height: 5.6em; }
.pk-price { margin: 16px 0 0; font-family: var(--tight); font-weight: 800; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.05; letter-spacing: -0.02em; }
.pk-price small { display: block; margin-top: 4px; font-size: .42em; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.pk-toggle { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; font: inherit; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; padding: 8px 10px; }
.pk-toggle svg { width: 18px; height: 18px; transition: transform .35s ease; }
.pk-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.pk-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22,.61,.36,1); width: 100%; }
.pk-detail > div { overflow: hidden; }
.pk-detail p { margin: 0; padding: 6px 4px 8px; font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.88); opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .35s ease; }
.pk-toggle[aria-expanded="true"] + .pk-detail { grid-template-rows: 1fr; }
.pk-toggle[aria-expanded="true"] + .pk-detail p { opacity: 1; transform: none; transition-delay: .08s; }
.pk-btn { margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border: 1.5px solid #fff; background: transparent; color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .25s ease, color .25s ease; }
.pk-btn:hover { background: #fff; color: var(--red); }
@media (max-width: 1060px) { .pk-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; } }
@media (max-width: 560px) { .pk-grid { grid-template-columns: 1fr; } .pk-title, .pk-meta { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .pk-detail, .pk-detail p, .pk-toggle svg { transition: none; } }

/* Packages: selected card lifts out of the background, same colour */
.pk { padding-bottom: 26px; border-radius: 4px; background: var(--red); transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease; }
.pk > :not(.pk-media) { margin-left: 18px; margin-right: 18px; }
.pk > .pk-detail { width: calc(100% - 36px); }
.pk-btn:hover { background: #fff; color: var(--red); }
.pk.on { transform: translateY(-8px); box-shadow: 0 28px 48px rgba(0,0,0,.45), 0 6px 14px rgba(0,0,0,.25); }
@media (hover: hover) and (pointer: fine) {
  .pk:hover { transform: translateY(-8px); box-shadow: 0 28px 48px rgba(0,0,0,.45), 0 6px 14px rgba(0,0,0,.25); }
}
@media (prefers-reduced-motion: reduce) { .pk, .pk.on, .pk:hover { transition: none; transform: none; } }

/* Lesson steps: same size as package titles */
.step h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.05; }

/* What every lesson includes: swipe cards */
.sw-sec { overflow-x: clip; padding: clamp(72px, 9vw, 120px) 0; }
.sw-wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sw-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.sw-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.sw-btn:hover, .sw-btn:focus-visible { background: var(--ink); color: #fff; }
.sw-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sw-count { font-family: var(--tight); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; min-width: 4.2em; }
.sw-count span { color: #9a9a9a; }
.sw-stage { display: grid; position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; padding-bottom: 62px; cursor: grab; }
.sw-stage.drag { cursor: grabbing; }
.sw { --c: var(--ink); grid-area: 1 / 1; border: 1.5px solid var(--c); border-radius: 14px; background: var(--c); color: #fff; padding: 20px 22px 26px; min-height: clamp(360px, 36vw, 440px); display: flex; flex-direction: column; transform-origin: 50% 100%; will-change: transform; transition: transform .55s cubic-bezier(.22,.61,.36,1), opacity .4s ease, box-shadow .4s ease; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.sw.ex { --c: var(--red); }
.sw[data-pos="0"] { z-index: 4; }
.sw[data-pos="1"] { z-index: 3; transform: translateY(18px) scale(.955); }
.sw[data-pos="2"] { z-index: 2; transform: translateY(36px) scale(.91); }
.sw[data-pos="3"] { z-index: 1; transform: translateY(54px) scale(.865); }
.sw[data-pos="gone"] { z-index: 0; opacity: 0; pointer-events: none; }
.sw[data-pos="1"] > *, .sw[data-pos="2"] > *, .sw[data-pos="3"] > * { opacity: 0; }
.sw > * { transition: opacity .3s ease; }
.sw.fly[data-pos] { transition: transform .45s cubic-bezier(.5,0,.75,.4), opacity .45s ease; opacity: 0; }
.sw.nt { transition: none !important; }
.sw.dragging { transition: none; }
.sw-top { display: flex; align-items: center; justify-content: space-between; }
.sw-tag { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 11px; border-radius: 8px; background: #fff; color: var(--c); line-height: 1; }
.sw-ico { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); color: #fff; display: grid; place-items: center; }
.sw-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sw-foot { margin-top: auto; padding-top: 28px; }
.sw-label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.sw-title { margin: 0; font-family: var(--tight); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: .95; letter-spacing: -.025em; }
.sw-desc { margin: 26px 0 0; font-size: 1rem; line-height: 1.55; color: #fff; max-width: 44ch; }
.sw-desc p { margin: 0; }
.sw-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; max-width: 320px; }
.sw-list li { position: relative; padding-left: 18px; font-weight: 700; }
.sw-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: #fff; }
.sw-list.one { grid-template-columns: 1fr; max-width: none; }
.sw-coach { margin-top: 16px !important; }
.sw-free { margin-top: 16px !important; }
.sw-desc .u { font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .sw-wrap { grid-template-columns: 1fr; } .sw-ctrl { margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) { .sw, .sw.fly { transition: none; } }

.sw-title { white-space: pre-line; }
.sw-free { font-weight: 700; }
.sw-desc .u { font-weight: 700; }
html[dir="rtl"] .sw-btn svg { transform: scaleX(-1); }
.pk-btn { border-radius: 999px; }

.footer-credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--red-bright); }
@media (max-width: 860px) { .instructor-grid .instructor-photo { order: -1; margin-top: 0; } }
@media (max-width: 640px) { .hero-media img, .hero-media video { opacity: clamp(0, calc((var(--p) - 0.06) * 3.2), 1); } }
.instructor-card, .instructor-photo, .photog-photo { border-radius: 14px; }
@media (max-width: 860px) { .instructor-card { border-radius: 14px; } }
.hero-track { background: var(--ink); }
.hero-title .line-2 { color: var(--red-bright); }
.closing::before { filter: brightness(0.95); inset: 0; }
.closing::after { background: rgba(0, 0, 0, 0.18); }
.closing::before { background-position: 50% 49%; }
.closing { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; }
.closing .wrap { width: 100%; }
.closing::before { background-position: 50% 50%; }
/* CTA finale: opzione A, testo centrato e sollevato */
.closing { align-items: flex-end; padding-bottom: clamp(72px, 16vh, 170px); }
.closing::before { filter: none; background-position: 50% 100%; }
.closing::after { background: linear-gradient(to top, rgba(10,16,24,.74) 0%, rgba(10,16,24,.34) 40%, rgba(10,16,24,0) 66%); }
.closing h2 { font-size: clamp(2.2rem, 6vw, 5.2rem); }
.closing .group-line { margin-top: 28px; }
@media (max-width: 700px) { .closing::before { background-position: 52% 40%; } .closing { padding-bottom: 72px; } }
/* Packages: sezione bianca, card rosse */
.pk-sec { background: #fff; color: var(--ink); }
.pk-sec .label { color: var(--ink); }
.pk-sec .label::before { background: var(--red); }
.pk-sec .h2 { color: var(--ink); }
.pk.on { box-shadow: 0 24px 44px rgba(32,33,36,.22), 0 6px 14px rgba(32,33,36,.12); }
@media (hover: hover) { .pk:hover { box-shadow: 0 24px 44px rgba(32,33,36,.22), 0 6px 14px rgba(32,33,36,.12); } }
.pk { color: #fff; }
/* Packages: card bianche, testo nero, bottoni verdi */
.pk { background: #fff; color: var(--ink); border: 1px solid rgba(32,33,36,.12); }
.pk-title, .pk-price { color: var(--ink); }
.pk-meta { color: rgba(32,33,36,.72); }
.pk-price small { color: rgba(32,33,36,.62); }
.pk-toggle { color: var(--ink); }
.pk-detail p { color: rgba(32,33,36,.82); }
.pk-btn { background: var(--green); border-color: var(--green); color: #fff; }
.pk-btn:hover { background: #126f3c; border-color: #126f3c; color: #fff; }
.pk-btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.pk-btn:hover { background: #000; border-color: #000; color: #fff; }
.pk-btn { gap: 10px; }
.pk-btn .icon { width: 18px; height: 18px; flex: none; }
.pk-btn { white-space: nowrap; padding: 15px 22px; letter-spacing: .09em; font-size: .76rem; gap: 8px; }
/* Timeline e card extra: stesso rosso di "to begin" */
.steps-line .prog { stroke: var(--red-bright); }
.steps-line .dot.on { fill: var(--red-bright); stroke: var(--red-bright); }
.steps.js .step.on h3, .steps.js .step.on .step-num { color: var(--red-bright); }
.step-num { color: var(--red-bright); }
.sw.ex { --c: var(--red-bright); }

/* Hero: video full screen from the start */
.hero-track { height: 100svh; }
.hero-media { --p: 1; }
.hero-si { opacity: 1; }
.hero { z-index: 3; }
.hero-main { justify-content: flex-end; padding-bottom: 8px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: -1; background: linear-gradient(to top, rgba(10,16,24,.55), rgba(10,16,24,0)); pointer-events: none; }
@media (max-width: 640px) { .hero-media img, .hero-media video { opacity: 1; } }

/* Header buttons */
.header-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin-right: 6px; border-radius: 999px; border: 1.5px solid var(--white); background: var(--white); color: var(--ink); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.header-btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.header-btn-ghost:hover { background: var(--white); color: var(--ink); }
.header.light .header-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.header.light .header-btn-ghost { background: transparent; color: var(--ink); border-color: rgba(32,33,36,.6); }
.header.light .header-btn-ghost:hover { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .header-btn-ghost { display: none; } }
@media (max-width: 420px) { .header-btn { padding: 0 13px; font-size: .7rem; margin-right: 2px; } }
@media (max-width: 560px) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 860px) { .header-btn-ghost { display: inline-flex; } }

/* CTA block: text centred in the middle of the photo */
.closing { align-items: center; padding-bottom: 0; }
.closing::after { background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(10,16,24,.5) 0%, rgba(10,16,24,.22) 55%, rgba(10,16,24,0) 100%); }
@media (max-width: 700px) { .closing { padding-bottom: 0; } }

/* Clients gallery */
.clients-gal { background: #fff; padding: clamp(48px, 7vw, 96px) var(--pad); }
.clients-head { max-width: 1280px; margin: 0 auto clamp(24px, 3vw, 40px); padding: 0; text-align: center; }
.clients-grid { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.crow { display: flex; gap: 14px; }
.crow img { display: block; flex: calc(var(--a) * 100) 1 0; min-width: 0; height: auto; border-radius: 14px; background: #e9edf1; }
.crow.more { display: none; }
.clients-grid.open .crow.more { display: flex; }
.clients-more { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 40px); }
.clients-more .t-less { display: none; }
.clients-more.open .t-all { display: none; }
.clients-more.open .t-less { display: inline; }
@media (max-width: 860px) {
  .clients-grid { gap: 10px; }
  .crow { flex-wrap: wrap; gap: 10px; }
  .crow img { flex: calc(var(--a) * 100) 1 calc(var(--a) * 190px); border-radius: 10px; }
}

/* Hero phrases: Poppins lowercase */
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.hero-si .si-phrase { font-family: "Poppins", var(--tight); font-weight: 600; text-transform: lowercase; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(2rem, 5.2vw, 4.4rem); }
.hero-si .si-phrase { margin-top: clamp(0px, 0.4vw, 6px); }
.hero-si .si-lead { line-height: 1.2; }
.marquee-group span { font-family: "Poppins", var(--tight); font-weight: 600; text-transform: uppercase; letter-spacing: 0; font-size: clamp(1rem, 1.8vw, 1.5rem); }
.h2, .step h3, .closing h2 { font-family: "Poppins", var(--tight); font-weight: 600; }

/* Palette B */
.sw{--c:#E6AC37;color:#202124}.sw .sw-ico{border-color:rgba(32,33,36,.75);color:#202124}.sw-desc,.sw-list li{color:#202124}.sw-list li::before{background:#202124}.sw .sw-tag{background:#202124;color:#fff}
.sw.ex{--c:#50A2A7;color:#fff}.sw.ex .sw-ico{border-color:rgba(255,255,255,.85);color:#fff}.sw.ex .sw-desc,.sw.ex .sw-list li{color:#fff}.sw.ex .sw-list li::before{background:#fff}.sw.ex .sw-tag{background:#fff;color:#2c6b70}
.footer nav a.footer-ig{color:#E6AC37}.dot::before,.dot::after{background:#50A2A7}.map-btn{border-color:#50A2A7}

.dot{background:#50A2A7;box-shadow:0 0 0 3px rgba(80,162,167,.45)}
/* Spacing ridotto */
.sw-sec { padding-bottom: clamp(40px, 5vw, 72px); }
.instructor-sec { padding-top: clamp(64px, 7vw, 96px); }
#reviews { padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(64px, 7vw, 96px); }
.map-book { margin-top: 28px; pointer-events: auto; }
/* Poppins su tutti i titoli */
h1, h2, h3, .footer-invite, .footer-cta, .map-title, .name-tag, .pc-title, .ic-title, .sw-title, .quote p { font-family: "Poppins", var(--tight); font-weight: 600; }
.map-title { text-transform: none; letter-spacing: -0.02em; line-height: 1.08; max-width: 16ch; }
.footer-invite { letter-spacing: -0.01em; }
.closing h2 { text-transform: none; letter-spacing: -0.02em; line-height: 1.05; max-width: 16ch; }
.footer-top { align-items: center; flex-wrap: nowrap; }
.footer-invite { font-size: clamp(1.4rem, 2.6vw, 2.1rem); max-width: none; line-height: 1.15; text-wrap: pretty; }
@media (max-width: 560px) { .footer-top { flex-wrap: wrap; } }

/* Footer photo */
.footer{position:relative;isolation:isolate;overflow:hidden}
.footer::before{content:"";position:absolute;inset:0;z-index:-2;background:url(../assets/bg-wave.webp) center 70%/cover no-repeat}
.footer::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(20,24,28,.55),rgba(20,24,28,.72))}
.footer-top{border-bottom-color:rgba(255,255,255,.28)}
.footer-label{color:rgba(255,255,255,.7)}

/* Cards: first three light blue, last yellow */
.sw{--c:#50A2A7}
.sw.ex{--c:#E6AC37;color:#202124}
.sw.ex .sw-ico{border-color:rgba(32,33,36,.75);color:#202124}
.sw.ex .sw-desc,.sw.ex .sw-list li{color:#202124}
.sw.ex .sw-list li::before{background:#202124}
.sw.ex .sw-tag{background:#202124;color:#fff}

/* Hero button yellow */
.hero-cta .btn:first-child{background:#E6AC37;color:#202124}

/* Alt: cinnabar cards and map dots */
.sw{--c:#EC6653;color:#fff}
.sw .sw-ico{border-color:rgba(255,255,255,.85);color:#fff}
.sw .sw-desc,.sw .sw-list li{color:#fff}
.sw .sw-list li::before{background:#fff}
.sw .sw-tag{background:#fff;color:#202124}
.sw.ex{--c:#E6AC37;color:#202124}
.sw.ex .sw-ico{border-color:rgba(32,33,36,.75);color:#202124}
.sw.ex .sw-desc,.sw.ex .sw-list li{color:#202124}
.sw.ex .sw-list li::before{background:#202124}
.sw.ex .sw-tag{background:#202124;color:#fff}
.dot{background:#EC6653;box-shadow:0 0 0 3px rgba(236,102,83,.45)}
.dot::before,.dot::after{background:#EC6653}
.map-btn{border-color:#EC6653}

/* The lesson: cinnabar progress line */
.steps-line .prog{stroke:#EC6653}
.steps-line .dot.on{fill:#EC6653;stroke:#EC6653}
.steps.js .step.on h3,.steps.js .step.on .step-num{color:#EC6653}
.step-num{color:#EC6653}

/* Contact button yellow */
.btn-green{background:#E6AC37;color:#202124}
.btn-green:hover{background:#d49a28}
