/* ==========================================================================
   PB3 Racing — Design D (slider hero, geometric, editorial)
   Brand palette:
   Ink Black #00000F · Fresh Sky #00ACED · Bright Indigo #0042FF
   Bone #CCC6B8 · Bright Snow #F7F9F9 · white
   Fresh Sky = CTA buttons and the main contrast colour (always with ink text).
   ========================================================================== */
:root {
  --ink: #00000f;
  --sky: #00aced;
  --indigo: #0042ff;
  --bone: #ccc6b8;
  --snow: #f7f9f9;
  --white: #ffffff;

  --ink-2: rgba(0, 0, 15, .68);     /* secondary text (≈7:1 on white) */
  --ink-3: rgba(0, 0, 15, .55);
  --line: rgba(0, 0, 15, .1);
  --line-2: rgba(0, 0, 15, .18);

  --display: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1392px;
  --gutter: clamp(16px, 2vw, 24px);
  --section: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--white); padding: 8px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; margin: 0 0 .5em; }
.display { font-size: clamp(2.8rem, 6.6vw, 6rem); font-weight: 500; letter-spacing: -0.03em; line-height: .98; }
/* Staggered heading lines, as in the reference ("Найдите / подходящий / катер") */
.stagger span { display: block; }
.stagger span:nth-child(2) { padding-left: clamp(40px, 8vw, 140px); }
.stagger span:nth-child(3) { padding-left: 0; }
h3 { font-size: 1.15rem; }
.caps { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section); }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px;
  border-radius: 6px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--display); font-weight: 500; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s, border-color .25s;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn--sky { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.btn--sky:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.more { font-family: var(--display); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.more::after { content: "→"; transition: transform .25s var(--ease); }
a:hover > .more::after, .more:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Header — nav left, logo centre, CTA right
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; }
.brand { grid-column: 2; display: block; }
.brand img { height: 42px; width: auto; }
.header-cta { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 18px; }
.header-cta .btn { gap: 0; }
.header-cta .tel { font-family: var(--display); font-size: .95rem; text-decoration: none; color: var(--ink-2); }
.header-cta .tel:hover { color: var(--ink); }

.nav { grid-column: 1; grid-row: 1; display: flex; gap: 6px; align-items: center; }
.nav > .item { position: relative; }
.nav .top {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; cursor: pointer;
  font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: 6px;
}
.nav .top svg { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.nav .top:hover, .nav .item.open .top { background: var(--snow); }
.nav .item.open .top svg { transform: rotate(180deg); }

/* Dropdown panels */
.menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; padding: 22px; background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 24px 60px -20px rgba(0, 0, 15, .25); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav .item.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.menu a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink-2); font-size: .95rem; white-space: nowrap; }
.menu a:hover { color: var(--ink); }
.menu .group { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: .98rem; padding-top: 0; }
.menu .sub a { padding-left: 14px; position: relative; }
.menu .sub a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--ink-3); }
.menu .all { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.menu .all a { color: var(--indigo); font-weight: 600; }
.menu--mega { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; min-width: 0; width: max-content; }
.menu--mega .all { grid-column: 1 / -1; margin-top: 6px; }
.soon { font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; }

.nav-toggle { display: none; grid-column: 1; grid-row: 1; justify-self: start; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 1100px) {
  .header-cta .tel { display: none; }
  .nav .top { padding: 10px 8px; font-size: .95rem; }
}
@media (max-width: 960px) {
  /* backdrop-filter would trap the fixed menu inside the header bar */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .nav-toggle { display: block; }
  .header-cta .btn { min-height: 40px; padding: 0 14px; font-size: .9rem; }
  .nav {
    position: fixed; inset: 80px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 40px;
    overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav .top { width: 100%; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.2rem; }
  .nav .top:hover, .nav .item.open .top { background: none; }
  .menu, .menu--mega { position: static; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 8px 0 16px; grid-template-columns: 1fr; }
  .nav .item.open .menu { display: grid; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 480px) { .header-cta .btn span { display: none; } .brand img { height: 34px; } }

/* ==========================================================================
   Hero slider — light panel + arc-cropped photo, neighbouring slides peek in
   ========================================================================== */
.hero { padding: 16px 0 0; }
.hero-stage { display: grid; grid-template-columns: 120px 1fr 120px; gap: 16px; height: clamp(480px, calc(100vh - 112px), 640px); padding: 0 var(--gutter); max-width: 1680px; margin: 0 auto; }
.peek { position: relative; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--snow); }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.peek:hover img { transform: scale(1.05); }
.peek.swap img { opacity: 0; }

.slides { position: relative; overflow: hidden; background: var(--snow); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 38% 62%; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.slide-panel { position: relative; z-index: 2; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); }
.slide-title { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -0.025em; margin: 0 0 clamp(20px, 3vw, 40px); }
.slide-title, .slide-meta, .slide-cap, .slide-cta { transform: translateY(18px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.slide.is-active .slide-title { transform: none; opacity: 1; transition-delay: .15s; }
.slide.is-active .slide-meta { transform: none; opacity: 1; transition-delay: .25s; }
.slide.is-active .slide-cap { transform: none; opacity: 1; transition-delay: .32s; }
.slide.is-active .slide-cta { transform: none; opacity: 1; transition-delay: .4s; }

.arrows { display: flex; gap: 40px; margin-bottom: auto; position: relative; z-index: 3; }
.arrows button { width: 76px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; color: var(--ink); }
.arrows svg { width: 100%; height: 100%; transition: transform .3s var(--ease); }
.arrows .prev:hover svg { transform: translateX(-6px); }
.arrows .next:hover svg { transform: translateX(6px); }

.slide-meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.slide-meta .shield { width: 34px; height: auto; }
.slide-meta .label { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: .01em; text-transform: uppercase; }
.slide-cap { margin: 18px 0 22px; max-width: 30ch; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.slide-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.slide-media { position: relative; overflow: hidden; border-radius: 34% 0 0 34% / 50% 0 0 50%; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.slide.is-active .slide-media img { transform: scale(1); }
.slide-media .rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.slide-media .rings circle { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1; vector-effect: non-scaling-stroke; }

.dots { position: absolute; z-index: 4; right: 22px; bottom: 20px; display: flex; gap: 8px; }
.dots button { width: 28px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; border-radius: 2px; overflow: hidden; position: relative; }
.dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--sky); transform-origin: left; animation: fill var(--dur, 7s) linear forwards; }
.hero.paused .dots button.is-active::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1100px) { .hero-stage { grid-template-columns: 56px 1fr 56px; } }
@media (max-width: 760px) {
  .hero-stage { grid-template-columns: 1fr; height: auto; padding: 0 var(--gutter); }
  .peek { display: none; }
  .slides { min-height: 680px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 300px auto; }
  .slide-media { grid-row: 1; border-radius: 0 0 50% 50% / 0 0 22% 22%; }
  .slide-panel { grid-row: 2; padding: 26px 20px 40px; }
  .arrows { position: absolute; top: -56px; right: 16px; gap: 10px; margin: 0; }
  .arrows button { width: 44px; height: 44px; background: var(--white); border-radius: 50%; padding: 12px; }
  .slide-meta { margin-top: 0; }
  .dots { top: 268px; bottom: auto; left: 20px; right: auto; }
}

/* ==========================================================================
   Intro — big heading left, short paragraph right (reference "Самые популярные")
   ========================================================================== */
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.intro h1 { margin: 0; }
.intro p { max-width: 46ch; color: var(--ink-2); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: 20px; } }

/* Featured plan cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.card { display: flex; flex-direction: column; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 18px 22px; background: var(--white); transition: background .3s var(--ease); }
.card:hover { background: var(--snow); }
.card .media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; background: var(--snow); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .media img { transform: scale(1.04); }
.card .top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.card h3 { font-family: var(--display); text-transform: uppercase; font-size: 1rem; letter-spacing: .01em; margin: 0; line-height: 1.25; }
.card .price { font-family: var(--display); font-size: 1rem; white-space: nowrap; text-transform: uppercase; }
.card .bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; font-size: .82rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .02em; }
.card .tag { display: inline-block; align-self: flex-start; margin-bottom: 10px; font-size: .74rem; font-weight: 600; color: var(--indigo); }
.cards-note { margin-top: 18px; font-size: .9rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cards-note a { color: var(--indigo); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Brand band (reference's beige strip) */
.band { margin-top: var(--section); background: var(--bone); overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; min-height: 150px; padding-top: 28px; padding-bottom: 28px; }
.band img { height: 64px; width: auto; }
.band .slogan { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; line-height: 1.05; letter-spacing: .01em; margin: 0; text-align: center; }
.band .url { font-family: var(--display); font-size: 1.05rem; text-decoration: none; display: grid; justify-items: end; gap: 6px; }
.band .url svg { width: 44px; height: 44px; stroke: var(--ink); fill: none; stroke-width: 1; transition: transform .3s var(--ease); }
.band .url:hover svg { transform: translate(4px, -4px); }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; } .band .slogan { text-align: center; } .band .url { justify-items: center; } }

/* ==========================================================================
   Plans by sport — category tiles with arc-cropped photos + dark enquiry form
   ========================================================================== */
.decor-head { position: relative; padding: clamp(10px, 2vw, 30px) 0 clamp(36px, 5vw, 60px); }
.decor-head .display { position: relative; z-index: 1; margin: 0; }
.decor-head svg.arcs { position: absolute; right: 0; top: -20%; width: 64%; height: 150%; pointer-events: none; }
.decor-head svg.arcs path, .decor-head svg.arcs ellipse { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; display: grid; grid-template-columns: 46% 54%; min-height: 230px; background: var(--snow); text-decoration: none; overflow: hidden; }
.tile .txt { display: flex; flex-direction: column; justify-content: space-between; padding: 20px 22px; gap: 20px; position: relative; z-index: 1; }
.tile h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .01em; margin: 0; }
.tile .count { font-size: .78rem; font-weight: 600; color: var(--indigo); margin-top: 6px; display: block; }
.tile p { margin: 0; font-size: .82rem; line-height: 1.4; color: var(--ink-2); text-transform: uppercase; letter-spacing: .02em; max-width: 30ch; }
.tile .media { overflow: hidden; border-radius: 50% 0 0 50% / 50% 0 0 50%; margin-left: -8%; }
.tile .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover .media img { transform: scale(1.06); }
.tile:hover h3 { color: var(--indigo); }

.enquiry { background: var(--ink); color: var(--white); padding: 24px 24px 22px; min-height: 230px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.enquiry::before { content: ""; position: absolute; right: -120px; top: -60px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 60px rgba(255, 255, 255, .02), 0 0 0 61px rgba(255, 255, 255, .08); pointer-events: none; }
.enquiry h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; margin: 0 0 4px; position: relative; }
.enquiry p { font-size: .88rem; color: rgba(255, 255, 255, .75); margin-bottom: 16px; position: relative; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
.form label { position: absolute; left: -9999px; }
.form input, .form select { width: 100%; min-height: 42px; background: transparent; border: 1px solid rgba(255, 255, 255, .28); color: var(--white); font: inherit; font-size: .9rem; padding: 0 12px; border-radius: 4px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sky) 50%), linear-gradient(135deg, var(--sky) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { color: var(--ink); }
.form input::placeholder { color: rgba(255, 255, 255, .55); }
.form input:focus, .form select:focus { outline: none; border-color: var(--sky); }
.form .btn { width: 100%; }
.form small { grid-column: 1 / -1; font-size: .72rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tile { grid-template-columns: 1fr 1fr; min-height: 190px; } .tile h3 { font-size: 1.1rem; } .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   About PB3 — staggered heading + two text columns (reference "Компания")
   ========================================================================== */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); max-width: 1040px; margin-left: clamp(0px, 7vw, 100px); }
.about-cols p { color: var(--ink-2); }
.about-cols p.lead { color: var(--ink); font-size: 1.12rem; line-height: 1.55; }
.about-cols a { color: var(--indigo); }
.facts { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 18px 16px 0 0; }
.facts b { display: block; font-family: var(--display); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 4px; }
.facts span { font-size: .95rem; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(3, 1fr); row-gap: 16px; } }
@media (max-width: 760px) { .about-cols { grid-template-columns: 1fr; margin-left: 0; } .facts { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Coach — big heading with ellipse lines, 3 icon columns, card + photo with bubbles
   ========================================================================== */
.coach-head { position: relative; padding: 20px 0 clamp(40px, 6vw, 80px); }
.coach-head .display { position: relative; z-index: 1; margin: 0 0 0 clamp(0px, 6vw, 80px); }
.coach-head svg { position: absolute; left: 12%; top: -12%; width: 60%; height: 130%; pointer-events: none; }
.coach-head svg ellipse { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.icons { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-bottom: 0; margin: 0; padding: 0; }
.icons li { list-style: none; padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.icons li:last-child { border-right: 0; }
.icons ul { margin: 0; padding: 0; display: contents; }
.icons svg { width: 60px; height: 60px; margin: 0 auto 14px; stroke: var(--ink); fill: none; stroke-width: 2.4; }
.icons b { display: block; font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: .95rem; letter-spacing: .02em; }
.icons span { font-size: .85rem; color: var(--ink-2); }
.coach-row { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; border: 1px solid var(--line); padding: 12px; }
.coach-card { background: var(--snow); padding: 26px; display: flex; flex-direction: column; }
.coach-card h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.15; letter-spacing: .01em; }
.coach-card .quote { margin: auto 0 20px; padding-top: 24px; font-size: .98rem; color: var(--ink-2); }
.coach-card .quote::before { content: "“"; display: block; font-family: var(--display); font-size: 2.6rem; line-height: .6; color: var(--sky); margin-bottom: 8px; }
.coach-photo { position: relative; min-height: 440px; overflow: hidden; }
.coach-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bubbles { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 8px; justify-items: end; max-width: min(360px, 70%); }
.bubble { background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); padding: 9px 13px; border-radius: 14px 14px 4px 14px; font-size: .84rem; line-height: 1.35; box-shadow: 0 8px 24px -10px rgba(0, 0, 15, .35); }
.bubble small { display: block; font-size: .68rem; color: var(--ink-3); margin-bottom: 2px; }
.bubble.flag { background: var(--bone); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.js .bubble { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 220ms); }
.js .bubbles.in .bubble { opacity: 1; transform: none; }
@media (max-width: 860px) { .icons { grid-template-columns: 1fr; } .icons li { border-right: 0; border-bottom: 1px solid var(--line); } .coach-row { grid-template-columns: 1fr; } .coach-photo { min-height: 380px; } }

/* ==========================================================================
   How it works + ways to train
   ========================================================================== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 24px 0 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 300; color: var(--sky); line-height: 1; margin-bottom: 18px; }
.steps h3 { font-family: var(--display); text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; margin-bottom: 6px; }
.steps p { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 20px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.ways { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.way { padding: 28px 26px; background: var(--snow); display: flex; flex-direction: column; }
.way--main { background: var(--ink); color: var(--white); }
.way .kicker { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.way--main .kicker { color: var(--sky); }
.way h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.45rem; letter-spacing: .01em; margin-bottom: 4px; }
.way .price { font-family: var(--display); font-size: 1.05rem; margin-bottom: 14px; }
.way ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.way--main ul { color: rgba(255, 255, 255, .8); }
.way li { padding-left: 18px; position: relative; }
.way li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--sky); }
.way .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }

/* ==========================================================================
   Guides — featured slider card (reference news card) + list
   ========================================================================== */
.guide-slider { position: relative; margin-top: clamp(32px, 4vw, 48px); height: clamp(380px, 42vw, 520px); overflow: hidden; background: var(--ink); }
.gslide { position: absolute; inset: 0; color: var(--white); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.gslide.is-active { opacity: 1; visibility: visible; }
.gslide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 6s linear; }
.gslide.is-active img { transform: scale(1); }
.gslide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 15, .78) 0%, rgba(0, 0, 15, .35) 55%, rgba(0, 0, 15, .2) 100%); }
.gslide .inner { position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(24px, 3vw, 40px); z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.gslide .tag { display: inline-block; background: var(--white); color: var(--ink); font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 4px; margin-bottom: 14px; }
.gslide h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.1; margin: 0; max-width: 20ch; }
.gslide p { color: rgba(255, 255, 255, .85); font-size: .95rem; margin: 0 0 10px; }
.gslide .read { font-family: var(--display); font-weight: 600; font-size: .92rem; }
.gcount { position: absolute; z-index: 3; right: clamp(16px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.gcount button { background: none; border: 0; color: rgba(255, 255, 255, .55); font-family: var(--display); font-size: 1rem; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 0; justify-content: flex-end; }
.gcount button.is-active { color: var(--white); }
.gcount button.is-active::after { content: ""; width: 22px; height: 1px; background: var(--white); }
.guide-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.guide-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-list a::after { content: "→"; color: var(--ink-3); transition: transform .25s var(--ease); }
.guide-list a:hover::after { transform: translateX(4px); color: var(--ink); }
@media (max-width: 760px) { .gslide .inner { grid-template-columns: 1fr; gap: 12px; } .guide-list { grid-template-columns: 1fr; } .gcount { top: 20px; transform: none; display: flex; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font-family: var(--display); font-size: 1.12rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 12px; margin-top: -6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12' fill='none' stroke='%2300000f' stroke-width='1.4'%3E%3Cpath d='M1 1l10 10L21 1'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .faq-a { padding: 0 48px 22px 0; color: var(--ink-2); }
.faq .faq-a a { color: var(--indigo); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer — dark, centred columns (reference footer)
   ========================================================================== */
.site-footer { margin-top: var(--section); background: var(--ink); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 40px; width: 1400px; height: 1400px; margin-left: -700px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .05); box-shadow: 0 0 0 140px rgba(255, 255, 255, .0), 0 0 0 141px rgba(255, 255, 255, .04); pointer-events: none; }
.footer-news { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 56px 0 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-news h2 { font-family: var(--display); color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 6px; }
.footer-news p { margin: 0; font-size: .92rem; }
.footer-news form { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-news label { position: absolute; left: -9999px; }
.footer-news input { flex: 1 1 220px; min-height: 46px; background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); font: inherit; padding: 0 14px; border-radius: 4px; }
.footer-news input::placeholder { color: rgba(255, 255, 255, .55); }
.footer-news input:focus { outline: none; border-color: var(--sky); }
.footer-cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 0; text-align: center; }
.footer-cols h2 { font-family: var(--display); font-size: .8rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin: 0 0 18px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-cols a { color: var(--white); text-decoration: none; font-size: .95rem; }
.footer-cols a:hover { color: var(--sky); }
.socials { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }
.socials a { color: rgba(255, 255, 255, .7); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-base { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer-base img { height: 30px; width: auto; opacity: .9; }
.footer-base nav { display: flex; gap: 20px; }
.footer-base a { color: rgba(255, 255, 255, .5); text-decoration: none; }
.footer-base a:hover { color: var(--white); }
@media (max-width: 860px) { .footer-news { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; text-align: left; } .socials { justify-content: flex-start; } }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js .bubble { opacity: 1 !important; transform: none !important; }
  .slide-title, .slide-meta, .slide-cap, .slide-cta { opacity: 1; transform: none; }
}
