@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600&display=swap");

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-size: var(--fs-text);
  line-height: var(--lh-text);
  -webkit-font-smoothing: antialiased;
  min-width: var(--page);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: var(--lh-tight); }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea { font: inherit; }

.page { width: var(--page); margin: 0 auto; position: relative; }
.wrap { padding: 0 var(--gutter); }
.wrap-12 { padding: 0 12px; }

/* text helpers */
.t-red { color: var(--red); }
.t-dark { color: var(--dark); }
.t-gray { color: var(--gray-dark); }
.t-darken { color: var(--gray-darken); }
.t-muted { color: var(--gray); }
.w-light { font-weight: 300; }
.w-reg { font-weight: 400; }
.w-med { font-weight: 500; }
.nowrap { white-space: nowrap; }
.lead { font-size: var(--fs-sub); line-height: 1.5; color: var(--gray-dark); }
.lead b, .lead strong { font-weight: 500; color: var(--dark); line-height: 1.2; }
.body-16 { font-size: 16px; line-height: 1.5; }
.body-14 { font-size: 14px; line-height: 1.5; }

/* section heads */
.sec-head { display: flex; flex-direction: column; gap: 8px; }
.sec-head--center { align-items: center; text-align: center; }
.sec-title-56 { font-size: 56px; font-weight: 500; line-height: 1.2; }
.sec-title-52 { font-size: 52px; font-weight: 500; line-height: 1.2; }
.sec-title-48 { font-size: 48px; font-weight: 400; line-height: 1.2; }
.sec-title-42 { font-size: 42px; font-weight: 500; line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 32px; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn-fill { background: var(--red); color: var(--white); }
.btn-fill:hover { background: var(--red-dark); box-shadow: 0 8px 24px rgba(227, 8, 19, .25); }
.btn-outline { border: 1px solid var(--gray); color: var(--black); background: var(--white); gap: 10px; }
.btn-outline:hover { border-color: var(--red); }
.btn-outline-inv { border: 1px solid rgba(255,255,255,.4); color: var(--white); padding: 16px 26px; gap: 10px; }
.btn-outline-inv:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn .ico-circle { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red); display: inline-flex; }
.btn .ico-circle img { width: 14px; height: 14px; }
.btn-sm { padding: 10px 14px; font-size: 14px; gap: 6px; height: 38px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; line-height: 1.2; }
.link-arrow img { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover img { transform: translate(2px, -2px); }
.link-circle { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; line-height: 1.2; }
.link-circle .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.link-circle .dot img { width: 11px; height: 11px; }
.link-circle-sm { font-size: 14px; }
.link-circle-sm .dot { width: 22px; height: 22px; padding: 4px; }
.link-circle-sm .dot img { width: 14px; height: 14px; }

.icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gray-light); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--red); }
.icon-btn img { width: 16px; height: 16px; }
.badge {
  position: absolute; right: -2px; top: -4px; min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 50%; border: 2px solid var(--white); background: var(--blue);
  color: var(--white); font-size: 10px; font-weight: 500; line-height: 12px; text-align: center;
}

/* ---------- Logo (маски из Figma) ---------- */
.logo { position: relative; width: 153.586px; height: 32px; overflow: hidden; display: block; flex-shrink: 0; }
.logo span { position: absolute; display: block; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 161.065px 35.436px; mask-size: 161.065px 35.436px; }
.logo span img { width: 100%; height: 100%; }
.logo .l1, .logo .l2 { inset: 0 0 40.62% 0; -webkit-mask-position: -3.954px -2.671px; mask-position: -3.954px -2.671px; }
.logo .l3 { inset: 76.79% .47% 0 .04%; -webkit-mask-position: -4.014px -27.244px; mask-position: -4.014px -27.244px; }
.logo span { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE2MS4wNjUiIGhlaWdodD0iMzUuNDM1OSIgdmlld0JveD0iMCAwIDE2MS4wNjUgMzUuNDM1OSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlNWR0lEXzJfIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTE2MS4wNjUgMEgwVjM1LjQzNTlIMTYxLjA2NVYwWiIgZmlsbD0iYmxhY2siLz4KPC9nPgo8L3N2Zz4K"); mask-image: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE2MS4wNjUiIGhlaWdodD0iMzUuNDM1OSIgdmlld0JveD0iMCAwIDE2MS4wNjUgMzUuNDM1OSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlNWR0lEXzJfIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTE2MS4wNjUgMEgwVjM1LjQzNTlIMTYxLjA2NVYwWiIgZmlsbD0iYmxhY2siLz4KPC9nPgo8L3N2Zz4K"); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-light); position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--gray-lighter-1); padding: 7px var(--gutter); display: flex; justify-content: space-between; align-items: center; }
.topbar-info { display: flex; gap: 34px; }
.topbar-info span { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; line-height: 1.2; color: rgba(0,0,0,.7); }
.topbar-info img { width: 14px; height: 14px; }
.lang { display: inline-flex; gap: 6px; align-items: center; padding-right: 8px; font-size: 11px; position: relative; }
.lang img { width: 16px; height: 16px; }
.lang img.chev { width: 14px; height: 14px; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--r-16); padding: 8px; box-shadow: var(--shadow-32-3); display: none; min-width: 150px; z-index: 60; }
.lang.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.lang-menu a:hover, .lang-menu a.active { background: var(--red-lighter-3); color: var(--red); }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-main { display: flex; align-items: center; gap: 16px; }
.nav-catalog { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 10px 14px; border-radius: var(--r-pill); background: var(--red); color: var(--white); font-size: 14px; font-weight: 500; line-height: 1.2; }
.nav-catalog img { width: 16px; height: 16px; }
.nav-catalog:hover { background: var(--red-dark); }
.nav-item { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; line-height: 1.2; position: relative; }
.nav-item img { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover, .nav-item.active { color: var(--red); }
.nav-item:hover img { transform: rotate(180deg); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.search-pill { display: inline-flex; align-items: center; gap: 6px; height: 38px; width: 249px; padding: 9px 12px; border-radius: var(--r-pill); border: 1px solid var(--gray-light); background: var(--white); font-size: 12px; color: var(--gray); }
.search-pill input { border: 0; outline: 0; width: 100%; font-size: 12px; color: var(--black); background: transparent; }
.search-pill input::placeholder { color: var(--gray); }
.search-pill img { width: 16px; height: 16px; }
.search-pill:focus-within { border-color: var(--red); }
.btn-contact { display: inline-flex; align-items: center; gap: 6px; padding: 10px; border-radius: var(--r-pill); border: 1px solid var(--red); color: var(--red); font-size: 12px; line-height: 1.2; }
.btn-contact img { width: 16px; height: 16px; }
.btn-contact img.chev { width: 14px; height: 14px; }
.btn-contact:hover { background: var(--red-lighter-3); }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--gray-light); box-shadow: 0 24px 48px rgba(0,0,0,.06); padding: 32px var(--gutter) 40px; display: none; }
.mega.open { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mega-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-16); border: 1px solid rgba(229,229,229,.6); background: var(--gray-lighter-1); font-size: 15px; font-weight: 500; line-height: 1.25; transition: border-color .2s, background .2s; }
.mega-card:hover { border-color: var(--red); background: var(--white); color: var(--red); }
.mega-card .thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--white); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mega-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.mega-title { font-size: 24px; font-weight: 500; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 0 12px 12px; margin-top: 80px; }
.footer-box { position: relative; border-radius: var(--r-24); overflow: hidden; padding-top: 60px; display: flex; flex-direction: column; gap: 64px; color: var(--white); }
.footer-bg { position: absolute; inset: 0; pointer-events: none; }
.footer-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.footer-bg img { position: absolute; width: 103.92%; height: 232.5%; left: .02%; top: -63.79%; max-width: none; opacity: .8; object-fit: cover; }
.footer-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.48), rgba(0,0,0,.48)), linear-gradient(-79.98deg, #000 .37%, rgba(0,0,0,.6) 57.05%, #000 100%); }
.footer-main { position: relative; display: flex; gap: 80px; padding: 0 var(--gutter); min-height: 249px; }
.footer-brand { display: flex; flex-direction: column; gap: 64px; width: 210px; flex-shrink: 0; }
.footer-brand .caption { font-size: 13px; line-height: 1.2; color: var(--gray-dark); margin-top: 24px; }
.footer-brand .partner { width: 100%; aspect-ratio: 480/228; object-fit: cover; }
.footer-cols { flex: 1; display: flex; gap: 62px; }
.footer-col h4 { font-size: 16px; font-weight: 500; line-height: 1.2; color: rgba(255,255,255,.9); margin-bottom: 12px; }
.footer-col li { display: flex; gap: 8px; align-items: center; font-size: 16px; line-height: 1.5; color: rgba(229,229,229,.7); margin-bottom: 0; }
.footer-col li + li { margin-top: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-darken); flex-shrink: 0; }
.footer-col li a:hover { color: var(--white); }
.footer-right { flex: 1; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 48px; }
.footer-right .cols { display: flex; justify-content: space-between; width: 100%; }
.footer-right .footer-col ul { gap: 12px; }
.footer-right .footer-col li { gap: 6px; }
.socials-footer { display: flex; gap: 12px; }
.socials-footer a { width: 38px; height: 38px; border-radius: 50%; border: .864px solid var(--gray-darken); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.socials-footer a:hover { border-color: var(--white); }
.socials-footer img { width: 22.5px; height: 22.5px; }
.footer-bottom { position: relative; padding: 0 24px; }
.footer-bottom .row { border-top: 1px solid rgba(75,75,75,.5); display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter) 18px; font-size: 14px; line-height: 1.2; color: var(--gray-dark); }
.footer-bottom .links { display: flex; gap: 42px; }
.footer-bottom .links a { color: var(--gray); opacity: .8; }
.footer-bottom .links a:hover { opacity: 1; color: var(--white); }

/* ---------- Generic cards & bits ---------- */
.chip { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--gray-light); background: var(--white); font-size: 13px; line-height: 1.2; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: var(--white); }
.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.8); font-size: 12px; line-height: 1.2; }

.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--gray); padding: 24px var(--gutter) 0; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-medium); }
.breadcrumbs .cur { color: var(--dark); }

/* Pagination bars */
.dots { display: flex; gap: 10px; width: 200px; }
.dots span { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--gray-light); opacity: .6; cursor: pointer; transition: background .2s, opacity .2s; }
.dots span.active { background: var(--red); opacity: 1; }

.nav-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gray-light); background: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.nav-arrow img { width: 17px; height: 17px; transform: rotate(45deg); }
.nav-arrow:hover { border-color: var(--red); }
.nav-arrow.prev img { transform: rotate(-135deg); opacity: .5; }
.nav-arrow.prev:hover img { opacity: 1; }

/* Article card */
.article { background: var(--white); border: 1px solid rgba(229,229,229,.6); border-radius: var(--r-16); padding: 6px; box-shadow: 0 0 6px rgba(0,0,0,.03); display: flex; gap: 18px; transition: box-shadow .2s, border-color .2s; }
.article:hover { border-color: var(--red-light); box-shadow: 0 8px 32px rgba(0,0,0,.06); }
.article .media { position: relative; border-radius: var(--r-14); overflow: hidden; padding: 8px; flex-shrink: 0; }
.article .media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255,255,255,.2), rgba(255,255,255,0)); }
.article .media .tag { position: relative; z-index: 1; }
.article .body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; padding: 12px 12px 12px 0; gap: 18px; }
.article .title { font-size: 20px; font-weight: 500; line-height: 1.2; }
.article .excerpt { font-size: 14px; line-height: 1.5; opacity: .7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gray); }
.article .more { display: flex; justify-content: flex-end; }
.article--v { flex-direction: column; }
.article--v .media { height: 240px; }
.article--v .body { padding: 0 12px 12px; }
.article--h { height: 212px; }
.article--h .media { width: 240px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { border-radius: var(--r-16); background: var(--gray-lighter-1); border: 1px solid rgba(229,229,229,.4); padding: 26px 32px; transition: background .2s, border-color .2s; }
.faq summary { list-style: none; display: flex; align-items: center; gap: 22px; cursor: pointer; font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { flex: 1; display: flex; gap: 6px; }
.faq summary img { width: 24px; height: 24px; transition: transform .2s; }
.faq[open] { background: rgba(255,238,239,.5); border-color: rgba(227,8,19,.06); }
.faq[open] summary { color: var(--red); }
.faq summary .c-open { display: none; }
.faq[open] summary .c-open { display: block; }
.faq[open] summary .c-def { display: none; }
.faq .a { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--gray-darken); }
.faq .a b { font-weight: 500; color: var(--dark); }

/* Inputs */
.field { position: relative; display: flex; align-items: center; gap: 6px; height: 46px; padding: 14px 22px; border-radius: var(--r-pill); border: 1px solid var(--gray-light); background: var(--white); transition: border-color .2s; }
.field:focus-within { border-color: var(--red); }
.field label { position: absolute; left: 18px; top: -10.5px; padding: 0 4px; background: var(--white); font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--dark); }
.field label i { font-style: normal; color: var(--red); }
.field input, .field textarea { border: 0; outline: 0; width: 100%; font-size: 14px; color: var(--dark); background: transparent; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray); }
.field .prefix { display: inline-flex; gap: 4px; align-items: center; font-size: 14px; font-weight: 500; color: var(--dark); flex-shrink: 0; }
.field .prefix img { width: 16px; height: 16px; }
.field .prefix img.chev { width: 14px; height: 14px; }
.field--area { height: auto; border-radius: var(--r-20); align-items: flex-start; }
.field--area textarea { resize: none; height: 72px; }
.ch-label { font-size: 14px; font-weight: 500; line-height: 1.2; }
.channels { display: flex; gap: 8px; align-items: center; }
.channel { height: 32px; min-width: 32px; padding: 6px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; transition: background .2s; }
.channel img { width: 18px; height: 18px; }
.channel.tg { background: rgba(65,125,240,.1); }
.channel.wa { background: rgba(29,179,85,.1); }
.channel.wa img { width: 20px; height: 20px; }
.channel.em { background: rgba(206,24,31,.1); }
.channel.em img { width: 16px; height: 16px; }
.channel.active { padding: 11px 16px 11px 10px; color: var(--white); }
.channel.tg.active { background: var(--telegram); }
.channel.wa.active { background: var(--green); }
.channel.em.active { background: var(--red-dark); }
.channel .lbl { display: none; }
.channel.active .lbl { display: inline; }
.channel.active img { filter: brightness(0) invert(1); }
.consent { text-align: center; font-size: 14px; line-height: 1.5; color: var(--gray-darken); }
.consent a { color: var(--dark); font-weight: 500; text-decoration: underline; }

/* Social round icons (light) */
.socials { display: flex; gap: 14.667px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gray-light); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.socials a:hover { border-color: var(--red); }
.socials img { width: 26px; height: 26px; }

/* CTA banner */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--r-26); display: flex; gap: 64px; align-items: center; padding: 40px 64px; color: var(--white); }
.cta-banner .bg { position: absolute; inset: 0; pointer-events: none; }
.cta-banner .bg img { position: absolute; left: -97px; top: -1px; width: 1506px; height: 233px; max-width: none; object-fit: cover; transform: scaleX(-1); }
.cta-banner .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.24), rgba(0,0,0,.24)), linear-gradient(-71.2deg, rgba(0,0,0,.8) .37%, rgba(0,0,0,.6) 57.05%, #000 100%); }
.cta-banner .deco { position: absolute; left: 33.29px; top: 39.29px; width: 149.4px; height: 149.4px; display: flex; align-items: center; justify-content: center; }
.cta-banner .deco i { position: absolute; width: 122px; height: 122px; border-radius: var(--r-20); background: var(--red); }
.cta-banner .deco i:nth-child(1) { transform: rotate(15deg); opacity: .08; }
.cta-banner .deco i:nth-child(2) { transform: rotate(-15deg); opacity: .12; }
.cta-banner .icon { position: relative; width: 88px; height: 88px; border-radius: var(--r-20); border: 1.5px solid #FF616B; box-shadow: var(--shadow-red-28); backdrop-filter: blur(6px); background: linear-gradient(135deg, rgba(227,8,18,.28) 0%, rgba(227,8,18,0) 71.43%), rgba(20,5,8,.8); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cta-banner .icon img { width: 49.5px; height: 52.7px; max-width: none; }
.cta-banner .txt { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.cta-banner .txt h3 { font-size: 36px; font-weight: 500; line-height: 1.2; }
.cta-banner .txt p { font-size: 18px; line-height: 1.5; color: rgba(229,229,229,.8); }
.cta-banner .txt p b { color: var(--white); font-weight: 500; }
.cta-banner .btn { position: relative; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(27,27,27,.4); backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal-box { position: relative; background: var(--white); border-radius: var(--r-32); padding: 40px; width: 636px; box-shadow: var(--shadow-32-3); display: flex; flex-direction: column; gap: 32px; align-items: center; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gray-light); display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: var(--gray-darken); }
.modal-close:hover { border-color: var(--red); color: var(--red); }
.modal-title { font-size: 28px; font-weight: 500; line-height: 1.2; text-align: center; }
.modal-title span { color: var(--gray-darken); }
.success { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 20px 0; }
.success .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--red-lighter); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 36px; }

/* Lead form block (shared) */
.lead-form { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.lead-form .grid { display: flex; flex-direction: column; gap: 24px; width: 572px; }
.lead-form .row { display: flex; gap: 12px; align-items: flex-end; }
.lead-form .row > * { flex: 1; }
.lead-form .interest { padding: 0 23px; display: flex; flex-direction: column; gap: 10px; }
.lead-form .interest .chips { display: flex; justify-content: space-between; }
.lead-form .submit { display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* Product card (catalog) — Figma 2017:114957 */
.p-card { position: relative; background: var(--white); border: 1px solid #E8E8E8; border-radius: var(--r-14); padding: 6px; display: flex; flex-direction: column; gap: 12px; filter: drop-shadow(0 1px 5px rgba(17,25,38,.02)); transition: border-color .2s, box-shadow .2s; }
.p-card:hover { border-color: var(--red-light); box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.p-card .ph { position: relative; height: 160px; border-radius: 10px; background: var(--gray-lighter-2); padding: 12px; display: flex; justify-content: flex-end; align-items: flex-start; overflow: hidden; }
.p-card .ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.p-card .fav { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gray-light); background: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.p-card .fav img { width: 16px; height: 16px; }
.p-card .fav:hover, .p-card .fav.on { border-color: var(--red); }
.p-card .name { padding: 0 8px; font-size: 16px; font-weight: 500; line-height: 1.2; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.p-card .act { display: flex; gap: 12px; align-items: center; padding: 0 8px 8px; }
.p-card .more { flex: 1; height: 38px; border-radius: var(--r-pill); border: 1px solid rgba(128,128,128,.5); display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; font-weight: 500; transition: border-color .2s; }
.p-card .more img { width: 14px; height: 14px; }
.p-card .more:hover { border-color: var(--red); }
.p-card .buy { width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.p-card .buy img { width: 18px; height: 18px; }
.p-card .buy:hover { background: var(--red-dark); }
.p-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.p-grid.list { grid-template-columns: 1fr; }
.p-grid.list .p-card { flex-direction: row; align-items: center; }
.p-grid.list .p-card .ph { width: 200px; height: 130px; flex-shrink: 0; }
.p-grid.list .p-card .name { flex: 1; font-size: 18px; height: auto; }
.p-grid.list .p-card .act { width: 260px; padding: 0 8px; }

/* Catalog toolbar & pager */
.toolbar { display: flex; justify-content: space-between; align-items: center; }
.toolbar .search-pill { width: 380px; height: 36px; }
.toolbar .right { display: flex; gap: 8px; align-items: stretch; height: 38px; }
.sort { display: inline-flex; align-items: center; gap: 6px; padding: 4px 16px; border-radius: 42px; border: 1px solid var(--gray-light); background: var(--white); font-size: 12px; font-weight: 500; color: var(--gray-darken); position: relative; }
.sort img { width: 14px; height: 14px; }
.sort-menu { position: absolute; top: calc(100% + 6px); right: 0; background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--r-16); padding: 6px; box-shadow: var(--shadow-32-3); display: none; z-index: 10; min-width: 190px; }
.sort.open .sort-menu { display: block; }
.sort-menu span { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 400; color: var(--dark); white-space: nowrap; }
.sort-menu span:hover { background: var(--red-lighter-3); color: var(--red); }
.view-switch { display: inline-flex; padding: 2px; border-radius: var(--r-28); border: 1px solid var(--gray-light); background: var(--white); }
.view-switch button { width: 32px; height: 32px; border-radius: 40px; display: inline-flex; align-items: center; justify-content: center; }
.view-switch button img { width: 16px; height: 16px; }
.view-switch button.active { background: var(--red-lighter); }
.pager-row { display: flex; justify-content: space-between; align-items: center; }
.per-page { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); }
.per-page span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 42px; border: 1px solid #E8E8E8; font-size: 12px; font-weight: 500; color: var(--black); }
.per-page img { width: 14px; height: 14px; }
.pager { display: flex; gap: 12px; align-items: center; }
.pager .nums { display: flex; gap: 4px; }
.pager a { width: 34px; height: 34px; border-radius: 36px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--dark); border: 1px solid transparent; transition: border-color .2s; }
.pager a:hover { border-color: var(--gray-light); }
.pager a.cur { border-color: var(--red); color: var(--red); font-size: 12px; }
.pager a.arr { border-color: var(--gray-light); }
.pager a.arr img { width: 14px; height: 14px; }
.pager .ell { display: inline-flex; gap: 3px; } .pager .ell i { width: 2px; height: 2px; border-radius: 50%; background: var(--dark); }

/* Breadcrumbs — Figma «Хлібні крихти» */
.crumbs { display: flex; gap: 4px; align-items: center; padding: 16px var(--gutter) 0; font-size: 12px; line-height: 1.5; }
.crumbs img.home { width: 14px; height: 14px; }
.crumbs .sep { width: 10px; height: 10px; transform: rotate(-90deg); }
.crumbs a, .crumbs span { color: rgba(0,0,0,.5); white-space: nowrap; }
.crumbs a:hover { color: var(--red); }
.crumbs .cur { color: var(--black); }

/* round red arrow button */
.round-arrow { width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; }
.round-arrow img { width: 20px; height: 20px; }
.round-arrow:hover { background: var(--red-dark); transform: rotate(45deg); }

/* Page hero (inner pages) */
.page-hero { padding: 32px var(--gutter) 0; display: flex; flex-direction: column; gap: 12px; }
.page-hero h1 { font-size: 56px; font-weight: 500; line-height: 1.2; }

/* Sticky sidebar TOC (legal pages) */
.toc { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--r-24); background: var(--gray-lighter-1); border: 1px solid rgba(229,229,229,.6); }
.toc a { padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.3; color: var(--gray-darken); }
.toc a:hover { background: var(--white); color: var(--red); }
.toc a.active { background: var(--white); color: var(--red); font-weight: 500; box-shadow: var(--shadow-12-3); }

.mt-80 { margin-top: 80px; } .mt-120 { margin-top: 120px; } .mt-64 { margin-top: 64px; } .mt-48 { margin-top: 48px; } .mt-40 { margin-top: 40px; } .mt-32 { margin-top: 32px; } .mt-24 { margin-top: 24px; }

.js-fav.on { border-color: var(--red); background: var(--red-lighter-3); }

/* Lead block */
.lead-sec { padding: 0 12px; }
.lead-box { background: rgba(246,246,246,.9); border-radius: var(--r-64); padding: 60px 48px; display: flex; justify-content: space-between; align-items: center; }
.lead-left { display: flex; flex-direction: column; gap: 48px; }
.lead-left h2 { font-size: 48px; font-weight: 400; line-height: 1.2; }
.lead-left .lead { margin-top: 18px; width: 435px; color: var(--gray-darken); }
.lead-left .lead b { color: var(--dark); }
.contacts-mini { display: flex; flex-direction: column; gap: 32px; }
.contacts-mini .k { font-size: 16px; line-height: 1.5; color: var(--gray-darken); }
.contacts-mini .v-phone { font-size: 32px; font-weight: 500; line-height: 1.2; }
.contacts-mini .v-mail { font-size: 24px; font-weight: 500; line-height: 1.2; }
.lead-card { background: var(--white); border: 12px solid rgba(255,255,255,.22); background-clip: padding-box; border-radius: var(--r-32); padding: 32px; display: flex; flex-direction: column; gap: 42px; align-items: center; filter: drop-shadow(0 0 16px rgba(0,0,0,.03)); }

/* SEO text */
.seo { display: flex; justify-content: center; }
.seo-box { position: relative; width: 921px; height: 280px; border: 1px solid var(--gray-light); border-right: 0; border-radius: var(--r-24); padding: 18px 0 18px 24px; display: flex; gap: 10px; }
.seo-scroll { overflow-y: auto; padding-right: 14px; scrollbar-width: thin; scrollbar-color: var(--gray) var(--gray-light); }
.seo-scroll h3 { font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--dark); margin-bottom: 10px; }
.seo-scroll p { font-size: 16px; line-height: 1.5; color: var(--gray-dark); width: 880px; }
.seo-scroll p + p { margin-top: 24px; }
.seo-box .fade { position: absolute; left: -1px; bottom: -1px; width: 921px; height: 80px; pointer-events: none; border-radius: 0 0 0 var(--r-24); }

/* Header: background spans the whole window, content aligned with the 1440 page */
html { overflow-x: clip; }
.site-header { --bleed: min(0px, calc((var(--page) - 100vw) / 2)); margin-left: var(--bleed); margin-right: var(--bleed); }
.site-header .topbar, .site-header .navbar, .site-header .mega { padding-left: calc(var(--gutter) - var(--bleed)); padding-right: calc(var(--gutter) - var(--bleed)); }
.site-header .mega.mega--cat { left: calc(40px - var(--bleed)); right: calc(40px - var(--bleed)); padding: 16px; }
