/* Достигатор 2026 — сайт форума. Цвета, шрифт Stolzl, знак и узор — из фирменного стиля. */

/* Фирменный шрифт Stolzl. Знак рубля дорисован в файлы из буквы «Р» того же начертания. */
@font-face { font-family: "Stolzl"; src: url("../fonts/stolzl-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Stolzl"; src: url("../fonts/stolzl-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Stolzl"; src: url("../fonts/stolzl-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Stolzl"; src: url("../fonts/stolzl-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* бренд */
  --forest: #00261A;
  --forest-2: #05331F;
  --forest-3: #0B4430;
  --forest-deep: #001A11;
  --mint: #75FDA8;
  --mint-hover: #9BFFC1;
  --paper: #F3F5F2;
  --sage: #E2ECE6;
  --white: #FFFFFF;
  --ink: #00261A;
  --ink-2: #3A564A;
  --on-dark: #FFFFFF;
  --on-dark-2: #B5D2C3;
  --on-dark-3: #8FB3A1;
  --line-light: rgba(0, 38, 26, .12);
  --line-dark: rgba(117, 253, 168, .16);

  /* тарифы */
  --biz-bg: #DCF7E6;
  --biz-line: #A6ECC1;
  --rose-bg: #FCE8ED;
  --rose-line: #F1C4D0;
  --rose-ink: #3E0819;
  --burg: #5A0E25;
  --burg-deep: #3E0819;
  --burg-accent: #F7C6D2;

  /* шрифты */
  --display: "Stolzl", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Stolzl", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ритм */
  --gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-section: clamp(4rem, 2.6rem + 6vw, 8rem);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;

  /* глубина: base → elevated → floating */
  --sh-1: 0 1px 2px rgba(0, 38, 26, .06), 0 6px 16px -8px rgba(0, 38, 26, .12);
  --sh-2: 0 2px 4px rgba(0, 38, 26, .05), 0 16px 34px -12px rgba(0, 38, 26, .2), 0 44px 70px -34px rgba(0, 38, 26, .24);
  --sh-3: 0 2px 6px rgba(0, 20, 12, .2), 0 26px 50px -18px rgba(0, 38, 26, .5), 0 64px 96px -44px rgba(0, 38, 26, .5);
  --sh-rose: 0 2px 4px rgba(94, 16, 39, .05), 0 16px 34px -14px rgba(94, 16, 39, .2);
  --sh-burg: 0 2px 6px rgba(62, 8, 25, .2), 0 26px 50px -18px rgba(62, 8, 25, .5), 0 64px 96px -44px rgba(62, 8, 25, .45);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* фирменный узор из «pattern 1.pdf»: шевроны знака в косой сетке, без швов на любой высоте */
  --pattern-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='m' d='M0 0L0 -40.01L-74.4 -84.75L0 -129.48L0 -169.49L-107.65 -104.75L-140.92 -84.75L-107.65 -64.74ZM23.18 0L23.18 -40.01L97.57 -84.75L23.18 -129.48L23.17 -169.49L130.83 -104.75L164.1 -84.75L130.83 -64.74Z' fill='none' stroke='%2375FDA8' stroke-opacity='.11' stroke-width='2.86' stroke-linejoin='round'/%3E%3Cpattern id='p' patternUnits='userSpaceOnUse' width='328.2' height='250.91' patternTransform='rotate(-22.83) scale(0.42)'%3E%3Cuse href='%23m' x='-328.2' y='-250.91'/%3E%3Cuse href='%23m' x='-164.1' y='-125.45'/%3E%3Cuse href='%23m' x='-328.2' y='0'/%3E%3Cuse href='%23m' x='-164.1' y='125.45'/%3E%3Cuse href='%23m' x='-328.2' y='250.91'/%3E%3Cuse href='%23m' x='-164.1' y='376.36'/%3E%3Cuse href='%23m' x='-328.2' y='501.82'/%3E%3Cuse href='%23m' x='-164.1' y='627.27'/%3E%3Cuse href='%23m' x='0' y='-250.91'/%3E%3Cuse href='%23m' x='164.1' y='-125.45'/%3E%3Cuse href='%23m' x='0' y='0'/%3E%3Cuse href='%23m' x='164.1' y='125.45'/%3E%3Cuse href='%23m' x='0' y='250.91'/%3E%3Cuse href='%23m' x='164.1' y='376.36'/%3E%3Cuse href='%23m' x='0' y='501.82'/%3E%3Cuse href='%23m' x='164.1' y='627.27'/%3E%3Cuse href='%23m' x='328.2' y='-250.91'/%3E%3Cuse href='%23m' x='492.29' y='-125.45'/%3E%3Cuse href='%23m' x='328.2' y='0'/%3E%3Cuse href='%23m' x='492.29' y='125.45'/%3E%3Cuse href='%23m' x='328.2' y='250.91'/%3E%3Cuse href='%23m' x='492.29' y='376.36'/%3E%3Cuse href='%23m' x='328.2' y='501.82'/%3E%3Cuse href='%23m' x='492.29' y='627.27'/%3E%3Cuse href='%23m' x='656.39' y='-250.91'/%3E%3Cuse href='%23m' x='820.49' y='-125.45'/%3E%3Cuse href='%23m' x='656.39' y='0'/%3E%3Cuse href='%23m' x='820.49' y='125.45'/%3E%3Cuse href='%23m' x='656.39' y='250.91'/%3E%3Cuse href='%23m' x='820.49' y='376.36'/%3E%3Cuse href='%23m' x='656.39' y='501.82'/%3E%3Cuse href='%23m' x='820.49' y='627.27'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%' height='100%' fill='url(%23p)'/%3E%3C/svg%3E");
  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='m' d='M0 0L0 -40.01L-74.4 -84.75L0 -129.48L0 -169.49L-107.65 -104.75L-140.92 -84.75L-107.65 -64.74ZM23.18 0L23.18 -40.01L97.57 -84.75L23.18 -129.48L23.17 -169.49L130.83 -104.75L164.1 -84.75L130.83 -64.74Z' fill='none' stroke='%2300261A' stroke-opacity='.05' stroke-width='2.62' stroke-linejoin='round'/%3E%3Cpattern id='p' patternUnits='userSpaceOnUse' width='328.2' height='250.91' patternTransform='rotate(-22.83) scale(0.42)'%3E%3Cuse href='%23m' x='-328.2' y='-250.91'/%3E%3Cuse href='%23m' x='-164.1' y='-125.45'/%3E%3Cuse href='%23m' x='-328.2' y='0'/%3E%3Cuse href='%23m' x='-164.1' y='125.45'/%3E%3Cuse href='%23m' x='-328.2' y='250.91'/%3E%3Cuse href='%23m' x='-164.1' y='376.36'/%3E%3Cuse href='%23m' x='-328.2' y='501.82'/%3E%3Cuse href='%23m' x='-164.1' y='627.27'/%3E%3Cuse href='%23m' x='0' y='-250.91'/%3E%3Cuse href='%23m' x='164.1' y='-125.45'/%3E%3Cuse href='%23m' x='0' y='0'/%3E%3Cuse href='%23m' x='164.1' y='125.45'/%3E%3Cuse href='%23m' x='0' y='250.91'/%3E%3Cuse href='%23m' x='164.1' y='376.36'/%3E%3Cuse href='%23m' x='0' y='501.82'/%3E%3Cuse href='%23m' x='164.1' y='627.27'/%3E%3Cuse href='%23m' x='328.2' y='-250.91'/%3E%3Cuse href='%23m' x='492.29' y='-125.45'/%3E%3Cuse href='%23m' x='328.2' y='0'/%3E%3Cuse href='%23m' x='492.29' y='125.45'/%3E%3Cuse href='%23m' x='328.2' y='250.91'/%3E%3Cuse href='%23m' x='492.29' y='376.36'/%3E%3Cuse href='%23m' x='328.2' y='501.82'/%3E%3Cuse href='%23m' x='492.29' y='627.27'/%3E%3Cuse href='%23m' x='656.39' y='-250.91'/%3E%3Cuse href='%23m' x='820.49' y='-125.45'/%3E%3Cuse href='%23m' x='656.39' y='0'/%3E%3Cuse href='%23m' x='820.49' y='125.45'/%3E%3Cuse href='%23m' x='656.39' y='250.91'/%3E%3Cuse href='%23m' x='820.49' y='376.36'/%3E%3Cuse href='%23m' x='656.39' y='501.82'/%3E%3Cuse href='%23m' x='820.49' y='627.27'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%' height='100%' fill='url(%23p)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
html.is-locked, html.is-locked body { overflow: hidden; }
body {
  font-family: var(--text);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
b, strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--focus, var(--forest)); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .8rem 1.2rem; border-radius: var(--r-s); background: var(--mint); color: var(--forest); font-weight: 700; text-decoration: none; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: 0 1.4rem;
  border: 1.5px solid transparent; border-radius: 12px;
  font-family: var(--text); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .4s var(--spring), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn--mint { background: var(--mint); color: var(--forest); box-shadow: 0 10px 26px -12px rgba(117, 253, 168, .6); }
.btn--mint:hover { background: var(--mint-hover); box-shadow: 0 14px 30px -12px rgba(117, 253, 168, .75); }
.btn--lg { min-height: 58px; padding: 0 2rem; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: .9375rem; border-radius: 10px; }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 32, 21, .95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(117, 253, 168, .12);
  color: var(--on-dark);
  --focus: var(--mint);
}
.top__row { display: flex; align-items: center; gap: var(--sp-5); min-height: 74px; }
/* Логотип: знак и надпись из logo.pdf, пропорции цветной версии — как в брендбуке */
.logo { display: inline-flex; align-items: center; margin-right: auto; padding: 4px 0; border-radius: 6px; text-decoration: none; transition: opacity .2s ease, transform .4s var(--spring); }
.logo__svg { display: block; height: 54px; width: auto; }
.logo__mark, .logo__tag { fill: var(--mint); }
.logo__chev { fill: var(--forest); }
.logo__word { fill: var(--white); }
.logo:hover { opacity: .88; }
.logo:active { transform: scale(.97); }
@media (max-width: 420px) { .logo__svg { height: 42px; } }
.nav { display: none; gap: var(--sp-5); }
.nav a { position: relative; font-size: .95rem; color: #CFE3D8; text-decoration: none; padding: .35rem 0; border-radius: 4px; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.nav a:active { color: var(--mint); }
@media (min-width: 760px) { .nav { display: flex; } }

/* ---------- первый экран ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(60% 55% at 92% 8%, rgba(117, 253, 168, .16), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(117, 253, 168, .08), transparent 70%),
    var(--pattern-dark),
    linear-gradient(180deg, #00301F, var(--forest) 60%);
  padding: clamp(1.25rem, .4rem + 3.5vw, 4.5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
  --focus: var(--mint);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; pointer-events: none; }

@media (max-width: 899px) { .hero { padding-top: var(--sp-4); } }
.hero__grid { display: grid; gap: clamp(1.25rem, .8rem + 2vw, 2.5rem); }

/*
 * Спикеры первого экрана стоят одной группой, как на сцене: вырезаны из своих
 * фото, приведены к одному масштабу и свету, низ растворяется в фоне.
 * Фото шире своей колонки (--spread) — плечи заходят за соседей.
 */
.lineup {
  --spread: 2.2;
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: .5rem; /* имена крайних спикеров не прилипают к краю экрана */
}
/* свет сцены за спинами */
.lineup::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -12%; right: -12%; top: 4%; bottom: 24%;
  background:
    radial-gradient(48% 62% at 50% 58%, rgba(117, 253, 168, .26), transparent 72%),
    radial-gradient(30% 40% at 50% 70%, rgba(117, 253, 168, .14), transparent 70%);
}
/* слои задают сами фото, а не колонки: так имена и логотипы всех спикеров лежат поверх любых плеч */
.lineup__item { position: relative; display: grid; }
/* тонкая черта между именами, как на плакате */
.lineup__item + .lineup__item::after {
  content: ""; position: absolute; left: 0; bottom: .25rem; z-index: 3;
  width: 1px; height: 3.6em;
  background: linear-gradient(180deg, transparent, rgba(117, 253, 168, .4) 30%, rgba(117, 253, 168, .4) 70%, transparent);
}
.lineup__link {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  color: inherit; text-decoration: none; border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
}
.lineup__photo {
  position: relative; z-index: 1;
  width: calc(100% * var(--spread)); max-width: none; height: auto;
  margin-inline: calc(50% * (1 - var(--spread)));
  transition: transform .55s var(--spring);
}
.lineup__name {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; margin-top: calc(-13% * var(--spread));
  font-family: var(--display); font-weight: 700;
  font-size: clamp(.72rem, .52rem + .95vw, 1.2rem); line-height: 1.12; letter-spacing: -.015em;
  text-align: center;
  transition: color .2s ease;
}
.lineup__name > span { white-space: nowrap; }
.lineup__logo {
  position: relative; z-index: 3;
  width: auto; height: clamp(20px, .9rem + 1.1vw, 34px); max-width: 88%; object-fit: contain;
  margin-top: clamp(.45rem, .3rem + .5vw, .8rem);
  opacity: .9; transition: opacity .2s ease;
}
.lineup__item:nth-child(2) .lineup__photo, .lineup__item:nth-child(3) .lineup__photo { z-index: 2; }
.lineup__link:hover .lineup__photo { transform: translateY(-6px); }
.lineup__link:hover .lineup__name { color: var(--mint); }
.lineup__link:hover .lineup__logo { opacity: 1; }
.lineup__link:active .lineup__photo { transform: translateY(-2px) scale(.985); transition-duration: .12s; }
.lineup__link:focus-visible { outline-offset: 6px; }

.hero__title { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.hero__lead { margin-top: .6rem; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.4; color: var(--on-dark-2); }

.hero__row { display: grid; gap: var(--sp-6); align-items: end; }
.hero__facts { display: grid; gap: var(--sp-5) var(--sp-7); grid-template-columns: repeat(auto-fit, minmax(230px, max-content)); }
.hero__facts dt { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--on-dark-3); }
.hero__facts dt .ico { color: var(--mint); width: 1.1em; height: 1.1em; }
.hero__facts dd { margin-top: .35rem; display: grid; gap: .15rem; }
.hero__facts dd b { font-size: 1.125rem; font-weight: 500; }
.hero__facts dd span, .hero__facts dd a { font-size: .95rem; color: var(--on-dark-2); }
.hero__facts dd a { text-decoration: underline; text-decoration-color: rgba(181, 210, 195, .4); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.hero__facts dd a:hover { color: var(--white); text-decoration-color: var(--mint); }
.hero__facts dd a:active { color: var(--mint); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-5); }
.hero__price { font-size: .95rem; line-height: 1.45; color: var(--on-dark-2); }
.hero__price b { font-family: var(--display); font-weight: 700; color: var(--white); white-space: nowrap; }

@media (min-width: 600px) {
  .lineup { --spread: 1.7; width: min(100%, 720px); margin-inline: 0; padding-inline: 0; justify-self: center; }
}
/* широкий экран: группа спикеров на всю ширину, под ней — название, дата и место, кнопка */
@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
    grid-template-areas: "lineup lineup lineup" "intro facts cta";
    align-items: end; column-gap: clamp(2rem, 1rem + 2.5vw, 4rem);
  }
  .lineup { --spread: 1.62; grid-area: lineup; width: min(100%, 960px); }
  .hero__intro { grid-area: intro; }
  .hero__row { display: contents; }
  .hero__facts { grid-area: facts; grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero__cta { grid-area: cta; flex-direction: column; align-items: flex-start; }
}

/* появление первого экрана — единственная анимация без участия посетителя:
   сначала центр группы, потом края, потом текст */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
/* backwards, а не both: после появления колонка не держит свой слой и не прячет имена соседей */
.lineup__item, .hero__intro, .hero__facts, .hero__cta { animation: rise .9s var(--ease) backwards; }
.lineup__item:nth-child(1), .lineup__item:nth-child(4) { animation-delay: .1s; }
.hero__intro { animation-delay: .2s; }
.hero__facts, .hero__cta { animation-delay: .28s; }

/* ---------- секции ---------- */
.section { padding-block: var(--sp-section); }
.section--paper { background: var(--pattern-light), var(--paper); --focus: var(--forest); }
.section--forest { background: var(--pattern-dark), var(--forest); color: var(--on-dark); --focus: var(--mint); }
.section--joined { padding-top: 0; }
.section--joined > .wrap > .sec-head { padding-top: var(--sp-section); border-top: 1px solid var(--line-dark); }
.sec-head { max-width: 48rem; margin-bottom: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 1.15rem + 2.5vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.sec-lead { margin-top: var(--sp-4); max-width: 42rem; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.section--forest .sec-lead { color: var(--on-dark-2); }

/* ---------- спикеры: у всех одна большая карточка, фото чередуется слева и справа ---------- */
.spcards { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.spcard {
  display: grid; overflow: hidden;
  border-radius: var(--r-l); background: var(--forest); color: var(--on-dark);
  box-shadow: var(--sh-3); --focus: var(--mint);
}
.spcard__photo { width: 100%; height: 100%; max-height: 460px; object-fit: cover; object-position: 50% 22%; }
.spcard__body { display: flex; flex-direction: column; justify-content: center; gap: var(--sp-4); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); background: var(--pattern-dark); }
.pill { align-self: flex-start; padding: .4rem .8rem; border-radius: 8px; background: var(--mint); color: var(--forest); font-size: .82rem; font-weight: 700; }
.spcard__name { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.5rem); line-height: .98; letter-spacing: -.035em; }
.spcard__role { margin-top: .6rem; font-size: 1.05rem; line-height: 1.4; color: var(--on-dark-2); }
.spcard__text { max-width: 34rem; font-size: 1.1rem; line-height: 1.6; color: #D2E6DB; }
.spcard__accent { max-width: 30rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .9vw, 1.7rem); line-height: 1.25; letter-spacing: -.02em; color: var(--mint); text-wrap: balance; }
/* цифры встают в ряд и на телефоне: подпись переносится, а не сталкивает соседа вниз */
.spcard__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, max-content)); gap: var(--sp-4) clamp(1.5rem, 1rem + 2vw, 3rem); }
.spcard__stats p { display: grid; gap: .1rem; }
.spcard__stats b { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.05; letter-spacing: -.03em; color: var(--white); }
.spcard__stats span { font-size: .85rem; color: var(--on-dark-3); }
.spcard__time { display: flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--on-dark-3); }
@media (min-width: 820px) {
  .spcard { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .spcard--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .spcard--flip .spcard__photo { order: 2; }
  .spcard__photo { max-height: none; min-height: 100%; }
}

/* ---------- программа ---------- */
.program { display: grid; column-gap: clamp(2rem, 1rem + 4vw, 5rem); }
.program__item { display: grid; grid-template-columns: 5.25rem 1fr; gap: var(--sp-4); padding: 1.05rem 0; border-bottom: 1px solid var(--line-dark); }
.program__time { font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.45; color: var(--on-dark-3); }
.program__what b { display: block; font-weight: 400; font-size: 1.05rem; line-height: 1.45; }
.program__what span { display: block; margin-top: .1rem; font-size: .9rem; color: var(--on-dark-3); }
.program__item.is-main .program__time { color: var(--mint); }
.program__item.is-main b { font-weight: 700; }
@media (min-width: 900px) { .program { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(5, auto); } }

/* ---------- призы ---------- */
.perks { display: grid; gap: var(--sp-4); }
.perk { position: relative; overflow: hidden; border-radius: var(--r-l); padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); background: var(--forest-2); border: 1px solid var(--line-dark); box-shadow: 0 20px 40px -24px rgba(0, 10, 6, .6); }
.perk__title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.perk__text { margin-top: .6rem; font-size: .95rem; line-height: 1.6; color: var(--on-dark-2); }
.perk--umrah { background: var(--mint); color: var(--forest); border-color: transparent; box-shadow: 0 26px 60px -30px rgba(117, 253, 168, .55); }
.perk--umrah .perk__text { color: #1E4A36; }
.perk__big { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 3rem + 8vw, 9.5rem); line-height: .85; letter-spacing: -.05em; margin-bottom: var(--sp-4); }
.perk--umrah .perk__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.perk__title--big { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -.03em; color: var(--mint); line-height: 1.1; }
.perk__when { display: flex; align-items: center; gap: .5rem; margin-bottom: var(--sp-3); font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--mint); }
.perk--award { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: center; background: var(--pattern-dark), var(--forest-deep); }
.perk__emblem { width: auto; height: clamp(110px, 80px + 6vw, 170px); opacity: .95; }
@media (min-width: 900px) {
  .perks { grid-template-columns: 1.2fr 1fr; grid-template-areas: "umrah iphone" "umrah dinner" "award award"; }
  .perk--umrah { grid-area: umrah; display: flex; flex-direction: column; justify-content: flex-end; }
  .perk--iphone { grid-area: iphone; }
  .perk--dinner { grid-area: dinner; }
  .perk--award { grid-area: award; }
}

/* ---------- билеты ---------- */
.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  width: min(100%, 560px); padding: 5px; margin-bottom: var(--sp-6);
  background: var(--white); border: 1px solid var(--line-light); border-radius: 18px; box-shadow: var(--sh-1);
}
.tabs__tab {
  display: grid; gap: .1rem; padding: .8rem 1.1rem; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-radius: 13px; color: var(--ink);
  transition: background-color .25s ease, color .25s ease, transform .3s var(--spring);
}
.tabs__label { font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.tabs__meta { font-size: .82rem; line-height: 1.35; color: var(--ink-2); transition: color .25s ease; }
.tabs__tab:hover { background: var(--sage); }
.tabs__tab:active { transform: scale(.98); }
.tabs__tab[aria-selected="true"] { background: var(--forest); color: var(--white); }
.tabs__tab[aria-selected="true"] .tabs__meta { color: var(--mint); }
#tab-women[aria-selected="true"] { background: var(--burg); }
#tab-women[aria-selected="true"] .tabs__meta { color: var(--burg-accent); }

@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tpanel:not([hidden]) { animation: panel-in .5s var(--ease); }
.tpanel:focus-visible { outline-offset: 8px; }

.tiers { display: flex; gap: .5rem; margin-bottom: var(--sp-2); overflow-x: auto; scrollbar-width: none; }
.tiers::-webkit-scrollbar { display: none; }
.tiers__chip {
  flex: none; display: grid; gap: .05rem; padding: .5rem .8rem; text-align: left; cursor: pointer;
  background: var(--white); border: 1px solid var(--line-light); border-radius: 12px;
  transition: background-color .2s ease, border-color .2s ease, transform .3s var(--spring);
}
.tiers__chip b { font-size: .8rem; letter-spacing: .02em; }
.tiers__chip span { font-size: .78rem; color: var(--ink-2); }
.tiers__chip:hover { border-color: var(--ink); }
.tiers__chip:active { transform: scale(.96); }
.tiers__chip[aria-current="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.tiers__chip[aria-current="true"] span { color: var(--mint); }
#panel-women .tiers__chip[aria-current="true"] { background: var(--burg); border-color: var(--burg); }
#panel-women .tiers__chip[aria-current="true"] span { color: var(--burg-accent); }

.tcards { position: relative; display: grid; gap: 1.25rem; align-items: start; }

.tcard {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  border-radius: var(--r-l); border: 1px solid var(--line-light);
  background: var(--white); color: var(--ink); box-shadow: var(--sh-1);
  --accent: #178A4C; --accent-strong: #0B5A33; --chip-bg: #EAF3EE; --muted: #4F6A5E; --line: rgba(0, 38, 26, .1);
  --zone: #9FF57D; --zone-stroke: #4FBF3A; --zone-off: .1;
  --btn-bg: transparent; --btn-ink: var(--ink); --btn-border: var(--ink); --btn-hover-bg: var(--ink); --btn-hover-ink: var(--white);
}
.tcard__badge {
  position: absolute; top: -14px; left: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--forest); color: var(--mint); font-size: .8rem; font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(0, 38, 26, .55);
}
.tcard__top { display: grid; gap: .55rem; padding-bottom: var(--sp-5); }
.tcard__name { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.1; letter-spacing: .005em; }
.tcard__tag { font-size: .95rem; line-height: 1.5; color: var(--muted); }
.tcard__price { display: flex; align-items: baseline; gap: .22em; margin-top: .35rem; font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 1.6rem + 1.8vw, 2.9rem); line-height: 1; letter-spacing: -.035em; }
.tcard__next { justify-self: start; padding: .3rem .6rem; border-radius: 8px; background: var(--chip-bg); color: var(--accent-strong); font-size: .85rem; font-weight: 500; }
.tcard__buy { margin-top: .5rem; width: 100%; background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-border); }
.tcard__buy:hover { background: var(--btn-hover-bg); color: var(--btn-hover-ink); border-color: var(--btn-hover-bg); }
.tcard__buy.is-disabled { cursor: not-allowed; opacity: .6; border-style: dashed; background: transparent; color: var(--muted); border-color: var(--muted); }
.tcard__buy.is-disabled:hover { transform: none; }
.tcard.is-soldout .tcard__price { opacity: .45; }

.tcard__seat { display: grid; grid-template-columns: 150px 1fr; gap: var(--sp-4); align-items: center; padding: var(--sp-4) 0; border-block: 1px solid var(--line); }
.tcard__seat figcaption { font-size: .95rem; font-weight: 500; line-height: 1.35; }
.tcard__seat figcaption span { display: block; margin-bottom: .15rem; font-size: .78rem; font-weight: 400; color: var(--muted); }
.hall { width: 150px; height: auto; color: currentColor; }
.hall__stage { fill: currentColor; fill-opacity: .08; stroke: currentColor; stroke-opacity: .45; stroke-width: 1; }
.hall__stage-text { font: 500 7.5px var(--text); fill: currentColor; fill-opacity: .75; }
.hall__zone { fill: currentColor; fill-opacity: var(--zone-off); }
.hall__zone.is-on { fill: var(--zone); fill-opacity: 1; stroke: var(--zone-stroke); stroke-width: .8; }

.tcard__list { display: grid; gap: .8rem; padding-top: var(--sp-5); }
.tcard__list li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; font-size: .95rem; line-height: 1.45; }
.tcard__list .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.tcard__list li.is-base { margin: -.15rem -.6rem .1rem; padding: .55rem .6rem; border-radius: 10px; background: var(--chip-bg); font-weight: 500; }
.tcard__sub { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.tcard__sub span { padding: .2rem .55rem; border-radius: 999px; background: var(--chip-bg); color: var(--accent-strong); font-size: .8rem; font-weight: 500; }
.tcard__no { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px dashed var(--line); }
.tcard__no-title { margin-bottom: .5rem; font-size: .78rem; color: var(--muted); }
.tcard__no ul { display: grid; gap: .45rem; }
.tcard__no li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.tcard__no .ico { width: 18px; height: 18px; margin: 1px 0 0 1px; opacity: .7; }

/* рост премиальности: белый → светло-зелёный → тёмно-зелёный */
.tcard--business {
  background: var(--biz-bg); border-color: var(--biz-line); box-shadow: var(--sh-2);
  --accent: #0E8A4B; --accent-strong: #08532D; --chip-bg: rgba(255, 255, 255, .72); --muted: #3B5C4D; --line: rgba(0, 38, 26, .12);
  --zone: #00A86B; --zone-stroke: #007A4D;
  --btn-bg: var(--forest); --btn-ink: var(--white); --btn-border: var(--forest); --btn-hover-bg: var(--forest-3); --btn-hover-ink: var(--white);
}
.tcard--presidential {
  color: var(--white); border-color: rgba(117, 253, 168, .3); box-shadow: var(--sh-3);
  background:
    radial-gradient(110% 60% at 100% 0%, rgba(117, 253, 168, .16), transparent 62%),
    var(--pattern-dark),
    linear-gradient(165deg, #003524, var(--forest) 55%, var(--forest-deep));
  --focus: var(--mint);
  --accent: var(--mint); --accent-strong: var(--mint); --chip-bg: rgba(117, 253, 168, .1); --muted: #A9C7B8; --line: rgba(117, 253, 168, .16);
  --zone: #F5CF7D; --zone-stroke: #F5CF7D; --zone-off: .14;
  --btn-bg: var(--mint); --btn-ink: var(--forest); --btn-border: var(--mint); --btn-hover-bg: var(--mint-hover); --btn-hover-ink: var(--forest);
}
.tcard--presidential .tcard__cur { color: var(--mint); }

/* женские тарифы: нежно-розовый → бордовый */
.tcard--rose {
  background: var(--rose-bg); border-color: var(--rose-line); color: var(--rose-ink); box-shadow: var(--sh-rose);
  --focus: var(--burg);
  --accent: #B3365A; --accent-strong: #7E1C3B; --chip-bg: rgba(255, 255, 255, .75); --muted: #7A4656; --line: rgba(94, 16, 39, .13);
  --zone: #F57D7D; --zone-stroke: #D85A5A;
  --btn-bg: var(--burg); --btn-ink: var(--white); --btn-border: var(--burg); --btn-hover-bg: #74142F; --btn-hover-ink: var(--white);
}
.tcard--burgundy {
  color: var(--white); border-color: rgba(247, 198, 210, .28); box-shadow: var(--sh-burg);
  background:
    radial-gradient(110% 60% at 100% 0%, rgba(247, 198, 210, .16), transparent 62%),
    linear-gradient(165deg, #6C1331, var(--burg) 50%, var(--burg-deep));
  --focus: var(--burg-accent);
  --accent: var(--burg-accent); --accent-strong: var(--burg-accent); --chip-bg: rgba(247, 198, 210, .12); --muted: #E4B9C4; --line: rgba(247, 198, 210, .18);
  --zone: #FF0073; --zone-stroke: #FF5FA2; --zone-off: .14;
  --btn-bg: var(--burg-accent); --btn-ink: var(--burg-deep); --btn-border: var(--burg-accent); --btn-hover-bg: #FFDCE5; --btn-hover-ink: var(--burg-deep);
}
.tcard--burgundy .tcard__cur { color: var(--burg-accent); }

/* телефон: одна карточка на экран, листаются пальцем */
@media (max-width: 899px) {
  .tcards {
    display: flex; gap: .9rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 1.1rem var(--gutter) 2.5rem;
  }
  .tcards::-webkit-scrollbar { display: none; }
  .tcard { flex: 0 0 min(86%, 380px); scroll-snap-align: start; }
}
@media (max-width: 440px) {
  .tcard__seat { grid-template-columns: 118px 1fr; }
  .hall { width: 118px; }
}
@media (min-width: 900px) {
  .tiers { display: none; }
  .tcards { padding-top: 1.1rem; }
  .tcards--3 { grid-template-columns: repeat(3, 1fr); }
  .tcards--2 { grid-template-columns: repeat(2, 1fr); max-width: 940px; }
  .tcard__tag { min-height: 4.5em; }
  .tcards--3 .tcard--business { transform: translateY(-14px); }
}
.tabs__from { white-space: nowrap; }
@media (max-width: 559px) {
  .tabs { width: 100%; }
  .tabs__tab { padding: .7rem .85rem; }
  .tabs__count { display: block; }
}

.tickets__foot { display: grid; gap: .35rem; margin-top: var(--sp-6); max-width: 46rem; font-size: .92rem; color: var(--ink-2); }
.tickets__foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.tickets__foot a:hover { color: #0E8A4B; }
.tickets__foot a:active { color: var(--forest-3); }
.tickets__phone { font-weight: 700; white-space: nowrap; }

/* ---------- организатор и подвал ---------- */
.organizer__grid { display: grid; gap: var(--sp-6); align-items: end; }
.organizer__accent { color: var(--mint); }
.organizer__text { margin-top: var(--sp-5); max-width: 40rem; color: var(--on-dark-2); line-height: 1.7; }
.organizer__quote { margin-top: var(--sp-5); max-width: 32rem; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; line-height: 1.35; color: var(--mint); }
.organizer__stats { display: grid; gap: var(--sp-5); }
.organizer__stats p { display: grid; gap: .2rem; padding-top: var(--sp-4); border-top: 1px solid var(--line-dark); }
.organizer__stats b { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; letter-spacing: -.04em; color: var(--white); }
.organizer__stats span { font-size: .92rem; color: var(--on-dark-2); }
@media (min-width: 900px) { .organizer__grid { grid-template-columns: 1.5fr 1fr; gap: var(--sp-7); } }

.footer { padding: var(--sp-6) 0 calc(var(--sp-6) + 84px); background: var(--forest-deep); color: var(--on-dark-3); font-size: .875rem; --focus: var(--mint); }
.footer__row { display: flex; flex-wrap: wrap; gap: .5rem var(--sp-6); justify-content: space-between; }
.footer a { color: var(--on-dark-2); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.footer a:hover { color: var(--mint); }
.footer a:active { color: var(--white); }
@media (min-width: 900px) { .footer { padding-bottom: var(--sp-6); } }

/* ---------- нижняя плашка на телефоне ---------- */
.buybar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: .55rem .55rem .55rem 1.05rem; border-radius: 16px;
  background: rgba(0, 38, 26, .94); color: var(--white);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(117, 253, 168, .22); box-shadow: var(--sh-3);
  transform: translateY(160%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
  --focus: var(--mint);
}
.buybar.is-visible { transform: none; visibility: visible; transition: transform .55s var(--spring), visibility 0s; }
.buybar__text { font-size: .9rem; line-height: 1.3; color: var(--on-dark-2); }
.buybar__text b { display: block; font-family: var(--display); font-weight: 700; color: var(--white); }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---------- окно покупки (виджет cBiletom) ---------- */
.buy {
  width: min(1180px, calc(100vw - 32px)); height: min(880px, calc(100dvh - 32px));
  max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 20px;
  background: var(--white); color: var(--ink); overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 20, 12, .6);
}
.buy[open] { display: flex; flex-direction: column; animation: dlg-in .5s var(--ease); }
.buy::backdrop { background: rgba(0, 20, 12, .64); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.buy__head { display: flex; align-items: center; gap: var(--sp-3); padding: .8rem .8rem .8rem 1.25rem; border-bottom: 1px solid var(--line-light); background: var(--paper); }
.buy__info { flex: 1; min-width: 0; }
.buy__title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.buy__hint { margin-top: .15rem; font-size: .88rem; line-height: 1.4; color: var(--ink-2); }
.buy__dot { display: inline-block; width: .7em; height: .7em; margin-right: .4rem; border-radius: 50%; background: var(--dot, var(--mint)); box-shadow: 0 0 0 2px rgba(0, 38, 26, .08); vertical-align: -.02em; }
.buy__ext { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .75rem; border-radius: 10px; border: 1px solid var(--line-light); font-size: .85rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease; }
.buy__ext:hover { background: var(--sage); border-color: var(--ink); }
.buy__ext:active { background: #D3E2D9; }
.buy__close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--forest); color: var(--white); cursor: pointer; transition: background-color .2s ease, transform .3s var(--spring); }
.buy__close:hover { background: var(--forest-3); }
.buy__close:active { transform: scale(.94); }
.buy__close .ico { width: 22px; height: 22px; }
.buy__frame { flex: 1; width: 100%; border: 0; background: var(--white); }
@media (max-width: 639px) {
  .buy { width: 100vw; height: 100dvh; border-radius: 0; }
  .buy__head { padding: .6rem .6rem .6rem 1rem; }
  .buy__ext span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .buy__ext { padding: 0; width: 44px; height: 44px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
