/* Лаки Хруст — фирменный стиль: синий КП #073D91 / #0045A8 / #001F42, оранжевый #FF8C00 */
/* Шрифт как в КП для оптовиков: Avenir Next (self-hosted) */
@font-face { font-family: 'Avenir Next'; src: url('fonts/AvenirNext-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Next'; src: url('fonts/AvenirNext-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avenir Next'; src: url('fonts/AvenirNext-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Next'; src: url('fonts/AvenirNext-DemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Next'; src: url('fonts/AvenirNext-DemiBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Next'; src: url('fonts/AvenirNext-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* --- Шрифты для кнопок маркетплейсов (фирменные/ближайшие аналоги) ---
   ВАЖНО: подмножества (subset) содержат ТОЛЬКО буквы из подписей кнопок:
   "Ozon", "Wildberries", "Яндекс Маркет". Если текст кнопок меняется —
   пересобрать subset (fontTools.subset --unicodes=...) и заменить файлы. */
@font-face { font-family: 'ManropeMP'; src: url("fonts/ManropeMP.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterMP'; src: url("fonts/InterMP.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'YS Text'; src: url("fonts/YSText-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'YS Text'; src: url("fonts/YSText-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'YS Text'; src: url("fonts/YSText-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #073D91; --blue2: #0045A8; --navy: #001F42; --orange: #FF8C00;
  --soft: #F1F4F9; --line: #C9D6E8; --txt: #26303C; --mut: #5A6B80;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Базовый кегль подобран под чтение с 14" MacBook (вьюпорт ~1512×982, DPR 2) на расстоянии ~60 см */
body { font-family: 'Avenir Next', 'Segoe UI', Roboto, Arial, sans-serif; color: var(--txt); font-size: 16px; line-height: 1.6; }
a { color: var(--blue2); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* header */
header { position: sticky; top: 0; background: #fff; border-bottom: 2px solid var(--blue); z-index: 50; }
.hd { display: flex; align-items: center; justify-content: flex-end; padding-top: 13px; padding-bottom: 13px; gap: 14px; flex-wrap: wrap; }
/* меню: равномерные отступы между всеми пунктами (gap вместо margin у ссылок) */
.hd nav { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.logo { font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: 1px; }
.logo span { color: var(--orange); }
nav a { font-size: 15.5px; font-weight: 600; color: var(--txt); }
nav a:hover { color: var(--orange); }
.btn { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; padding: 11px 20px; border-radius: 8px; font-size: 15.5px; }
.btn:hover { filter: brightness(1.06); color: #fff; }
.btn.blue { background: var(--blue); }
.btn.ghost { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.phone { font-weight: 700; color: var(--blue); white-space: nowrap; font-size: 16px; }

/* hero */
.hero { background: linear-gradient(120deg, #0045A8 0%, #001F42 100%); color: #fff; padding: 58px 0 52px; }
.hero .grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
.hero h1 { font-size: 38px; line-height: 1.22; margin-bottom: 15px; }
.hero p.lead { font-size: 18px; line-height: 1.6; color: #DCE6F2; margin-bottom: 22px; }
.mpbtns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.mpbtn { display: inline-block; font-weight: 800; padding: 13px 22px; border-radius: 10px; font-size: 16px; box-shadow: 0 3px 10px rgba(0,0,0,.2); transition: transform .15s, filter .15s; }
.mpbtn:hover { transform: translateY(-2px); filter: brightness(1.05); }
/* фирменные цвета + шрифты маркетплейсов */
.mpbtn.ozon { background: #005BFF; color: #fff; font-family: 'ManropeMP', 'Manrope', 'Helvetica Neue', Arial, sans-serif; }                                   /* Ozon blue + геометрический гротеск */
.mpbtn.wb { background: linear-gradient(135deg, #A73AFD 0%, #CB11AB 100%); color: #fff; font-family: 'InterMP', 'Inter', 'Helvetica Neue', Arial, sans-serif; } /* WB violet + неогротеск */
.mpbtn.ym { background: #FFCC00; color: #1A1A1A; font-family: 'YS Text', 'InterMP', 'Helvetica Neue', Arial, sans-serif; }                                 /* Яндекс Маркет yellow + YS Text */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; margin-top: 32px; }
.stat b { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.5px; color: var(--orange); }
.stat span { font-size: 17px; line-height: 1.45; color: #DCE6F2; }
.hero .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hcard { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 18px; font-size: 16px; line-height: 1.5; }
.hcard b { color: var(--orange); display: block; font-size: 17.5px; margin-bottom: 4px; }

/* sections */
section { padding: 52px 0; }
section.alt { background: var(--soft); }
.sec-t { font-size: 29px; line-height: 1.25; color: var(--blue); margin-bottom: 10px; }
.sec-s { color: var(--mut); font-size: 16.5px; margin-bottom: 26px; }

/* витрина */
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.pcard img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; background: var(--soft); }
.pcard .pi { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard h3 { font-size: 16.5px; line-height: 1.35; color: var(--blue); }
.pcard .fac { font-size: 14.5px; color: var(--mut); }
.pcard .price { font-weight: 800; color: var(--orange); font-size: 19px; }
.pcard .old { font-size: 14px; color: #9aa7b8; text-decoration: line-through; }
.buy { margin-top: auto; background: var(--blue); color: #fff; text-align: center; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.buy:hover { background: var(--orange); color: #fff; }
.ya { font-size: 14.5px; color: var(--mut); text-align: center; }

/* факты / преимущества */
.facts2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 10px; padding: 18px; }
.fcard b { color: var(--blue); font-size: 16.5px; }
.fcard p { font-size: 15px; line-height: 1.55; color: var(--mut); margin-top: 6px; }

/* отзывы */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.rev .st { color: var(--orange); letter-spacing: 2px; font-size: 16.5px; }
.rev p { font-size: 15px; line-height: 1.6; margin: 9px 0; font-style: italic; }
.rev span { font-size: 13.5px; color: var(--mut); }

/* cta band */
.ctaband { background: var(--orange); color: #fff; text-align: center; padding: 38px 20px; }
.ctaband h2 { font-size: 28px; margin-bottom: 10px; }
.ctaband .btn { background: var(--blue); margin-top: 12px; }
.ctaband .mpbtn { box-shadow: none; }

/* footer */
footer { background: var(--blue); color: #DCE6F2; padding: 36px 0 32px; font-size: 14.5px; line-height: 1.6; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
footer .cols > div { min-width: 0; overflow-wrap: anywhere; }
footer h4 { color: #fff; margin-bottom: 10px; font-size: 16.5px; }
footer a { color: #DCE6F2; display: block; margin-bottom: 7px; }
footer .copy { border-top: 1px solid rgba(255,255,255,.2); margin-top: 24px; padding-top: 15px; font-size: 13.5px; color: #9fb2cf; }

/* opt page */
.opthero { background: linear-gradient(120deg, #0045A8, #001F42); color: #fff; padding: 48px 0; }
.opthero h1 { font-size: 33px; line-height: 1.25; margin-bottom: 12px; }
.opthero p { font-size: 17px; line-height: 1.6; color: #DCE6F2; max-width: 860px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; background: #fff; }
.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t th { background: var(--blue); color: #fff; text-align: left; padding: 12px 14px; }
table.t td { border-bottom: 1px solid var(--line); padding: 11px 14px; vertical-align: top; }
table.t tr:nth-child(even) td { background: #F8FAFD; }
form.lead { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; max-width: 640px; }
form.lead label { font-weight: 700; font-size: 14.5px; color: var(--blue); }
form.lead input, form.lead textarea { border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; font-size: 15.5px; font-family: inherit; width: 100%; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.step .n { width: 32px; height: 32px; line-height: 32px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; text-align: center; margin-bottom: 9px; font-size: 16px; }
.step b { color: var(--blue); font-size: 15.5px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--mut); margin-top: 5px; }

@media (max-width: 760px) {
  footer .cols { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hd { justify-content: center; }
  .hd nav { margin-left: 0; justify-content: center; gap: 12px 18px; }
}
@media (max-width: 520px) {
  footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero .grid, .grid2 { grid-template-columns: 1fr; }
  .prods, .facts2, .revs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 29px; }
  .opthero h1 { font-size: 27px; }
  .sec-t { font-size: 25px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .prods, .facts2, .revs { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .hero p.lead { font-size: 16.5px; }
  .mpbtn { font-size: 15.5px; padding: 12px 18px; }
  .stats { gap: 18px; }
  .stat b { font-size: 32px; }
  .stat span { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
}
.logo-img { height: 46px; width: auto; }
.logo-img.f { height: 40px; margin-bottom: 6px; }
@media (max-width:600px){ .logo-img{ height: 38px; } }

/* opthero + кнопки-маркетплейсы в карточках */
.opthero { position: relative; overflow: hidden; }
.fcard .mpbtn { margin-bottom: 8px; }
.fcard .mpbtn:hover { color: #fff; }
.fcard .mpbtn.ym:hover { color: #1A1A1A; }

/* лого-бренд в синих блоках (отдельный, читаемый, слева сверху) */
.hero-brand { display: block; height: 162px; width: auto; margin: 0 0 22px; }
.hero .grid > .hero-brand { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 860px) { .hero-brand { height: 126px; margin-bottom: 18px; } }

/* лаки-хруст: лого + слоган рядом (marker: brand-slogan-v1) */
@font-face { font-family: 'Kobzar KS'; src: url('fonts/KobzarKS.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
.brand-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 0 0 22px; }
.hero .grid > .brand-row { grid-column: 1 / -1; justify-self: start; }
.brand-row .hero-brand { margin: 0; }
.brand-slogan { font-family: 'Kobzar KS','Caveat','Avenir Next',cursive; color: #fff; font-size: 34px; line-height: 1.12; }
.opthero .brand-row { margin-bottom: 18px; }
@media (max-width: 860px){ .brand-slogan { font-size: 25px; } }

