@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Prata"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/prata-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Prata"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/prata-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Базовый сброс стилей */
@layer reset {
  *, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
  html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
  h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
  a { color: inherit; text-decoration: inherit; }
  b, strong { font-weight: bolder; }
  small { font-size: 80%; }
  img, svg, video { display: block; vertical-align: middle; }
  img, video { max-width: 100%; height: auto; }
  button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; }
  ::placeholder { opacity: 1; color: color-mix(in oklab, currentcolor 50%, transparent); }
  [hidden] { display: none !important; }
}

:root {
  font-family: "Manrope", sans-serif;
  color: #20241f;
  background: #f4f0e8;
  font-synthesis: none;
  scroll-behavior: smooth;
}
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.site {
  --ink: #20241f;
  --muted: #6f736c;
  --paper: #f4f0e8;
  --surface: #fffdf8;
  --accent: #d35b37;
  --accent2: #426146;
  --line: rgba(32, 36, 31, .16);
  --display: "Prata", serif;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  transition: color .35s, background .35s;
}
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { display: block; margin-bottom: 20px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #fff; opacity: .78; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; }
.header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; color: white; border-bottom: 1px solid rgba(255,255,255,.25); }
.nav { height: 88px; display: flex; align-items: center; gap: 48px; }
.logo { display: flex; align-items: center; gap: 11px; line-height: 1; }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.logo-mark svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.logo b { display: block; font-size: 15px; letter-spacing: .12em; }
.logo small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .07em; opacity: .65; }
.nav nav { display: flex; gap: 30px; margin-left: auto; font-size: 12px; }
.nav nav a { opacity: .8; transition: .2s; }
.nav nav a:hover { opacity: 1; }
.header-contact { text-align: right; }
.header-contact span { display: block; font-size: 9px; opacity: .65; }
.header-contact a { display: block; margin-top: 5px; font-size: 13px; font-weight: 600; }
.nav-cta { padding: 12px 16px; border: 1px solid rgba(255,255,255,.45); font-size: 11px; font-weight: 600; transition: .2s; }
.nav-cta:hover { background: white; color: var(--ink); }
.hero { position: relative; min-height: 760px; display: flex; color: white; overflow: hidden; background: #2d382f; }
.hero-image { position: absolute; inset: 0; background-size: cover; background-position: center 55%; transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,21,17,.82) 0%, rgba(13,21,17,.48) 50%, rgba(13,21,17,.12) 100%), linear-gradient(0deg, rgba(9,16,12,.5), transparent 48%); }
.hero-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 185px; padding-bottom: 54px; }
.hero-copy { max-width: 730px; align-self: center; }
.hero h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(54px, 6.6vw, 92px); line-height: .98; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 520px; margin-bottom: 36px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-actions > span { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.35); font-size: 11px; line-height: 1.5; opacity: .7; }
.primary-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; box-sizing: border-box; padding: 0 24px; border: 0; color: white; background: var(--accent); font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .2s, filter .2s; }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.07); }
.primary-button svg, .project-info svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero-stats { width: 270px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.hero-stats > div:first-child { grid-column: span 2; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 42px; font-weight: 400; }
.hero-stats span { display: block; margin-top: 4px; font-size: 10px; line-height: 1.4; opacity: .66; text-transform: uppercase; letter-spacing: .08em; }
.calculator-section { padding: 120px 0; background: var(--paper); }
.calculator-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.calc-intro { padding-top: 30px; }
.calc-intro h2, .section-heading h2, .about-title h2, .final-cta h2 { margin-bottom: 28px; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.08; }
.calc-intro > p { max-width: 410px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.calc-note { max-width: 370px; display: flex; gap: 20px; margin-top: 70px; padding-top: 20px; border-top: 1px solid var(--line); }
.calc-note span { color: var(--accent); font-size: 11px; font-weight: 700; }
.calc-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.calculator { min-height: 560px; box-sizing: border-box; padding: 42px; background: var(--surface); box-shadow: 0 24px 70px rgba(42,48,42,.08); }
.field-heading { display: flex; align-items: center; justify-content: space-between; }
.field-heading span, .label { color: var(--muted); font-size: 12px; font-weight: 600; }
.field-heading strong { font-family: var(--display); font-size: 26px; font-weight: 400; }
input[type="range"] { width: 100%; height: 3px; margin: 28px 0 8px; appearance: none; background: linear-gradient(to right, var(--accent) var(--progress), var(--line) var(--progress)); }
input[type="range"]::-webkit-slider-thumb { width: 18px; height: 18px; appearance: none; border: 4px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); cursor: pointer; }
.range-marks { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.label { display: block; margin: 28px 0 12px; }
.pills { display: flex; gap: 8px; }
.pill { flex: 1; padding: 12px 10px; border: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 11px; cursor: pointer; }
.pill.active { border-color: var(--accent2); color: white; background: var(--accent2); }
.estimate { margin: 28px 0 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.estimate span, .estimate small { display: block; color: var(--muted); font-size: 10px; }
.estimate strong { display: block; margin: 4px 0; font-family: var(--display); font-size: 30px; font-weight: 400; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.contact-fields input { min-width: 0; padding: 14px; border: 1px solid var(--line); outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.contact-fields input:focus { border-color: var(--accent); }
.primary-button.full { width: 100%; }
.privacy { display: block; margin-top: 10px; color: var(--muted); font-size: 8px; text-align: center; }
.success { min-height: 475px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent2); }
.success-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
.success h3 { margin: 25px 0 10px; font-family: var(--display); font-size: 32px; }
.success p { max-width: 350px; color: var(--muted); line-height: 1.6; }
.text-button { border: 0; border-bottom: 1px solid; color: var(--accent); background: none; cursor: pointer; }
.projects { padding: 120px 0; background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 58px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 340px; margin-bottom: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, 330px); gap: 16px; }
.project-card { position: relative; overflow: hidden; color: white; }
.project-card:first-child { grid-row: span 2; }
.project-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s; }
.project-card:hover img { transform: scale(1.035); }
.project-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.68)); }
.project-info { position: absolute; z-index: 2; inset: auto 28px 25px; }
.project-info > span { font-size: 10px; letter-spacing: .1em; }
.project-info h3 { margin: 5px 0 2px; font-family: var(--display); font-size: 30px; font-weight: 400; }
.project-info p { margin: 0; font-size: 11px; opacity: .75; }
.project-info a { position: absolute; right: 0; bottom: 0; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.about { padding: 130px 0; background: var(--accent2); color: white; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; }
.about-title { position: sticky; top: 40px; align-self: start; }
.about-title .eyebrow { color: white; opacity: .65; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; }
.benefit { min-height: 220px; padding: 30px; border-top: 1px solid rgba(255,255,255,.24); }
.benefit:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.24); }
.benefit > span { color: var(--accent); font-size: 11px; font-weight: 700; }
.benefit h3 { margin: 42px 0 12px; font-size: 18px; }
.benefit p { margin-bottom: 0; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.7; }
.process { padding: 120px 0; background: var(--paper); }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 120px 1fr; padding: 32px 0; border-bottom: 1px solid var(--line); }
.step > span { color: var(--accent); font-size: 11px; font-weight: 700; }
.step > div { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; }
.step h3 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 400; }
.step p { width: 360px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.final-cta { padding: 110px 0; color: white; background: var(--accent); }
.final-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; }
.final-inner h2 { margin-bottom: 0; }
.final-inner > div:last-child { padding-bottom: 10px; }
.final-inner p { max-width: 430px; margin-bottom: 28px; font-size: 14px; line-height: 1.7; opacity: .8; }
.primary-button.inverse { color: var(--ink); background: white; }
footer { padding: 40px 0; color: white; background: #121613; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; font-size: 10px; line-height: 1.6; opacity: .55; }
.footer-inner > a:last-child { font-size: 14px; font-weight: 600; }
@media (max-width: 900px) {
  .container { width: min(100% - 32px, 720px); }
  .nav { height: 74px; }
  .nav nav, .header-contact { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 145px; }
  .hero-stats { display: none; }
  .calculator-shell, .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .calc-intro { padding-top: 0; }
  .calc-note { margin-top: 35px; }
  .about-title { position: static; }
  .final-inner { gap: 40px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .nav-cta { padding: 10px 12px; font-size: 10px; }
  .header .logo small { display: none; }
  .hero { min-height: 680px; }
  .hero-content { align-items: center; padding-top: 120px; padding-bottom: 35px; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions > span { display: none; }
  .calculator-section, .projects, .process { padding: 80px 0; }
  .calculator { min-height: 0; padding: 25px 20px; }
  .contact-fields { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; }
  .calc-intro h2, .section-heading h2, .about-title h2, .final-cta h2 { font-size: 39px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 360px); }
  .project-card:first-child { grid-row: auto; }
  .about { padding: 85px 0; }
  .about-grid { gap: 30px; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { min-height: auto; padding: 28px 0; border-right: 0 !important; }
  .benefit h3 { margin-top: 25px; }
  .step { grid-template-columns: 45px 1fr; }
  .step > div { display: block; }
  .step p { width: auto; margin-top: 10px; }
  .final-cta { padding: 80px 0; }
  .final-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; gap: 30px; }
  .footer-inner p { order: 3; width: 100%; }
}

/* Фото в первом экране — <img> вместо background для быстрой загрузки */
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
