:root {
  --holiday-pine: #176447;
  --holiday-pine-deep: #104c38;
  --holiday-berry: #bd4350;
  --holiday-gold: #e8bd68;
  --holiday-snow: #f5fbf7;
}

body::before {
  z-index: 42;
  background-image: none;
  background-color: rgba(8, 20, 29, 0.1);
}

body::after {
  content: "";
  position: fixed;
  inset: -10vh 0 0;
  z-index: 45;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(3px 3px at 24px 38px, #fff 98%, transparent),
    radial-gradient(2px 2px at 86px 120px, #fff 98%, transparent),
    radial-gradient(2px 2px at 156px 72px, #fff 98%, transparent),
    radial-gradient(3px 3px at 210px 180px, #fff 98%, transparent);
  background-size: 260px 220px;
  animation: holiday-snowfall 18s linear infinite;
}

@keyframes holiday-snowfall {
  to { background-position: 40px 220px; }
}

.christmas-welcome {
  width: min(440px, calc(100vw - 32px));
  padding: 38px clamp(22px, 6vw, 42px) 32px;
  border: 1px solid rgba(232, 189, 104, 0.7);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(232, 189, 104, 0.18), transparent 34%),
    linear-gradient(145deg, #fffdf7, #f1f7f1);
  color: #233b31;
  text-align: center;
  box-shadow: 0 28px 90px rgba(5, 28, 20, 0.38);
}

.christmas-welcome::backdrop {
  background: rgba(8, 20, 29, 0.64);
  backdrop-filter: blur(3px);
}

.christmas-welcome-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid rgba(232, 189, 104, 0.7);
  border-radius: 50%;
  background: linear-gradient(145deg, #176447, #104c38);
  color: #fff3cc;
  font-size: 30px;
}

.christmas-welcome-eyebrow {
  margin: 0 0 8px;
  color: var(--holiday-pine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.christmas-welcome h2 {
  margin: 0;
  color: var(--holiday-pine-deep);
  font-size: clamp(30px, 8vw, 38px);
  line-height: 1.15;
}

.christmas-welcome #christmas-welcome-message {
  margin: 14px 0 24px;
  color: #42564b;
  font-size: 15px;
  line-height: 1.7;
}

.christmas-welcome-close {
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(125deg, var(--holiday-pine-deep), var(--holiday-pine));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(16, 76, 56, 0.2);
}

.christmas-welcome-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(16, 76, 56, 0.28);
}

.christmas-welcome-close:focus-visible {
  outline: 3px solid var(--holiday-gold);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid rgba(23, 100, 71, 0.12);
  box-shadow: 0 10px 30px rgba(8, 18, 40, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 6px;
  pointer-events: none;
  background:
    radial-gradient(circle, #f5d992 0 1.5px, transparent 2px) 0 0 / 64px 6px repeat-x,
    linear-gradient(90deg, transparent, rgba(23, 100, 71, 0.34), transparent) center / 100% 1px no-repeat;
}

.hero {
  background:
    radial-gradient(ellipse at 2% 2%, rgba(23, 100, 71, 0.08), transparent 34%),
    radial-gradient(ellipse at 98% 0, rgba(189, 67, 80, 0.07), transparent 30%);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero .eyebrow,
.dentistry-copy .eyebrow {
  color: var(--holiday-pine);
}

.benefits {
  background: linear-gradient(125deg, var(--holiday-pine-deep), var(--holiday-pine) 62%, #247451);
  border: 1px solid rgba(232, 189, 104, 0.7);
  box-shadow: 0 18px 50px rgba(16, 76, 56, 0.2);
}

.benefit .icon::before {
  border-color: rgba(255, 232, 181, 0.68);
}

.doctor-card {
  border: 2px solid rgba(232, 189, 104, 0.82);
}

.carousel-section {
  border-top: 1px solid rgba(23, 100, 71, 0.13);
  border-bottom: 1px solid rgba(23, 100, 71, 0.13);
  background:
    radial-gradient(ellipse at 0 0, rgba(23, 100, 71, 0.07), transparent 35%),
    var(--light);
}

.carousel-wrapper {
  outline: 1px solid rgba(232, 189, 104, 0.55);
  outline-offset: 3px;
}

.dentistry-copy {
  position: relative;
  border-color: rgba(23, 100, 71, 0.2);
  box-shadow: 0 20px 50px rgba(16, 76, 56, 0.08);
}

.dentistry-points li::before {
  background: linear-gradient(180deg, var(--holiday-pine), #3b9a6d);
  box-shadow: 0 0 0 4px rgba(23, 100, 71, 0.12);
}

.specialties .section-title::after,
.faq .section-title::after {
  background: linear-gradient(90deg, var(--holiday-pine), var(--holiday-berry), var(--holiday-gold));
}

.specialties aside {
  border-left: 3px solid rgba(23, 100, 71, 0.16);
  padding-left: 12px;
}

.specialties .spec-item.active {
  color: var(--holiday-pine);
}

.stat {
  border-color: rgba(23, 100, 71, 0.18);
  background: linear-gradient(145deg, rgba(23, 100, 71, 0.08), rgba(232, 189, 104, 0.09));
}

.stat strong {
  color: var(--holiday-pine);
}

.reviews-card {
  background:
    radial-gradient(circle at 100% 0, rgba(232, 189, 104, 0.2), transparent 32%),
    linear-gradient(135deg, #15583f, #176447 58%, #713c48);
  border: 1px solid rgba(232, 189, 104, 0.52);
  box-shadow: 0 20px 60px rgba(16, 76, 56, 0.2);
}

.reviews-cta,
html:not(.dark-mode) .reviews-cta {
  background: #f5d992;
  color: #354b37;
  border-color: rgba(255, 255, 255, 0.55);
}

.reviews-cta:hover,
html:not(.dark-mode) .reviews-cta:hover {
  background: #ffe8ad;
}

.review-item {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.review-meta .review-stars {
  color: #ffe3a2;
}

.faq {
  position: relative;
  background: linear-gradient(145deg, #eff7f0, #fbf5eb);
  border: 1px solid rgba(23, 100, 71, 0.1);
}

.faq-btn {
  box-shadow: 0 8px 24px rgba(16, 76, 56, 0.08);
}

.faq-item.open .faq-btn {
  background: #e2efe5;
}

.faq-content {
  background: linear-gradient(135deg, var(--holiday-pine), var(--holiday-pine-deep));
}

.contact .info {
  border-left: 3px solid var(--holiday-berry);
  padding-left: 18px;
}

.contact .info h2 {
  text-decoration: underline;
  text-decoration-color: rgba(232, 189, 104, 0.6);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.site-footer {
  background: linear-gradient(145deg, var(--holiday-pine-deep), #153f36 62%, #46313b);
  border-top: 4px solid var(--holiday-gold);
}

.footer-brand-section {
  border-color: rgba(232, 189, 104, 0.4);
}

html.dark-mode .site-header {
  border-bottom-color: rgba(139, 201, 164, 0.16);
}

html.dark-mode .site-header::before {
  background:
    radial-gradient(circle, #e8bd68 0 1.5px, transparent 2px) 0 0 / 64px 6px repeat-x,
    linear-gradient(90deg, transparent, rgba(139, 201, 164, 0.34), transparent) center / 100% 1px no-repeat;
}

html.dark-mode .hero {
  background:
    radial-gradient(ellipse at 2% 2%, rgba(47, 125, 88, 0.14), transparent 34%),
    radial-gradient(ellipse at 98% 0, rgba(189, 67, 80, 0.1), transparent 30%);
}

html.dark-mode .carousel-section {
  background:
    radial-gradient(ellipse at 0 0, rgba(47, 125, 88, 0.1), transparent 35%),
    var(--light);
}

html.dark-mode .specialties .spec-item.active,
html.dark-mode .stat strong {
  color: #8bc9a4;
}

html.dark-mode .stat {
  border-color: rgba(139, 201, 164, 0.22);
  background: linear-gradient(145deg, rgba(47, 125, 88, 0.17), rgba(232, 189, 104, 0.07));
}

html.dark-mode .faq {
  background: linear-gradient(145deg, #182820, #28231d);
  border-color: rgba(139, 201, 164, 0.14);
}

html.dark-mode .faq-item.open .faq-btn {
  background: #22372b;
}

html.dark-mode .faq-content {
  background: linear-gradient(135deg, #176447, #104c38);
}

html.dark-mode .site-footer {
  background: linear-gradient(145deg, #102e25, #122820 62%, #30232a);
}

html.dark-mode .reviews-card {
  background:
    radial-gradient(circle at 100% 0, rgba(232, 189, 104, 0.14), transparent 32%),
    linear-gradient(135deg, #153d30, #164c38 58%, #56343d);
  border-color: rgba(232, 189, 104, 0.4);
}

@media (max-width: 768px) {
  body::after {
    opacity: 0.34;
    background-size: 220px 200px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .specialties aside {
    border-left: 0;
    border-top: 2px solid rgba(23, 100, 71, 0.16);
    padding: 8px 0 0;
  }

  .contact .info {
    padding-left: 12px;
  }
}

@media (max-width: 480px) {
  body::after {
    opacity: 0.28;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
  }
}
