:root {
  --primary: #660404;
  --primary-dark: #4d1515;
  --secondary: #8f1d1d;
  --accent: #f7b731;
  --cream: #f2f2f2;
  --ink: #4d1515;
  --heading: #111827;
  --text: #2f2f35;
  --muted: #65656f;
  --line: rgba(102, 4, 4, 0.18);
  --dark: #210505;
  --font-heading: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -2;
}

h1, h2, h3, h4, .brand-word {
  font-family: var(--font-heading);
  color: var(--heading);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.95rem, 6vw, 3.3rem);
  line-height: 1.08;
}

h3, h4 {
  font-size: 1.35rem;
  line-height: 1.25;
}

p, li, td, th, a, button, input, textarea {
  font-size: 16px;
}

.site-shell {
  overflow: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 242, 242, 0.94);
  border-bottom: 1px solid rgba(102, 4, 4, 0.16);
  backdrop-filter: blur(16px);
}

.nav-link {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary);
}

.logo-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(102, 4, 4, 0.22);
}

.logo-icon svg {
  width: 27px;
  height: 27px;
}

.brand-word {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.desktop-only {
  display: none !important;
}

.mobile-only {
  display: flex !important;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex !important;
  }

  .mobile-only {
    display: none !important;
  }
}

.btn-primary, .btn-secondary, .header-phone, .mobile-menu-phone, .sticky-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary, .header-phone, .mobile-menu-phone {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(102, 4, 4, 0.28);
}

.btn-primary:hover, .header-phone:hover, .mobile-menu-phone:hover {
  background: #4a0303;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-primary {
  padding: 0.95rem 1.35rem;
}

.btn-secondary {
  padding: 0.95rem 1.35rem;
  color: var(--primary) !important;
  background: #ffffff;
  border: 1px solid rgba(102, 4, 4, 0.18);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
}

.header-phone {
  padding: 0.75rem 1.05rem;
  font-size: 17px;
}

.mobile-menu-phone {
  padding: 0.85rem 1rem;
  width: 100%;
}

.hamburger {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--primary);
  border: 1px solid rgba(102, 4, 4, 0.18);
  background: #ffffff;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(102, 4, 4, 0.14);
  background: #ffffff;
}

.mobile-panel.is-open {
  display: block;
}

.hero {
  background: radial-gradient(circle at 12% 14%, rgba(247, 183, 49, 0.24), transparent 28%), linear-gradient(135deg, #fff 0%, #f2f2f2 44%, #eadfdf 100%);
}

.blueprint-card {
  position: relative;
  border: 1px solid rgba(102, 4, 4, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(77, 21, 21, 0.12);
  backdrop-filter: blur(12px);
}

.blueprint-card::before, .blueprint-card::after {
  content: "";
  position: absolute;
  background: var(--primary);
  opacity: 0.75;
}

.blueprint-card::before {
  width: 64px;
  height: 2px;
  top: 24px;
  left: -24px;
}

.blueprint-card::after {
  width: 2px;
  height: 64px;
  right: 24px;
  bottom: -24px;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 1.35rem;
}

.trust-badge-img {
  height: 48px;
  width: auto;
  max-width: 31%;
  object-fit: contain;
  border-radius: 999px;
  border: 1px solid rgba(102, 4, 4, 0.18);
  background: #fff;
  padding: 5px;
}

.hero-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 2rem;
  clip-path: polygon(12% 0, 88% 0, 100% 50%, 88% 100%, 12% 100%, 0 50%);
  box-shadow: 0 30px 70px rgba(77, 21, 21, 0.26);
}

.section-pad {
  padding: 4.5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(247, 183, 49, 0.2);
}

.split-block {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .split-block {
    grid-template-columns: minmax(0, 65%) minmax(260px, 35%);
  }

  .split-block.reverse {
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
  }
}

.split-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 28px;
  border: 8px solid #fff;
  box-shadow: 0 20px 45px rgba(77, 21, 21, 0.15);
}

.hex-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(102, 4, 4, 0.14);
  border-radius: 28px;
  padding: 1.35rem;
  box-shadow: 0 16px 40px rgba(77, 21, 21, 0.09);
}

.hex-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  right: 20px;
  top: 20px;
  background: var(--accent);
  box-shadow: -42px 42px 0 rgba(102, 4, 4, 0.12);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--primary);
  background: #fff6dc;
  border: 1px solid rgba(247, 183, 49, 0.55);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card ul, .content-list {
  padding-left: 1.15rem;
}

.service-card li, .content-list li {
  margin: 0.55rem 0;
}

.dark-section {
  background: linear-gradient(135deg, #210505, #660404);
  color: #ffffff;
}

.dark-section h2, .dark-section h3, .dark-section h4, .dark-section p, .dark-section li {
  color: #ffffff;
}

.dark-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.model-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid rgba(102, 4, 4, 0.15);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(77, 21, 21, 0.1);
}

.model-table {
  min-width: 820px;
  width: 100%;
  border-collapse: collapse;
}

.model-table th {
  background: var(--primary);
  color: #ffffff;
  text-align: left;
  font-weight: 900;
}

.model-table th, .model-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(102, 4, 4, 0.12);
  vertical-align: top;
}

.numbered-step {
  counter-increment: step;
  position: relative;
  padding-left: 4.25rem;
}

.numbered-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
}

.review-track {
  display: flex;
  transition: transform 0.45s ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 0.85rem;
}

@media (min-width: 768px) {
  .review-card {
    flex-basis: 33.3333%;
  }
}

.review-inner {
  height: 100%;
  border-radius: 28px;
  background: #ffffff;
  padding: 1.25rem;
  border: 1px solid rgba(102, 4, 4, 0.14);
  box-shadow: 0 14px 34px rgba(77, 21, 21, 0.1);
}

.local-grid {
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid rgba(102, 4, 4, 0.14);
}

.faq-item {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(102, 4, 4, 0.14);
}

.footer {
  background: #160303;
  color: #f7f7f7;
  font-size: 14px;
}

.footer a, .footer p, .footer li, .footer span {
  color: #f7f7f7;
  font-size: 14px;
}

.footer h3, .footer h4, .footer .brand-word {
  color: #ffffff;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  min-height: 62px;
  padding: 0.95rem 0.75rem calc(0.95rem + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  color: #ffffff !important;
  background: #0f0f10;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.sticky-call.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sticky-call {
    display: none !important;
  }
}

.draw-line {
  position: relative;
}

.draw-line::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--primary), var(--accent));
  opacity: 0.4;
}

.line-dot {
  position: relative;
}

.line-dot::before {
  content: "";
  position: absolute;
  left: -2.17rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(247, 183, 49, 0.22);
}

@media (prefers-reduced-motion: no-preference) {
  .blueprint-card, .hex-card, .split-image {
    animation: rise-in 0.8s ease both;
  }

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 767px) {
  h1, h2 {
    letter-spacing: -0.015em;
  }

  .section-pad {
    padding: 3rem 0;
  }

  .hero-photo {
    border-radius: 1.25rem;
  }

  .trust-badge-img {
    height: 48px;
    max-width: 32%;
  }

  body {
    padding-bottom: 74px;
  }
}
