:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --bg-3: #121212;
  --white: #f4f4f4;
  --muted: #9b9b9b;
  --red: #e10600;
  --red-2: #ff2a22;
  --line: rgba(255, 255, 255, 0.08);
  --max: 1160px;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Manrope, system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 100;
  background: var(--red); color: #fff; padding: 8px 12px;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: 0.16em; font-size: 13px;
}
.logo-mark {
  width: 12px; height: 28px; background: var(--red);
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 82%);
}
.nav-links { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.nav-links a:hover, .nav-links a:focus { color: var(--white); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line);
  width: 42px; height: 42px; border-radius: 8px; cursor: pointer;
}
.menu-btn span { display: block; height: 2px; margin: 6px 10px; background: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 4px;
  padding: 14px 22px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 13px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn-red {
  background: var(--red); color: #fff;
  box-shadow: 0 10px 28px rgba(225, 6, 0, 0.35);
}
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--white);
}
.btn-ghost:hover { border-color: var(--red); }
.btn:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }

.hero {
  position: relative; min-height: calc(100svh - 74px);
  display: grid; align-items: end;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.25) 0%, rgba(5,5,5,0.55) 46%, rgba(5,5,5,0.96) 100%),
    linear-gradient(90deg, rgba(5,5,5,0.55), transparent 55%);
}
.hero-content { padding: 0 0 72px; max-width: 820px; }
.kicker {
  color: var(--red); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
}
.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(52px, 10vw, 108px);
  line-height: 0.88; letter-spacing: 0.02em;
}
.hero p {
  margin-top: 18px; max-width: 42ch; color: #d8d8d8; font-size: 18px;
}
.hero .btn { margin-top: 28px; }

.section { padding: 88px 0; }
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 6vw, 58px); letter-spacing: 0.03em; line-height: 0.95;
}
.section-head p { margin-top: 10px; color: var(--muted); }
.note {
  display: inline-block; margin-top: 10px; font-size: 12px; color: #b8b8b8;
  border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px;
}

.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px 18px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 280px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(225, 6, 0, 0.45); }
.icon {
  width: 44px; height: 44px; color: var(--red);
}
.icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 16px; }
.card p { color: var(--muted); font-size: 14px; flex: 1; }
.card .btn { width: 100%; padding: 12px 10px; font-size: 11px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.compare {
  position: relative; overflow: hidden; border-radius: 14px;
  height: 280px; background: #111; user-select: none; touch-action: none;
  border: 1px solid var(--line);
}
.compare img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.compare-before {
  position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden;
}
.compare-before img {
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 3;
}
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: #fff; z-index: 2; pointer-events: none;
  transform: translateX(-1px);
}
.compare-handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(225, 6, 0, 0.9);
  transform: translate(-50%, -50%);
}
.compare-label {
  position: absolute; top: 12px; z-index: 2;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(0,0,0,0.65); padding: 4px 8px; border-radius: 4px;
}
.compare-label.left { left: 12px; }
.compare-label.right { right: 12px; }
.caption { margin-top: 8px; font-size: 12px; color: var(--muted); }

.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.diff {
  padding: 24px 20px; border-top: 2px solid var(--red);
  background: var(--bg-2); border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); border-left: 1px solid var(--line);
}
.diff h3 { margin-bottom: 8px; font-size: 16px; }
.diff p { color: var(--muted); font-size: 14px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review {
  padding: 24px; background: var(--bg-2); border: 1px dashed var(--line);
  border-radius: var(--radius); min-height: 200px;
}
.stars { color: var(--red); letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--muted); font-size: 14px; }
.review .who { margin-top: 16px; font-size: 12px; color: #cfcfcf; }

.cta-final {
  padding: 72px 0; text-align: center;
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(225,6,0,0.22), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta-final h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(40px, 7vw, 72px); line-height: 0.9;
  margin-bottom: 18px;
}

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact h2 {
  font-family: "Bebas Neue", sans-serif; font-size: 42px; margin-bottom: 18px;
}
.meta { display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.meta strong { display: block; color: var(--white); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.map {
  min-height: 280px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-3); display: grid; place-items: center; text-align: center;
  color: var(--muted); padding: 24px;
}

footer {
  border-top: 1px solid var(--line); padding: 22px 0 90px;
  color: var(--muted); font-size: 12px;
}
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(225, 6, 0, 0.45);
  animation: pulse 2.6s ease-in-out infinite;
}
.float-wa svg { width: 30px; height: 30px; }
.float-wa:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: 0.7s ease; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(225, 6, 0, 0); }
}

@media (max-width: 1020px) {
  .services, .gallery, .diffs, .reviews, .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #080808; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 16px 20px 20px; gap: 14px;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .services, .gallery, .diffs, .reviews, .contact { grid-template-columns: 1fr; }
  .hero { min-height: 86svh; }
  .nav .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .card, .btn, .float-wa { animation: none; transition: none; }
  .reveal { opacity: 1; transform: none; }
}
