@font-face { font-family: 'Geologica'; font-weight: 100 900; font-display: swap; src: url(fonts/geologica-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-weight: 100 900; font-display: swap; src: url(fonts/geologica-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Цвета сняты с концепт-макета reference.png */
:root {
  --navy: #13254a;
  --ink: #0f1f3d;
  --text: #2a3550;
  --blue: #1566d6;
  --blue-2: #2b8cf0;
  --num: #3aa8f5;
  --sky: #e6f1fc;
  --sky-2: #f1f7fe;
  --line: #d7e2ef;
  --wrap: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: 'Geologica', system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 18px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: 46px; }
p, ul, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 68px; padding: 0 44px; border-radius: 12px; font: inherit; font-size: 20px; font-weight: 700; text-decoration: none; cursor: pointer; border: 2.5px solid var(--blue); transition: background .15s, color .15s; }
.btn--fill { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(21,102,214,.7); }
.btn--fill:hover { background: #0f56bb; border-color: #0f56bb; }
.btn--line { background: #fff; color: var(--blue); }
.btn--line:hover { background: var(--sky-2); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #eef2f7; }
.hdr__in { display: flex; align-items: center; height: 80px; }
.logo { font-size: 50px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); text-decoration: none; line-height: 1; }
.nav { display: flex; gap: 42px; margin: 0 auto; padding-left: 40px; }
.nav a { font-size: 19px; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--blue); }
.phone { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.phone svg { width: 20px; height: 20px; fill: var(--blue); }

/* Первый экран */
.hero { padding: 30px 0 34px; }
.hero__in { display: grid; grid-template-columns: 1fr 1.03fr; gap: 26px; align-items: center; }
.hero h1 { font-size: 45px; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 38px; white-space: nowrap; }
.facts { display: flex; margin-bottom: 52px; }
.facts li { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 0 22px; border-left: 2px solid #e1e8f1; font-size: 21px; font-weight: 500; line-height: 1.25; }
.facts li:first-child { padding-left: 24px; border-left: 0; }
.facts svg { width: 50px; height: 50px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.hero__btns { display: flex; gap: 32px; }
.hero__btns .btn { flex: 1; max-width: 310px; }
.hero__photo { width: 100%; aspect-ratio: 708 / 580; object-fit: cover; border-radius: 26px; }

/* Конструкция + конфигуратор на голубом фоне */
.build { background: linear-gradient(180deg, #e3eefc 0%, #eaf3fd 60%, #f3f8fe 100%); padding: 36px 0 30px; }
.build h2 { margin-bottom: 30px; }
.tabs { display: flex; justify-content: center; gap: 22px; margin-bottom: 8px; }
.tab { font: inherit; font-size: 21px; font-weight: 500; padding: 14px 42px; border-radius: 14px; border: 2px solid #d9e4f1; background: #fff; color: var(--text); cursor: pointer; box-shadow: 0 2px 6px rgba(20,40,80,.06); }
.tab.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.stage { position: relative; aspect-ratio: 1200 / 470; max-width: 1360px; margin: 0 auto; }
.stage__img { position: absolute; left: 17%; top: 2%; width: 66%; }
.stage__img--plastic { left: 21%; width: 58%; top: 2%; }
.stage__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__lines polyline { fill: none; stroke: var(--blue); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.stage__lines circle { fill: var(--blue); }
.callout { position: absolute; font-size: 25px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.callout--r { text-align: left; width: 13.5%; }

.cfg { background: #fff; border-radius: 22px; box-shadow: 0 18px 50px -26px rgba(20,50,100,.35); padding: 30px 32px 30px 32px; margin-top: 0; }
.cfg h2 { font-size: 44px; margin: 0 0 26px; }
.cfg__grid { display: grid; grid-template-columns: 1fr 1.15fr; }
.cfg__form { display: flex; flex-direction: column; gap: 22px; padding: 14px 40px 0 6px; border-right: 2px solid #e5ebf3; }
.row { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 8px; font-size: 22px; font-weight: 500; }
.row select { font: inherit; font-size: 20px; font-weight: 400; color: var(--text); height: 52px; padding: 0 48px 0 20px; border: 2px solid #dbe3ee; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' fill='none'%3E%3Cpath d='M1.5 1.5l6.5 6.5 6.5-6.5' stroke='%232a3550' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center; appearance: none; cursor: pointer; }
.row select:focus { outline: none; border-color: var(--blue-2); }
.sw { display: flex; gap: 20px; }
.sw label { position: relative; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw i { display: block; width: 44px; height: 44px; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); cursor: pointer; }
.sw input:checked + i { box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--blue); }
.sw input:focus-visible + i { outline: 3px solid var(--blue-2); outline-offset: 4px; }
.cfg__res { position: relative; padding: 0 6px 0 40px; display: flex; flex-direction: column; }
.badges { position: absolute; top: -78px; right: 6px; display: flex; gap: 14px; }
.badges li { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 26px; background: #eef4fc; font-size: 19px; font-weight: 500; }
.badges svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.prod { position: relative; width: 96%; margin: -6px 0 0 2%; aspect-ratio: 4 / 3; }
.prod img { position: absolute; left: 12%; top: 14%; width: 82%; }
.prod__dims { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.prod__dims path { fill: none; stroke: #2a3550; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.dim { position: absolute; font-size: 17px; font-weight: 500; color: var(--text); background: #fff; padding: 0 4px; }
.dim--top { left: 30%; top: 4%; transform: rotate(-11deg); }
.dim--left { left: 0; top: 47%; }
.price { font-size: 32px; font-weight: 800; margin: -34px 0 18px; position: relative; }
.cfg__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cfg__btns .btn { height: 62px; padding: 0 16px; }

/* Объекты */
.objects { padding: 46px 0 40px; }
.objects h2 { margin-bottom: 24px; }
.objects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.objects img { width: 100%; aspect-ratio: 450 / 300; object-fit: cover; border-radius: 16px; }
.objects figcaption { font-size: 24px; font-weight: 600; margin-top: 12px; }

/* Проектировщикам */
.arch { background: var(--navy); color: #fff; padding: 40px 0 44px; }
.arch__in { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.arch__l { padding-right: 60px; border-right: 2px solid rgba(255,255,255,.55); }
.arch h2 { color: #fff; font-size: 44px; margin-bottom: 14px; }
.arch__l p { font-size: 23px; color: #dbe5f2; margin-bottom: 26px; }
.arch .btn { height: 54px; padding: 0 50px; font-size: 19px; border-width: 2px; }
.arch__nums { display: flex; gap: 90px; padding-left: 60px; }
.arch__nums dt { font-size: 72px; font-weight: 800; color: var(--num); line-height: 1; letter-spacing: -0.02em; }
.arch__nums dd { font-size: 24px; margin-top: 12px; max-width: 12em; line-height: 1.2; }

/* Три преимущества */
.feats { background: var(--sky-2); padding: 34px 0 30px; }
.feats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { display: flex; align-items: center; gap: 22px; background: #fff; border-radius: 14px; padding: 26px 30px; box-shadow: 0 6px 18px -12px rgba(20,50,100,.3); }
.feat svg { width: 64px; height: 64px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feat b { display: block; font-size: 25px; font-weight: 700; }
.feat span { font-size: 20px; color: var(--text); }

/* FAQ */
.faq { background: var(--sky-2); padding: 10px 0 44px; }
.faq h2 { margin-bottom: 20px; }
.faq__list { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: #fff; border: 2px solid #dfe6ef; border-radius: 14px; padding: 0 34px; }
.faq summary { list-style: none; cursor: pointer; position: relative; font-size: 23px; font-weight: 600; padding: 9px 50px 9px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 36px; font-weight: 400; color: var(--blue); line-height: 1; }
.faq details[open] summary { padding-bottom: 4px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { font-size: 20px; color: #4a5672; padding-bottom: 12px; }

/* Форма */
.lead { background: var(--navy); color: #fff; padding: 22px 0 26px; }
.lead__in { display: grid; grid-template-columns: 1fr 700px; gap: 40px; align-items: center; }
.lead h2 { color: #fff; font-size: 50px; line-height: 1.12; margin-bottom: 22px; }
.lead__l p { font-size: 24px; color: #dbe5f2; max-width: 16em; }
.lead__form, .lead__ok { background: #fff; border-radius: 18px; padding: 24px 38px 18px; color: var(--ink); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.lead__form input:not([type=checkbox]) { font: inherit; font-size: 18px; height: 42px; padding: 0 18px; border: 2px solid #dbe3ee; border-radius: 8px; color: var(--ink); }
.lead__form input::placeholder { color: #5a6680; }
.lead__form input:focus { outline: none; border-color: var(--blue-2); }
.lead__form input[aria-invalid=true] { border-color: #d4343c; }
.lead__form .btn { height: 46px; font-size: 19px; margin-top: 4px; border-radius: 8px; }
.consent { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.consent a { color: var(--blue); }
.err { color: #d4343c; font-size: 15px; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__ok { align-items: center; text-align: center; padding: 48px 38px; }
.lead__ok b { font-size: 28px; }
.lead__ok span { font-size: 19px; color: var(--text); }

/* Подвал */
.ftr { padding: 22px 0; }
.ftr__in { display: flex; align-items: center; }
.ftr .logo { font-size: 44px; margin-right: auto; }
.ftr__in > *:not(.logo) { padding: 0 44px; border-left: 2px solid #e1e7ef; font-size: 19px; }
.ftr .phone { font-size: 21px; padding-left: 100px; padding-right: 60px; border-left: 0; }
.ftr__policy { text-decoration: underline; text-underline-offset: 3px; }
.ftr__in > span { padding-right: 0; }

/* ===== Адаптив: планшет и телефон (по мобильному концепту) ===== */
@media (max-width: 1240px) {
  .nav { gap: 24px; }
  .nav a { font-size: 17px; }
  .hero h1, .build h2, .objects h2, .faq h2 { font-size: 38px; }
  .callout { font-size: 20px; }
  .arch__nums { gap: 40px; }
  .arch__nums dt { font-size: 56px; }
  .lead__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .hdr__in { justify-content: space-between; }
  .hero__in { grid-template-columns: 1fr; }
  .cfg__grid { grid-template-columns: 1fr; }
  .cfg__form { border-right: 0; padding: 0 0 24px; }
  .badges { position: static; margin: 10px 0 0; }
  .cfg__res { padding: 0; }
  .arch__in { grid-template-columns: 1fr; gap: 30px; }
  .arch__l { border-right: 0; padding-right: 0; }
  .arch__nums { padding-left: 0; }
  .feats__grid { grid-template-columns: 1fr; }
  .lead__in { grid-template-columns: 1fr; }
  .ftr__in { flex-wrap: wrap; gap: 10px 0; }
  .ftr .phone { padding-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hdr__in { height: 64px; }
  .logo { font-size: 34px; }
  .phone { font-size: 17px; }
  .hdr .phone svg { display: none; }
  h2, .hero h1, .build h2, .objects h2, .faq h2, .cfg h2, .arch h2, .lead h2 { font-size: 30px; }
  .hero { padding: 24px 0; }
  .hero h1 { margin-bottom: 24px; }
  .facts { flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .facts li { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px -8px rgba(20,50,100,.35); font-size: 17px; }
  .facts li:first-child { padding-left: 16px; }
  .facts br { display: none; }
  .facts svg { width: 36px; height: 36px; }
  .hero__btns { flex-direction: column; gap: 12px; }
  .hero__btns .btn { max-width: none; flex: none; }
  .btn { height: 56px; font-size: 18px; }
  .hero__photo { border-radius: 20px; }
  .tabs { gap: 8px; }
  .tab { flex: 1; font-size: 15px; padding: 12px 6px; }
  .stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding-top: 10px; }
  .stage__img, .stage__img--plastic { position: static; width: 100%; grid-column: 1 / -1; }
  .stage__lines { display: none; }
  .callout { position: static !important; font-size: 16px; padding-left: 14px; border-left: 3px solid var(--blue); }
  .callout br { display: none; }
  .callout--r { width: auto; }
  .cfg { padding: 20px 16px; border-radius: 18px; }
  .row { grid-template-columns: 1fr; font-size: 16px; gap: 6px; }
  .row select { font-size: 17px; }
  .sw { gap: 14px; }
  .prod { width: 100%; margin-left: 0; }
  .dim { font-size: 13px; }
  .dim--left { left: 0; }
  .price { font-size: 26px; }
  .cfg__btns { grid-template-columns: 1fr; gap: 10px; }
  .badges li { height: 42px; font-size: 16px; padding: 0 16px; }
  .objects__grid { grid-template-columns: 1fr; }
  .objects figcaption { font-size: 19px; }
  .arch__nums { gap: 24px; }
  .arch__nums dt { font-size: 38px; }
  .arch__nums dd { font-size: 16px; }
  .arch__l p { font-size: 18px; }
  .feat { padding: 18px 20px; }
  .feat svg { width: 44px; height: 44px; }
  .feat b { font-size: 20px; }
  .feat span { font-size: 16px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 18px; }
  .faq details p { font-size: 16px; }
  .lead { padding: 40px 0; }
  .lead__l p { font-size: 18px; }
  .lead__form { padding: 22px 18px; }
  .ftr__in > *:not(.logo) { padding: 0 16px 0 0; border: 0; font-size: 15px; }
  .ftr .logo { width: 100%; font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 1240px) { .hero h1 { white-space: normal; } .hero h1 br { display: none; } }
