:root {
  --navy: #0b1d3b;
  --navy-2: #10294f;
  --ink: #151b25;
  --muted: #687386;
  --line: #dfe5ed;
  --soft: #f4f7fa;
  --white: #ffffff;
  --orange: #ff6b00;
  --orange-dark: #db5c00;
  --cyan: #00e7f0;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(8, 25, 52, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, Arial, Helvetica, sans-serif; text-rendering: optimizeLegibility; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: var(--white); }

h1, h2, h3 { margin: 0; font-family: Montserrat, Arial, sans-serif; letter-spacing: -0.035em; }
h1 { font-size: clamp(44px, 6.2vw, 86px); line-height: 0.98; }
h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; }
h3 { font-size: 21px; line-height: 1.2; }
p { line-height: 1.65; }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.eyebrow.light { color: #ff9b52; }

.site-header { position: sticky; z-index: 50; top: 0; height: 82px; background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(11,29,59,0.09); backdrop-filter: blur(14px); }
.header-row { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { width: 184px; flex: 0 0 auto; }
.brand img { width: 100%; height: 54px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 24px; font-size: 13px; font-weight: 700; }
.main-nav a { padding: 11px 0; color: #344055; border-bottom: 2px solid transparent; transition: 0.2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--orange); border-color: var(--orange); }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; font-family: Montserrat, Arial, sans-serif; font-size: 16px; font-weight: 800; color: var(--navy); }
.header-phone span { margin-bottom: 4px; color: var(--orange); font-family: Inter, Arial, sans-serif; font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; }

.button { min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; font-weight: 800; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); box-shadow: 0 14px 34px rgba(255,107,0,0.24); }
.button-primary:hover { background: var(--orange-dark); box-shadow: 0 17px 40px rgba(255,107,0,0.32); }
.button-ghost { border-color: rgba(255,255,255,0.42); color: var(--white); background: rgba(255,255,255,0.07); }
.button-ghost:hover { background: rgba(255,255,255,0.13); }
.button-wide { width: 100%; }
.text-link { padding: 0; margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--orange); font-weight: 800; cursor: pointer; }

/* Direction page */
.direction-hero { position: relative; min-height: 820px; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-shade { background: linear-gradient(90deg, rgba(5,15,31,.36) 0%, rgba(5,15,31,.28) 46%, rgba(5,15,31,.06) 72%), linear-gradient(0deg, rgba(5,15,31,.96) 0%, transparent 54%); }
.direction-copy { position: relative; z-index: 2; padding-top: 68px; }
.direction-copy h1 { max-width: 780px; font-size: clamp(46px, 4.4vw, 68px); line-height: 1.02; }
.direction-copy h1 span, .product-hero-copy h1 span { color: #ff8c3a; }
.direction-copy > p:not(.eyebrow) { max-width: 610px; margin: 22px 0 18px; color: #d8e1ef; font-size: 16px; }
.hero-contacts { display: flex; align-items: center; gap: 20px; }
.hero-contacts a { font-family: Montserrat, Arial, sans-serif; font-size: 19px; font-weight: 800; }
.hero-contacts span { color: #9eafc8; font-size: 13px; }
.direction-cards { position: absolute; z-index: 3; left: 50%; bottom: 38px; transform: translateX(-50%); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.direction-card { position: relative; overflow: hidden; min-height: 235px; padding: 28px 30px; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); background: rgba(9,25,52,0.86); backdrop-filter: blur(16px); box-shadow: var(--shadow); transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.direction-card:hover { transform: translateY(-7px); border-color: rgba(255,139,58,0.9); background: rgba(11,31,65,0.94); }
.direction-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -80px; bottom: -100px; border: 1px solid rgba(255,107,0,0.34); border-radius: 50%; }
.direction-card p { margin: 0 0 8px; color: #ff9b52; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.13em; }
.direction-card h2 { font-size: clamp(27px, 2.5vw, 35px); }
.direction-card ul { margin: 17px 0 21px; padding: 0; display: flex; gap: 14px; list-style: none; color: #b9c6d8; font-size: 12px; }
.direction-card li:not(:last-child)::after { content: "·"; margin-left: 16px; color: var(--orange); }
.direction-card strong { display: flex; align-items: center; gap: 10px; color: var(--white); }
.direction-number { position: absolute; top: 28px; right: 30px; color: rgba(255,255,255,0.23); font-family: Montserrat, Arial, sans-serif; font-size: 34px; font-weight: 800; }
.split-copy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.split-copy > p { margin: 0; color: var(--muted); font-size: 17px; }
.process-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-card { padding: 34px 28px 34px 0; }
.process-card + .process-card { padding-left: 28px; border-left: 1px solid var(--line); }
.process-card > span { color: var(--orange); font-size: 12px; font-weight: 800; }
.process-card h3 { margin: 16px 0 10px; }
.process-card p { margin: 0; color: var(--muted); font-size: 14px; }
.home-cta { padding: 76px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-row h2 { max-width: 820px; font-size: clamp(34px, 4.2vw, 56px); }

/* Product landing */
.product-hero { position: relative; min-height: 690px; overflow: hidden; background: var(--navy); color: var(--white); }
.product-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,32,0.98) 0%, rgba(4,15,32,0.88) 37%, rgba(4,15,32,0.28) 70%, rgba(4,15,32,0.12) 100%), linear-gradient(0deg, rgba(4,15,32,0.5), transparent 60%); }
.product-hero-copy { position: relative; z-index: 2; padding-top: 62px; }
.crumbs { display: flex; gap: 10px; margin-bottom: 46px; color: #99a9c1; font-size: 12px; }
.crumbs a:hover { color: var(--white); }
.product-hero-copy h1 { max-width: 960px; font-size: clamp(44px, 6vw, 82px); }
.hero-lead { max-width: 730px; margin: 26px 0 30px; color: #d6dfec; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; }
.hero-note { margin-top: 26px; color: #96a7bf; font-size: 12px; }
.facts-strip { position: relative; z-index: 4; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(6,24,49,0.05); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { padding: 30px 26px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.facts-grid > div:last-child { border-right: 1px solid var(--line); }
.facts-grid strong { color: var(--navy); font-family: Montserrat, Arial, sans-serif; font-size: 24px; }
.facts-grid span { margin-top: 7px; color: var(--muted); font-size: 12px; }

.section-heading { margin-bottom: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.section-heading > p { margin: 0; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product-card { position: relative; min-height: 410px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: left; cursor: pointer; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px); border-color: #ffb077; box-shadow: var(--shadow); }
.product-card::after { content: ""; position: absolute; top: -55px; right: -55px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,0,.15), transparent 70%); }
.product-card-top { display: flex; align-items: center; justify-content: space-between; }
.product-card-top span { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.product-card-top b { color: #d6dce4; font-family: Montserrat, Arial, sans-serif; font-size: 28px; }
.product-card h3 { margin: 28px 0 14px; font-size: 28px; color: var(--navy); }
.product-card > p { min-height: 70px; margin: 0; color: var(--muted); font-size: 14px; }
.product-card ul { margin: 23px 0 80px; padding: 0; list-style: none; }
.product-card li { margin: 10px 0; display: flex; gap: 10px; align-items: flex-start; color: #3d495b; font-size: 13px; }
.product-card li svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--orange); }
.product-card-footer { position: absolute; left: 30px; right: 30px; bottom: 27px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.product-card-footer strong { color: var(--navy); font-size: 14px; }
.product-card-footer span { display: flex; align-items: center; gap: 8px; color: var(--orange); font-size: 13px; font-weight: 800; }
.product-card-footer svg { width: 17px; height: 17px; }

.content-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 92px; align-items: start; }
.content-grid > div > p:not(.eyebrow) { margin: 26px 0 0; color: var(--muted); font-size: 16px; }
.grade-list { border-top: 1px solid var(--line); }
.grade-list > div { padding: 22px 0; display: grid; grid-template-columns: 180px 1fr; gap: 30px; border-bottom: 1px solid var(--line); }
.grade-list strong { color: var(--navy); font-family: Montserrat, Arial, sans-serif; }
.grade-list p { margin: 0; color: var(--muted); font-size: 14px; }
.process-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 92px; }
.number-list { border-top: 1px solid var(--line); }
.number-list > div { padding: 25px 0; display: grid; grid-template-columns: 50px 1fr; gap: 24px; border-bottom: 1px solid var(--line); }
.number-list > div > span { color: var(--orange); font-weight: 900; }
.number-list h3 { font-size: 20px; }
.number-list p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.filter-scheme { align-items: center; }
.scheme-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scheme-list > div { min-height: 185px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.scheme-list span { display: block; margin-bottom: 30px; color: var(--orange); font-weight: 900; }
.scheme-list strong { display: block; color: var(--navy); font-family: Montserrat, Arial, sans-serif; font-size: 17px; }
.scheme-list p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.tech-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech-row { min-height: 92px; padding: 20px 24px; display: grid; grid-template-columns: .7fr 1.1fr 1.2fr; gap: 28px; align-items: center; border-top: 1px solid var(--line); }
.tech-row:first-child { border-top: 0; }
.tech-row strong { color: var(--navy); }
.tech-row span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.tech-head { min-height: 60px; background: var(--navy); }
.tech-head span { color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gas-section .content-grid { align-items: center; }
.gas-section p:not(.eyebrow) { color: #b8c5d8; }
.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.material-grid > div { padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.04); }
.material-grid strong, .material-grid span { display: block; }
.material-grid strong { margin-bottom: 8px; font-family: Montserrat, Arial, sans-serif; }
.material-grid span { color: #ff9b52; font-size: 13px; }
.material-grid small { grid-column: 1 / -1; color: #899ab5; line-height: 1.5; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 92px; }
.faq-grid details { border-top: 1px solid var(--line); }
.faq-grid details:last-child { border-bottom: 1px solid var(--line); }
.faq-grid summary { padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; color: var(--navy); font-family: Montserrat, Arial, sans-serif; font-size: 18px; font-weight: 800; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary span { color: var(--orange); font-size: 26px; font-weight: 400; transition: transform .2s ease; }
.faq-grid details[open] summary span { transform: rotate(45deg); }
.faq-grid details p { margin: -4px 48px 24px 0; color: var(--muted); font-size: 14px; }
.request-section { padding-top: 0; }
.request-panel { padding: 58px; display: flex; justify-content: space-between; align-items: center; gap: 60px; border-radius: 24px; background: linear-gradient(120deg, var(--navy), #173966); color: var(--white); box-shadow: var(--shadow); }
.request-panel h2 { max-width: 780px; font-size: clamp(32px, 4vw, 52px); }
.request-panel p:not(.eyebrow) { max-width: 800px; color: #bdcadd; }
.request-panel .button { flex: 0 0 auto; }

/* Modal */
.modal-backdrop { position: fixed; z-index: 100; inset: 0; padding: 20px; display: grid; place-items: center; background: rgba(3,13,28,.78); backdrop-filter: blur(10px); animation: fadeIn .18s ease both; }
.modal-backdrop[hidden] { display: none; }
.lead-modal { position: relative; width: min(670px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 42px; border-radius: 22px; background: var(--white); box-shadow: 0 35px 100px rgba(0,0,0,.4); }
.lead-modal h2 { padding-right: 30px; color: var(--navy); font-size: 38px; }
.modal-close { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy); font-size: 29px; cursor: pointer; }
.modal-intro { margin: 15px 0 25px; color: var(--muted); font-size: 14px; }
.lead-form { display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 7px; color: #344055; font-size: 12px; font-weight: 700; }
.lead-form input, .lead-form textarea { width: 100%; border: 1px solid #d9e0e9; border-radius: 10px; background: #fbfcfd; outline: none; transition: border .2s, box-shadow .2s; }
.lead-form input { height: 48px; padding: 0 14px; }
.lead-form textarea { padding: 13px 14px; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,0,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.lead-form .consent input { width: 18px; height: 18px; flex: 0 0 auto; }
.modal-direct { margin-top: 18px; display: flex; justify-content: center; gap: 9px; color: var(--muted); font-size: 13px; }
.modal-direct a { color: var(--navy); font-weight: 900; }
.status-page { min-height: 100vh; padding: 30px; display: grid; place-items: center; background: linear-gradient(135deg, #07172f, #163965); }
.status-card { width: min(680px, 100%); padding: 48px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.status-card img { width: 190px; margin-bottom: 40px; }
.status-card h1 { color: var(--navy); font-size: clamp(38px, 6vw, 64px); }
.status-card > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.status-back { border-color: var(--line); color: var(--navy); }
.status-phone { display: inline-block; margin-top: 28px; color: var(--navy); font-weight: 900; }

/* Footer */
.site-footer { padding: 72px 0 25px; background: #07172f; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr .8fr; gap: 52px; }
.footer-logo { width: 190px; height: 64px; object-fit: contain; filter: brightness(1.45); }
.footer-grid p { max-width: 340px; color: #94a5be; font-size: 13px; }
.footer-grid h3 { margin: 14px 0 21px; color: #ff9b52; font-size: 13px; letter-spacing: .04em; }
.footer-grid > div > a, .footer-grid > div > span { margin: 0 0 12px; display: block; color: #bdc8d8; font-size: 13px; line-height: 1.5; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { margin-top: 45px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #788ba7; font-size: 11px; }
.privacy { margin-top: 18px; color: #788ba7; font-size: 11px; }
.privacy summary { cursor: pointer; }
.privacy p { max-width: 980px; }

.reveal { animation: riseIn .55s ease both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (max-width: 1000px) {
  .site-header { height: 72px; }
  .brand { width: 156px; }
  .brand img { height: 45px; }
  .main-nav { justify-content: flex-end; gap: 16px; }
  .main-nav a:nth-last-child(-n+2) { display: none; }
  .header-phone { font-size: 14px; }
  .direction-hero { min-height: 930px; }
  .direction-cards { bottom: 38px; }
  .direction-card { min-height: 260px; }
  .direction-card ul { flex-direction: column; gap: 7px; }
  .direction-card li::after { display: none; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .content-grid, .process-section, .faq-grid { gap: 50px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 54px 0; }
  h2 { font-size: 33px; }
  .site-header { height: 66px; }
  .header-row { gap: 10px; justify-content: space-between; }
  .brand { width: 138px; }
  .brand img { height: 42px; }
  .main-nav { display: none; }
  .header-phone { font-size: 13px; }
  .header-phone span { display: none; }
  .direction-hero { min-height: 1030px; }
  .direction-copy { padding-top: 42px; }
  .direction-copy h1 { font-size: 43px; }
  .direction-copy > p:not(.eyebrow) { font-size: 16px; }
  .direction-cards { position: absolute; bottom: 24px; grid-template-columns: 1fr; }
  .direction-card { min-height: 230px; padding: 24px; }
  .direction-card h2 { font-size: 30px; }
  .direction-card ul { flex-direction: row; flex-wrap: wrap; }
  .split-copy, .section-heading, .content-grid, .process-section, .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { margin-bottom: 30px; }
  .process-grid { margin-top: 36px; grid-template-columns: 1fr 1fr; }
  .process-card, .process-card + .process-card { padding: 24px 18px; border: 0; border-bottom: 1px solid var(--line); }
  .process-card:nth-child(even) { border-left: 1px solid var(--line); }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .product-hero { min-height: 650px; }
  .product-hero-copy { padding-top: 38px; }
  .crumbs { margin-bottom: 38px; }
  .product-hero-copy h1 { font-size: 43px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div:nth-child(odd) { border-left: 0; }
  .facts-grid > div { border-bottom: 1px solid var(--line); }
  .catalog-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 365px; }
  .grade-list > div { padding: 18px 0; grid-template-columns: 1fr; gap: 6px; }
  .scheme-list { grid-template-columns: 1fr; }
  .scheme-list > div { min-height: 155px; }
  .tech-table { border-radius: 12px; }
  .tech-row { padding: 20px; grid-template-columns: 1fr; gap: 8px; }
  .tech-head { display: none; }
  .tech-row strong { margin-bottom: 7px; }
  .material-grid { grid-template-columns: 1fr; }
  .material-grid small { grid-column: auto; }
  .faq-grid summary { padding: 19px 0; }
  .request-panel { padding: 30px 24px; flex-direction: column; align-items: flex-start; }
  .request-panel .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > div:last-child { display: block; }
  .footer-bottom { flex-direction: column; }
  .lead-modal { padding: 34px 22px 26px; }
  .lead-modal h2 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .direction-hero { min-height: 1080px; }
  .direction-copy h1, .product-hero-copy h1 { font-size: 40px; }
  .direction-card ul { display: block; }
  .direction-card li { margin: 7px 0; }
  .facts-grid strong { font-size: 20px; }
  .header-phone { font-size: 12px; }
}
