:root {
  --bg: #f3f1ed;
  --paper: #fffaf2;
  --ink: #18120f;
  --muted: #6f6860;
  --line: rgba(24, 18, 15, 0.14);
  --red: #e23b2f;
  --red-dark: #761b15;
  --charcoal: #211d1b;
  --radius: 26px;
  --shadow: 0 28px 70px rgba(41, 28, 20, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 0%, #fff 0, var(--bg) 36rem);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  background: rgba(243, 241, 237, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo img { width: 172px; }
.nav { display: flex; justify-content: center; gap: 24px; font-size: 14px; color: var(--muted); }
.nav a:hover, .header-phone:hover, .footer a:hover { color: var(--red); }
.header-phone { font-weight: 800; }
.menu-button { display: none; }

.section-pad { padding: clamp(64px, 9vw, 124px) clamp(18px, 4vw, 58px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 42px;
  min-height: 720px;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(33, 29, 27, 0.82), rgba(33, 29, 27, 0.22)),
    url("https://images.unsplash.com/photo-1621905251918-48416bd8575a?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 980px; font-size: clamp(42px, 7vw, 88px); line-height: 0.94; letter-spacing: -0.06em; margin-bottom: 28px; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 0.98; letter-spacing: -0.045em; margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.12; margin-bottom: 14px; }
p { line-height: 1.65; color: var(--muted); }
.hero p { color: rgba(255,255,255,0.78); }
.hero-lead { max-width: 720px; font-size: 20px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: white; box-shadow: 0 18px 35px rgba(226, 59, 47, 0.26); }
.btn-primary:hover { background: #c92f25; }
.btn-secondary { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.24); }

.hero-panel {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(24, 18, 15, 0.58);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.gauge { display: grid; place-items: center; height: 240px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); margin-bottom: 22px; }
.gauge span, .metric-row span { display: block; color: white; font-size: 54px; font-weight: 950; letter-spacing: -0.06em; }
.gauge small { color: rgba(255,255,255,0.68); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.metric-row { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.16); }
.metric-row p { margin: 0; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip span { background: var(--paper); padding: 24px clamp(18px, 4vw, 58px); font-weight: 800; }

.section { background: var(--bg); }
.section-head { max-width: 820px; margin-bottom: 42px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card, .service-aside, .contact-card, .value-grid article, .timeline article, .process-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 40px rgba(41, 28, 20, 0.05);
}
.card p, .value-grid p, .timeline p { margin-bottom: 0; }
.featured-card { grid-row: span 2; background: linear-gradient(160deg, #fffaf2, #f4ded6); }
.card ul, .service-aside ul { padding-left: 18px; margin-bottom: 0; line-height: 1.8; color: var(--muted); }

.dark-section { background: var(--charcoal); color: white; }
.dark-section p { color: rgba(255,255,255,0.72); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 42px; align-items: start; }
.process-card { background: linear-gradient(160deg, var(--red), var(--red-dark)); color: white; border-color: rgba(255,255,255,0.14); }
.process-card ol { padding-left: 20px; line-height: 1.8; color: rgba(255,255,255,0.82); }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.service-list { display: grid; gap: 14px; }
.service-list article { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,250,242,.64); }
.service-list span { color: var(--red); font-size: 26px; font-weight: 950; }
.service-list p { margin-bottom: 0; }
.service-aside { position: sticky; top: 100px; }

.values { background: #ebe7df; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.timeline time { display: inline-flex; margin-bottom: 22px; color: var(--red); font-weight: 950; }

.cta {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
  gap: 42px;
  background: linear-gradient(135deg, #fffaf2, #f1d4ca);
}
.contact-link { display: block; margin-bottom: 10px; color: var(--red); font-weight: 900; }
.contact-link.big { font-size: 30px; letter-spacing: -0.03em; }
.request-form { display: grid; gap: 14px; margin-top: 24px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: white; color: var(--ink); font: inherit; }
textarea { resize: vertical; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px clamp(18px, 4vw, 58px); border-top: 1px solid var(--line); background: var(--charcoal); color: white; }
.footer img { width: 150px; filter: brightness(0) invert(1); }
.footer p { margin: 0; color: rgba(255,255,255,.68); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .nav { display: none; position: absolute; inset: 72px 18px auto; padding: 18px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); flex-direction: column; }
  .nav.is-open { display: flex; }
  .menu-button { display: inline-flex; justify-self: end; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 10px 14px; font-weight: 800; }
  .header-phone { display: none; }
  .hero, .split, .service-layout, .cta { grid-template-columns: 1fr; }
  .trust-strip, .cards, .value-grid, .timeline { grid-template-columns: 1fr 1fr; }
  .service-aside { position: static; }
}

@media (max-width: 640px) {
  .section-pad { padding: 54px 18px; }
  .hero { min-height: auto; }
  h1 { font-size: 44px; }
  h2 { font-size: 36px; }
  .trust-strip, .cards, .value-grid, .timeline { grid-template-columns: 1fr; }
  .metric-row, .service-list article { grid-template-columns: 1fr; }
  .footer { align-items: flex-start; flex-direction: column; }
}
