:root {
  --red: #E31E24;
  --red-dark: #B4141A;
  --black: #171717;
  --black-soft: #232323;
  --gray: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f6f6f7;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--black);
  background: var(--bg);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  margin: 0;
  color: var(--black);
}

p { margin: 0 0 0.5em; color: var(--gray); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 8px 20px rgba(227,30,36,.35); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .875rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 108px;
}
.logo img { height: 92px; width: auto; }
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--black);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--red); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.phone-link {
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--black);
}
.phone-link:hover { color: var(--red); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 55%, var(--red) 250%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 96px 24px 88px;
  position: relative;
}
.hero-text { flex: 1 1 560px; max-width: 640px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .8rem;
  color: var(--red);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.hero h1 .accent { color: var(--red); }
.hero-sub {
  color: #cfcfcf;
  font-size: 1.05rem;
  margin: 22px 0 32px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn-outline { color: #fff; border-color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--black); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .9rem;
  color: #fff;
}
.badge-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(227,30,36,.25);
}
.hero-gear {
  flex: 0 0 auto;
  display: none;
}
@media (min-width: 860px) {
  .hero-gear { display: block; }
  .gear-svg { width: 260px; height: 260px; }
  .gear-svg circle { fill: none; stroke: rgba(227,30,36,.5); stroke-width: 2; }
}

/* Sections */
section { padding: 80px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}
.section-title.light { color: #fff; }

/* Services cards */
.services { background: var(--bg-alt); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
  border-top: 4px solid var(--red);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.09); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: .95rem; margin: 0; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .9rem; }

/* Guarantee */
.guarantee { background: var(--black); color: #fff; }
.guarantee-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.guarantee-badge {
  flex: 0 0 auto;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.guarantee-badge svg { width: 42px; height: 42px; color: #fff; }
.guarantee h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.guarantee p { color: #cfcfcf; max-width: 620px; margin: 0; }

/* Contacts */
.contacts { background: var(--red); color: #fff; text-align: center; }
.contacts-sub {
  color: rgba(255,255,255,.9);
  max-width: 560px;
  margin: 0 auto 44px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.contact-item {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background .15s ease, transform .15s ease;
}
.contact-item:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-text { text-align: left; }
.contact-label { display: block; font-size: .8rem; opacity: .85; }
.contact-value { display: block; font-weight: 700; font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--black-soft); padding: 32px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo { height: 34px; filter: brightness(0) invert(1); }
.site-footer p { color: #9a9a9a; font-size: .85rem; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .main-nav, .header-actions { display: none; }
  .burger { display: flex; }
  .header-inner.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 108px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid #eee;
  }
  .header-inner.nav-open .header-actions {
    display: flex;
    position: absolute;
    top: calc(108px + 190px);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px 20px;
  }
  .guarantee-inner { flex-direction: column; text-align: center; }
}
