:root {
  --ink: #20212a;
  --ink-2: #2b2d37;
  --paper: #f5f4f0;
  --white: #ffffff;
  --muted: #6c6e76;
  --line: rgba(32, 33, 42, 0.14);
  --accent: #ffc327;
  --accent-dark: #d89c00;
  --radius: 22px;
  --shadow: 0 26px 70px rgba(19, 20, 26, 0.14);
  --container: min(1240px, calc(100vw - 56px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1000; padding: 12px 18px; background: var(--accent); color: var(--ink); border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 84px;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: background .25s ease, height .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { height: 72px; background: rgba(29, 30, 38, .93); backdrop-filter: blur(16px); box-shadow: 0 12px 36px rgba(0,0,0,.16); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 auto; }
.brand img { width: 166px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); margin-left: auto; }
.main-nav a { position: relative; font-size: 14px; font-weight: 650; letter-spacing: .01em; color: rgba(255,255,255,.75); transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--accent); transition: right .25s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.header-phone { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: 760; white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease; }

.hero { position: relative; overflow: hidden; color: var(--white); }
.hero-home { min-height: 790px; height: min(94vh, 960px); display: flex; align-items: center; background: var(--ink); }
.statement-section > img, .detail-hero > img, .inner-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slideshow, .hero-slide { position: absolute; inset: 0; }
.hero-slide { margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.15s ease, visibility 1.15s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.09); }
.hero-slide.is-active img { animation: hero-drift 7s linear both; }
.hero-slide figcaption { position: absolute; z-index: 2; right: clamp(28px, 5vw, 80px); bottom: 126px; display: grid; gap: 5px; max-width: 330px; padding-left: 18px; border-left: 3px solid var(--accent); color: var(--white); opacity: 0; transform: translateY(12px); transition: opacity .55s ease .65s, transform .55s ease .65s; }
.hero-slide.is-active figcaption { opacity: .82; transform: translateY(0); }
.hero-slide figcaption span { font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-slide figcaption strong { font-size: 15px; line-height: 1.3; }
@keyframes hero-drift { from { transform: scale(1.09) translate3d(0,0,0); } to { transform: scale(1.025) translate3d(-.5%,.25%,0); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,27,35,.92) 0%, rgba(26,27,35,.7) 46%, rgba(26,27,35,.22) 100%), linear-gradient(0deg, rgba(26,27,35,.38), transparent 50%); }
.hero-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(90deg, black, transparent 72%); }
.hero-content { position: relative; z-index: 2; padding-top: 76px; }
.kicker { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.kicker.dark { color: #9b7000; }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(54px, 6.9vw, 104px); line-height: .98; letter-spacing: -.055em; font-weight: 760; text-wrap: balance; }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: rgba(255,255,255,.77); font-size: clamp(18px, 2vw, 24px); line-height: 1.5; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #15161b; }
.button-primary:hover { background: #ffd156; }
.button-ghost { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.05); color: var(--white); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.7); }
.button-outline { border-color: rgba(32,33,42,.25); background: transparent; }
.button-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-small { min-height: 44px; padding: 0 18px; background: var(--ink); color: var(--white); }
.hero-slider-controls { position: absolute; z-index: 3; right: clamp(28px, 5vw, 80px); bottom: 48px; display: grid; grid-template-columns: 40px auto 40px; align-items: center; gap: 12px; }
.hero-slider-controls button { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(20,21,27,.18); color: var(--white); cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hero-slider-controls button:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: scale(1.07); }
.hero-slider-controls > span { min-width: 68px; color: rgba(255,255,255,.55); font-size: 11px; text-align: center; }
.hero-slider-controls > span b { color: var(--white); font-size: 14px; }
.hero-slider-controls > i { grid-column: 1 / -1; height: 2px; overflow: hidden; background: rgba(255,255,255,.2); }
.hero-slider-controls > i em { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-slider-controls.is-running > i em { animation: slide-progress 7s linear both; }
@keyframes slide-progress { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; z-index: 2; left: calc((100vw - min(1240px, calc(100vw - 56px))) / 2); bottom: 38px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue span { position: relative; width: 34px; height: 1px; background: rgba(255,255,255,.36); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%,15% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

.metric-rail { background: var(--ink); color: var(--white); border-top: 1px solid rgba(255,255,255,.1); }
.metric-rail.light { background: var(--white); color: var(--ink); border-block: 1px solid var(--line); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { min-height: 156px; padding: 36px 34px; border-right: 1px solid rgba(255,255,255,.12); }
.metric:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.metric-rail.light .metric { border-color: var(--line); }
.metric strong { display: block; margin-bottom: 6px; font-size: clamp(28px, 3vw, 45px); line-height: 1; letter-spacing: -.04em; }
.metric span { color: rgba(255,255,255,.58); font-size: 13px; }
.metric-rail.light .metric span { color: var(--muted); }

.section { padding: 118px 0; }
.section-soft { background: #ecebe6; }
.section-dark { background: var(--ink); color: var(--white); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 60px; margin-bottom: 58px; }
.section-heading h2, .split-copy h2, .statement-content h2, .cta-inner h2, .about-intro h2, .detail-grid h2, .article-grid h2 { margin: 0; font-size: clamp(38px, 4.5vw, 68px); line-height: 1.06; letter-spacing: -.045em; font-weight: 720; text-wrap: balance; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 410px; padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.4); transition: background .25s ease, transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { z-index: 2; background: var(--white); transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.card-number { color: #989aa2; font-size: 12px; font-weight: 800; }
.service-icon { position: relative; width: 54px; height: 54px; margin: 64px 0 26px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.service-card:hover .service-icon { transform: translateY(-5px) rotate(-2deg); }
.service-icon i { position: absolute; display: block; }
.service-icon-design i:first-child { inset: 5px 7px; border: 2px solid var(--ink); }
.service-icon-design i:nth-child(2) { left: 16px; top: 0; width: 2px; height: 54px; background: var(--accent); transform: rotate(38deg); }
.service-icon-design i:last-child { right: 3px; bottom: 4px; width: 21px; height: 12px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.service-icon-production i:first-child { inset: 8px; border: 5px dotted var(--ink); border-radius: 50%; }
.service-icon-production i:nth-child(2) { inset: 18px; border: 3px solid var(--accent); border-radius: 50%; }
.service-icon-production i:last-child { left: 25px; top: 0; width: 4px; height: 54px; background: var(--ink); transform: rotate(45deg); opacity: .18; }
.service-icon-mounting i:first-child { left: 4px; bottom: 4px; width: 42px; height: 34px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.service-icon-mounting i:nth-child(2) { left: 10px; top: 8px; width: 38px; height: 3px; background: var(--accent); transform: rotate(-28deg); transform-origin: left; }
.service-icon-mounting i:last-child { right: 5px; top: 5px; width: 12px; height: 23px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.service-icon-genp i:first-child { left: 5px; bottom: 4px; width: 43px; height: 39px; border: 3px solid var(--ink); background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(32,33,42,.16) 8px 10px); }
.service-icon-genp i:nth-child(2) { left: 16px; bottom: 4px; width: 12px; height: 17px; background: var(--accent); }
.service-icon-genp i:last-child { left: 1px; top: 6px; width: 51px; height: 3px; background: var(--ink); transform: rotate(-10deg); }
.service-card h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: inherit; font-size: 13px; font-weight: 800; }
.text-link b { color: var(--accent); font-size: 17px; transition: transform .2s ease; }
a:hover .text-link b, .text-link:hover b { transform: translate(3px, -3px); }
.dark-link { color: var(--ink); }

.split-section { padding-block: 0; }
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.split-media { position: relative; min-height: 680px; margin-left: calc((100vw - min(1240px, calc(100vw - 56px))) / -2); }
.split-media img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; }
.image-label { position: absolute; right: 0; bottom: 0; padding: 18px 24px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 850; }
.split-copy { padding: 92px 0; }
.split-copy p:not(.kicker) { margin: 26px 0; color: rgba(255,255,255,.65); font-size: 17px; }
.check-list { display: grid; gap: 15px; margin: 30px 0 38px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: rgba(255,255,255,.86); }
.check-list li::before { content: ""; position: absolute; top: 9px; left: 0; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); }

.product-section { background: var(--white); }
.product-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { position: relative; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.product-image { display: block; aspect-ratio: .84; overflow: hidden; background: #f0f0ee; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-meta { padding: 22px 54px 0 2px; }
.product-meta span, .catalog-category { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-meta h3 { margin: 8px 0 0; font-size: 20px; line-height: 1.25; }
.circle-action { position: absolute; right: 0; bottom: 19px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 18px; transition: background .2s ease, transform .2s ease; }
.circle-action:hover { background: var(--accent); transform: rotate(12deg); }

.section-projects { background: var(--paper); }
.project-feature-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 310px); gap: 18px; }
.project-card { position: relative; overflow: hidden; color: var(--white); }
.project-card-wide { grid-row: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.045); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,22,27,.05), rgba(21,22,27,.78)); }
.project-location { position: absolute; top: 22px; left: 24px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-title { position: absolute; left: 24px; right: 72px; bottom: 24px; }
.project-title small { display: block; margin-bottom: 5px; color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.project-title strong { display: block; font-size: clamp(19px, 2vw, 30px); line-height: 1.2; }
.project-arrow { position: absolute; right: 24px; bottom: 25px; font-size: 24px; }
.center-action { display: flex; justify-content: center; margin-top: 42px; }

.statement-section { position: relative; min-height: 690px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.statement-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,29,36,.92), rgba(28,29,36,.5) 55%, rgba(28,29,36,.18)); }
.statement-content { position: relative; z-index: 1; }
.statement-content h2 { max-width: 920px; }
.statement-content > p:not(.kicker) { max-width: 680px; margin: 26px 0 38px; color: rgba(255,255,255,.7); font-size: 18px; }

.news-section { background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 310px; border: 1px solid var(--line); background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card img { width: 100%; height: 100%; object-fit: cover; }
.news-card > div { padding: 34px; }
.news-card time, .news-row time { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.news-card h3 { margin: 18px 0 12px; font-size: 25px; line-height: 1.22; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; }

.inner-hero, .detail-hero { position: relative; min-height: 590px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--white); }
.inner-hero-shade, .detail-hero > span { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,25,31,.9), rgba(24,25,31,.15) 70%), linear-gradient(90deg, rgba(24,25,31,.5), transparent); }
.inner-hero-content, .detail-hero-content { position: relative; z-index: 1; padding: 180px 0 74px; }
.inner-hero-content h1, .detail-hero-content h1 { max-width: 1000px; margin: 0; font-size: clamp(58px, 8vw, 112px); line-height: .92; letter-spacing: -.06em; }
.inner-hero-content > p:last-child, .detail-hero-content > p:not(.kicker) { max-width: 720px; margin: 24px 0 0; color: rgba(255,255,255,.7); font-size: 20px; }
.detail-hero { min-height: 780px; align-items: center; }
.detail-hero > span { background: linear-gradient(90deg, rgba(24,25,31,.92), rgba(24,25,31,.32) 75%); }
.detail-hero-content { padding-block: 170px 80px; }
.detail-hero-content .button { margin-top: 34px; }
.item-hero > span { background: linear-gradient(0deg, rgba(24,25,31,.9), rgba(24,25,31,.2) 70%); }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 42px; }
.filter-button { padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 750; }
.filter-button:hover, .filter-button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.catalog-card { display: flex; flex-direction: column; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.catalog-card.is-hidden { display: none; }
.catalog-card a { flex: 1; }
.catalog-card img { width: 100%; aspect-ratio: 1.18; object-fit: cover; margin-bottom: 22px; border-radius: 14px; background: #efefed; }
.catalog-card h2 { margin: 8px 0; font-size: 23px; line-height: 1.2; }
.catalog-card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.catalog-card .button { align-self: flex-start; }

.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 60px 230px 1fr 44px; align-items: center; gap: 34px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.service-row:hover { padding-inline: 18px; background: var(--white); }
.service-row > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.service-row img { width: 230px; height: 160px; object-fit: cover; }
.service-row h2 { margin: 0 0 9px; font-size: 34px; letter-spacing: -.035em; }
.service-row p:not(.kicker) { max-width: 640px; margin: 0; color: var(--muted); }
.service-row > b { font-size: 28px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 58px 24px; }
.portfolio-grid.compact { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card > div { position: relative; aspect-ratio: 1.28; overflow: hidden; background: #ddd; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.portfolio-card:hover img { transform: scale(1.04); }
.portfolio-card > div span { position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; background: var(--accent); font-size: 11px; font-weight: 800; }
.portfolio-card > p { margin: 18px 0 5px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.portfolio-card h2, .portfolio-card h3 { margin: 0; font-size: 28px; line-height: 1.2; }

.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 150px 1fr 260px 40px; align-items: center; gap: 36px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-row img { width: 260px; height: 150px; object-fit: cover; }
.news-row h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.15; }
.news-row p { margin: 0; color: var(--muted); }
.news-row > b { font-size: 26px; transition: transform .2s ease; }
.news-row:hover > b { transform: translate(4px,-4px); }

.about-intro, .detail-grid, .article-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.rich-copy { color: #4f5159; font-size: 18px; }
.rich-copy > p:first-child { margin-top: 0; }
.rich-copy p { white-space: pre-line; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-size: 14px; }
.feature-list span { color: #a27600; font-weight: 900; }
.article-grid aside { position: sticky; top: 110px; color: var(--muted); }
.article-grid aside a { display: inline-block; margin-top: 20px; color: var(--ink); font-weight: 750; }
.article-grid .button { margin-top: 26px; }

.contacts-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact-panel { padding: 44px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
.contact-panel h2 { margin: 0 0 34px; font-size: 34px; }
.contact-big { display: block; margin-bottom: 10px; font-size: clamp(24px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; }
.contact-panel p { margin-top: 34px; color: rgba(255,255,255,.6); }
.contact-form-card { padding: 12px 0; }
.contact-form-card h2 { margin: 0; font-size: 44px; letter-spacing: -.04em; }
.contact-form-card > p { color: var(--muted); }

.cta-band { padding: 84px 0; background: var(--accent); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.cta-inner .kicker { color: rgba(32,33,42,.58); }
.cta-inner h2 { max-width: 820px; }
.cta-inner p:not(.kicker) { margin: 14px 0 0; color: rgba(32,33,42,.68); }
.cta-inner .button { background: var(--ink); color: var(--white); }

.site-footer { padding: 80px 0 28px; background: #191a21; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .65fr 1fr 1.25fr; gap: 58px; }
.footer-brand img { width: 170px; }
.footer-brand p, .footer-contact p { color: rgba(255,255,255,.48); font-size: 14px; }
.site-footer h2 { margin: 0 0 22px; color: rgba(255,255,255,.42); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a, .footer-contact a { font-size: 14px; }
.footer-bottom { display: flex; gap: 30px; margin-top: 62px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.38); font-size: 12px; }
.footer-bottom a:first-of-type { margin-left: auto; }

.lead-form { margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lead-form label { display: block; }
.lead-form label > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 750; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: var(--white); color: var(--ink); transition: border .2s ease, box-shadow .2s ease; }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(255,195,39,.18); }
.form-wide { grid-column: 1 / -1; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; margin: 16px 0; }
.consent input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--accent); }
.consent span { margin: 0 !important; font-size: 11px !important; }
.consent a { text-decoration: underline; }
.form-status { min-height: 20px; margin: 10px 0 0; font-size: 13px; }
.form-status.is-error { color: #d84242; }
.form-status.is-success { color: #178445; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.footer-form .lead-form { margin-top: 0; }
.footer-form .form-grid { display: block; }
.footer-form .lead-form label { margin-bottom: 10px; }
.footer-form .lead-form label > span { display: none; }
.footer-form .lead-form input, .footer-form .lead-form textarea { border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.06); color: var(--white); }
.footer-form .lead-form input::placeholder, .footer-form .lead-form textarea::placeholder { color: rgba(255,255,255,.4); }
.footer-form .consent span { display: block; color: rgba(255,255,255,.4); }
.footer-form .button { min-height: 46px; }

.calc-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 42px; border: 0; border-radius: 24px; background: var(--paper); box-shadow: 0 32px 100px rgba(0,0,0,.35); }
.calc-dialog::backdrop { background: rgba(12,13,17,.75); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 26px; line-height: 1; }
.dialog-copy h2 { margin: 0; font-size: 42px; letter-spacing: -.04em; }
.dialog-copy > p:last-child { color: var(--muted); }
.toast { position: fixed; z-index: 300; right: 24px; bottom: 24px; max-width: 390px; padding: 16px 18px; border-radius: 12px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); transform: translateY(30px); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

.legal-hero { padding: 180px 0 70px; background: var(--white); }
.legal-hero h1 { max-width: 900px; margin: 0; font-size: clamp(46px, 7vw, 86px); line-height: 1; letter-spacing: -.05em; }
.legal-copy { max-width: 900px; }
.legal-copy h2 { margin: 44px 0 12px; font-size: 28px; }
.legal-copy p { color: #555760; }
.legal-copy a { text-decoration: underline; }
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: var(--white); text-align: center; }
.error-page main { max-width: 620px; padding: 32px; }
.error-page img { width: 180px; margin: 0 auto 60px; }
.error-page h1 { margin: 0; font-size: 64px; letter-spacing: -.05em; }
.error-page p:not(.kicker) { color: rgba(255,255,255,.6); }

.js .reveal { opacity: 0; transform: translateY(34px) scale(.985); transition: opacity .75s ease var(--reveal-delay, 0ms), transform .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.section-heading h2::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 22px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2,.8,.2,1) .2s; }
.section-heading.is-visible h2::after { transform: scaleX(1); }
.project-card img, .product-image img, .split-media img { will-change: transform; }
.project-card:hover img, .product-card:hover .product-image img { transform: scale(1.055) rotate(.25deg); }

@media (max-width: 1120px) {
  .header-phone { display: none; }
  .main-nav { gap: 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-showcase { grid-template-columns: repeat(2, 1fr); gap: 38px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-form { grid-column: 2; grid-row: 1 / span 2; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 840px) {
  :root { --container: min(100% - 34px, 720px); }
  .site-header { height: 70px; }
  .brand img { width: 145px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 70px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 28px var(--container); background: rgba(25,26,33,.98); transform: translateX(100%); transition: transform .3s ease; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 22px; }
  .main-nav a::after { display: none; }
  .hero-home { min-height: 730px; height: 92vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(26,27,35,.9), rgba(26,27,35,.5)); }
  .hero h1 { font-size: clamp(48px, 13vw, 78px); }
  .hero-slide figcaption { display: none; }
  .hero-slider-controls { right: 22px; bottom: 32px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 1px solid rgba(255,255,255,.12); }
  .section { padding: 84px 0; }
  .section-heading, .split-grid, .about-intro, .detail-grid, .article-grid, .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-media { min-height: 500px; margin: 0; }
  .split-media img { min-height: 500px; }
  .split-copy { padding-top: 0; }
  .project-feature-grid { grid-template-columns: 1fr; grid-template-rows: 460px 300px 300px; }
  .project-card-wide { grid-row: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 46px 150px 1fr 30px; gap: 20px; }
  .service-row img { width: 150px; height: 120px; }
  .service-row h2 { font-size: 27px; }
  .portfolio-grid.compact { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 100px 1fr 150px 30px; gap: 18px; }
  .news-row img { width: 150px; height: 110px; }
  .cta-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  :root { --container: calc(100vw - 28px); --radius: 16px; }
  .hero-home { min-height: 690px; }
  .hero-content { padding-top: 42px; }
  .hero h1 { font-size: 47px; line-height: 1; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .scroll-cue { left: 14px; }
  .metric { min-height: 128px; padding: 25px 18px; }
  .metric strong { font-size: 29px; }
  .metric span { font-size: 11px; }
  .section-heading { gap: 24px; margin-bottom: 38px; }
  .section-heading h2, .split-copy h2, .statement-content h2, .cta-inner h2, .about-intro h2, .detail-grid h2, .article-grid h2 { font-size: 39px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .service-icon { margin-top: 42px; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 1.05; }
  .project-feature-grid { grid-template-rows: 420px 280px 280px; }
  .statement-section { min-height: 620px; }
  .news-card { grid-template-columns: 1fr; }
  .news-card img { height: 240px; }
  .inner-hero, .detail-hero { min-height: 620px; }
  .inner-hero-content, .detail-hero-content { padding: 160px 0 54px; }
  .inner-hero-content h1, .detail-hero-content h1 { font-size: 58px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 34px 1fr 30px; padding: 22px 0; }
  .service-row img { grid-column: 2; width: 100%; height: 210px; }
  .service-row > div { grid-column: 2; }
  .service-row > b { grid-column: 3; grid-row: 1; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 36px; }
  .news-row { grid-template-columns: 1fr 34px; }
  .news-row time { grid-column: 1; }
  .news-row > div { grid-column: 1; }
  .news-row img { grid-column: 1; width: 100%; height: 230px; }
  .news-row > b { grid-column: 2; grid-row: 1; }
  .feature-list { grid-template-columns: 1fr; }
  .contact-panel { padding: 28px; }
  .contact-big { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-form { grid-column: auto; grid-row: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom a:first-of-type { margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .calc-dialog { padding: 30px 20px; }
  .dialog-copy h2 { font-size: 34px; }
  .error-page h1 { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-slide img { transform: scale(1.025); }
}
