:root {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --blueprint: #f3e8e8;
  --wine: #7b120f;
  --ink: #3f0d16;
  --gold: #c99324;
  --line: rgba(63, 13, 22, 0.16);
}

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  background: #fffaf8;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 { letter-spacing: -0.035em; line-height: 1.08; }
h1 { font-size: clamp(2rem, 8vw, 4.8rem); }
h2 { font-size: clamp(1.65rem, 6vw, 3rem); }
h3, h4 { font-size: clamp(1.375rem, 4vw, 1.75rem); }
p, li, a, button, input, textarea { font-size: 16px; }

.site-shell {
  background-image:
    linear-gradient(rgba(123, 18, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 18, 15, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.container-narrow { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.container-wide { width: min(1320px, calc(100% - 32px)); margin: 0 auto; }

.cut { clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.cut-sm { clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }

.accent-rule { width: 68px; height: 4px; background: var(--gold); margin-top: 18px; }
.section-pad { padding: 72px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-red { background: var(--wine); color: #fff; }
.section-blush { background: var(--blueprint); }

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border: 2px solid rgba(255,255,255,.16);
  flex: 0 0 auto;
}

.logo-mark svg { width: 28px; height: 28px; }
.logo-text { font-family: var(--font-heading); font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: #111827; }
.footer .logo-text { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 248, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(63, 13, 22, .13);
}

.desktop-nav { display: none !important; }
.header-phone-desktop { display: none !important; }
.mobile-menu-button { display: inline-flex !important; }
.mobile-panel { display: none; }
.mobile-panel.open { display: block; }

@media (min-width: 768px) {
  .desktop-nav { display: flex !important; }
  .header-phone-desktop { display: inline-flex !important; }
  .mobile-menu-button, .mobile-panel { display: none !important; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  background: var(--wine);
  color: #fff !important;
  border: 2px solid var(--wine);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.btn-primary:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(63,13,22,.22); }
.btn-light { background: #fff; color: #111827 !important; border-color: #fff; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: #111827 !important; }

.hero {
  min-height: 720px;
  position: relative;
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, rgba(24, 4, 8, .94) 0%, rgba(63, 13, 22, .82) 43%, rgba(63, 13, 22, .40) 72%, rgba(63, 13, 22, .18) 100%), url('../images/hero-technician.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero h1, .hero h2, .hero h3, .section-dark h2, .section-dark h3, .section-red h2, .section-red h3 { color: #fff; }
.hero p, .hero li { color: rgba(255,255,255,.92); }
.stars { color: var(--gold); font-size: 1.35rem; letter-spacing: 0.18em; }
.hero-badge-img { width: auto; height: 50px; max-width: 30%; object-fit: contain; background: rgba(255,255,255,.94); padding: 7px 10px; border: 1px solid rgba(255,255,255,.45); }

.glass-panel { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(14px); }
.glass-panel strong { color: #fff; }

.blueprint-card { background: rgba(255,250,248,.86); border: 1px solid var(--line); box-shadow: 18px 18px 0 rgba(123,18,15,.08); }
.service-card { background: #fff; border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(123,18,15,.42); box-shadow: 0 24px 60px rgba(63,13,22,.12); }
.service-icon { width: 58px; height: 58px; background: var(--blueprint); color: var(--wine); border: 1px solid rgba(123,18,15,.22); display: grid; place-items: center; }
.service-icon svg { width: 31px; height: 31px; stroke-width: 1.8; }

.split-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 65fr 35fr; gap: 48px; } .split-grid.reverse { grid-template-columns: 35fr 65fr; } }
.split-img { width: 100%; min-height: 280px; object-fit: cover; border: 1px solid rgba(63,13,22,.14); }

.draw-box { position: relative; overflow: hidden; }
.draw-box svg { width: 100%; height: auto; }
.draw-line { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 1.8s ease; }
.draw-box.in-view .draw-line { stroke-dashoffset: 0; }

.review-track { display: flex; transition: transform .45s ease; }
.review-slide { flex: 0 0 100%; padding: 0 8px; }
@media (min-width: 768px) { .review-slide { flex-basis: 33.3333%; } }
.review-card { height: 100%; background: #fff; color: var(--ink); border: 1px solid rgba(63,13,22,.18); padding: 26px; }

.faq-item { border-top: 1px solid rgba(63,13,22,.18); }
.faq-button { width: 100%; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 800; color: #111827; }
.faq-content { display: none; padding: 0 0 24px; color: var(--ink); }
.faq-item.open .faq-content { display: block; }

.map-frame iframe { width: 100%; min-height: 420px; }

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none !important;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .24s ease, transform .24s ease;
  background: var(--ink);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 38px rgba(0,0,0,.18);
}
.sticky-call.show { display: block !important; opacity: 1; transform: translateY(0); }
.sticky-call a { width: 100%; min-height: 52px; }
@media (min-width: 768px) { .sticky-call, .sticky-call.show { display: none !important; opacity: 0 !important; transform: translateY(100%) !important; } }

.footer { font-size: 14px; background: var(--ink); color: rgba(255,255,255,.86); }
.footer a { color: #fff; }
.footer p, .footer li { font-size: 14px; color: rgba(255,255,255,.82); }

@media (max-width: 767px) {
  .section-pad { padding: 50px 0; }
  .hero { min-height: 760px; padding: 90px 0 56px; }
  .hero-badge-img { height: 44px; max-width: 31%; padding: 6px; }
  .container-narrow, .container-wide { width: min(100% - 24px, 1120px); }
  body { padding-bottom: 76px; }
}
