:root {
  --ink: #0b1f33;
  --ink-2: #17344f;
  --muted: #617083;
  --line: #dbe2e8;
  --surface: #ffffff;
  --surface-soft: #f4f7f9;
  --orange: #f26a21;
  --orange-dark: #d9510b;
  --orange-soft: #fff1e9;
  --teal: #0b8b83;
  --teal-soft: #e4f5f3;
  --mage-blue: #185f91;
  --mage-blue-dark: #10486f;
  --mage-blue-soft: #eaf3f8;
  --shadow: 0 24px 60px rgba(11, 31, 51, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(219,226,232,.8);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font-size: 20px; letter-spacing: -.03em; }
.header-logo { display: block; width: 176px; height: auto; }
.product-name { display: flex; align-items: baseline; gap: 5px; padding-left: 16px; border-left: 1px solid var(--line); }
.brand em { color: var(--orange); font-size: 14px; font-style: normal; font-weight: 800; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: var(--ink); border-radius: 12px; }
.brand-mark svg { width: 22px; fill: var(--orange); }
.brand-mark.small { width: 36px; height: 36px; border-radius: 10px; }
.brand-mark.small svg { width: 19px; }

nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-cta { padding: 10px 18px; color: #fff; background: var(--ink); border-radius: 999px; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  gap: 76px;
  align-items: center;
  min-height: 650px;
  padding: 86px max(24px, calc((100vw - 1180px) / 2)) 104px;
  color: #fff;
  background:
    radial-gradient(circle at 70% 20%, rgba(26,75,109,.55), transparent 34%),
    linear-gradient(135deg, #081b2d 0%, #0d2941 72%, #103754 100%);
}

.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before { width: 430px; height: 430px; right: -240px; top: -230px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.hero::after { width: 220px; height: 1px; left: 0; bottom: 60px; background: linear-gradient(90deg, transparent, rgba(242,106,33,.65)); }
.hero-copy, .hero-card { position: relative; z-index: 1; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 6px rgba(242,106,33,.14); }
.hero h1 { max-width: 700px; margin: 24px 0 20px; font-size: clamp(46px, 6vw, 76px); line-height: .99; letter-spacing: -.055em; }
.hero mark { color: var(--orange); background: none; }
.hero-copy > p { max-width: 620px; margin: 0; color: #c3cfda; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; text-decoration: none; }
.button.primary { color: #fff; background: var(--orange); box-shadow: 0 14px 30px rgba(242,106,33,.2); }
.button.primary:hover { background: #ff7932; }
.button.secondary { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.button.install { gap: 8px; color: var(--ink); background: #fff; border-color: #fff; cursor: pointer; }
.button.install span { display: inline-grid; width: 22px; height: 22px; place-items: center; color: #fff; background: var(--mage-blue); border-radius: 7px; font-size: 15px; font-weight: 900; }
.button.install:hover { background: #edf4f8; }

.hero-card { padding: 24px; background: rgba(255,255,255,.98); color: var(--ink); border: 1px solid rgba(255,255,255,.32); border-radius: 26px; box-shadow: 0 34px 70px rgba(0,0,0,.32); transform: rotate(1deg); }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.live-pill { padding: 5px 10px; color: var(--orange-dark); background: var(--orange-soft); border-radius: 999px; }
.transformer-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 150px; margin: 18px -24px; overflow: hidden; background: linear-gradient(135deg, #f5f7f9, #e9eef2); }
.transformer-visual svg { position: absolute; width: 38px; fill: var(--orange); }
.wire { width: 25%; height: 5px; background: var(--ink); }
.coil { width: 31px; height: 78px; margin: -4px; border: 5px solid var(--ink); border-radius: 50%; }
.sample-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sample-spec div { padding: 15px; background: var(--surface-soft); border-radius: 14px; }
.sample-spec small, .sample-spec strong { display: block; }
.sample-spec small { color: var(--muted); font-size: 12px; }
.sample-spec strong { margin-top: 4px; font-size: 17px; }
.hero-card > p { margin: 15px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

.brand-ribbon {
  display: grid;
  grid-template-columns: 280px 1fr 250px;
  gap: 44px;
  align-items: center;
  padding: 36px max(24px, calc((100vw - 1180px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(11,31,51,.05);
}
.brand-ribbon > img { display: block; width: 100%; height: auto; }
.brand-ribbon h2 { margin: 5px 0 5px; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.brand-ribbon p { margin: 0; color: var(--muted); }
.privacy-chip { display: grid; grid-template-columns: 38px 1fr; column-gap: 11px; align-items: center; padding: 14px 16px; background: var(--mage-blue-soft); border: 1px solid #cfe3ef; border-radius: 14px; }
.privacy-chip > span { grid-row: span 2; display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--mage-blue); border-radius: 50%; font-weight: 900; }
.privacy-chip strong { font-size: 14px; }
.privacy-chip small { color: #4e7087; font-size: 12px; line-height: 1.35; }

.tariff-section, .regions-section, .notes-section { padding: 100px max(24px, calc((100vw - 1180px) / 2)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-heading h2, .notes-section h2 { margin: 6px 0 8px; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading p { max-width: 670px; margin: 0; color: var(--muted); }
.select-field { display: flex; flex-direction: column; gap: 7px; min-width: 280px; color: var(--ink); font-size: 14px; font-weight: 750; }
.select-wrap { position: relative; display: block; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, input { width: 100%; min-height: 52px; color: var(--ink); background: #fff; border: 1px solid #cfd8df; border-radius: 12px; outline: none; }
select { padding: 0 48px 0 15px; appearance: none; }
select:focus, input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,106,33,.12); }

.coefficient-banner { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding: 14px 18px; background: var(--teal-soft); border: 1px solid #c9e9e6; border-radius: 14px; }
.coefficient-banner > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.coefficient-banner small { color: #47736f; }
.coefficient-banner b { padding: 6px 11px; color: #fff; background: var(--teal); border-radius: 9px; }
.coefficient-icon { display: grid; width: 32px; height: 32px; place-items: center; color: var(--teal); background: #fff; border-radius: 9px; font-size: 22px; font-weight: 800; }

.price-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 20px; }
.price-panel { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 35px rgba(11,31,51,.06); }
.panel-title { display: flex; align-items: center; gap: 13px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.panel-title h3, .panel-title p { margin: 0; }
.panel-title h3 { font-size: 19px; }
.panel-title p { color: var(--muted); font-size: 13px; }
.panel-icon { display: grid; width: 43px; height: 43px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 12px; }
.panel-icon.building { color: var(--teal); background: var(--teal-soft); }
.panel-icon svg { width: 23px; fill: currentColor; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 22px; text-align: right; border-bottom: 1px solid #e8edf1; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); background: #f8fafb; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
td { font-variant-numeric: tabular-nums; font-size: 14px; }
td strong { font-size: 15px; }
tbody tr:last-child td { border-bottom: 0; }
.adjusted-cell { color: var(--teal); font-weight: 800; background: rgba(228,245,243,.34); }
.same-value { color: var(--muted); font-weight: 650; background: #fafbfc; }

.regions-section { background: #f4f7f9; border-top: 1px solid var(--line); }
.regions-heading { align-items: center; }
.coefficient-legend { display: flex; flex-wrap: wrap; gap: 8px; max-width: 430px; }
.coefficient-legend span { padding: 8px 11px; color: #4c5f70; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; white-space: nowrap; }
.coefficient-legend b { color: var(--ink); }
.region-cards { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; align-items: start; }
.region-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 40px rgba(11,31,51,.06); }
.region-card.featured { border-color: #c6ddea; box-shadow: 0 18px 48px rgba(24,95,145,.12); }
.region-card header { display: flex; align-items: center; gap: 13px; padding: 20px; color: #fff; background: var(--ink); }
.region-card.featured header { background: var(--mage-blue); }
.region-card header > span { display: grid; width: 42px; height: 42px; place-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.region-card h3, .region-card header p { margin: 0; }
.region-card h3 { font-size: 20px; }
.region-card header p { color: #b9c9d5; font-size: 12px; }
.region-card.featured header p { color: #d6e6f0; }
.region-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 49px; padding: 11px 16px; border-bottom: 1px solid #e7ecef; font-size: 14px; }
.region-row:last-child { border-bottom: 0; }
.region-row > span, .region-row > div { min-width: 0; }
.region-row > b { flex: 0 0 auto; padding: 4px 8px; color: var(--mage-blue-dark); background: var(--mage-blue-soft); border-radius: 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.region-row > b.coefficient-085 { color: #8a5000; background: #fff2d9; }
.region-row > b.coefficient-075 { color: #8c3920; background: #fff0ea; }
.district-detail { align-items: flex-start; padding-top: 15px; padding-bottom: 15px; background: #f7fbfd; }
.district-detail p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

.calculator-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; padding: 100px max(24px, calc((100vw - 1180px) / 2)); color: #fff; background: var(--ink); }
.section-kicker.light { color: #ff8a4c; }
.calculator-intro h2 { margin: 10px 0 18px; font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -.05em; }
.calculator-intro > p { color: #b9c8d4; font-size: 18px; }
.calculator-intro ul { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.calculator-intro li { color: #dbe5ec; }
.calculator-intro li span { display: inline-grid; width: 24px; height: 24px; margin-right: 9px; place-items: center; color: var(--ink); background: var(--orange); border-radius: 50%; font-size: 13px; font-weight: 900; }

.calculator-card { padding: 28px; color: var(--ink); background: #fff; border-radius: var(--radius); box-shadow: 0 35px 80px rgba(0,0,0,.3); }
.calculator-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.calculator-card-head > span:last-child { display: flex; flex-direction: column; }
.calculator-card-head small { color: var(--muted); }
.calculator-badge { display: grid; width: 46px; height: 46px; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 13px; }
.calculator-badge svg { width: 23px; fill: currentColor; }
.form-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 750; }
.input-wrap { position: relative; display: block; }
.input-wrap input { padding: 0 60px 0 15px; font-weight: 700; }
.input-wrap b { position: absolute; right: 15px; top: 50%; color: var(--muted); transform: translateY(-50%); }
.formula-box { margin-top: 18px; padding: 14px 16px; color: #435568; background: var(--surface-soft); border-radius: 12px; }
.formula-box span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.formula-box p { margin: 3px 0 0; font-size: 14px; font-weight: 700; }
.result-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.result-breakdown div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.result-breakdown span, .result-breakdown strong { display: block; }
.result-breakdown span { color: var(--muted); font-size: 12px; }
.result-breakdown strong { margin-top: 4px; }
.final-result { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 21px; color: #fff; background: linear-gradient(135deg, var(--orange-dark), var(--orange)); border-radius: 16px; }
.final-result > span { font-size: 14px; font-weight: 700; }
.final-result > span small { display: block; color: #ffe2d1; font-weight: 500; }
.final-result > strong { font-size: clamp(28px, 4vw, 40px); line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.final-result > strong small { font-size: 16px; letter-spacing: 0; }
.validation-message { min-height: 0; margin: 10px 0 0; color: #b42318; font-size: 13px; }
.validation-message:empty { display: none; }

.notes-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; background: var(--surface-soft); }
.note-list { border-top: 1px solid #ccd6de; }
details { border-bottom: 1px solid #ccd6de; }
summary { position: relative; padding: 20px 42px 20px 0; cursor: pointer; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; color: var(--orange); font-size: 24px; font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { margin: -4px 40px 20px 0; color: var(--muted); }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding: 90px max(24px, calc((100vw - 1180px) / 2)); color: #fff; background: linear-gradient(135deg, #0a2134 0%, #123e5f 100%); }
.contact-brand > img { display: block; width: min(340px, 90%); margin-bottom: 24px; padding: 14px 18px; background: #fff; border-radius: 16px; }
.contact-brand h2 { margin: 9px 0 17px; font-size: clamp(34px, 4vw, 50px); line-height: 1.06; letter-spacing: -.045em; }
.contact-brand p { margin: 0; color: #b9cad7; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 14px; min-height: 86px; padding: 17px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.contact-item:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.contact-item.address { grid-column: 1 / -1; }
.contact-icon { display: grid; flex: 0 0 auto; width: 43px; height: 43px; place-items: center; color: #fff; background: var(--orange); border-radius: 12px; font-size: 20px; }
.contact-item > span:last-child { display: flex; flex-direction: column; }
.contact-item small { color: #9fb5c5; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.contact-item strong { margin-top: 3px; font-size: 17px; line-height: 1.4; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px max(24px, calc((100vw - 1180px) / 2)); color: #94a6b5; background: #071624; font-size: 13px; }
.footer-brand { display: flex; flex-direction: column; color: #fff; }
.footer-brand small { color: #94a6b5; }
footer p { max-width: 540px; margin: 0; text-align: right; }
footer a { color: #fff; }

.install-dialog { width: min(520px, calc(100% - 32px)); padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 24px; box-shadow: 0 28px 90px rgba(0,0,0,.35); }
.install-dialog::backdrop { background: rgba(5,18,30,.72); backdrop-filter: blur(6px); }
.install-dialog form { padding: 30px; }
.install-dialog-icon { display: grid; width: 76px; height: 76px; margin-bottom: 18px; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 30px rgba(11,31,51,.12); }
.install-dialog-icon img { display: block; width: 100%; height: 100%; }
.install-dialog h2 { margin: 8px 0 10px; font-size: 30px; line-height: 1.12; letter-spacing: -.035em; }
.install-dialog p { margin: 0; color: var(--muted); }
.install-dialog ul { display: grid; gap: 8px; margin: 20px 0 24px; padding-left: 21px; color: #435568; }
.install-dialog .button { width: 100%; border: 0; cursor: pointer; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 68px; }
  .hero-card { max-width: 530px; transform: none; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 24px; }
  .tariff-select { min-width: 0; }
  .brand-ribbon { grid-template-columns: 230px 1fr; gap: 28px; }
  .privacy-chip { grid-column: 1 / -1; }
  .price-grid, .calculator-section, .notes-section, .contact-section { grid-template-columns: 1fr; }
  .region-cards { grid-template-columns: 1fr 1fr; }
  .region-card.featured { grid-column: 1 / -1; }
  .calculator-section, .notes-section, .contact-section { gap: 52px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; padding: 10px 18px; }
  nav a:not(.nav-cta) { display: none; }
  nav { gap: 0; }
  .nav-cta { padding: 8px 14px; }
  .brand { gap: 9px; font-size: 17px; }
  .header-logo { width: 126px; }
  .product-name { padding-left: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { min-height: 0; padding: 56px 20px 72px; }
  .hero h1 { margin-top: 18px; font-size: 44px; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .install { grid-column: 1 / -1; }
  .button { padding: 0 12px; font-size: 14px; }
  .hero-card { padding: 18px; }
  .transformer-visual { margin-left: -18px; margin-right: -18px; }
  .sample-spec { grid-template-columns: 1fr; }
  .brand-ribbon { grid-template-columns: 1fr; gap: 24px; padding: 30px 20px; }
  .brand-ribbon > img { width: min(280px, 100%); }
  .privacy-chip { grid-column: auto; }
  .tariff-section, .regions-section, .calculator-section, .notes-section, .contact-section { padding: 72px 20px; }
  .coefficient-banner { align-items: flex-start; }
  .coefficient-banner b { margin-left: auto; }
  .price-grid { gap: 16px; }
  .region-cards { grid-template-columns: 1fr; }
  .region-card.featured { grid-column: auto; }
  .price-panel { border-radius: 16px; }
  th, td { padding: 13px 15px; }
  .calculator-card { padding: 20px; border-radius: 20px; }
  .form-grid, .result-breakdown { grid-template-columns: 1fr; }
  .final-result { align-items: flex-start; flex-direction: column; }
  .final-result > strong { font-size: 34px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-item.address { grid-column: auto; }
  .contact-brand > img { width: min(300px, 100%); }
  footer { align-items: flex-start; flex-direction: column; padding: 26px 20px; }
  footer p { text-align: left; }
  .install-dialog form { padding: 24px; }
  .install-dialog h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
