:root {
  --bg: #15171a;
  --panel: #1d2024;
  --panel-2: #24282d;
  --text: #eef0f2;
  --muted: #9aa1a9;
  --yellow: #f5c518;
  --line: rgba(238, 240, 242, .1);
  --display: 'Russo One', Impact, sans-serif;
  --sans: 'Golos Text', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: .005em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: 6px; font: 700 15px var(--sans); text-transform: uppercase; letter-spacing: .06em; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: #15171a; }
.btn-yellow:hover { background: #ffd84a; }
.btn-ghost { border-color: rgba(238, 240, 242, .4); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.topline { background: #0e1012; font-size: 13px; color: var(--muted); }
.topline .wrap { display: flex; justify-content: space-between; padding: 8px 0; }
.topline a { color: var(--text); font-weight: 600; }
.live { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.live.off { background: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .2); }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(21, 23, 26, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font: 22px var(--display); text-transform: uppercase; }
.gear { width: 30px; height: 30px; border-radius: 50%; border: 6px dashed var(--yellow); position: relative; animation: turn 8s linear infinite; }
.gear::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--yellow); }
@keyframes turn { to { transform: rotate(360deg); } }
.nav nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; color: var(--muted); }
.nav nav a:hover { color: var(--yellow); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 13px; }

/* hero */
.hero { position: relative; min-height: calc(100svh - 106px); display: grid; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: zoom 1.8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes zoom { from { transform: scale(1.12); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21, 23, 26, .97) 0%, rgba(21, 23, 26, .85) 45%, rgba(21, 23, 26, .25) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 80px 0 110px; }
.badge { display: inline-block; padding: 6px 12px; margin-bottom: 24px; background: var(--yellow); color: #15171a; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; border-radius: 4px; }
.hero h1 { max-width: 760px; font-size: clamp(44px, 6.4vw, 92px); text-transform: uppercase; }
.hero h1 span { color: var(--yellow); }
.lead { max-width: 520px; margin-top: 24px; font-size: 18px; color: #c6cbd1; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats { display: flex; gap: 48px; margin: 56px 0 0; padding: 0; list-style: none; }
.hero-stats strong { display: block; font: 34px var(--display); color: var(--yellow); }
.hero-stats span { font-size: 14px; color: var(--muted); }
.hazard { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 14px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, #15171a 18px 36px); }

/* services */
.services { padding: 110px 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.head h2, .prices h2, .why h2, .book h2, .contacts h2 { font-size: clamp(34px, 4.4vw, 58px); text-transform: uppercase; }
.head p { max-width: 400px; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); border-radius: 10px; overflow: hidden; }
.svc { position: relative; padding: 32px 30px 36px; background: var(--bg); transition: background .25s; }
.svc::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--yellow); transition: width .35s; }
.svc:hover { background: var(--panel); }
.svc:hover::after { width: 100%; }
.num { font: 15px var(--display); color: var(--yellow); }
.svc h3 { margin: 18px 0 10px; font-size: 26px; text-transform: uppercase; }
.svc p { color: var(--muted); font-size: 15px; }

/* prices */
.prices { background: var(--panel); padding: 110px 0; }
.prices-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.prices-text > p { margin: 18px 0 28px; color: var(--muted); max-width: 440px; }
.classes { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 8px; border: 1px solid var(--line); }
.classes button { padding: 10px 18px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: 600 15px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.classes button[aria-selected='true'] { background: var(--yellow); color: #15171a; }
.prices-photo { margin-top: 32px; border-radius: 10px; overflow: hidden; height: 280px; }
.prices-photo img { width: 100%; height: 100%; object-fit: cover; }
.price-list { list-style: none; margin: 0; padding: 8px 28px; background: var(--bg); border-radius: 10px; border: 1px solid var(--line); }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list b { font-family: var(--display); font-weight: 400; color: var(--yellow); white-space: nowrap; font-variant-numeric: tabular-nums; }
.flash { animation: flash .45s ease; }
@keyframes flash { from { opacity: 0; transform: translateY(-6px); } }

/* why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 110px 0; }
.why-media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.why-media picture { border-radius: 10px; overflow: hidden; height: 420px; }
.why-media picture:last-child { height: 300px; align-self: end; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 40px; color: var(--muted); }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--yellow); color: #15171a; font-weight: 800; font-size: 14px; }
.checks b { color: var(--text); }

/* booking */
.book { background: var(--yellow); color: #15171a; padding: 100px 0; }
.book-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.book-inner > div > p { margin-top: 16px; max-width: 420px; font-size: 17px; }
.book-photo { margin-top: 32px; border-radius: 10px; overflow: hidden; height: 240px; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.form { display: grid; gap: 16px; padding: 36px; background: var(--bg); color: var(--text); border-radius: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.form input, .form select { height: 52px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 16px var(--sans); }
.form input:focus, .form select:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.note { min-height: 22px; font-size: 14px; color: var(--yellow); }

/* contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding: 110px 0; }
.contacts dl { margin: 28px 0 0; }
.contacts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contacts dt { color: var(--muted); }
.contacts dd { margin: 0; font-weight: 600; text-align: right; }
.map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.map svg { display: block; width: 100%; height: auto; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .logo { color: var(--text); font-size: 18px; }
.footer .gear { width: 24px; height: 24px; border-width: 5px; }
.footer a { color: var(--yellow); font-weight: 600; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.svc-grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.svc-grid .reveal:nth-child(3n) { transition-delay: .16s; }

@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .prices-inner, .why, .book-inner, .contacts { grid-template-columns: 1fr; gap: 40px; }
  .why-media picture { height: 280px; }
  .why-media picture:last-child { height: 220px; }
  .form { padding: 24px 18px; }
  .footer { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .topline .wrap span { font-size: 12px; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .classes button { padding: 10px 12px; font-size: 14px; }
  .price-list { padding: 4px 16px; }
  .price-list li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
