:root {
  --navy: #0b1a3c;
  --navy-2: #13264f;
  --ink: #1d2433;
  --muted: #5b6577;
  --sky: #86bde3;
  --sky-soft: #e8f2fa;
  --orange: #e8732a;
  --orange-dark: #cf5f18;
  --sand: #f6f4ef;
  --line: #dde3ec;
  --dark: #212428;
  --radius: 14px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Lato", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 110px) 0; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 .6em; }
.intro { max-width: 760px; color: var(--muted); font-size: 1.08rem; margin: 0 0 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--head); font-weight: 700; font-size: .95rem; padding: 14px 26px; border-radius: 8px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--navy); padding: 10px 14px; border-radius: 8px; }
.nav a:hover, .nav a.active { color: var(--orange); }
.nav a.nav-cta { background: var(--navy); color: #fff; }
.nav a.nav-cta:hover { background: var(--orange); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: #fff; background: url(../img/hero.jpg) center 40% / cover no-repeat; padding: 120px 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,26,60,.92) 0%, rgba(11,26,60,.75) 45%, rgba(11,26,60,.15) 100%); }
.hero-inner { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; max-width: 720px; }
.hero .lead { max-width: 600px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); opacity: .95; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* audience */
.audience { background: var(--sand); }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.aud-card { background: #fff; border-radius: var(--radius); padding: 24px 26px; border: 1px solid var(--line); }
.aud-card.wide { grid-column: span 3; }
.aud-card h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.aud-card .big { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--navy); margin: 0; line-height: 1.3; }
.aud-card .big small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.split { display: flex; height: 44px; border-radius: 8px; overflow: hidden; font-family: var(--head); font-weight: 700; font-size: .85rem; }
.split span { width: var(--w); display: flex; align-items: center; padding: 0 12px; white-space: nowrap; overflow: hidden; }
.split span:first-child { background: var(--navy); color: #fff; }
.split span:last-child { background: var(--sky); color: var(--navy); }

/* dark sections */
.dark { background: var(--navy); color: #dfe7f3; }
.dark h2, .dark h3 { color: #fff; }

/* network */
.net-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; margin-top: 36px; }
.stats div { border-top: 2px solid rgba(134,189,227,.35); padding-top: 14px; }
.count { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); color: #fff; line-height: 1; }
.stats small { display: block; margin-top: 6px; color: #b9c7dc; font-size: .95rem; line-height: 1.35; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.spot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; padding: 0; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--orange); opacity: 0; transform: scale(.6); transition: .2s; }
.spot:hover::after, .spot:focus-visible::after, .spot.on::after { opacity: 1; transform: scale(1.15); }
.map-tip { position: absolute; transform: translate(-50%, calc(-100% - 22px)); background: #fff; color: var(--navy); font-family: var(--head); font-weight: 700; font-size: .85rem; padding: 8px 12px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.25); white-space: nowrap; pointer-events: none; }
.map-tip em { display: block; font-style: normal; font-weight: 600; font-size: .72rem; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; }

/* formats */
.race-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.race { background: var(--sky-soft); border-radius: var(--radius); padding: 28px; }
.race img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 14px; }
.race h3 { font-size: 1.25rem; }
.race p { margin: 0; color: #3c475a; font-size: .98rem; }

.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tab { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .95rem; padding: 8px 20px 8px 8px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.tab img { width: 36px; height: 36px; border-radius: 50%; mix-blend-mode: multiply; }
.tab.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.tab.active img { mix-blend-mode: normal; background: #fff; }

.carousel-wrap { position: relative; margin-bottom: 64px; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel::-webkit-scrollbar { display: none; }
.fcard { scroll-snap-align: start; background: var(--dark); color: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.fcard .ph { aspect-ratio: 4 / 3; background: var(--sky-soft) center / cover no-repeat; display: grid; place-items: center; }
.fcard .ph img { width: 42%; mix-blend-mode: multiply; }
.fcard .body { padding: 18px 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.fcard .ico { flex: none; width: 46px; height: 46px; border-radius: 10px; background: #fff; padding: 5px; object-fit: contain; }
.fcard h4 { color: #fff; font-size: 1.1rem; margin: 2px 0 8px; text-transform: uppercase; letter-spacing: .02em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-family: var(--head); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: #3a3f46; color: #d7dbe0; }
.tags span.cat { background: var(--orange); color: #fff; }
.car-btn { position: absolute; top: 34%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.car-btn.prev { left: -18px; }
.car-btn.next { right: -18px; }
.car-btn[disabled] { opacity: 0; pointer-events: none; }

.sub { font-size: 1.5rem; margin: 64px 0 22px; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pack { background: var(--navy); color: #dfe7f3; border-radius: var(--radius); padding: 28px; border: 3px solid var(--sky); display: flex; flex-direction: column; }
.pack h4 { color: #fff; font-size: 1.4rem; }
.pack ul { margin: 0 0 24px; padding-left: 1.1em; }
.pack li { margin-bottom: 8px; }
.pack .price { margin: auto 0 0; font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: #fff; }

/* pricing */
.pricing { background: #fff; }
.calc { display: grid; gap: 22px; }
.cgroup { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.cgroup h3 { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; margin: 0; padding: 16px 22px; background: var(--navy); color: #fff; }
.cgroup h3 img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.cgroup h3 .unit { margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--sky); letter-spacing: .04em; }
.crow { display: grid; grid-template-columns: minmax(180px, 1.3fr) repeat(3, 1fr) 130px; gap: 14px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); }
.crow.head { border-top: 0; padding-top: 12px; padding-bottom: 4px; font-family: var(--head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crow .name { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; color: var(--navy); }
.crow .name img { width: 38px; height: 38px; object-fit: contain; mix-blend-mode: multiply; }
.field label { display: none; }
.field input { width: 100%; font: inherit; font-size: 1rem; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; color: var(--ink); }
.field input:focus { outline: 2px solid var(--sky); border-color: var(--sky); background: #fff; }
.field .hint { display: block; font-size: .72rem; color: var(--muted); margin-top: 3px; }
.crow .sum { text-align: right; font-family: var(--head); font-weight: 700; color: var(--navy); }
.calc-total { position: sticky; bottom: 16px; margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--navy); color: #fff; padding: 18px 26px; border-radius: var(--radius); box-shadow: 0 14px 40px rgba(11,26,60,.35); }
.calc-total small { display: block; text-transform: uppercase; letter-spacing: .12em; font-family: var(--head); font-weight: 700; font-size: .72rem; color: var(--sky); }
.calc-total strong { font-family: var(--head); font-size: clamp(1.5rem, 3vw, 2rem); }
.calc-total .vat { margin-left: 10px; font-size: .8rem; color: #b9c7dc; }

/* contact */
.contact { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; }
.form label { display: block; font-size: .95rem; margin-bottom: 18px; color: #fff; }
.req { color: #ff6b5b; }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; padding: 12px 14px; border-radius: 6px; border: 1px solid #c9d3df; background: #f3f7fb; color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--orange); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-error { color: #ffb4a8; margin: 0 0 14px; }
.contact-info { color: #d6dbe2; }
.contact-info h3 { font-size: 1.2rem; }
.contact-info p { margin: 0 0 12px; font-size: 1.05rem; }
.contact-info a { color: #fff; text-decoration: none; }
.contact-info a:hover { color: var(--orange); }
.contact-info .follow { margin-top: 36px; }
.social { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; margin-top: 6px; }
.social img { width: 32px; height: 32px; border-radius: 6px; }

/* footer */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer img { height: 22px; width: auto; }
.footer p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 980px) {
  .net-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .map { max-width: 560px; }
  .race-grid, .packs { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: calc((100% - 20px) / 2); }
  .crow { grid-template-columns: 1fr 1fr 1fr; }
  .crow .name { grid-column: 1 / -1; }
  .crow .sum { grid-column: 1 / -1; }
  .crow.head { display: none; }
  .field label { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px; }
  .brand img { height: 22px; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .aud-card.wide { grid-column: span 2; }
  .carousel { grid-auto-columns: 84%; }
  .car-btn { display: none; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .calc-total { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 480px) {
  .aud-grid { grid-template-columns: 1fr; }
  .aud-card.wide { grid-column: auto; }
  .crow { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
