:root {
  --bg: #eef2f5;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #d9e1ea;
  --accent: #ef4e36;
  --accent-dark: #c83723;
  --dark: #152034;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100%; margin: 0; color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); line-height: 1.6; }
body, input, textarea, button { font: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
main { background: var(--bg); }
.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(217, 225, 234, 0.75); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.header-logo, .footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #ff8a65); position: relative; box-shadow: 0 12px 28px rgba(239, 78, 54, 0.24); flex: 0 0 auto; }
.logo-mark::after { content: ""; position: absolute; inset: 9px 6px; border-top: 3px solid #fff; border-bottom: 3px solid #fff; transform: skewX(-18deg); }
.header-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-nav a, .header-contacts a { padding: 10px 12px; border-radius: 999px; font-size: 14px; color: #263447; transition: 0.2s ease; white-space: nowrap; }
.header-nav a:hover, .header-contacts a:hover { color: var(--accent); background: #fff1ee; }
.header-contacts { display: flex; gap: 8px; align-items: center; font-weight: 800; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.cart-button { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 10px 14px; background: var(--dark); color: #fff; cursor: pointer; font-weight: 900; box-shadow: 0 12px 28px rgba(21, 32, 52, 0.18); }
.cart-button strong { min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; }
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; color: #fff; background: linear-gradient(115deg, rgba(10, 19, 34, 0.92), rgba(10, 19, 34, 0.78)), url("/assets/resources/img/banner.png") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: 80px; background: radial-gradient(circle, rgba(239, 78, 54, 0.38), rgba(239, 78, 54, 0)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 60px; align-items: center; padding: 96px 0; }
.eyebrow, .section-label { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-bottom: 18px; padding: 7px 12px; border-radius: 999px; color: var(--accent); background: #fff1ee; font-size: 13px; font-weight: 900; letter-spacing: 0.02em; }
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.18); }
.hero h1 { max-width: 920px; margin: 0 0 24px; font-size: clamp(42px, 6vw, 82px); line-height: 0.98; letter-spacing: -0.06em; }
.hero p { max-width: 720px; margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 900; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent), #ff714f); box-shadow: 0 16px 34px rgba(239, 78, 54, 0.32); }
.btn-light { color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); }
.hero-card { display: grid; gap: 10px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-card span { color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.hero-card strong { margin-bottom: 12px; font-size: 24px; line-height: 1.15; }
.category-pills { display: flex; flex-wrap: wrap; gap: 12px; padding: 34px 0 16px; }
.category-pills a { padding: 13px 18px; border-radius: 12px; background: #fff; color: var(--accent); font-weight: 900; font-size: 14px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05); border: 1px solid rgba(217, 225, 234, 0.75); }
.page-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding: 22px 0 70px; }
.catalog-sidebar { position: sticky; top: 98px; align-self: start; max-height: calc(100vh - 116px); overflow: auto; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid rgba(217, 225, 234, 0.75); box-shadow: var(--shadow); }
.sidebar-title { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--accent), #ff714f); font-size: 14px; font-weight: 900; }
.sidebar-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sidebar-group:last-child { border-bottom: 0; }
.sidebar-group a { display: block; margin-bottom: 10px; color: var(--text); font-weight: 900; }
.sidebar-group span { display: block; padding: 6px 0 6px 12px; color: #334155; font-size: 13px; border-left: 2px solid #f2b1a6; }
.content-flow { display: grid; gap: 24px; }
.info-card, .seo-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: #fff; border: 1px solid rgba(217, 225, 234, 0.85); box-shadow: var(--shadow); }
.info-card h2, .seo-card h2 { margin: 0 0 18px; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.12; letter-spacing: -0.04em; }
.info-card h3, .seo-card h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }
.info-card p, .seo-card p { margin: 0 0 16px; color: #334155; }
.info-card p:last-child, .seo-card p:last-child { margin-bottom: 0; }
.intro-card { display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 34px; align-items: center; }
.scheme-card { padding: 20px; border-radius: 20px; background: linear-gradient(180deg, #f8fafc, #eef2f5); border: 1px solid var(--line); }
.scheme-card img { width: 100%; border-radius: 14px; object-fit: contain; background: #fff; }
.scheme-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.scheme-tags span { padding: 8px 10px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 13px; font-weight: 900; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; margin-bottom: 24px; }
.section-head p { color: var(--muted); }
.spec-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 18px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-table div:nth-child(even) { border-right: 0; }
.spec-table div:nth-last-child(-n + 2) { border-bottom: 0; }
.spec-table span { color: var(--muted); }
.spec-table strong { text-align: right; }
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05); display: flex; flex-direction: column; }
.product-card > img { width: 100%; height: 260px; object-fit: contain; background: #f8fafc; border-bottom: 1px solid var(--line); }
.product-body { padding: 24px; display: grid; gap: 12px; flex: 1; }
.product-tag { width: fit-content; padding: 7px 10px; border-radius: 999px; color: var(--accent); background: #fff1ee; font-size: 12px; font-weight: 900; }
.product-body h3 { margin: 0; font-size: 22px; }
.product-body p { margin: 0; color: #334155; }
.product-body ul { margin: 0; padding-left: 19px; color: #334155; font-size: 14px; }
.product-body .btn { align-self: end; margin-top: 8px; width: 100%; }
.pdf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pdf-grid figure { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); }
.pdf-grid img { width: 100%; height: 180px; object-fit: contain; background: #fff; border-radius: 14px; }
.pdf-grid figcaption { margin-top: 10px; color: #334155; font-weight: 900; font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.category-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #fff, #f8fafc); transition: transform 0.2s ease, border-color 0.2s ease; }
.category-grid article:hover { transform: translateY(-3px); border-color: #f2b1a6; }
.category-grid span { display: inline-block; margin-bottom: 12px; color: var(--accent); font-size: 13px; font-weight: 900; }
.request-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: start; background: linear-gradient(135deg, #fff 0%, #fff8f6 100%); }
.request-form { display: grid; gap: 14px; }
.request-form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 900; }
.request-form input, .request-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 16px; color: var(--text); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.request-form textarea { resize: vertical; }
.request-form input:focus, .request-form textarea:focus { border-color: #f2b1a6; box-shadow: 0 0 0 4px #fff1ee; }
.form-status { min-height: 22px; color: var(--muted); font-size: 14px; }
.seo-section { padding-bottom: 80px; }
.seo-card { box-shadow: none; }
.cart-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; }
.cart-drawer.is-open { pointer-events: auto; visibility: visible; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.48); opacity: 0; transition: opacity 0.2s ease; }
.cart-drawer.is-open .cart-backdrop { opacity: 1; }
.cart-panel { position: absolute; top: 0; right: 0; width: min(560px, 100%); height: 100%; overflow: auto; padding: 28px; background: #fff; box-shadow: -22px 0 50px rgba(15, 23, 42, 0.22); transform: translateX(100%); transition: transform 0.24s ease; }
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 18px; }
.cart-head h2 { margin: 0; font-size: 32px; line-height: 1.1; }
.cart-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-soft); cursor: pointer; font-size: 30px; line-height: 1; color: var(--text); }
.cart-items { display: grid; gap: 12px; margin-bottom: 18px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.cart-item h3 { margin: 0 0 4px; font-size: 16px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button, .cart-remove { border: 1px solid var(--line); background: #fff; border-radius: 10px; min-width: 34px; height: 34px; cursor: pointer; font-weight: 900; }
.cart-remove { color: var(--accent); padding: 0 10px; }
.cart-empty { display: none; margin: 16px 0 22px; padding: 18px; border-radius: 16px; background: var(--surface-soft); color: var(--muted); }
.cart-empty.is-visible { display: block; }
.cart-form { padding-top: 16px; border-top: 1px solid var(--line); }
.footer { color: #dbe7f3; background: #101827; padding: 52px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { margin-bottom: 14px; color: #fff; font-size: 20px; }
.footer p { margin: 0; color: #9fb1c7; }
.footer-nav, .footer-contacts { display: grid; gap: 10px; align-content: start; }
.footer a:hover { color: #fff; }
.hide, .order-form { display: none; }
@media (max-width: 1180px) {
  .hero-grid, .intro-card, .request-card { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .page-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; max-height: none; }
  .products-grid, .pdf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; padding: 14px 0; }
  .menu-toggle { display: inline-flex; }
  .header-nav { display: none; order: 4; width: 100%; margin-left: 0; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
  .header-nav.is-open { display: grid; }
  .header-contacts { width: 100%; order: 5; flex-wrap: wrap; }
  .cart-button { order: 3; margin-left: 0; }
  .section-head, .spec-table, .category-grid, .footer-grid { grid-template-columns: 1fr; }
  .spec-table div, .spec-table div:nth-child(even), .spec-table div:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .spec-table div:last-child { border-bottom: 0; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1240px); }
  .hero { min-height: auto; }
  .hero-grid { gap: 32px; padding: 64px 0; }
  .hero p { font-size: 16px; }
  .hero-actions, .category-pills { display: grid; }
  .btn, .category-pills a { width: 100%; }
  .info-card, .seo-card { padding: 22px; border-radius: 18px; }
  .products-grid, .pdf-grid { grid-template-columns: 1fr; }
  .product-card > img { height: 220px; }
  .spec-table div { display: grid; }
  .spec-table strong { text-align: left; }
  .cart-panel { padding: 20px; }
  .cart-item { grid-template-columns: 1fr; }
}


.btn-outline { color: var(--accent); background: #fff; border: 1px solid #ffd6ce; box-shadow: none; }
.btn-outline:hover { background: #fff5f2; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; padding: 10px 12px; border-radius: 999px; font-size: 14px; color: #263447; cursor: pointer; font-weight: 800; white-space: nowrap; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover { color: var(--accent); background: #fff1ee; }
.catalog-menu { position: absolute; top: calc(100% + 12px); left: 0; z-index: 20; width: min(760px, 90vw); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16); }
.catalog-menu a { border-radius: 12px; background: #f8fafc; }
.page-hero { color: #fff; background: radial-gradient(circle at 10% 0%, rgba(239, 78, 54, 0.28), transparent 34%), linear-gradient(135deg, #101827, #25354a); padding: 70px 0 46px; }
.page-hero-wide { padding-bottom: 64px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 42%); gap: 42px; align-items: center; }
.page-hero h1 { margin: 16px 0; font-size: clamp(36px, 6vw, 70px); line-height: 0.98; letter-spacing: -0.06em; }
.page-hero p { max-width: 760px; margin: 0 0 26px; color: rgba(255,255,255,0.82); font-size: 19px; line-height: 1.6; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: rgba(255,255,255,0.68); font-size: 14px; }
.breadcrumbs a { color: rgba(255,255,255,0.86); }
.breadcrumbs a:hover { color: #fff; }
.page-main-image { margin: 0; padding: 18px; border-radius: 24px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); box-shadow: var(--shadow); }
.page-main-image img { width: 100%; max-height: 420px; object-fit: contain; border-radius: 16px; background: #fff; }
.page-main-image figcaption { margin-top: 12px; color: rgba(255,255,255,0.76); font-size: 13px; }
.category-page { display: grid; gap: 24px; padding: 34px 0 72px; }
.page-content-card > p { font-size: 17px; line-height: 1.7; }
.page-grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.section-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #fff, #f8fafc); }
.feature-list { margin: 0; padding-left: 20px; color: #334155; display: grid; gap: 8px; }
.source-note { margin-top: 28px; padding: 16px 18px; border-radius: 16px; background: #fff7ed; color: #7c2d12; font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-card, .catalog-link-card { color: inherit; }
.related-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform 0.2s ease, border-color 0.2s ease; }
.related-card:hover, .catalog-link-card:hover { transform: translateY(-3px); border-color: #f2b1a6; }
.related-card img { width: 100%; height: 130px; object-fit: contain; border-radius: 14px; background: #f8fafc; }
.related-card span { color: var(--accent); font-size: 12px; font-weight: 900; }
.related-card strong { font-size: 17px; line-height: 1.25; }
.related-card p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-link-card { text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease; }
@media (max-width: 1180px) {
  .page-hero-grid, .page-grid-two, .related-grid { grid-template-columns: 1fr; }
  .catalog-menu { width: min(620px, 88vw); }
}
@media (max-width: 980px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown summary { display: block; width: 100%; border-radius: 12px; }
  .catalog-menu { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; margin-top: 8px; }
}

.consent-label { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; color: #475569 !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.45; }
.consent-label input { width: 18px !important; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--accent); }
.consent-label a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.policy-page { padding: 42px 0 78px; }
.policy-card { display: grid; gap: 24px; }
.policy-card h2 { margin: 0 0 12px; font-size: 28px; }
.policy-card h3 { margin: 18px 0 8px; font-size: 21px; }
.policy-card p { margin: 0 0 12px; color: #334155; line-height: 1.7; }
.policy-card ul { margin: 0 0 12px; padding-left: 22px; color: #334155; line-height: 1.65; }
.policy-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.policy-meta div { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.policy-meta span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.policy-meta strong { display: block; margin-top: 5px; color: var(--text); }
@media (max-width: 980px) { .policy-meta { grid-template-columns: 1fr; } }
