:root {
  --primary: #e50914;
  --primary-dark: #b80710;
  --primary-soft: rgba(229, 9, 20, 0.12);
  --bg: #ffffff;
  --bg-muted: #f8f9fa;
  --fg: #111111;
  --muted: #64748b;
  --card: #f8f9fa;
  --border: #e2e8f0;
  --header: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  --radius: 0.75rem;
  --font: Inter, system-ui, sans-serif;
  --heading: Manrope, Inter, sans-serif;
  --max: 1180px;
}
html.dark {
  --bg: #0a0a0a;
  --bg-muted: #121212;
  --fg: #fafafa;
  --muted: #a1a1aa;
  --card: #161616;
  --border: #27272a;
  --header: rgba(10, 10, 10, 0.86);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--card); }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 80px;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: var(--header);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  color: #fff;
}
.site-header.scrolled .nav { color: var(--fg); }
.nav a:hover, .nav a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.site-header.scrolled .icon-btn {
  border-color: var(--border);
  background: var(--card);
  color: var(--fg);
}
.menu-toggle { display: none; }
body.inner .site-header {
  background: var(--header);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
body.inner .nav { color: var(--fg); }
body.inner .icon-btn {
  border-color: var(--border);
  background: var(--card);
  color: var(--fg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: end start;
  color: #fff;
  overflow: hidden;
  background: #111;
}
.hero-media, .hero-media img, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 88px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pill.live { background: var(--primary); border-color: var(--primary); }
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  max-width: 14ch;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  max-width: 640px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  max-width: 820px;
}
.hero-stats div {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 12px;
}
.hero-stats strong { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-stats span { color: rgba(255,255,255,0.7); font-size: 13px; }
.scroll-hint {
  position: absolute;
  right: max(24px, calc((100% - var(--max)) / 2));
  bottom: 28px;
  z-index: 3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.scroll-hint i { animation: bounce 1.6s infinite; }
@keyframes bounce { 50% { transform: translateY(6px); } }

.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-muted);
  padding: 16px 0;
}
.marquee {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: scroll 28s linear infinite;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.marquee span { color: var(--muted); }
.marquee b { color: var(--primary); }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { padding: 88px 0; }
.section.alt { background: var(--bg-muted); }
.kicker {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}
h2, .h2 {
  font-family: var(--heading);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.years-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--primary);
  color: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.years-badge strong {
  display: block;
  font-family: var(--heading);
  font-size: 34px;
  line-height: 1;
}
.years-badge span { font-size: 13px; font-weight: 700; opacity: 0.92; }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  font-weight: 600;
}
.check-list li::before {
  content: "";
  width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 12l5 5L20 7'/></svg>") center/11px no-repeat;
}

.cards-6, .cards-4, .cards-3, .why-grid, .equip-grid {
  display: grid;
  gap: 18px;
}
.cards-6 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.equip-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 16px;
}
.card h3 { font-family: var(--heading); font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--primary);
  font-family: var(--heading);
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 8px;
}
.steps .step:nth-child(n+5) { grid-column: span 1; }

.socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.2s ease;
}
.social:hover { transform: translateY(-4px); }
.social i { color: var(--primary); font-size: 22px; }
.social strong { display: block; margin: 8px 0 4px; font-family: var(--heading); }
.social span { color: var(--muted); font-size: 14px; }

.quotes-wrap { position: relative; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote {
  padding: 26px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote p { font-size: 1.05rem; margin-bottom: 18px; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 800;
}
.slider-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.slider-nav button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
}

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 18px 52px 18px 20px;
  background: none;
  border: 0;
  color: var(--fg);
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.faq-item button::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 16px;
  color: var(--primary);
  font-size: 22px;
}
.faq-item.open button::after { content: "–"; }
.faq-item .ans { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .ans { display: block; }

.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(17,17,17,0.72), rgba(229,9,20,0.55)),
    url("https://images.unsplash.com/photo-1470229722913-7c090be5c5b4?q=80&w=1600") center/cover;
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
}
.cta h2 { margin: 10px 0 12px; }
.cta p { max-width: 60ch; margin: 0 auto 22px; color: rgba(255,255,255,0.88); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.page-hero {
  padding: 148px 0 72px;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.72), rgba(10,10,10,0.55)),
    url("https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?q=80&w=1600") center/cover;
  color: #fff;
}
.page-hero h1 {
  font-family: var(--heading);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.04em;
}
.page-hero p { max-width: 62ch; margin-top: 12px; color: rgba(255,255,255,0.86); }

.form {
  display: grid;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form input, .form select, .form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
}
.form textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { font-size: 13px; font-weight: 700; color: var(--muted); }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.contact-card strong { display: block; margin-bottom: 4px; }

.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  cursor: pointer;
}
.choice.active, .choice:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}
.estimate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px dashed var(--border);
}
.estimate strong {
  font-family: var(--heading);
  font-size: 28px;
  color: var(--primary);
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { overflow: hidden; padding: 0; }
.blog-card img { height: 180px; width: 100%; object-fit: cover; }
.blog-card .pad { padding: 20px; }
.blog-card small { color: var(--muted); font-weight: 700; }

.site-footer {
  background: #0a0a0a;
  color: #fafafa;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid #27272a;
}
.site-footer a { color: #a1a1aa; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-meta { display: grid; gap: 8px; margin-top: 16px; color: #a1a1aa; font-size: 14px; }
.footer-meta i { color: var(--primary); width: 16px; }
.copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  color: #71717a;
  font-size: 14px;
  flex-wrap: wrap;
}
.copy-links { display: flex; gap: 16px; flex-wrap: wrap; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 80px 16px auto;
  z-index: 60;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.mobile-nav a { display: block; padding: 10px 8px; font-weight: 700; }
.mobile-nav.open { display: grid; }

.to-top, .float-quote {
  position: fixed;
  z-index: 40;
  border: 0;
  cursor: pointer;
}
.to-top {
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: none;
  place-items: center;
}
.to-top.show { display: grid; }
.float-quote {
  display: none;
  right: 22px;
  bottom: 80px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
  align-items: center;
}
body.home .float-quote { display: inline-flex; }

.legal { max-width: 760px; }
.legal h2 { font-size: 28px; margin: 28px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 12px; }

@media (max-width: 980px) {
  .nav, .header-actions .desk { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .grid-2, .cards-4, .cards-3, .steps, .socials, .quotes, .footer-grid, .form-row, .hero-stats, .blog-grid {
    grid-template-columns: 1fr;
  }
  .why-grid, .equip-grid, .cards-6 { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 92vh; }
  .copy { flex-direction: column; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .why-grid, .equip-grid, .cards-6 { grid-template-columns: 1fr; }
  .cta { padding: 42px 18px; }
  .float-quote { display: none !important; }
}
