@font-face { font-family: Roboto; src: url(../fonts/Roboto-Light-BW8nAIZg.ttf) format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: Roboto; src: url(../fonts/Roboto-Bold-CM98DFac.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --cream: #f0eeeb;
  --paper: #ffffff;
  --ink: #111111;
  --grey: #6f6868;
  --line: #dedad4;
  --red: #eb0000;
  --font: Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 300; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
main { overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 0; }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { max-width: 1800px; margin: 0 auto; height: 92px; padding: 0 40px; display: flex; align-items: center; gap: 28px; }
.logo img { width: 132px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav a, .nav span { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; font-weight: 400; }
.nav a:hover { color: var(--red); }
.header-cta { background: var(--red); color: #fff !important; padding: 16px 22px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.burger { display: none; width: 34px; height: 24px; position: relative; cursor: pointer; margin-left: 8px; }
.burger span, .burger:before, .burger:after { content: ""; position: absolute; left: 0; width: 34px; height: 2px; background: #111; transition: .25s; }
.burger span { top: 11px; }
.burger:before { top: 3px; }
.burger:after { bottom: 3px; }
.burger.open span { opacity: 0; }
.burger.open:before { top: 11px; transform: rotate(45deg); }
.burger.open:after { bottom: 11px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

/* layout */
.container { max-width: 1680px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 980px; margin: 0 auto; }
main { padding-top: 92px; }
.section { padding: 110px 0; }
.section--cream { background: var(--cream); }
.kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 18px; }
h1, h2, h3, h4 { font-weight: 300; margin: 0; line-height: .98; letter-spacing: -.02em; }
h1 { font-size: clamp(48px, 7.2vw, 124px); }
h2 { font-size: clamp(34px, 4.4vw, 76px); }
h3 { font-size: clamp(24px, 2.4vw, 38px); }
.lead { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; color: #333; max-width: 760px; }
p { font-size: 16px; line-height: 1.65; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 26px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--red); }
.btn--red { background: var(--red); }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* hero */
.hero { position: relative; background: var(--cream); min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; }
.hero__text { padding: 90px 6vw 80px 6vw; display: flex; flex-direction: column; justify-content: center; }
.hero__text h1 { font-size: clamp(58px, 8vw, 150px); line-height: .86; }
.hero__text .lead { margin-top: 32px; max-width: 560px; }
.hero__media { min-height: 520px; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scroll { margin-top: 50px; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }

/* cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: block; background: #ddd; overflow: hidden; min-height: 380px; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,1,.3,1); }
.card:hover img { transform: scale(1.04); }
.card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); }
.card__label { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 2; color: #fff; font-size: clamp(26px, 2.5vw, 40px); font-weight: 300; line-height: 1.02; }
.card__label small { display: none; }
.card--wide { grid-column: span 2; min-height: 520px; }

/* stats / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split img { width: 100%; height: 100%; object-fit: cover; max-height: 700px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 38px; margin-top: 50px; }
.stats strong { display: block; font-size: clamp(34px, 4vw, 62px); font-weight: 300; line-height: 1; }
.stats span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }

/* product hero */
.product-hero { display: grid; grid-template-columns: .95fr 1.05fr; background: var(--cream); min-height: 640px; }
.product-hero__text { padding: 90px 6vw 70px; display: flex; flex-direction: column; justify-content: center; }
.product-hero h1 { font-size: clamp(52px, 6.5vw, 110px); }
.product-hero .lead { margin-top: 28px; }
.product-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* flow content from translated pages */
.flow { padding: 80px 0 20px; }
.flow > .container { max-width: 1120px; }
.gallery-strip { padding: 0 0 20px; }
.gallery-strip img { width: 100%; height: 380px; object-fit: cover; }
.flow > div, .flow > section { margin-bottom: 80px; }
.flow h1, .flow h2 { margin-bottom: 28px; }
.flow h3, .flow h4 { margin: 34px 0 14px; font-size: clamp(22px, 2vw, 32px); line-height: 1.1; }
.flow p { max-width: 820px; margin: 0 0 18px; }
.flow ul { max-width: 820px; margin: 0 0 22px; padding-left: 20px; }
.flow li { font-size: 16px; line-height: 1.65; margin-bottom: 8px; }
.flow img { width: 100%; height: auto; margin: 30px 0; }
.flow a { text-decoration: underline; }
.flow .kicker { margin-bottom: 12px; }
.flow > div:has(img) { margin-bottom: 30px; }
.flow > div:has(> img), .flow > div:has(> div > img) { margin-bottom: 30px; }

/* CTA */
.cta { background: var(--ink); color: #fff; padding: 90px 0; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.7); max-width: 640px; }
.cta .btn { background: var(--red); margin-top: 24px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact-info p { font-size: 17px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1/-1; }
.field label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.field input, .field textarea { border: 1px solid var(--line); padding: 14px 16px; font: inherit; font-size: 16px; background: #fff; }
.field textarea { min-height: 140px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #444; }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.error { color: var(--red); font-weight: 700; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* footer */
.site-footer { background: var(--cream); padding: 80px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid a, .footer-grid p { font-size: 14px; line-height: 1.6; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--grey); flex-wrap: wrap; }
.footer-logo { width: 130px; margin-bottom: 18px; }

/* PDF list */
.pdf-group { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; font-weight: 400; margin: 44px 0 10px; }
.pdf-group:first-child { margin-top: 0; }
.pdf-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pdf-item { display: flex; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.pdf-item:hover .pdf-item__body strong { color: var(--red); }
.pdf-item__type { flex: 0 0 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #ece9e4; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.pdf-item__body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pdf-item__body strong { font-size: 19px; line-height: 1.2; font-weight: 400; transition: color .2s; }
.pdf-item__body small { font-size: 14px; color: #666; line-height: 1.4; }
.pdf-item__size { flex: 0 0 auto; font-size: 14px; color: #666; }

/* misc */
.breadcrumbs { font-size: 12px; color: var(--grey); padding: 24px 0; }
.breadcrumbs a:hover { color: var(--red); }
.k-404 { padding: 120px 0; text-align: center; }
.k-404 h1 { font-size: clamp(80px, 14vw, 200px); color: var(--red); }
.legal { max-width: 900px; }
.legal h2 { font-size: 28px; margin: 34px 0 12px; }

@media (max-width: 1100px) {
  .header-inner { padding: 0 22px; height: 76px; }
  .nav { position: fixed; top: 76px; left: 0; right: 0; height: calc(100dvh - 76px); background: #fff; padding: 24px; display: none; overflow-y: auto; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a, .nav span { display: block; padding: 16px 0; font-size: 14px; }
  .burger { display: block; }
  .header-cta { margin-left: auto; }
  main { padding-top: 76px; }
  .hero, .product-hero { grid-template-columns: 1fr; }
  .hero__text, .product-hero__text { padding: 50px 24px; }
  .hero__media { min-height: 380px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
  .container { padding: 0 22px; }
}
@media (max-width: 700px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; min-height: 380px; }
  .form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 8px; padding: 0 14px; }
  .logo img { width: 92px; }
  .header-cta { padding: 12px 14px; font-size: 0; }
  .header-cta:after { content: "Заявка"; font-size: 11px; letter-spacing: .08em; }
  .burger { display: block; flex: 0 0 28px; width: 28px; }
  .hero__text, .product-hero__text { padding: 38px 18px; width: 100%; max-width: 100vw; overflow: hidden; }
  .hero__text h1, .product-hero h1 { font-size: 42px; line-height: 1; }
  .lead, p { max-width: 100%; overflow-wrap: break-word; }
}

/* phone in header */
.header-phone { display: block; height: 18px; width: auto; max-width: none; flex: 0 0 auto; }
@media (max-width: 900px) { .header-phone { height: 14px; } }
