/* Pro Hockey Camp IMPULSE — дизайн-система. Палитра снята с постера заказчика
   (impulse-wiki/wiki/brand-identity.md). Тёмная «ледовая» тема, мобильный в приоритете. */
:root {
  --ice-900: #020a1b;
  --ice-800: #0b1628;
  --ice-700: #10203a;
  --blue-700: #032d59;
  --blue-600: #103d66;
  --blue-500: #256e9f;
  --cyan-400: #53c4e3;
  --cyan-300: #4dd6e0;
  --frost-100: #cddce6;
  --purple-600: #5b3aa8;
  --steel-500: #7f93ab;
  --white: #f4f9fc;
  --line: rgba(120, 190, 230, .18);
  --glow: 0 0 0 1px rgba(83, 196, 227, .35), 0 10px 40px -10px rgba(83, 196, 227, .45);
  --r: 14px;
  --wrap: 1160px;
  --head: "Russo One", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ice-900); color: var(--frost-100);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-400); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; color: var(--white); line-height: 1.08; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(28px, 5.2vw, 46px); }
h3 { font-size: 19px; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sec { padding: 64px 0; position: relative; }
.sec--alt { background: linear-gradient(180deg, var(--ice-800), var(--ice-900)); }
.kicker { display: inline-block; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-400); margin-bottom: 14px; }
.lead { font-size: 17px; color: var(--frost-100); max-width: 62ch; margin-top: 14px; }
.sec-head { margin-bottom: 34px; }
.accent { color: var(--cyan-400); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px; cursor: pointer;
  font: 800 15px/1 var(--body); letter-spacing: .03em; text-transform: uppercase; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(180deg, #6fe6ee, var(--cyan-400)); color: #03233d; box-shadow: var(--glow); }
.btn--primary:hover { color: #03233d; box-shadow: 0 0 0 1px rgba(83,196,227,.6), 0 14px 46px -8px rgba(83,196,227,.7); }
.btn--ghost { background: rgba(83, 196, 227, .08); color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: rgba(83, 196, 227, .16); }
.btn--tg { background: #229ed9; color: #fff; }
.btn--tg:hover { background: #2aabee; color: #fff; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(2, 10, 27, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 14px; height: 64px; }
.hdr__logo img { height: 44px; width: auto; }
.nav { display: none; gap: 22px; margin-left: 18px; }
.nav a { color: var(--frost-100); font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--cyan-400); }
.hdr__r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr__tel { display: none; color: var(--white); font-weight: 800; font-size: 15px; white-space: nowrap; }
.hdr .btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
.hdr__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(83,196,227,.1); color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.hdr__ico svg { width: 20px; height: 20px; }
.hdr__ico--tg { background: #229ed9; box-shadow: none; }

/* Первый экран */
.hero { position: relative; padding: 36px 0 52px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(83,196,227,.30), transparent 60%),
    radial-gradient(700px 500px at 0% 90%, rgba(91,58,168,.34), transparent 60%),
    linear-gradient(180deg, #041834 0%, var(--ice-900) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(115deg, transparent 0 46%, rgba(205,220,230,.07) 46% 47%, transparent 47%),
                    linear-gradient(65deg, transparent 0 62%, rgba(205,220,230,.05) 62% 62.6%, transparent 62.6%);
}
.hero__grid { display: grid; gap: 30px; align-items: center; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(83,196,227,.12); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 13px; color: var(--white); }
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 10px var(--cyan-300); }
.hero h1 { font-size: clamp(34px, 9vw, 68px); margin: 18px 0 0; }
.hero h1 span { display: block; background: linear-gradient(180deg, #d9f6ff, var(--cyan-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__where { margin-top: 16px; font: 400 clamp(19px, 4.4vw, 28px)/1.2 var(--head); color: var(--white); text-transform: uppercase; }
.hero__sub { margin-top: 14px; font-size: 17px; max-width: 46ch; }
.hero__nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.num { padding: 14px 16px; border-radius: var(--r); background: rgba(11,22,40,.75); box-shadow: inset 0 0 0 1px var(--line); }
.num b { display: block; font: 400 30px/1 var(--head); color: var(--cyan-400); }
.num span { font-size: 13px; color: var(--frost-100); }
.hero__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.hero__note { margin-top: 12px; font-size: 13px; color: var(--steel-500); }
.hero__pic { position: relative; max-width: 440px; margin: 0 auto; }
.hero__pic img { border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px var(--line); transform: rotate(2deg); }
.hero__pic::before { content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 26px; background: radial-gradient(closest-side, rgba(83,196,227,.45), transparent); filter: blur(18px); }

/* Полоса доверия */
.trust { border-block: 1px solid var(--line); background: var(--ice-800); }
.trust__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; padding: 22px 16px; }
.trust__i b { display: block; font: 400 26px/1.1 var(--head); color: var(--white); }
.trust__i span { font-size: 13px; color: var(--steel-500); }

/* Карточки */
.grid { display: grid; gap: 14px; }
.card { padding: 22px; border-radius: var(--r); background: linear-gradient(180deg, rgba(16,32,58,.9), rgba(11,22,40,.9)); box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; color: var(--frost-100); }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(83,196,227,.14); color: var(--cyan-400); }
.ico svg { width: 24px; height: 24px; }

/* Программа */
.prog { display: grid; gap: 22px; }
.tl { list-style: none; margin: 0; padding: 0; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--ice-800); }
.tl li { display: flex; gap: 14px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tl li:last-child { border: 0; }
.tl time { flex: none; width: 104px; font-weight: 800; color: var(--steel-500); font-variant-numeric: tabular-nums; }
.tl .ice { background: rgba(83,196,227,.12); color: var(--white); font-weight: 800; }
.tl .ice time { color: var(--cyan-400); }
.tl .train { color: var(--white); font-weight: 700; }
.photo { border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Тренеры */
.coaches { display: grid; gap: 14px; }
.coach { position: relative; display: grid; grid-template-columns: 124px 1fr; gap: 14px; padding: 16px 16px 0; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, var(--blue-700), var(--ice-800) 70%); box-shadow: inset 0 0 0 1px var(--line); }
.coach__img { align-self: end; }
.coach__img img { width: 100%; height: 176px; object-fit: contain; object-position: bottom; }
.coach__b { padding-bottom: 16px; }
.badge { display: inline-block; padding: 5px 10px; border-radius: 6px; background: var(--cyan-400); color: #03233d; font: 800 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.coach h3 { margin: 10px 0 2px; font-size: 17px; }
.coach__role { font-size: 13px; color: var(--cyan-400); font-weight: 700; }
.coach ul { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.45; }
.coach li { padding-left: 14px; position: relative; margin-bottom: 4px; }
.coach li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-400); }
.coach__exp { margin-top: 10px; font-size: 13px; color: var(--steel-500); }
.coach__exp b { color: var(--white); }

/* Инфраструктура */
.infra { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.infra figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 0 0 1px var(--line); }
.infra img { width: 100%; height: 100%; object-fit: cover; }
.infra figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; background: linear-gradient(180deg, transparent, rgba(2,10,27,.92)); font-weight: 800; font-size: 13px; color: var(--white); }

/* Цены */
.prices { display: grid; gap: 14px; }
.price { padding: 24px 22px; border-radius: var(--r); background: var(--ice-800); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.price--accent { background: linear-gradient(170deg, var(--blue-600), var(--ice-800) 75%); box-shadow: var(--glow); }
.price__n { font: 400 20px/1.15 var(--head); text-transform: uppercase; color: var(--white); }
.price__note { font-size: 13px; color: var(--steel-500); }
.price__v { font: 400 40px/1 var(--head); color: var(--cyan-400); margin: 16px 0; }
.price ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 15px; flex: 1; }
.price li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--line); }
.price li::before { content: "✓"; position: absolute; left: 2px; color: var(--cyan-400); font-weight: 800; }
.terms { margin-top: 16px; display: grid; gap: 10px; }
.term { padding: 16px 18px; border-radius: var(--r); background: rgba(83,196,227,.07); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.term b { color: var(--white); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-weight: 800; color: var(--white); font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 26px/1 var(--head); color: var(--cyan-400); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 18px; margin: 0; max-width: 70ch; }

/* Заявка */
.cta { background: radial-gradient(800px 400px at 50% 0%, rgba(83,196,227,.22), transparent 70%), var(--ice-800); }
.cta__grid { display: grid; gap: 26px; }
.form { padding: 22px; border-radius: 18px; background: var(--ice-900); box-shadow: var(--glow); }
.form > h3 { font-size: 22px; margin-bottom: 8px; }
.form > .sub { font-size: 15px; margin-bottom: 18px; color: var(--frost-100); }
.form label { display: block; font-size: 13px; font-weight: 700; color: var(--frost-100); margin: 0 0 6px; }
.form .f { margin-bottom: 14px; }
.form input[type=text], .form input[type=tel], .form select {
  width: 100%; height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--ice-800); color: var(--white); font: 600 16px var(--body); appearance: none;
}
.form input:focus, .form select:focus { outline: 2px solid var(--cyan-400); outline-offset: 1px; border-color: transparent; }
.form ::placeholder { color: var(--steel-500); }
.form .trap { position: absolute; left: -9999px; opacity: 0; height: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--steel-500); margin: 4px 0 16px; line-height: 1.45; }
.agree input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--cyan-400); }
.form__or { text-align: center; font-size: 13px; color: var(--steel-500); margin: 14px 0 10px; }
.form__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__alt .btn { min-height: 48px; padding: 0 10px; font-size: 13px; }
.form__msg { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14px; background: rgba(255,170,80,.12); color: #ffd9a8; box-shadow: inset 0 0 0 1px rgba(255,170,80,.3); }
.ok { text-align: center; padding: 10px 0; }
.ok__i { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan-400); color: #03233d; font: 400 34px/1 var(--head); }
.ok h3 { font-size: 24px; margin-bottom: 8px; }
.ok p { color: var(--frost-100); }

/* Модалка */
.ov { position: fixed; inset: 0; z-index: 100; background: rgba(2,10,27,.82); backdrop-filter: blur(6px); display: grid; place-items: end center; padding: 0; }
.ov[hidden] { display: none; }
.ov__m { width: 100%; max-width: 460px; max-height: 94vh; overflow: auto; border-radius: 20px 20px 0 0; position: relative; }
.ov__m .form { border-radius: 20px 20px 0 0; padding-top: 30px; }
.ov__x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(205,220,230,.12); color: var(--white); font-size: 22px; cursor: pointer; }
.ov h3 { font-size: 22px; margin-bottom: 6px; }
.ov .sub { font-size: 14px; margin-bottom: 18px; color: var(--frost-100); }

/* Мобильная панель */
.bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(2,10,27,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.bar .btn { min-height: 48px; font-size: 13px; padding: 0 12px; }
.bar .btn--primary { flex: 1; }
.bar .sq { width: 48px; padding: 0; flex: none; }
body { padding-bottom: 72px; }

/* Подвал */
.ftr { padding: 40px 0 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--steel-500); }
.ftr__grid { display: grid; gap: 24px; }
.ftr img { height: 64px; width: auto; margin-bottom: 12px; }
.ftr h4 { margin: 0 0 10px; font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.ftr a { display: block; padding: 4px 0; color: var(--frost-100); }
.ftr a:hover { color: var(--cyan-400); }
.ftr__tel { font: 400 22px/1.2 var(--head); color: var(--white) !important; }
.ftr__b { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr__b a { display: inline; padding: 0; color: var(--steel-500); text-decoration: underline; }

/* Текстовые страницы */
.doc { max-width: 760px; padding: 40px 16px 60px; }
.doc h1 { font-size: clamp(26px, 6vw, 38px); margin-bottom: 20px; }
.doc h2 { font-size: 20px; margin: 30px 0 10px; }
.doc ul { padding-left: 20px; }

/* Планшет и шире */
@media (min-width: 720px) {
  .sec { padding: 88px 0; }
  .wrap { padding: 0 28px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .hero__nums { grid-template-columns: repeat(4, 1fr); }
  .trust__in { grid-template-columns: repeat(4, 1fr); padding: 26px 28px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .coaches { grid-template-columns: repeat(2, 1fr); }
  .infra { grid-template-columns: repeat(3, 1fr); }
  .prices { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .terms { grid-template-columns: repeat(3, 1fr); }
  .prog { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .cta__grid { grid-template-columns: 1fr 440px; align-items: center; }
  .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .ov { place-items: center; padding: 20px; }
  .ov__m, .ov__m .form { border-radius: 20px; }
  .hdr__tel { display: block; }
}
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .bar { display: none; }
  .nav { display: flex; }
  .hero { padding: 64px 0 84px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .coaches { grid-template-columns: repeat(3, 1fr); }
  .coach { grid-template-columns: 1fr; padding: 20px 20px 0; }
  .coach__img { order: 2; margin-top: 6px; }
  .coach__img img { height: 230px; object-position: bottom center; }
  .coach__b { padding-bottom: 0; }
  .hdr__ico { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
