/* ============================================================
   АЛЬТ ГК — design system / shared styles
   ============================================================ */

:root {
  --teal: #33ADB2;
  --teal-light: #3EC0C5;
  --teal-dark: #278086;
  --navy: #29224A;
  --navy-light: #3B3268;
  --ink: #22242C;
  --muted: #5C616B;
  --faint: #8A8F98;
  --line: #E4E8EA;
  --line-soft: #EEF1F2;
  --bg-tint: #F5F8F8;
  --bg-tint-2: #E7F5F5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Golos Text', sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; color: var(--navy); margin: 0; }
p { margin: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 10px;
  font-family: 'Golos Text', sans-serif; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-dark) 100%); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, var(--teal) 0%, #1F6469 100%); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(51,173,178,.4); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: #D9DEE2; }
.btn-secondary:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 8px; }
.btn:disabled { opacity: .6; cursor: default; transform: none !important; box-shadow: none !important; }
.btn.is-added { background: #3F9A5C !important; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; isolation: isolate;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 0 rgba(41,34,74,.05), 0 16px 40px -20px rgba(41,34,74,.16);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(140% 220% at 6% -20%, rgba(255,178,120,.16), transparent 55%),
    radial-gradient(140% 220% at 60% 130%, rgba(160,140,255,.18), transparent 55%),
    radial-gradient(100% 180% at 92% -10%, rgba(51,173,178,.14), transparent 55%);
}
/* Браузеры без поддержки backdrop-filter — плотная подложка вместо стекла */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: #fff; border-bottom-color: var(--line-soft); box-shadow: none; }
  .site-header::before { display: none; }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { height: 40px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav-link { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--teal); transition: width .25s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--navy); font-weight: 700; }
.nav-link:hover { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.info-btn { width: 40px; height: 40px; border: none; background: none; border-radius: 50%; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; text-decoration: none; transition: background .2s ease, color .2s ease; }
.info-btn:hover { background: var(--bg-tint); color: var(--navy); }
.phone-link { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.phone-link svg { flex-shrink: 0; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: none; background: none; cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: background .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy); transition: transform .25s ease, top .25s ease; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Header search ----------
   Pure-CSS expand-on-focus so it works with no JS: the input has zero
   width until it (or the button, via JS below) is focused/active, then
   grows via :focus-within. JS only improves click-to-expand on the icon. */
.search-form { display: flex; align-items: center; flex-shrink: 0; }
.search-btn { width: 40px; height: 40px; border: none; background: none; border-radius: 50%; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s ease, color .2s ease; }
.search-btn:hover { background: var(--bg-tint); color: var(--navy); }
.search-input {
  width: 0; min-width: 0; padding: 0; margin-left: 0; border: 1.5px solid transparent;
  background: var(--bg-tint); border-radius: 999px; font-family: 'Golos Text', sans-serif;
  font-size: 14px; color: var(--ink); opacity: 0;
  transition: width .25s ease, opacity .2s ease, padding .25s ease, margin .25s ease;
}
.search-input::placeholder { color: var(--faint); }
.search-form:focus-within .search-input,
.search-form.is-active .search-input {
  width: 190px; padding: 9px 16px; margin-left: 6px; opacity: 1;
}
.search-form:focus-within .search-input { border-color: var(--teal); }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: all .25s ease; overflow: hidden; }
.card:hover { border-color: transparent; box-shadow: 0 16px 32px rgba(41,34,74,.1); transform: translateY(-4px); }
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px; padding: 1.5px;
  background: linear-gradient(135deg,var(--teal),var(--navy));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.card:hover::after { opacity: 1; }

.icon-wrap { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg,#EAF7F7 0%,#DCF0F0 100%); display: flex; align-items: center; justify-content: center; color: var(--teal-dark); flex-shrink: 0; transition: all .25s ease; }
.card:hover .icon-wrap { background: linear-gradient(135deg,var(--teal-light),var(--teal-dark)); color: #fff; }

.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-tint-2); color: var(--teal-dark); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
/* Always fully opaque — content must never depend on a scroll/observer
   event firing to become visible (that event can be delayed or, in some
   automated/edge contexts, never fire at all). The reveal is a small,
   purely cosmetic slide-up: worst case with no JS it just sits 14px off
   its final position, never invisible. */
.reveal { opacity: 1; transform: translateY(14px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { transform: translateY(0); }

.grad-text { background: linear-gradient(135deg,var(--teal) 0%,var(--teal-dark) 55%,var(--navy) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero headline typewriter (промышленности / котельных / тепловых систем) ---------- */
.typewriter { display: inline-block; }
.typewriter-cursor { display: inline-block; width: 3px; height: 0.85em; background: var(--navy); margin-left: 2px; vertical-align: -0.1em; animation: typewriterBlink 1s step-end infinite; }
@keyframes typewriterBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .typewriter-cursor { animation: none; }
}

@keyframes floatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.chip { position: absolute; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: 0 14px 30px rgba(41,34,74,.14); animation: floatChip 4.5s ease-in-out infinite; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg,var(--teal-light),var(--teal-dark)); flex-shrink: 0; }

@keyframes bounceCue { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(5px); opacity: 1; } }

/* ---------- Category rows (home bento) ---------- */
.cat-row { text-decoration: none; }
.cat-row .chev { transition: transform .2s ease; color: #C7CBCE; flex-shrink: 0; }
.cat-row:hover .chev { transform: translateX(4px); color: var(--teal); }

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  position: relative; background: linear-gradient(135deg,#F3FAFA 0%,#EAF6F6 100%);
  border: 1.5px dashed #BFE3E4; border-radius: 22px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.photo-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(#DCF0F0 1px, transparent 1px), linear-gradient(90deg, #DCF0F0 1px, transparent 1px);
  background-size: 26px 26px; opacity: .6;
}
.ph-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--teal-dark); }
.ph-label { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }

/* ---------- Catalog page ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--faint); flex-wrap: wrap; }
.breadcrumb a { color: var(--faint); }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

.catalog-title-bar { padding: 36px 0 32px; border-bottom: 1px solid var(--line-soft); }
.catalog-title-bar .container { display: flex; flex-direction: column; gap: 14px; }

.catalog-body { display: grid; grid-template-columns: 270px 1fr; gap: 48px; padding: 48px 0 96px; }
.catalog-sidebar { display: flex; flex-direction: column; gap: 2px; }
.catalog-sidebar-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 0 16px 12px; }

.cat-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; color: #4B4F5A; font-size: 14.5px; font-weight: 500; line-height: 1.35; transition: all .2s ease; }
.cat-link:hover { background: var(--bg-tint); color: var(--navy); }
.cat-link.active { background: var(--bg-tint-2); color: var(--teal-dark); font-weight: 700; }

/* Subcategory quick-nav pills, shown above the product grid when inside a section with subsections */
.subcat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.subcat-pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--bg-tint); color: #4B4F5A; font-size: 13.5px; font-weight: 600; border: 1.5px solid transparent; transition: all .2s ease; }
.subcat-pill:hover { color: var(--navy); border-color: var(--line); }
.subcat-pill.active { background: var(--bg-tint-2); color: var(--teal-dark); border-color: var(--teal); }

/* Subcategory hub grid — shown when a top-level section with subsections is selected */
.subcat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.subcat-card { padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.subcat-card h3 { font-size: 15.5px; color: var(--navy); line-height: 1.35; }
.subcat-count { font-size: 13px; color: var(--faint); }

.results-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.results-row span { font-size: 14px; color: var(--faint); }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.product-card { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.product-card h3 { font-size: 15.5px; }
.product-card .product-sub { font-size: 13px; color: var(--muted); }
.product-card-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.product-card-actions .btn-primary { flex: 1; }
.product-card-actions .btn-secondary { padding: 10px 14px; }

/* ---------- Product page ---------- */
.product-main { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 32px 0 80px; }
.gallery { display: flex; flex-direction: column; gap: 16px; }
.gallery-main-wrap { position: relative; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gallery-thumb { display: block; height: 88px; padding: 0; margin: 0; border: 2px solid transparent; border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.gallery-thumb:hover { border-color: #BFE3E4; }
.gallery-thumb.active { border-color: var(--teal); }
.product-info { display: flex; flex-direction: column; gap: 24px; }
.product-info-head { display: flex; flex-direction: column; gap: 12px; }
.product-info-head p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.availability-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--bg-tint); border-radius: 14px; }
.availability-row span:first-child { font-size: 14.5px; color: var(--muted); }
.availability-row span:last-child { font-size: 14.5px; font-weight: 600; color: var(--teal-dark); }
.qty-add-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qty-add-row .btn { flex: 1; min-width: 200px; }
.product-perks { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.product-perk { display: flex; align-items: center; gap: 12px; }
.product-perk span { font-size: 14px; color: var(--muted); }

.product-tabs { padding-bottom: 96px; }
.tabs-row { display: flex; align-items: center; gap: 36px; border-bottom: 1px solid var(--line-soft); margin-bottom: 32px; flex-wrap: wrap; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; max-width: 820px; }

.related-section { background: var(--bg-tint); padding: 72px 0; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.related-card { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.related-card h3 { font-size: 14.5px; }
.tab { padding: 14px 4px; font-size: 15px; font-weight: 600; color: var(--faint); border-bottom: 2.5px solid transparent; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; }
.tab.active { color: var(--navy); border-color: var(--teal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.spec-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.spec-row span:first-child { color: var(--faint); }
.spec-row span:last-child { color: var(--ink); font-weight: 600; }

.qty-stepper { display: flex; align-items: center; border: 1.5px solid #D9DEE2; border-radius: 10px; overflow: hidden; }
.qty-stepper button { width: 42px; height: 48px; border: none; background: #fff; font-size: 16px; color: var(--navy); cursor: pointer; }
.qty-stepper button:hover { background: var(--bg-tint); }
.qty-stepper span { width: 46px; text-align: center; font-weight: 700; font-size: 15px; display: inline-block; }

/* ---------- Request page ---------- */
.request-title { padding: 48px 0 8px; }
.request-title h1 { font-size: 32px; font-weight: 800; }
.request-content { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; padding: 40px 0 96px; align-items: start; }
.request-items { display: flex; flex-direction: column; gap: 16px; }
.request-items-label { font-size: 14px; color: var(--faint); font-weight: 600; }
.add-more-link { display: flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; font-size: 14.5px; margin-top: 8px; }
.request-empty { display: none; padding: 32px; border: 1.5px dashed var(--line); border-radius: 16px; text-align: center; color: var(--faint); font-size: 14.5px; }

.request-form-panel { background: var(--bg-tint); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.request-form-panel h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.request-form-panel > div > p { font-size: 14px; color: var(--muted); }
.form-fine-print { font-size: 12.5px; color: var(--faint); text-align: center; }
.form-success { display: flex; align-items: center; gap: 10px; background: #E7F5E9; color: #2F7A45; border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.form-success[hidden] { display: none; }

.item-row { display: flex; align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
.item-qty { display: flex; align-items: center; border: 1.5px solid #E0E4E7; border-radius: 9px; overflow: hidden; flex-shrink: 0; }
.item-qty button { width: 34px; height: 38px; border: none; background: #fff; font-size: 15px; color: var(--navy); cursor: pointer; }
.item-qty button:hover { background: var(--bg-tint); }
.item-qty span { width: 36px; text-align: center; font-weight: 700; font-size: 14px; display: inline-block; }
.remove-btn { width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid #E0E4E7; background: #fff; color: var(--faint); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s ease; flex-shrink: 0; }
.remove-btn:hover { border-color: #E4685A; color: #E4685A; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: #4B4F5A; }
.field input, .field textarea {
  font-family: 'Golos Text', sans-serif; font-size: 15px; padding: 14px 16px;
  border: 1.5px solid #E0E4E7; border-radius: 10px; color: var(--ink); outline: none;
  transition: border-color .2s ease; resize: none; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--teal); }

/* ---------- Contacts page ---------- */
.contacts-grid { display: grid; grid-template-columns: .95fr 1.25fr; gap: 32px; padding: 40px 0 96px; align-items: stretch; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-tint-2); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row h3 { font-family: 'Golos Text', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.contact-row p { margin: 0; font-size: 14.5px; color: #5C616B; line-height: 1.55; }
.contact-row a.contact-value { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.contact-row a.contact-value:hover { color: var(--teal); }
.contact-card .btn { align-self: flex-start; margin-top: 4px; }
.map-card { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 460px; }
.map-card iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- About page ---------- */
.about-banner { border-radius: 24px; overflow: hidden; margin: 8px 0 48px; box-shadow: 0 20px 44px -24px rgba(41,34,74,.28); }
.about-banner img { width: 100%; display: block; }
.about-intro { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: start; padding-top: 32px; padding-bottom: 64px; }
.about-intro > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.about-intro p { font-size: 15.5px; color: #4B4F5A; line-height: 1.7; margin: 0; }
.about-intro h2 { font-size: 22px; margin-top: 8px; }
.about-intro h3 { font-size: 16px; margin-top: 4px; }
.stat-card { background: var(--navy); border-radius: 24px; padding: 40px 32px; color: #fff; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; right: -50px; top: -50px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle,var(--teal) 0%,rgba(51,173,178,0) 70%); opacity: .5; }
.stat-card .stat-num { position: relative; z-index: 1; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 52px; line-height: 1; background: linear-gradient(135deg,#fff 0%,#7FDCE0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card .stat-label { position: relative; z-index: 1; display: block; margin-top: 10px; font-size: 15px; color: #C7C2DA; line-height: 1.5; }
.stat-card ul { position: relative; z-index: 1; list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.stat-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #E4E1F0; line-height: 1.5; }
.stat-card ul li svg { flex-shrink: 0; margin-top: 2px; color: var(--teal-light); }

.direction-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 32px 0 64px; }
.direction-item { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.direction-item h3 { font-size: 16px; }
.direction-item p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; margin: 28px 0 64px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: #3A3E47; line-height: 1.55; }
.check-item svg { flex-shrink: 0; margin-top: 2px; color: var(--teal); }

.partners-block { padding-bottom: 64px; }
.partners-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; align-items: center; margin: 28px 0 24px; }
.partners-strip .partner-logo { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; height: 84px; }
.partners-strip .partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partners-note { font-size: 13.5px; color: var(--faint); line-height: 1.6; margin: 0; }

.facts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.fact-item { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; }
.fact-icon { width: 60px; height: 60px; border-radius: 16px; background: #FBEAEA; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fact-icon img { width: 32px; height: 32px; }
.fact-item p { margin: 0; font-size: 14.5px; color: #3A3E47; line-height: 1.6; }

.about-banner-2 { border-radius: 24px; overflow: hidden; margin: 64px 0; }
.about-banner-2 img { width: 100%; display: block; }

/* ---------- Delivery page ---------- */
.delivery-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 48px; }
.delivery-intro p { font-size: 15.5px; color: #4B4F5A; line-height: 1.7; margin: 0 0 16px; }
.delivery-intro p:last-child { margin-bottom: 0; }
.delivery-photo { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 44px -24px rgba(41,34,74,.28); }
.delivery-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.delivery-callout { display: flex; align-items: center; gap: 16px; background: var(--bg-tint-2); border-radius: 18px; padding: 20px 24px; margin: 4px 0 0; }
.delivery-callout .callout-icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal-dark); }
.delivery-callout p { margin: 0; font-size: 14.5px; color: var(--navy); font-weight: 600; line-height: 1.5; }
.delivery-section { padding-bottom: 64px; }
.delivery-section h2 { font-size: 24px; margin-bottom: 12px; }
.delivery-section > .container > p { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 760px; margin: 0 0 8px; }
.delivery-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 24px; }
.delivery-table { width: 100%; border-collapse: collapse; }
.delivery-table th { text-align: left; background: var(--bg-tint); color: var(--faint); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; padding: 16px 24px; }
.delivery-table td { padding: 18px 24px; font-size: 14.5px; color: #3A3E47; border-top: 1px solid var(--line); vertical-align: top; }
.delivery-table tr:first-child td { border-top: none; }
.delivery-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; padding-left: 16px; }
.delivery-table tr.is-free td:last-child { color: var(--teal-dark); }
.delivery-note { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--faint); line-height: 1.6; margin-top: 20px; }
.delivery-note svg { flex-shrink: 0; margin-top: 2px; color: var(--faint); }
.regions-block { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.regions-block .delivery-photo { order: 2; }
.regions-block .regions-copy { order: 1; }
.regions-copy p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0 0 20px; }
.regions-copy .check-item { margin: 0; }

@media (max-width: 1024px) {
  .delivery-intro { grid-template-columns: 1fr; gap: 28px; }
  .delivery-photo { order: -1; }
  .regions-block { grid-template-columns: 1fr; gap: 28px; }
  .regions-block .delivery-photo { order: -1; }
}
@media (max-width: 768px) {
  .delivery-table th:nth-child(1), .delivery-table td:nth-child(1) { padding-left: 18px; }
  .delivery-table th:last-child, .delivery-table td:last-child { padding-right: 18px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-tint); padding: 64px 0 0; border-top: 1px solid var(--line-soft); }
.site-footer a { color: var(--muted); font-size: 14.5px; }
.site-footer a:hover { color: var(--teal); }
.footer-h { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { height: 52px; width: auto; display: block; align-self: flex-start; flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--line); }
.footer-bottom span { font-size: 13.5px; color: var(--faint); }

/* ---------- Home: hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg,#FBFEFE 0%,#FFFFFF 100%); padding: 88px 0 40px; }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob.a { top: -140px; left: -100px; width: 460px; height: 460px; background: radial-gradient(circle,rgba(51,173,178,.18) 0%,rgba(51,173,178,0) 70%); }
.hero-blob.b { bottom: -200px; right: -120px; width: 520px; height: 520px; background: radial-gradient(circle,rgba(41,34,74,.12) 0%,rgba(41,34,74,0) 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy h1 { font-size: 48px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.hero-copy p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-3d-stage { height: 420px; }
.hero-3d-stage model-viewer {
  width: 100%; height: 100%;
  --poster-color: transparent;
  background-color: transparent;
}
.scroll-cue { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: 56px; }
.scroll-cue-dot { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; animation: bounceCue 2.4s ease-in-out infinite; }

/* ---------- Home: trust bar ---------- */
.trust-bar { position: relative; overflow: hidden; background: linear-gradient(115deg,#241C3D 0%,#29224A 55%,#221B3B 100%); padding: 36px 0; }
.trust-bar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(480px circle at 12% 30%, rgba(51,173,178,.16), transparent 60%); }
.trust-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item:not(:first-child) { border-left: 1px solid rgba(255,255,255,.14); padding-left: 24px; }
.trust-item span { color: #fff; font-size: 14.5px; font-weight: 500; }

/* ---------- Home: categories ---------- */
.categories-section { padding: 96px 0; }
.categories-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 32px; align-items: stretch; }
.cat-panel { position: relative; overflow: hidden; background: linear-gradient(155deg,var(--navy) 0%,var(--navy-light) 100%); border-radius: 24px; padding: 44px 34px; display: flex; flex-direction: column; gap: 18px; }
.cat-panel::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle,var(--teal) 0%,rgba(51,173,178,0) 70%); opacity: .45; pointer-events: none; }
.cat-panel > * { position: relative; z-index: 1; }
.cat-panel h2 { color: #fff; font-size: 30px; font-weight: 800; line-height: 1.15; }
.cat-panel p { color: #C7C2DA; font-size: 14.5px; line-height: 1.65; }
.cat-rows { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.cat-row-item { padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.cat-row-item .cat-icon { width: 44px; height: 44px; border-radius: 12px; }
.cat-row-item .cat-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cat-row-item h3 { font-size: 14.5px; }
.cat-row-item .cat-sub { font-size: 12.5px; color: var(--faint); }

/* ---------- Home: why us ---------- */
.whyus-section { background: var(--bg-tint); padding: 96px 0; }
.whyus-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 640px; }
.whyus-head h2 { font-size: 36px; font-weight: 800; }
.whyus-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.whyus-item { display: flex; flex-direction: column; gap: 16px; }
.whyus-item h3 { font-size: 17px; }
.whyus-item p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- CTA banner ---------- */
.cta-section { padding: 96px 0; }
.cta-banner { background: var(--navy); border-radius: 28px; padding: 64px 72px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle,var(--teal) 0%,rgba(51,173,178,0) 70%); opacity: .5; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; max-width: 560px; position: relative; z-index: 1; }
.cta-copy h2 { color: #fff; font-size: 32px; font-weight: 800; }
.cta-copy p { color: #C7C2DA; font-size: 16px; line-height: 1.6; }
.cta-banner .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- Floating request pill ---------- */
.request-pill {
  position: fixed; right: 24px; bottom: 24px; z-index:200;
  display: flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; padding: 16px 24px; border-radius: 999px;
  box-shadow: 0 14px 32px rgba(41,34,74,.35); font-weight: 700; font-size: 14.5px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.request-pill:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(41,34,74,.45); }
.request-pill svg { flex-shrink: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: var(--navy); color: #fff; padding: 14px 24px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; box-shadow: 0 14px 32px rgba(41,34,74,.35);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 300;
  display: flex; align-items: center; gap: 10px;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .hero-copy h1 { font-size: 40px; }

  .trust-grid { grid-template-columns: repeat(2,1fr); row-gap: 20px; }
  .trust-item:nth-child(3) { border-left: none; padding-left: 0; }

  .categories-grid { grid-template-columns: 1fr; }
  .cat-rows { grid-template-columns: repeat(2,1fr); }

  .whyus-grid { grid-template-columns: repeat(2,1fr); row-gap: 32px; }

  .cta-banner { flex-direction: column; align-items: flex-start; padding: 48px; }

  .catalog-body { grid-template-columns: 1fr; gap: 24px; }
  .catalog-sidebar { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .catalog-sidebar-label { display: none; }
  .cat-link { flex-shrink: 0; white-space: nowrap; }
  .subcat-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }

  .product-main { grid-template-columns: 1fr; gap: 36px; }
  .related-grid { grid-template-columns: repeat(2,1fr); }

  .request-content { grid-template-columns: 1fr; gap: 32px; }
  .request-form-panel { position: static; }

  .contacts-grid { grid-template-columns: 1fr; gap: 28px; }
  .map-card, .map-card iframe { min-height: 340px; }

  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .direction-grid { grid-template-columns: repeat(2,1fr); }
  .partners-strip { grid-template-columns: repeat(3,1fr); }
  .facts-grid { grid-template-columns: 1fr; }
}

/* Промежуточная зона: пункты меню ещё помещаются в одну строку,
   но места впритык — сжимаем интервалы и прячем текст телефона
   (сама ссылка звонка остаётся кликабельной по иконке). */
@media (max-width: 1240px) {
  .site-header .container { gap: 16px; }
  .main-nav { gap: 18px; }
  .nav-link { font-size: 14px; }
  .header-actions { gap: 12px; }
  .phone-link span { display: none; }
  .search-form:focus-within .search-input,
  .search-form.is-active .search-input { width: 150px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .phone-link span { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.mobile-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 88px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line-soft); padding: 16px 24px 24px;
    box-shadow: 0 16px 30px rgba(41,34,74,.08);
  }
  .main-nav.mobile-open .nav-link { padding: 12px 0; width: 100%; }
  .main-nav.mobile-open .nav-link::after { display: none; }

  .search-form:focus-within .search-input,
  .search-form.is-active .search-input { width: 130px; }
}

@media (max-width: 480px) {
  .header-actions { gap: 10px; }
  .search-form:focus-within .search-input,
  .search-form.is-active .search-input { width: 100px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  h1 { font-size: 28px !important; }

  /* Фото товара: на узких экранах фиксированная высота 420px даёт слишком
     много пустого фона сверху/снизу у object-fit:contain — уменьшаем. */
  .gallery-main-wrap img, .gallery-main-wrap .photo-placeholder { height: 208px !important; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .direction-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .partners-strip { grid-template-columns: repeat(2,1fr); }
  .stat-card { padding: 32px 24px; }

  .request-pill span.pill-label { display: none; }
  .request-pill { padding: 14px 16px; }

  .hero { padding: 32px 0 24px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { display: none; }
  .scroll-cue { display: none; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: none !important; padding-left: 0 !important; }

  .categories-section, .whyus-section, .cta-section { padding: 56px 0; }
  .cat-panel { padding: 32px 24px; }
  .cat-rows { grid-template-columns: 1fr; }

  .whyus-grid { grid-template-columns: 1fr; row-gap: 28px; }

  .cta-banner { padding: 32px 24px; }
  .cta-copy h2 { font-size: 24px; }
  .cta-banner .btn { width: 100%; }

  .product-grid { grid-template-columns: 1fr; }
  .catalog-body { padding: 32px 0 64px; }

  .qty-add-row { flex-direction: column; align-items: stretch; }
  .qty-add-row .qty-stepper { align-self: flex-start; }
  .spec-table { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tabs-row { gap: 22px; }

  .item-row { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .item-row .photo-placeholder { width: 60px; height: 60px; }
  .request-form-panel { padding: 28px 22px; }
}
