﻿/* РћР“РќР•Р—Рђ Expert /uslugi
   Visual: intra-sakhalin.ru atmosphere
   Brand: ognezaexpert.ru, accent #E30613 */

:root {
  --accent: #E30613;
  --accent-hover: #B8050F;
  --accent-soft: #F8E8EA;
  --ink: #090d16;
  --ink-2: #1e293b;
  --muted: #475569;
  --line: #cbd5e1;
  --line-2: #e2e8f0;
  --bg: #f8fafc;
  --bg-2: #eef2f6;
  --white: #FFFFFF;
  --dark: #090d16;
  --dark-2: #111827;
  --shadow: 0 10px 30px rgba(9, 13, 22, 0.06);
  --shadow-lg: 0 18px 50px rgba(9, 13, 22, 0.12);
  --r: 4px;
  --header-h: 72px;
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4,
.logo-text, .nav a, .btn, .eyebrow, .stat-num, .card-title {
  font-family: Montserrat, "Open Sans", "Segoe UI", sans-serif;
}
.hero h1, .page-hero h1, .hero-usp, .page-hero p {
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}
.mono { font-family: "Fira Code", ui-monospace, monospace; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 2000;
  background: var(--accent); color: #fff; padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: var(--header-h);
  background: rgba(9,13,22,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  height: 100%;
  width: 100%;
  display: flex; align-items: center; gap: 28px;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center; flex-shrink: 0;
}
.logo img { height: 48px; width: auto; max-width: 280px; }
.nav {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav a, .nav-drop > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  border-radius: 3px;
  transition: color .2s, background .2s;
  cursor: pointer;
}
.nav a:hover, .nav-drop:hover > span { color: var(--accent); }
.nav a.is-active { color: #fff; background: var(--accent); }
.nav-drop { position: relative; }
.nav-drop > span svg { opacity: .55; transition: transform .2s; }
.nav-drop:hover > span svg { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: 100%; left: 0;
  min-width: 280px;
  background: rgba(9,13,22,.98);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  z-index: 20;
}
.nav-drop:hover .nav-panel,
.nav-drop:focus-within .nav-panel {
  opacity: 1; visibility: visible; transform: none;
}
.nav-panel a {
  display: block; width: 100%;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: 12px; font-weight: 700;
  padding: 10px 12px; color: rgba(255,255,255,.75);
}
.nav-panel a:hover { background: rgba(227,6,19,.16); color: #fff; }
.nav-group-label {
  padding: 10px 12px 4px;
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav-panel-sep {
  height: 1px;
  margin: 8px 12px;
  background: rgba(255,255,255,.12);
}
.mnav .nav-group-label {
  padding: 16px 0 4px;
  border-bottom: none;
  color: var(--accent);
}
.mnav .nav-panel-sep {
  margin: 10px 0;
  background: rgba(255,255,255,.12);
}
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; margin-left: auto; }
.header-phone {
  font-family: Montserrat, sans-serif;
  font-size: 14px; font-weight: 800;
  color: #fff; white-space: nowrap;
}
.header-phone small { display: block; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; }
.burger {
  display: none; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.2); background: transparent; border-radius: 3px;
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  position: relative; z-index: 1102; pointer-events: auto; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent; margin-left: 0;
}
.burger span { width: 18px; height: 1.5px; background: #fff; display: block; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 32px;
  font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 3px; border: 1.5px solid transparent;
  cursor: pointer; transition: .2s ease;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(227,6,19,.32); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-line {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-line-light:hover { background: #fff; color: var(--ink); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 11px; }
.header-roof-btn {
  height: auto;
  min-height: 42px;
  padding: 7px 12px;
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  max-width: 210px;
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.header-roof-btn:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: #05070a;
}
.hero::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  background: linear-gradient(to bottom, transparent, #05070a);
  z-index: 5; pointer-events: none;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media { opacity: .85; }
.hero-media img {
  object-position: 50% 42%;
  animation: heroKen 42s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(9,13,22,.55) 0%, rgba(9,13,22,.78) 42%, rgba(9,13,22,.92) 100%),
    radial-gradient(ellipse 55% 65% at 92% 45%, rgba(227,6,19,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  overflow: hidden;
  background: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.48) 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.48) 62%, transparent 100%);
}
.hero-grid-lines::before,
.hero-grid-lines::after {
  content: "";
  position: absolute;
  inset: -50%;
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-grid-lines::before {
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  animation: none;
}
.hero-grid-lines::after {
  background-image:
    linear-gradient(rgba(227,6,19,.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,130,32,.28) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 88% 72% at 80% 6%, #000 0%, rgba(0,0,0,.5) 38%, transparent 70%);
  mask-image: radial-gradient(ellipse 88% 72% at 80% 6%, #000 0%, rgba(0,0,0,.5) 38%, transparent 70%);
  mix-blend-mode: normal;
  opacity: .55;
  animation: none;
}
.hero-inner {
  position: relative; z-index: 10;
  padding: 140px 0 120px;
  max-width: 1040px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-tag {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 10px 16px;
  font-family: "Fira Code", ui-monospace, monospace;
  color: #fff;
  background: rgba(227,6,19,.92);
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  opacity: 1;
  animation: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.hero-tag.secondary {
  color: #fff;
  background: rgba(9,13,22,.78);
  border: 1px solid rgba(255,255,255,.45);
  animation-delay: .25s;
}
.hero-tag::before,
.hero-tag::after,
.hero-tag .tag-bl,
.hero-tag .tag-br {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-color: rgba(227,6,19,.95);
  border-style: solid;
}
.hero-tag::before { left: 0; top: 0; border-width: 2px 0 0 2px; }
.hero-tag::after { right: 0; top: 0; border-width: 2px 2px 0 0; }
.hero-tag .tag-bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.hero-tag .tag-br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.hero-tag.secondary::before,
.hero-tag.secondary::after,
.hero-tag.secondary .tag-bl,
.hero-tag.secondary .tag-br { border-color: rgba(255,255,255,.55); }
.hero h1 {
  max-width: 1040px;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroIn 1.8s ease .35s forwards;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  color: #fff;
}
.hero-usp {
  max-width: 820px;
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  color: rgba(255,255,255,.86);
  margin-bottom: 44px;
  opacity: 0;
  animation: heroIn 1.8s ease .55s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  opacity: 0;
  animation: heroIn 1.8s ease .75s forwards;
}
.hero-draw .hero-media,
.hero-photo .hero-media { opacity: 1; }
.hero-photo .hero-media img {
  object-position: 50% 42%;
  animation: heroKen 42s ease-in-out infinite alternate;
  filter: none;
}
.hero-draw .hero-media img {
  object-position: 72% 50%;
  animation: heroKen 42s ease-in-out infinite alternate;
  filter: none;
}
.hero-draw .hero-shade,
.hero-photo .hero-shade {
  background:
    linear-gradient(105deg, rgba(9,13,22,.78) 0%, rgba(9,13,22,.55) 46%, rgba(9,13,22,.32) 100%);
}
@keyframes heroDrawPan {
  0%   { transform: scale(1.04); object-position: 70% 48%; }
  100% { transform: scale(1.1);  object-position: 80% 52%; }
}
.hero-scroll {
  position: absolute; z-index: 3;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.7);
  font-family: Montserrat, sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.hero-scroll i {
  display: block; width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--accent), rgba(255,255,255,.15));
  animation: scrollLine 3.6s ease-in-out infinite;
  transform-origin: top;
}

@keyframes heroPan {
  0%   { object-position: 90% 48%; transform: scale(1.08); filter: grayscale(.22) brightness(.92); }
  50%  { object-position: 96% 52%; transform: scale(1.14); filter: grayscale(.12) brightness(.98); }
  100% { object-position: 86% 50%; transform: scale(1.1);  filter: grayscale(.28) brightness(.9); }
}
@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 280px 280px; }
}
@keyframes gridWarmPulse {
  0% { opacity: .3; filter: drop-shadow(0 0 4px rgba(227,6,19,.18)); }
  100% { opacity: 1; filter: drop-shadow(0 0 16px rgba(245,130,32,.48)); }
}
@keyframes heroKen {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1.4%, -0.8%, 0); }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.45); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ========== SECTIONS ========== */
.section { padding: 110px 0; }
.section-bg { background: var(--bg); }
.section-dark { background: var(--dark); color: #fff; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px;
}
.eyebrow .n {
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 12px; font-weight: 600;
  opacity: .45; letter-spacing: 0; margin-right: 4px;
}
.eyebrow::after {
  content: ""; flex: 0 0 56px; height: 1px; background: var(--accent); opacity: .55;
}
.section-dark .eyebrow { color: #fff; }
.stitle {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.05;
  text-transform: uppercase;
  max-width: 980px; margin-bottom: 18px;
}
.slead {
  font-size: 19px; color: var(--muted); max-width: 760px; line-height: 1.6;
}
.section-head { margin-bottom: 56px; }

/* ========== STATS ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(36px, 4.2vw, 56px); font-weight: 900; letter-spacing: -.04em;
  color: var(--ink); line-height: 1; margin-bottom: 12px;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ========== SERVICE CARDS (Intra-like photo tiles) ========== */
.svc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.svc-card {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--dark);
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow);
}
.svc-card.wide { grid-column: 1 / 2; grid-row: 1 / 3; min-height: 88vh; }
.svc-card:nth-child(n+4) { min-height: 48vh; }
.svc-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: none;
}
.svc-card.wide img { animation: none; }
.svc-card:nth-child(2) img { animation: none; }
.svc-card:nth-child(3) img { animation: none; }
.svc-card:hover img { filter: brightness(1.06); }
.svc-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,17,19,.05) 20%, rgba(16,17,19,.78) 100%);
}
.svc-body {
  position: relative; z-index: 2;
  padding: 32px; color: #fff; width: 100%;
}
.svc-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 8px;
}
.card-title {
  font-size: clamp(24px, 2.4vw, 36px); font-weight: 900; letter-spacing: -.02em;
  text-transform: uppercase;
  line-height: 1.1; margin-bottom: 14px;
}
.svc-list { margin: 0 0 18px; }
.svc-list li {
  font-size: 14.5px; color: rgba(255,255,255,.82);
  padding-left: 14px; position: relative; margin-bottom: 4px;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.svc-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: Montserrat, sans-serif;
  font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff;
}
.svc-more svg { transition: transform .2s; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

.svc-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 20px;
}
.svc-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: .22s ease;
  display: flex; flex-direction: column;
}
.svc-mini:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.svc-mini-img { height: 280px; overflow: hidden; background: var(--bg-2); }
.svc-mini-img img {
  width: 100%; height: 100%; object-fit: cover;
  animation: none;
}
.svc-mini:nth-child(2) .svc-mini-img img { animation: none; }
.svc-mini:nth-child(3) .svc-mini-img img { animation: none; }
.svc-mini:hover img { filter: brightness(1.05); }
.svc-mini-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.svc-mini h3 {
  font-family: Montserrat, sans-serif;
  font-size: 20px; font-weight: 900; letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 8px; line-height: 1.2;
}
.svc-mini p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.svc-mini .svc-more { color: var(--accent); margin-top: auto; }

/* ========== PROCESS ========== */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; counter-reset: step;
}
.step {
  padding: 28px 24px 8px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "[ 0" counter(step) " ]";
  display: block;
  font-family: "Fira Code", ui-monospace, monospace;
  font-size: 12px; font-weight: 600; letter-spacing: 0;
  color: var(--accent); margin: 18px 0 14px;
}
.step h3 {
  font-family: Montserrat, sans-serif;
  font-size: 17px; font-weight: 800; margin-bottom: 8px;
}
.step p { font-size: 14.5px; color: var(--muted); }

/* ========== ADVANTAGES ========== */
.adv-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.adv {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px 30px;
  transition: .2s;
}
.adv:hover { box-shadow: var(--shadow); border-color: #d4d4d4; }
.adv-ico {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 18px;
}
.adv h3 {
  font-family: Montserrat, sans-serif;
  font-size: 16px; font-weight: 800; margin-bottom: 8px;
}
.adv p { font-size: 14.5px; color: var(--muted); }

/* ========== SPLIT / INNER CONTENT ========== */
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center;
}
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split.reverse .split-media { order: -1; }
.split-media {
  position: relative;
  isolation: isolate;
  border-radius: var(--r); overflow: hidden;
  min-height: 560px; background: var(--bg-2);
  box-shadow: var(--shadow);
}
.split-media img {
  width: 100%; height: 100%; min-height: 560px; object-fit: cover;
  animation: none;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(227,6,19,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mix-blend-mode: normal;
  opacity: .28;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
  animation: none;
}
.split-media.draw {
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}
.split-media.draw img {
  min-height: 0;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  animation: none;
}
.split-media.draw::after {
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(rgba(227,6,19,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,6,19,.12) 1px, transparent 1px);
  opacity: .5;
}
.split-media.draw::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  height: 2px; top: 8%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, #E30613 34%, #f58220 66%, transparent 100%);
  box-shadow: 0 0 18px rgba(227,6,19,.55);
  opacity: 0;
}
.split-media.draw.is-in::before {
  animation: none;
  opacity: 0;
}
@keyframes illustKen {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.14) translate3d(-2.2%, -1.4%, 0); }
}
@keyframes hubKen {
  0% { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-2.4%, -1.6%, 0); }
}
@keyframes illustDraw {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.045) translate3d(1.2%, -1%, 0); }
}
@keyframes illustScan {
  0% { top: 8%; opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: .5; }
  100% { top: 90%; opacity: 0; }
}
.split-text .slead, .split-text p { margin-bottom: 16px; }
.split-text p { color: var(--ink-2); font-size: 16.5px; }

.work-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.work-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 36px 32px 28px;
}
.work-panel .eyebrow { margin-bottom: 12px; }
.work-panel h3 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 22px;
}
.work-panel ul { list-style: none; margin: 0; padding: 0; }
.work-panel li {
  padding: 16px 0 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.work-panel li:first-child { border-top: none; padding-top: 0; }
.work-panel li b {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

.check-list { margin: 18px 0 8px; }
.check-list li {
  position: relative; padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink-2);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px;
  border: 1.5px solid var(--accent); border-radius: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23E30613' stroke-width='1.8' d='M2 6.2 4.6 9 10 3'/%3E%3C/svg%3E") center/10px no-repeat;
}

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}

.fact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 8px;
}
.fact {
  background: var(--bg);
  border-radius: var(--r);
  padding: 20px 22px;
}
.fact b {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 13px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 6px;
}
.fact span { font-size: 15px; color: var(--ink-2); }

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative; color: #fff;
  min-height: 86vh; min-height: 86dvh;
  display: flex; align-items: center;
  overflow: hidden; background: #05070a;
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: heroKen 42s ease-in-out infinite alternate;
  opacity: .85;
}
.page-hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(9,13,22,.7) 0%, rgba(9,13,22,.45) 50%, rgba(9,13,22,.82) 100%);
}
.page-hero .hero-grid-lines { z-index: 2; }
.page-hero-inner { position: relative; z-index: 10; padding: 140px 0 80px; }
.page-hero h1, .page-hero p, .page-hero .crumbs {
  opacity: 0;
  animation: heroIn 1.7s ease forwards;
}
.page-hero .crumbs { animation-delay: .15s; }
.page-hero h1 { animation-delay: .32s; }
.page-hero p { animation-delay: .5s; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px;
}
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .45; }
.page-hero h1 {
  max-width: 1040px;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800; letter-spacing: 0.02em; line-height: 1.16;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  color: #fff;
}
.page-hero p {
  max-width: 780px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500; line-height: 1.4;
  color: rgba(255,255,255,.86);
}

/* ========== RELATED ========== */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden; background: #fff;
  transition: .2s;
}
.rel:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rel img { height: 200px; width: 100%; object-fit: cover; }
.rel span {
  display: block; padding: 16px 16px 18px;
  font-family: Montserrat, sans-serif;
  font-size: 15px; font-weight: 800;
}

/* ========== FORM ========== */
.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px;
  align-items: start;
}
.contact-aside h2 { margin-bottom: 14px; }
.contact-meta { margin-top: 28px; display: grid; gap: 16px; }
.cm {
  display: flex; gap: 12px; align-items: flex-start;
}
.cm b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.cm a, .cm span { font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 800; }
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px; color: var(--ink);
  outline: none; transition: .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: #fff;
}
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0 18px; font-size: 12.5px; color: var(--muted); line-height: 1.45;
}
.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--accent-hover); }
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-bottom a:hover { color: #fff; }
.form-ok { display: none; padding: 28px 8px; text-align: center; }
.form-ok h3 { font-family: Montserrat, sans-serif; margin: 12px 0 8px; }
.form-ok p { color: var(--muted); }

.cta-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--dark); color: #fff;
  padding: 36px 40px; border-radius: var(--r);
}
.cta-bar h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 8px; }
.cta-bar p { color: rgba(255,255,255,.7); }

/* ========== FULLSCREEN VISUAL ========== */
.visual-band {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}
.visual-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: none;
}
.visual-band-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.15) 0%, rgba(17,17,17,.78) 100%);
}
.visual-band-inner {
  position: relative; z-index: 10;
  padding: 80px 0;
}
.visual-band-inner p {
  max-width: 1000px;
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
  text-transform: none;
}
.visual-band-draw {
  min-height: 92vh;
  min-height: 92dvh;
  background: #090d16;
}
.visual-band-draw img {
  object-fit: cover;
  object-position: 72% 48%;
  transform: scale(1.04);
  animation: none;
  filter: none;
}
.visual-band-draw .visual-band-shade {
  background: linear-gradient(105deg, rgba(9,13,22,.78) 0%, rgba(9,13,22,.28) 52%, rgba(9,13,22,.12) 100%);
}
.visual-band .hero-grid-lines,
.visual-band-draw .hero-grid-lines {
  z-index: 2;
  opacity: .85;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark); color: rgba(255,255,255,.78);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px; margin-bottom: 48px;
}
.footer .logo img { height: 40px; margin-bottom: 16px; filter: none; }
.footer p { font-size: 14.5px; line-height: 1.55; max-width: 320px; }
.footer h4 {
  font-family: Montserrat, sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer a { display: block; font-size: 14.5px; padding: 4px 0; color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.45);
}

/* ========== PRICE TABLE-LIKE ========== */
.price-factors {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.pf {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 22px;
}
.pf-n {
  font-family: Montserrat, sans-serif;
  font-size: 13px; font-weight: 800; color: var(--accent);
  min-width: 28px;
}
.pf h3 { font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.pf p { font-size: 14.5px; color: var(--muted); }

/* ========== MOBILE NAV ========== */
.mnav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0;
  background: #090d16; z-index: 999;
  padding: 24px;
  overflow: auto;
}
.mnav.open { display: block; }
.mnav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: Montserrat, sans-serif;
  font-size: 15px; font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.mnav .btn { width: 100%; margin-top: 20px; }

body.nav-lock { overflow: hidden; }

.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.back-top.show { display: flex; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card.wide { grid-column: auto; grid-row: auto; min-height: 70vh; }
  .steps { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
}
@media (min-width: 1280px) {
  .logo img { height: 62px; max-width: 420px; }
}
@media (max-width: 900px) {
  .wrap, .stats { width: min(var(--max), calc(100% - 32px)); }
  .header .wrap { width: 100%; max-width: none; padding: 0 14px; }
  .header-inner { gap: 12px; }
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .header-roof-btn { display: none; }
  .burger { display: flex; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .split, .split.reverse, .contact-grid, .two-col, .work-panels { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .svc-strip { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .form-grid, .price-factors, .fact-grid { grid-template-columns: 1fr; }
  .cta-bar { flex-direction: column; align-items: flex-start; padding: 28px; }
  .hero { min-height: 100vh; min-height: 100dvh; align-items: flex-start; }
  .hero-inner { padding: 96px 0 48px; max-width: none; }
  .hero-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 640px;
  }
  .hero-tag {
    justify-content: center;
    white-space: normal;
    text-align: center;
    font-size: 11px;
    padding: 9px 10px;
  }

  .hero-draw .hero-media img { object-position: 80% center; }
  .hero-photo .hero-media img { object-position: 50% 38%; }
  .page-hero { min-height: 70vh; }
  .visual-band { min-height: 70vh; }
  .section { padding: 64px 0; }
  .svc-card, .svc-card.wide { min-height: 70vh; }
  .split-media, .split-media img { min-height: 360px; }
}
@media (max-width: 640px) {
  .stats, .adv-grid, .steps, .related, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .form { padding: 22px 18px; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .hero-usp { font-size: 18px; }
  .hero-scroll { display: none; }
  .hero-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-bottom: 22px;
  }
  .hero-tag {
    justify-content: center;
    font-size: 10px;
    letter-spacing: .04em;
    padding: 8px 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .hero h1 { font-size: clamp(26px, 8vw, 36px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .page-hero img,
  .visual-band img,
  .split-media img,
  .svc-card img,
  .svc-mini-img img { animation: none; transform: none; filter: none; }
  .hero-grid-lines,
  .hero-grid-lines::before,
  .hero-grid-lines::after,
  .split-media::after,
  .split-media.draw::before { animation: none; filter: none; opacity: 1; }
  .hero-tag,
  .hero h1, .hero-usp, .hero-actions,
  .page-hero h1, .page-hero p, .page-hero .crumbs {
    animation: none; opacity: 1; transform: none;
  }
  .hero-scroll i { animation: none; }
}

