html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  padding-bottom: 0;
}

body.mobile-call-space {
  padding-bottom: 84px;
}

.site-shell {
  background:
    linear-gradient(rgba(10, 34, 90, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 34, 90, 0.035) 1px, transparent 1px),
    #ffffff;
  background-size: 34px 34px;
}

.container-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(112, 137, 197, 0.28);
  backdrop-filter: blur(16px);
}

.logo-type {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111827;
}

.nav-link {
  color: #182234;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #500705;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.desktop-nav,
.desktop-phone {
  display: none !important;
}

.mobile-menu-button {
  display: inline-flex !important;
}

.mobile-menu {
  display: none;
  background: #ffffff;
  border-top: 1px solid rgba(112, 137, 197, 0.28);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  background: #500705;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.48), 0 18px 45px rgba(80, 7, 5, 0.32);
  animation: pulseGlow 2.3s infinite;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn-primary:hover {
  color: #ffffff !important;
  background: #6f0b08;
  transform: translateY(-2px);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.11), 0 24px 54px rgba(80, 7, 5, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: #111827 !important;
  background: #ffffff;
  border: 1px solid rgba(10, 34, 90, 0.22);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.hero-section {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  background: #06173f;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6, 23, 63, 0.92), rgba(10, 34, 90, 0.78) 48%, rgba(80, 7, 5, 0.66)),
    url("../images/hero-kitchen.png") center/cover no-repeat;
  z-index: -3;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(255,255,255,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  z-index: -2;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 108px;
  padding-bottom: 72px;
  text-align: center;
}

.hero-title {
  color: #ffffff !important;
  font-size: clamp(39px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 980px;
  margin: 0 auto;
}

.hero-copy {
  color: #ffffff;
  font-size: 18px;
  max-width: 840px;
  margin: 22px auto 0;
}

.star-row {
  color: #d7b66f;
  font-size: 28px;
  letter-spacing: 0.1em;
  margin: 20px 0 14px;
}

.badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px auto 28px;
}

.badge-row img {
  width: auto;
  height: 48px;
  max-width: 100px;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: #500705;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffffff;
  background: #500705;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(31px, 4.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.section-title::after,
.card-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 12px;
  background: #500705;
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

h3,
.card-title {
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

p,
li,
summary,
dd,
dt {
  font-size: 16px;
}

.blueprint-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(112, 137, 197, 0.42);
  color: #263244;
  box-shadow: 0 24px 68px rgba(10, 34, 90, 0.1);
  overflow: hidden;
}

.blueprint-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 34, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 34, 90, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.blueprint-card > * {
  position: relative;
  z-index: 1;
}

.dark-panel {
  background: #06173f;
  color: #ffffff;
  border: 1px solid rgba(112, 137, 197, 0.45);
}

.dark-panel h2,
.dark-panel h3,
.dark-panel h4 {
  color: #ffffff !important;
}

.split-block {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border: 1px solid rgba(112, 137, 197, 0.5);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-card {
  padding: 24px;
  min-height: 100%;
}

.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
}

.service-card ul,
.models-list,
.zip-list {
  margin: 14px 0 0;
  padding-left: 19px;
}

.service-card li + li,
.models-list li + li {
  margin-top: 8px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.proof-item {
  padding: 20px;
  background: #ffffff;
  color: #263244;
  border-left: 4px solid #500705;
}

.reviews-wrap {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 18px;
  transition: transform 320ms ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 24px;
  min-height: 320px;
  background: #ffffff;
  color: #263244;
  border: 1px solid rgba(112, 137, 197, 0.42);
}

.review-name {
  color: #111827;
  font-weight: 900;
  margin-bottom: 10px;
}

.carousel-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(112, 137, 197, 0.52);
  background: #ffffff;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(112, 137, 197, 0.42);
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  color: #111827;
  font-weight: 900;
}

.mobile-sticky-call {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 23, 63, 0.98);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

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

.mobile-sticky-call a {
  width: 100%;
  min-height: 54px;
  color: #ffffff !important;
  font-size: 16px;
}

.site-footer {
  background: #06173f;
  color: #ffffff;
}

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

.site-footer .logo-type,
.site-footer h2,
.site-footer h3 {
  color: #ffffff !important;
}

.draw-line {
  position: relative;
}

.draw-line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #7089C5;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 900ms ease;
}

.draw-line.in-view::before {
  transform: scaleY(1);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.42), 0 18px 45px rgba(80, 7, 5, 0.32); }
  70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0), 0 18px 45px rgba(80, 7, 5, 0.32); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 18px 45px rgba(80, 7, 5, 0.32); }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 690px;
  }

  .hero-title {
    font-size: clamp(39px, 11vw, 53px);
  }

  .section-title {
    font-size: clamp(31px, 9vw, 38px);
  }

  .desktop-nav,
  .desktop-phone {
    display: none !important;
  }

  .mobile-menu-button {
    display: inline-flex !important;
  }

  .mobile-sticky-call {
    display: block !important;
  }
}

@media (min-width: 768px) {
  body.mobile-call-space {
    padding-bottom: 0;
  }

  .desktop-nav {
    display: flex !important;
  }

  .desktop-phone {
    display: inline-flex !important;
  }

  .mobile-menu-button,
  .mobile-menu,
  .mobile-sticky-call {
    display: none !important;
  }

  .split-block {
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
  }

  .split-block.image-left {
    grid-template-columns: minmax(260px, 3fr) minmax(0, 7fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
