html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-base);
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: radial-gradient(circle at 16% 10%, rgba(218, 156, 10, 0.12), transparent 28%), linear-gradient(90deg, rgba(43, 22, 14, 0.045) 1px, transparent 1px), linear-gradient(180deg, rgba(43, 22, 14, 0.035) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
}

h1, h2, h3, h4, .brand-name {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 40px;
  line-height: 1.08;
}

h2 {
  font-size: 31px;
  line-height: 1.15;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 245, 238, 0.96);
  border-bottom: 1px solid rgba(16, 43, 106, 0.18);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-link img {
  width: 42px;
  height: 42px;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

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

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

.mobile-toggle {
  display: inline-flex !important;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary);
  background: var(--color-base-2);
  color: var(--color-primary);
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
  position: relative;
}

.mobile-toggle span::before {
  position: absolute;
  top: -7px;
}

.mobile-toggle span::after {
  position: absolute;
  top: 7px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(16, 43, 106, 0.16);
  background: var(--color-base-2);
}

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

.mobile-nav a, .desktop-nav a {
  text-decoration: none;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(16, 43, 106, 0.11);
}

.btn-primary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: #111827;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  animation: buttonGlow 2.4s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #f4b62d;
  color: #111827;
}

.btn-dark {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-dark:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  overflow: hidden;
  background: linear-gradient(rgba(8, 24, 61, 0.72), rgba(8, 24, 61, 0.77)), url('../images/hero-kitchen.png') center/cover no-repeat;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  border: 1px solid rgba(249, 245, 238, 0.48);
  box-shadow: inset 0 0 0 7px rgba(218, 156, 10, 0.24);
}

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

.hero h1, .hero p {
  color: #ffffff;
}

.stars {
  color: var(--color-accent);
  font-size: 26px;
  letter-spacing: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

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

.review-icons img {
  width: auto;
  height: 48px;
  max-width: 88px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  padding: 5px 8px;
  border: 1px solid rgba(218, 156, 10, 0.5);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before, .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.section-title::after, .card-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 14px;
  background: var(--color-accent);
}

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

.classic-panel {
  border: 1px solid rgba(16, 43, 106, 0.22);
  outline: 7px double rgba(218, 156, 10, 0.28);
  outline-offset: -14px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 24px 70px rgba(16, 43, 106, 0.13);
}

.wood-panel {
  background: linear-gradient(135deg, var(--color-wood), #4a2617 52%, #1e100a);
  color: #ffffff;
  border-top: 6px solid var(--color-accent);
  border-bottom: 6px solid var(--color-accent);
}

.wood-panel h2, .wood-panel h3, .wood-panel p, .wood-panel li {
  color: #ffffff;
}

.wood-panel .classic-panel h2,
.wood-panel .classic-panel h3,
.wood-panel .classic-panel h4,
.wood-panel .classic-panel p,
.wood-panel .classic-panel li,
.wood-panel .classic-panel strong {
  color: #1f2937;
}

.service-card {
  position: relative;
  background: var(--color-base-2);
  border: 1px solid rgba(16, 43, 106, 0.22);
  box-shadow: inset 0 0 0 5px rgba(218, 156, 10, 0.08), 0 16px 42px rgba(16, 43, 106, 0.08);
}

.service-icon, .mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-accent);
  background: #fffdf8;
  color: var(--color-primary);
}

.service-icon {
  width: 66px;
  height: 66px;
}

.mini-icon {
  width: 50px;
  height: 50px;
}

.service-icon svg, .mini-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

.symptom-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.symptom-table th, .symptom-table td {
  border: 1px solid rgba(16, 43, 106, 0.18);
  padding: 12px;
  vertical-align: top;
  color: #1f2937;
}

.symptom-table th {
  background: var(--color-primary);
  color: #ffffff;
  text-align: left;
}

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

.split-block img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 8px solid var(--color-base-2);
  outline: 2px solid var(--color-accent);
  outline-offset: -16px;
}

.medallion {
  border: 2px solid var(--color-accent);
  background: radial-gradient(circle, #fffdf8, var(--color-base));
  color: var(--color-primary);
  animation: subtleRotate 7s ease-in-out infinite;
}

.review-window {
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 24px;
  transition: transform 350ms ease;
}

.review-card {
  flex: 0 0 100%;
  min-height: 260px;
  background: #ffffff;
  border: 1px solid rgba(16, 43, 106, 0.22);
  box-shadow: inset 0 0 0 6px rgba(218, 156, 10, 0.09);
  color: #1f2937;
}

.review-card p, .review-card strong {
  color: #1f2937;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: var(--color-base-2);
  font-weight: 900;
}

.faq-item {
  border: 1px solid rgba(16, 43, 106, 0.2);
  background: #ffffff;
}

.zip-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 14px;
  border: 1px solid var(--color-accent);
  background: #ffffff;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.site-footer {
  background: var(--color-primary-dark);
  color: #ffffff;
  font-size: 14px;
}

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

.site-footer h3 {
  color: #ffffff;
  font-size: 14px;
}

.site-footer .brand-name {
  color: #ffffff;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes buttonGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.46), 0 10px 28px rgba(218, 156, 10, 0.24); }
  50% { box-shadow: 0 0 0 13px rgba(255, 255, 255, 0), 0 15px 36px rgba(218, 156, 10, 0.34); }
}

@keyframes subtleRotate {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}

@media (min-width: 768px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 42px;
  }

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

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

  .mobile-toggle, .mobile-nav {
    display: none !important;
  }

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

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

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

@media (min-width: 1024px) {
  .review-card {
    flex-basis: calc((100% - 48px) / 3);
  }
}

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

  .hero {
    min-height: 720px;
  }

  .hero::after {
    inset: 12px;
  }

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

  .sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
    background: var(--color-primary-dark);
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

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