:root{
  --bg:#0b0f14;
  --bg2:#0a0e13;
  --card:rgba(255,255,255,.05);
  --card2:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.10);
  --text:#e9eef5;
  --muted:#aab7c7;
  --muted2:#7e8a98;
  --accent:#ff7a1a;
  --accent2:#ffb66c;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:22px;
  --container: 1140px;
  --font:"Manrope",ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  /* anchors (#how, #faq, etc.) should not hide behind the sticky header */
  scroll-padding-top: 92px;
}

/* Lock scroll when the mobile menu is open */
html.scrollLock, body.scrollLock{
  overflow:hidden;
  height:100%;
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 15%, rgba(255,122,26,.20), transparent 55%),
    radial-gradient(800px 520px at 85% 18%, rgba(102,179,255,.18), transparent 52%),
    radial-gradient(1000px 650px at 75% 85%, rgba(255,122,26,.14), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height:100vh;
}

a{ color:inherit; text-decoration:none; }
b{ font-weight:700; }
ul{ margin:0; padding-left:1.1rem; }
li{ margin:.35rem 0; }
img{ max-width:100%; display:block; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.skiplink{
  position:absolute;
  left:-999px;
  top:0;
  padding:10px 14px;
  background:#111a25;
  border:1px solid var(--stroke);
  border-radius:12px;
  z-index:9999;
}
.skiplink:focus{ left:12px; top:12px; }

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(10,14,19,.78), rgba(10,14,19,.54));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner{
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px 0;
}

.brand{ display:flex; align-items:center; gap:10px; min-width: 180px;}
.brand__mark{
  width:38px; height:38px; border-radius:14px;
  background:transparent url("logo-fox.png") center/contain no-repeat;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 10px 30px rgba(0,0,0,.35);
}
.brand__name{ font-weight:800; letter-spacing:.06em; }
.brand__tag{ font-size:12px; color:var(--muted2); margin-top:2px; }

.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex:1;
}
.nav__link{
  font-size:14px;
  color:var(--muted);
  padding:10px 10px;
  border-radius:12px;
}
.nav__link:hover{
  color:var(--text);
  background: rgba(255,255,255,.04);
}

.nav__link--active,
.nav__link[aria-current="page"]{
  color:var(--text);
  background:rgba(255,122,24,.14);
  box-shadow:inset 0 0 0 1px rgba(255,122,24,.25);
  font-weight:700;
}
.nav__link--active:hover,
.nav__link[aria-current="page"]:hover{background:rgba(255,122,24,.18)}

/* Scrollspy active section */
.nav__link.is-active{
  color:var(--text);
  background:rgba(255,122,24,.10);
  box-shadow:inset 0 0 0 1px rgba(255,122,24,.18);
  font-weight:700;
}
.nav__link.is-active:hover{background:rgba(255,122,24,.14)}
.topbar__cta{ display:flex; gap:10px; align-items:center; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.btn--primary{
  background: linear-gradient(135deg, rgba(255,122,26,.95), rgba(255,182,108,.75));
  border-color: rgba(255,122,26,.55);
  color:#111;
}
.btn--primary:hover{
  background: linear-gradient(135deg, rgba(255,122,26,1), rgba(255,182,108,.88));
  border-color: rgba(255,122,26,.70);
}
.btn--ghost{
  background: rgba(255,255,255,.03);
}
.btn--lg{ padding:12px 18px; border-radius:16px; font-size:15px; }
.btn--full{ width:100%; }

.burger{
  display:none;
  margin-left:auto;
  background: transparent;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:10px;
  width:44px;
  height:44px;
  cursor:pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.burger span{
  display:block;
  height:2px;
  background: rgba(255,255,255,.72);
  margin:6px 6px;
  border-radius:2px;
}

.mobileMenu{
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(10,14,19,.92);
  /* NOTE: blur/backdrop-filter can cause jank/freezes on mobile Safari.
     We keep the design "glass-like" via opacity instead. */
}
.mobileMenu__inner{ padding:14px 0 18px; display:grid; gap:10px; }
.mobileMenu__link{
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
}
.mobileMenu__link--active,
.mobileMenu__link[aria-current="page"]{
  background:rgba(255,122,24,.14);
  box-shadow:inset 0 0 0 1px rgba(255,122,24,.25);
  color:var(--text);
  font-weight:700;
}
.mobileMenu__btn{ margin-top:4px; }

.hero{
  padding:42px 0 26px;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:24px;
  align-items:start;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  font-size:13px;
}
.dot{
  width:8px; height:8px;
  border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,122,26,.18);
}

.hero__title{
  margin:14px 0 12px;
  font-size:44px;
  line-height:1.04;
  letter-spacing:-.02em;
}
.accent{ color: var(--accent2); }

.hero__subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  max-width: 58ch;
}

.hero__bullets{
  display:grid;
  gap:10px;
  margin: 18px 0 18px;
}
.heroBullet{
  display:flex;
  gap:12px;
  padding:12px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}
.heroBullet__icon{
  width:34px; height:34px;
  border-radius:12px;
  background: rgba(255,122,26,.18);
  border:1px solid rgba(255,122,26,.32);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.heroBullet__icon--2{ background: rgba(102,179,255,.16); border-color: rgba(102,179,255,.28); }
.heroBullet__icon--3{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.heroBullet__title{ font-weight:700; margin-bottom:4px; }
.heroBullet__text{ color:var(--muted2); font-size:13px; line-height:1.35; }

.hero__cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 8px; }
.hero__fineprint{
  margin-top:14px;
  color:var(--muted2);
  font-size:12.5px;
  max-width: 75ch;
}

.hero__card{
  position:relative;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:16px 16px 14px;
}
.cardTitle{
  font-weight:800;
  letter-spacing:.02em;
  margin-bottom:10px;
}
.checklist{
  padding-left: 1.15rem;
  color:var(--muted);
  line-height:1.45;
  font-size:14px;
}
.cardCta{ display:grid; gap:10px; margin-top: 12px; }
.cardHint{
  margin-top: 12px;
  color:var(--muted2);
  font-size:12.5px;
}

.section{
  padding: 44px 0;
}

/* Make native anchor jumps and scrollIntoView land below the sticky header */
section[id],
details[id],
.anchor[id]{
  scroll-margin-top: 92px;
}

.anchor{ display:block; height:1px; }
.section--alt{
  background: radial-gradient(900px 600px at 20% 0%, rgba(255,122,26,.10), transparent 55%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sectionHead{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom: 18px; }
.sectionTitle{
  margin:0;
  font-size:28px;
  letter-spacing:-.01em;
}
.sectionNote{
  margin:0;
  color:var(--muted);
  max-width: 70ch;
  font-size:14px;
  line-height:1.45;
}

.pricing{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  align-items:stretch;
  margin-top: 14px;
}

.priceCard{
  position:relative;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.priceCard--focus{
  border-color: rgba(255,122,26,.55);
  box-shadow: 0 22px 70px rgba(255,122,26,.10), var(--shadow);
}
.badge{
  position:absolute;
  top:12px;
  right:12px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background: rgba(255,122,26,.18);
  border:1px solid rgba(255,122,26,.30);
  color: var(--accent2);
}

/* Round "Рекомендуем" sticker */
.badge--rec{
  width: 72px;
  height: 72px;
  padding: 10px;
  /* keep the sticker fully visible inside the card */
  top: 12px;
  right: 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.05;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: radial-gradient(120% 120% at 30% 25%, rgba(255, 189, 132, .98) 0%, rgba(255, 122, 26, .92) 45%, rgba(255, 122, 26, .62) 100%);
  border: 1px solid rgba(255, 189, 132, .55);
  color: #131a24;
  box-shadow: 0 18px 46px rgba(255, 122, 26, .20);
}
@media (max-width: 640px){
  .badge--rec{ width: 64px; height: 64px; top:10px; right:10px; font-size: 10px; }
}

/* Ribbon label (preferred over the circular badge for long text) */
.ribbon{
  position: absolute;
  top: 14px;
  right: -52px;
  width: 170px;
  padding: 6px 0;
  text-align: center;
  transform: rotate(45deg);
  background: var(--accent);
  color: #081018;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 189, 132, .55);
  box-shadow: 0 18px 46px rgba(255, 122, 26, .20);
  pointer-events: none;
}

@media (max-width: 640px){
  .ribbon{ top: 12px; right: -60px; width: 160px; font-size: 10px; }
}

.priceCard__top{ padding-bottom: 8px; }
.priceCard__name{ font-weight:800; font-size:16px; margin-bottom: 10px; }
.priceCard__price{ display:flex; align-items:baseline; gap:8px; font-size:clamp(20px,3.6vw,26px); font-weight:900; letter-spacing:-.02em; white-space: normal; }
.priceCard__value{ font-size:clamp(20px,3.6vw,26px); font-weight:900; letter-spacing:-.02em; white-space: normal; }
.priceCard__unit{ color:var(--muted2); font-size:13px; }
.priceCard__desc{ color:var(--muted); margin-top: 8px; font-size:13.5px; line-height:1.35; }
.priceCard__note{ margin-top: 10px; padding-top: 10px; font-size:12.5px; line-height:1.35; color: var(--muted2); }
.priceCard__list{
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  font-size:13.5px;
  line-height:1.35;
  display: grid;
  gap: 8px;
}

/* list in the “Старт” card uses <span class="okIcon"> — keep it consistent */
.priceCard__list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.priceCard__list .okIcon{
  flex: 0 0 16px;
  width:16px;
  height:16px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(255,141,46,.12);
  border: 1px solid rgba(255,141,46,.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}
.priceCard__list .okIcon::before{ content: "✓"; }

/* аккуратные маркеры (как “опции” в комплектациях) */
.bullets li{
  position: relative;
  padding-left: 20px;
}
.bullets li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent2);
  font-weight: 900;
}
.bullets--dot li::before{
  content: "•";
  top: -1px;
  color: rgba(255,255,255,.70);
}
.priceCard .bullets{ margin-bottom: 14px; }
.priceCard__cta{
  /* keep all CTA buttons aligned across cards */
  margin-top: auto;
}

.trustStrip{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.trustStrip__item{
  padding:14px 14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.trustStrip__title{ font-weight:800; margin-bottom:4px; }
.trustStrip__text{ color:var(--muted2); font-size:13px; line-height:1.35; }

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin-top: 16px;
}
.step{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 14px;
}
.step__n{
  width:30px; height:30px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,122,26,.16);
  border:1px solid rgba(255,122,26,.28);
  color: var(--accent2);
  font-weight:900;
}
.step__title{ margin-top: 10px; font-weight:800; }
.step__text{ margin-top: 6px; color:var(--muted2); font-size:13px; line-height:1.35; }

.callout{
  margin-top: 18px;
  border-radius: 24px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(255,122,26,.14), rgba(255,255,255,.03));
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.callout__title{ font-size:18px; font-weight:900; margin:0 0 6px; }
.callout__text{ margin:0; color:var(--muted); max-width: 70ch; }
.callout__cta{ display:flex; gap:10px; flex-wrap:wrap; }

.faq{ display:grid; gap:10px; margin-top: 14px; }
.faqItem{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 10px 12px;
}
.faqItem summary{
  cursor:pointer;
  list-style:none;
  font-weight:800;
  padding: 8px 6px;
  outline:none;
}
.faqItem summary::-webkit-details-marker{ display:none; }
.faqItem summary{ position:relative; padding-right:52px; }
.faqItem summary::after{ content:'+'; position:absolute; right:14px; top:50%; transform:translateY(-50%); width:30px; height:30px; display:grid; place-items:center; border-radius:10px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); color:var(--text); font-weight:800; }
.faqItem[open] summary::after{ content:'–'; }

.faqItem__body{
  color:var(--muted);
  padding: 0 6px 10px;
  line-height: 1.45;
  font-size: 13.5px;
}

.section--cta{
  padding: 26px 0 40px;
}
.ctaBlock{
  border-radius: 28px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(255,122,26,.14), rgba(102,179,255,.08));
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.ctaBlock__title{ margin:0 0 6px; font-size:22px; font-weight:950; letter-spacing:-.01em; }
.ctaBlock__text{ margin:0; color:var(--muted); max-width: 70ch; }
.ctaBlock__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.footer{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 26px 0 32px;
  background: rgba(10,14,19,.65);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.footer__brand{ font-weight:950; letter-spacing:.06em; }
.footer__text{ margin-top: 6px; color:var(--muted2); max-width: 60ch; font-size:13px; }
.footer__label{ color:var(--muted2); font-size:12px; }

.footer__right .footer__links{
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer__row{
  display:grid;
  grid-template-columns: 86px 1fr;
  gap:12px;
  align-items: baseline;
}
.footer__k{
  color: var(--muted2);
  font-size:12px;
}
.footer__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top: 0;
  color:var(--muted);
}
.footer__link--primary{
  color: var(--accent2);
  font-weight:800;
}
.footer__small{ margin-top: 10px; color:var(--muted2); font-size:12px; }

/* Responsive */
@media (max-width: 980px){
  .topbar{ background: rgba(10,14,19,.96); backdrop-filter: none; }
  .nav, .topbar__cta{ display:none; }
  .burger{ display:inline-block; }
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__title{ font-size:36px; }
  .pricing{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .trustStrip{ grid-template-columns: 1fr; }
  .sectionHead{ flex-direction:column; align-items:flex-start; }
  .callout{ flex-direction:column; align-items:flex-start; }
  .ctaBlock{ flex-direction:column; align-items:flex-start; }
  .footer__inner{ flex-direction:column; }
  .footer__row{ grid-template-columns: 1fr; gap:4px; }
}

@media (max-width: 520px){
  .container{ width: calc(100% - 28px); }
  .hero__title{ font-size:32px; }
  .btn--lg{ width:100%; }
  .hero__cta{ width:100%; }
  .steps{ grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
}

/* =============================
   Calculators
   ============================= */

.formGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 720px){
  .formGrid{grid-template-columns:1fr;}
}
.field label{
  display:block;
  font-size:12px;
  color:rgba(255,255,255,.72);
  margin:0 0 6px;
}
.field input, .field select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.92);
  outline:none;
}
.field input:focus, .field select:focus{
  border-color:rgba(255,140,0,.55);
  box-shadow:0 0 0 4px rgba(255,140,0,.12);
}

.calcOut{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
@media (max-width: 720px){
  .calcOut{grid-template-columns:1fr;}
}

/* совместимость: в калькуляторах встречается отдельная сетка результатов */
.calcOut__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 720px){
  .calcOut__grid{grid-template-columns:1fr;}
}
.outBox{
  border-radius:14px;
  padding:12px 12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
}
.outBox--full{
  grid-column: 1 / -1;
}
.outBox.isBad{
  border-color:rgba(255,90,90,.55);
  box-shadow:0 0 0 4px rgba(255,90,90,.10);
}
.outBox .k{
  font-size:12px;
  color:rgba(255,255,255,.70);
  margin-bottom:6px;
}
.outBox .v{
  font-size:18px;
  font-weight:700;
}

.outBox .v.v--small{
  font-size:13px;
  font-weight:600;
  line-height:1.35;
}

/* ==============================
   v20260209 — доп. компоненты
   ============================== */

/* Логотип (лиса) */
.brand__mark{
  background: url('./logo-fox.png') center/contain no-repeat;
  background-color: #0b0f14;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 10px 24px rgba(0,0,0,.45),
    0 0 0 1px rgba(0,0,0,.22) inset;
}

.hero--compact{
  padding-top: 76px;
  padding-bottom: 34px;
}

/* Двухколоночная раскладка для калькуляторов */
.calcTwoCol{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px){
  .calcTwoCol{ grid-template-columns: 1fr; }
}

/* Кейсы: галерея */
.shotGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.shotsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
@media (max-width:1180px){
  .pricing{ grid-template-columns: 1fr 1fr; }
}

@media (max-width:980px){.shotsGrid{grid-template-columns:1fr}}
@media (max-width: 980px){
  .shotGrid{ grid-template-columns: 1fr; }
}

.shotCard{
  background: rgba(14, 20, 28, .78);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.shotCard__media{display:block;border-radius:14px;overflow:hidden;background:rgba(0,0,0,.24)}
.shotCard__img{
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.shotCard__body{
  padding: 14px 16px 16px;
}
.shotCard__kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.shotCard__kicker:before{
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,147,40,.12);
}
.shotCard__title{
  margin-top: 8px;
  font-weight: 800;
  font-size: 18px;
}

.miniList{
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.45;
}
.miniList li{ margin: 6px 0; }

/* Небольшой заголовок внутри карточек */
.h3{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .01em;
}

/* Вспомогательная сетка */
.grid2{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: center;
}
@media (max-width: 980px){
  .grid2{ grid-template-columns: 1fr; }
}

.ctaRow{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 520px){
  .ctaRow{ grid-template-columns: 1fr; }
}

.card--flat{
  background: linear-gradient(180deg, rgba(18,24,34,.72), rgba(10,14,20,.72));
}



/* ==============================
   v20260209 — доп. компоненты
   ============================== */

/* Логотип (лиса) */
.brand__mark{
  background: url('./logo-fox.png') center/contain no-repeat;
  background-color: #0b0f14;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 10px 24px rgba(0,0,0,.45),
    0 0 0 1px rgba(0,0,0,.22) inset;
}

/* Более компактный hero для внутренних страниц */
.hero--compact{
  padding-top: 76px;
  padding-bottom: 34px;
}

/* Сетка: форма + результат (калькуляторы) */
.calcTwoCol{
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px){
  .calcTwoCol{ grid-template-columns: 1fr; }
}

/* Кейсы: галерея */
.shotGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 980px){
  .shotGrid{ grid-template-columns: 1fr; }
}

.shotCard{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.shotCard__img{
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: rgba(0,0,0,.2);
}

.shotCard__body{
  padding: 14px 16px 16px;
}

.shotCard__kicker{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.shotCard__title{
  margin-top: 6px;
  font-weight: 800;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}

.miniList{
  margin: 10px 0 0;
  padding: 0 0 0 16px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.45;
}
.miniList li{ margin: 4px 0; }

.card--flat{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

/* Вспомогательные сетки */
.grid2{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,420px);
  gap: 18px;
  align-items: center;
}
@media (max-width: 980px){
  .grid2{ grid-template-columns: 1fr; }
}

.ctaRow{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 980px){
  .ctaRow{ grid-template-columns: 1fr; }
}

/* h3 утилита (для внутренних карточек) */
.h3{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.92);
}

/* === v20260210 hotfixes & polish === */

/* Hidden attribute should always win (prevents accidental visible mobile menu / blocks) */
[hidden]{display:none !important;}

/* Mobile menu: hidden by default, shown only when [hidden] is removed */

/* Brand mark — force fox logo as primary */
.brand__mark{
  background-image: url('./logo-fox.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Shots (cases): avoid "missing" look if an image fails to load */
.shotCard__img{background:#0b0f14;}

/* Small-screen polish */
@media (max-width: 420px){
  .brand__tag{display:none;}
  .topbar__inner{gap:10px;}
  .ctaRow{flex-direction:column; align-items:stretch;}
  .ctaRow .btn{width:100%;}
}

/* Mobile polish */
@media (max-width: 520px){
  .wrap{padding:0 14px;}
  .h1{font-size:30px; line-height:1.1;}
  .h2{font-size:22px;}
  .topbar__inner{height:auto; padding:10px 0;}
  .topbar__actions{flex-wrap:wrap; justify-content:flex-end; gap:8px;}
  .btn{padding:10px 12px;}
  .btnFull{width:100%; justify-content:center;}
  .heroCard{padding:14px;}
  .heroPoints{grid-template-columns:1fr;}
  .calcGrid{gap:14px;}
  .calcBox{padding:14px;}
  .fields2{grid-template-columns:1fr;}
  .outRow{grid-template-columns:1fr;}
  .outBox{padding:12px;}
  .footer{padding:18px 0;}
}

/* prevent background scroll when mobile menu open */
.noScroll{overflow:hidden;}


/* Lightbox */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.72);display:none;align-items:center;justify-content:center;padding:18px;z-index:9999}
.lightbox.is-open{display:flex}
.lightbox__inner{position:relative;max-width:min(1180px,100%);max-height:92vh;width:auto;background:rgba(10,12,16,.92);border:1px solid rgba(255,255,255,.10);border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.55);padding:14px}
.lightbox__img{display:block;max-width:100%;max-height:82vh;object-fit:contain;border-radius:12px;background:rgba(0,0,0,.30)}
.lightbox__caption{margin-top:10px;color:rgba(233,238,245,.90);font-size:13px;line-height:1.35}
.lightbox__close{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(18,22,28,.88);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.lightbox__close:hover{border-color:rgba(255,255,255,.22)}

/* Gallery grid (cases) */
.galleryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
@media (max-width: 980px){.galleryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 560px){.galleryGrid{grid-template-columns:1fr}}
.galleryItem{display:block;border:1px solid rgba(255,255,255,.10);border-radius:16px;overflow:hidden;background:rgba(255,255,255,.03);box-shadow:0 18px 46px rgba(0,0,0,.40);transition:transform .15s ease,border-color .15s ease}
.galleryItem:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.18)}
.galleryItem img{width:100%;height:160px;object-fit:contain;background:rgba(0,0,0,.24);display:block}
.galleryItem__cap{padding:10px 12px;font-size:13px;color:var(--muted)}


/* Utilities */
.muted{ color: var(--muted2); }

/* Packages comparison */
.compareDetails summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}
.compareDetails summary::-webkit-details-marker{display:none}
.compareDetails summary .summaryTitle{font-weight:600}

.compareWrap{
  margin-top:16px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}

/* Mini legend (car-configurator style, without "комплектации") */
.miniLegend{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:10px;
}
.miniLegend__item{
  background:rgba(255,255,255,.02);
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 12px;
}
.miniLegend__k{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.miniLegend__v{
  margin-top:6px;
  font-size:13px;
  line-height:1.35;
  color:var(--text);
}

/* Legend for icons */
.compareLegend{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  align-items:center;
  padding:10px 12px;
  background:rgba(255,255,255,.02);
  border:1px solid var(--border);
  border-radius:14px;
}
.legendItem{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--muted);
}

/* Unified icons */
.ico{
  width:18px;
  height:18px;
  display:inline-block;
  vertical-align: middle;
  border-radius:6px;
  border:1px solid rgba(255,182,108,.35);
  background:rgba(255,182,108,.08);
  background-repeat:no-repeat;
  background-position:center;
  background-size:12px 12px;
  flex:0 0 auto;
}
.ico--yes{
  background-color:rgba(255,182,108,.16);
  border-color:rgba(255,182,108,.45);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.6l2.7 2.7L12.6 5' fill='none' stroke='%23ffb66c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ico--maybe{
  background-color:rgba(255,182,108,.08);
  border-color:rgba(255,182,108,.35);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='2.3' fill='%23ffb66c'/%3E%3C/svg%3E");
}
.ico--no{
  background-color:rgba(255,255,255,.02);
  border-color:rgba(255,255,255,.16);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' fill='none' stroke='%238b8f9a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.compareScroll{
  border-top:1px solid var(--border);
  margin-top:14px;
  padding-top:12px;
  overflow:auto;
  scrollbar-gutter: stable both-edges;
}

.compareTable{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  min-width:980px;
}

.compareTable th,
.compareTable td{
  padding:12px 10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  vertical-align:middle;
}

.compareTable thead th{
  font-size:12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.compareTable thead th:first-child{
  text-align:left;
  width:420px;
}

.compareTable thead th:not(:first-child){
  text-align:center;
  width:140px;
}

.compareTable td:first-child{
  color:var(--text);
  width:420px;
}

.compareTable td:not(:first-child){
  text-align:center;
  width:140px;
}

.compareTable tr.highlightRow td{background:rgba(255,122,26,.08)}

@media (max-width: 920px){
  .miniLegend{grid-template-columns:1fr}
}

@media (max-width: 980px){
  .compareTable{min-width:860px}
}

.yes{ color: var(--accent2); font-weight: 900; }
.maybe{ color: #d6b768; font-weight: 800; }
.no{ color: var(--muted2); }

.pkgPill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 12px;
  letter-spacing: .02em;
}
.pkgPill--accent{
  border-color: rgba(255,135,40,0.45);
  background: rgba(255,135,40,0.14);
}

.noteBlock{
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}
.noteBlock h3{ margin:0 0 8px; font-size: 16px; }
.noteBlock p{ margin:0; color: var(--muted); line-height: 1.45; }

.noteBlock--accent{
  border-color: rgba(255,135,40,0.28);
  background: linear-gradient(180deg, rgba(255,135,40,0.10), rgba(0,0,0,0.22));
  box-shadow: 0 0 0 1px rgba(255,135,40,0.10) inset;
}
.noteBlock--accent strong{ color: var(--text); }

.noteGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}
.noteMiniTitle{
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 820px){
  .noteGrid{ grid-template-columns: 1fr; }
}

@media (max-width:980px){
  .compareTable{ min-width: 860px; }
}


/* Lightbox (image zoom) */
dialog.lb{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(12,14,18,0.92);
  border-radius: 16px;
  padding: 14px;
  max-width: min(1100px, 92vw);
}
dialog.lb::backdrop{
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
}
.lb__inner{ position: relative; }
.lb__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
}
.lb__img{
  display:block;
  max-width: 88vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 12px;
}
.lb__caption{
  margin-top: 10px;
  color: var(--muted2);
  font-size: 12.5px;
  line-height: 1.35;
}


.mobileLink--active{ color: var(--accent); }

/* --- Brand mark: use <img> for reliability (fixes missing logo in header) --- */
.brand__mark{
  background-image: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__img{
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

/* --- v20260211 tweaks: align mobile menu classes + make comparison table collapsible --- */

/* Mobile menu items (current markup uses .mobileLink) */
.mobileLink{
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
}
.mobileLink:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
}
.mobileLink--active,
.mobileLink[aria-current="page"]{
  background:rgba(255,122,24,.14);
  box-shadow:inset 0 0 0 1px rgba(255,122,24,.25);
  color:var(--text);
  font-weight:700;
}
.mobileMenu__links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding-top:8px;
}

/* Collapsible compare block */
.compareDetails{ margin-top: 18px; }
.compareSummary{
  list-style:none;
  cursor:pointer;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  font-weight: 800;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.compareSummary::-webkit-details-marker{ display:none; }
.compareSummary::after{
  content:"+";
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 900;
}
.compareDetails[open] .compareSummary::after{ content:"–"; }
.compareDetails .compareWrap{ margin-top: 10px; }

@media (max-width: 720px){
  .footer__row{ flex-direction: column; align-items: flex-start; gap: 6px; }
}
