html {
  scroll-behavior: smooth;
}

:root {
  --brand-dark: #440303;
  --brand-dark-2: #2b0101;
  --active: #4264B5;
  --ink: #111827;
  --muted: #4b5563;
  --glass: rgba(255, 255, 255, 0.91);
  --line: rgba(66, 100, 181, 0.38);
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-width: 320px;
  background: var(--brand-dark);
  color: #f9fafb;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(27px, 10vw, 62px);
}

h2 {
  font-size: clamp(22px, 7.4vw, 44px);
}

h3,
h4 {
  font-size: 22px;
}

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

.site-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(66, 100, 181, 0.28), transparent 35rem),
    linear-gradient(180deg, var(--brand-dark) 0%, #230202 45%, #ffffff 45%, #ffffff 100%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(68, 3, 3, 0.91);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--active);
  color: #ffffff;
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

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

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

.mobile-menu-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: transparent;
}

.mobile-menu-button span,
.mobile-menu-button span::before,
.mobile-menu-button span::after {
  display: block;
  width: 21px;
  height: 2px;
  background: #ffffff;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-button span::before {
  transform: translateY(-7px);
}

.mobile-menu-button span::after {
  transform: translateY(5px);
}

.mobile-menu-button[aria-expanded="true"] span {
  background: transparent;
}

.mobile-menu-button[aria-expanded="true"] span::before {
  transform: translateY(2px) rotate(45deg);
}

.mobile-menu-button[aria-expanded="true"] span::after {
  transform: translateY(0) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 18px 16px 24px;
  background: rgba(35, 2, 2, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

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

.mobile-menu a,
.desktop-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
}

.btn-active,
.hero-phone,
.desktop-phone,
.mobile-menu-phone,
.sticky-call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--active);
  background: var(--active);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.0);
  animation: whitePulse 2.4s infinite;
}

.btn-active:hover,
.hero-phone:hover,
.desktop-phone:hover,
.mobile-menu-phone:hover,
.sticky-call-button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 0 70px;
  isolation: isolate;
  background:
    linear-gradient(rgba(35, 2, 2, 0.76), rgba(68, 3, 3, 0.78)),
    url("../images/hero-kitchen.jpg") center/cover no-repeat;
}

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

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.cta-band h2,
.footer h2,
.footer h3 {
  color: #ffffff !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px;
  background: var(--active);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stars {
  color: var(--active);
  font-size: 30px;
  letter-spacing: 0.1em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.28);
}

.trust-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-icons img {
  width: auto;
  height: 48px;
  max-width: 96px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  padding: 5px 8px;
}

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

.hero-cta-line {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.section-pad {
  padding: 72px 0;
}

.light-section {
  background: #ffffff;
  color: #1f2937;
}

.alt-section {
  background: #f4f6fb;
  color: #1f2937;
}

.dark-section {
  position: relative;
  background: var(--brand-dark);
  color: #ffffff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.light-section h2,
.alt-section h2,
.glass-card h3,
.service-card h3,
.review-card h3,
.faq-item h3 {
  color: #111827 !important;
}

.title-underline {
  width: 78px;
  height: 3px;
  margin-top: 16px;
  background: var(--active);
}

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

.glass-card,
.service-card,
.review-card,
.faq-item,
.info-panel {
  border: 1px solid rgba(66, 100, 181, 0.2);
  background: var(--glass);
  color: #1f2937;
  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.14);
  border-radius: 0;
}

.glass-card,
.service-card,
.review-card,
.faq-item {
  padding: 24px;
}

.glass-card strong,
.service-card strong,
.info-panel strong {
  color: #111827;
}

.icon-tile {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(66, 100, 181, 0.11);
  border: 1px solid rgba(66, 100, 181, 0.3);
}

.icon-tile img,
.icon-tile svg {
  width: 34px;
  height: 34px;
}

.split-row {
  display: grid;
  gap: 26px;
  align-items: center;
}

.split-row.reverse .split-image {
  order: -1;
}

.split-text,
.split-image {
  min-width: 0;
}

.split-image img {
  width: 100%;
  display: block;
  border: 1px solid rgba(66, 100, 181, 0.28);
  box-shadow: 18px 18px 0 rgba(66, 100, 181, 0.16);
}

.service-grid {
  display: grid;
  gap: 18px;
}

.service-card ul,
.glass-card ul,
.info-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.service-card li,
.glass-card li,
.info-panel li {
  margin-top: 8px;
}

.circuit-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.circuit-lines::before,
.circuit-lines::after {
  position: absolute;
  content: "";
  width: 42%;
  height: 54%;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left center;
  transition: opacity 0.8s ease, transform 1.3s ease;
}

.circuit-lines::before {
  top: 18%;
  left: 0;
}

.circuit-lines::after {
  right: 0;
  bottom: 12%;
  transform-origin: right center;
  border-left: 1px solid var(--line);
  border-right: 0;
}

.draw-circuit .circuit-lines::before,
.draw-circuit .circuit-lines::after {
  opacity: 1;
  transform: scaleX(1);
}

.review-window {
  overflow: hidden;
}

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

.review-slide {
  flex: 0 0 100%;
  padding: 0 8px;
}

.review-card {
  min-height: 100%;
}

.review-card .review-stars {
  color: var(--active);
  letter-spacing: 0.08em;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--active);
  background: var(--active);
  color: #ffffff;
  font-weight: 900;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(68, 3, 3, 0.96), rgba(35, 2, 2, 0.92)),
    url("../images/appliance-suite.jpg") center/cover no-repeat;
  color: #ffffff;
}

.area-grid {
  display: grid;
  gap: 18px;
}

.area-pill {
  border-left: 3px solid var(--active);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 16px;
}

.faq-item + .faq-item {
  margin-top: 16px;
}

.footer {
  background: #180101;
  color: #f9fafb;
  font-size: 14px;
}

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

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 28px;
  padding-top: 22px;
  color: #e5e7eb;
}

.sticky-call-wrap {
  display: none !important;
}

@keyframes whitePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.34); }
  70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 78px;
  }

  .brand-link {
    font-size: 24px;
  }

  .brand-name {
    max-width: 185px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-copy {
    font-size: 16px;
  }

  .trust-icons {
    gap: 8px;
  }

  .trust-icons img {
    height: 48px;
    max-width: 64px;
    padding: 4px;
  }

  .section-pad {
    padding: 54px 0;
  }

  .sticky-call-wrap {
    display: block !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 8px;
    background: rgba(24, 1, 1, 0.9);
    transform: translateY(115%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

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

  .sticky-call-button {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 15px;
  }
}

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

@media (min-width: 768px) {
  h1 {
    font-size: clamp(39px, 6vw, 72px);
  }

  h2 {
    font-size: clamp(31px, 4vw, 48px);
  }

  .desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 22px;
  }

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

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

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

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

  .split-row.reverse .split-image {
    order: 0;
  }

  .split-row.reverse .split-text {
    order: 1;
  }

  .review-slide {
    flex-basis: 33.3333%;
  }

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

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

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