/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 960px; margin: 0 auto; padding: 0 1rem; }

/* === Header === */
.site-header {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 1rem 0;
  transition: background 0.3s ease;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.logo:hover { text-decoration: none; }
/* === Nav Toggle (Hamburger) === */
.nav-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: rgba(255,255,255,0.95);
  transition: color 0.2s ease;
}
.nav-toggle:hover { color: #fff; opacity: 1; }
.nav-toggle:focus-visible { outline: 2px solid rgba(255,255,255,0.7); outline-offset: 2px; border-radius: 4px; }
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Sidebar Overlay === */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* === Sidebar === */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  z-index: 999;
  background: var(--color-card-bg, #fff);
  color: var(--color-text);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.sidebar-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: 6px;
}
.sidebar-close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.sidebar-nav {
  flex: 1;
  padding: 0.5rem 0;
}
.sidebar-nav .nav-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
  border-left: 3px solid transparent;
}
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.nav-active {
  background: var(--color-bg-alt);
  border-left-color: var(--color-primary);
  color: var(--color-primary);
}

/* === Sidebar Theme Switcher === */
.sidebar-section {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
}
.sidebar-themes .theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: background 0.15s;
}
.sidebar-themes .theme-toggle:hover {
  background: var(--color-bg-alt);
}
.sidebar-themes .theme-menu {
  display: none;
  margin-top: 0.25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}
.sidebar-themes .theme-menu.open {
  display: block;
}
.sidebar-themes .theme-menu button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: background 0.15s;
  min-height: 44px;
}
.sidebar-themes .theme-menu button:hover {
  background: var(--color-card-bg);
}
.theme-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}
.theme-check {
  margin-left: auto;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.875rem;
}

/* === Theme-Specific Visual Accents === */

/* Default (Blue) — dot pattern on hero */
[data-theme="default"] .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 1;
}

/* Dark — subtle grid overlay */
[data-theme="dark"] .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,179,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,179,237,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Nature (Green) — leaf-like corner accent */
[data-theme="nature"] .hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 100% 100%, rgba(56,161,105,0.15) 0%, transparent 70%);
  border-radius: 0 0 0 100%;
  pointer-events: none;
  z-index: 1;
}

/* Warm (Amber) — radial gradient glow */
[data-theme="warm"] .hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(221,107,32,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Playful (Purple) — soft border glow on cards */
[data-theme="playful"] .card {
  box-shadow: 0 0 0 1px rgba(124,60,213,0.12), 0 0 20px rgba(124,60,213,0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

/* === Hero === */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  transition: background 0.3s ease;
}
h1, h2, h3, h4, .logo { font-family: 'Playfair Display', Georgia, serif; }
.hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-tagline { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === Hero Slideshow === */
.hero-slideshow {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.slideshow-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide absolutely positioned, opacity transition */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slide background image */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}

/* Gradient overlay using theme variable — matches each variant */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.65;
  z-index: 1;
}

/* Optional text caption on each slide */
.slide-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 0.95rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  background: rgba(0,0,0,0.3);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero content overlaid on top of slideshow */
.hero-content-overlay {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
  width: 100%;
}

/* Navigation arrows */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 0;
}
.slide-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.05);
}
.slide-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.slide-btn-prev { left: 1rem; }
.slide-btn-next { right: 1rem; }

/* Dot indicators */
.slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}
.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
  display: block;
}
.slide-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}
.slide-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Responsive slideshow */
@media (max-width: 600px) {
  .hero-slideshow {
    min-height: 320px;
  }
  .slide-btn {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .slide-btn-prev { left: 0.5rem; }
  .slide-btn-next { right: 0.5rem; }
  .slide-dot {
    width: 10px;
    height: 10px;
  }
  .slide-caption {
    font-size: 0.8rem;
    bottom: 2.5rem;
    padding: 0.3rem 0.75rem;
  }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: #fff; color: var(--color-primary); }
.btn-primary:hover { background: #e2e8f0; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* === Sections === */
.section { padding: 3rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section h2 { margin-bottom: 1.5rem; font-size: 1.75rem; color: var(--color-text); }
.content p { margin-bottom: 1rem; }
.content ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.content li { margin-bottom: 0.5rem; }

/* === Cards === */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.card h3 { margin-bottom: 0.75rem; color: var(--color-accent); }
.card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* === Reviews === */
.reviews { display: flex; flex-direction: column; gap: 1.5rem; max-width: 600px; margin: 0 auto; }
.reviews blockquote {
  background: var(--color-card-bg);
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-style: italic;
  transition: background 0.3s ease;
}
.reviews cite { display: block; margin-top: 0.5rem; font-style: normal; font-weight: 600; color: var(--color-text-muted); }
/* === Services List === */
.service-list { list-style: none; padding: 0; }
.service-list li {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.service-list .price { font-weight: 700; color: var(--color-primary); font-size: 1.1rem; }

.service-thumb {
  width: 60px; height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.contact-card { margin-bottom: 1.5rem; }
.contact-card h3 { margin-bottom: 0.5rem; color: var(--color-accent); }
.contact-card p { color: var(--color-text-muted); }
.social-links { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.social-links a { display: inline-block; padding: 0.5rem 1rem; background: var(--color-bg-alt); border-radius: 6px; color: var(--color-text); }

/* === Footer === */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 2rem 0;
  margin-top: 3rem;
  transition: background 0.3s ease;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-grid h3 { color: #fff; margin-bottom: 0.75rem; }
.footer-grid a { color: #90cdf4; }
.footer-bottom { text-align: center; border-top: 1px solid var(--color-border); padding-top: 1.5rem; font-size: 0.875rem; }

/* === Blockquote (non-review) === */
blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  background: var(--color-bg-alt);
  border-radius: 4px;
}

/* === Tables (hours) === */
table { width: 100%; border-collapse: collapse; }
td, th { padding: 0.4rem 0; border-bottom: 1px solid var(--color-border); text-align: left; }

/* === Lightbox (full-screen modal) === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10000;
  line-height: 1;
  opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  transition: background 0.2s;
  line-height: 1;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1rem; border-radius: 0 8px 8px 0; }
.lightbox-next { right: 1rem; border-radius: 8px 0 0 8px; }
.lightbox-caption {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #ccc;
  font-size: 0.95rem;
  z-index: 10000;
}

/* === Gallery Grid (gallery variant) === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Full-width instagram-style gallery (gallery variant) */
.gallery-page { width: 100%; }
.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  max-width: 100%;
}
.gallery-grid-full .gallery-item {
  aspect-ratio: 1;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: none;
}
.gallery-grid-full .gallery-item:hover { transform: none; }
.gallery-grid-full .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid-full { grid-template-columns: 1fr; }
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-placeholder {
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.gallery-placeholder-icon { font-size: 3rem; margin-bottom: 0.5rem; opacity: 0.4; }

/* === Map Two-Column (map variant) === */
.map-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.map-embed iframe { width: 100%; border-radius: 8px; }
@media (max-width: 700px) {
  .map-two-col { grid-template-columns: 1fr; }
}

/* === Hero Compact (gallery variant) === */
.hero-compact { padding: 2.5rem 1rem !important; }

/* === CTA Row === */
.cta-row a { display: inline-block; }

/* === Responsive === */
@media (max-width: 600px) {
  .site-header .container { gap: 0.5rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero-tagline { font-size: 1rem; }
  .hero { padding: 1.5rem 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .card { padding: 1rem; }
  .service-list li { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0.75rem; }
  .service-thumb { width: 40px; height: 40px; }
  .site-footer { padding: 1.5rem 0; }
  .contact-grid { gap: 1rem; }
  .section { padding: 2rem 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.35rem; }
  .gallery-grid-full { gap: 0.25rem; }
  .reviews blockquote { padding: 0.75rem 1rem; }
}

/* === Map Static Image === */
.map-static {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.map-static img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Hours Table === */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.35rem 0; border-bottom: 1px solid var(--color-border); }
.hours-table td:last-child { text-align: right; color: var(--color-text-muted); }

/* === Service Cards === */
.service-list { list-style: none; padding: 0; }
.service-list li {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: start;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.service-name { font-weight: 600; font-size: 1.05rem; }
.service-desc { grid-column: 1; color: var(--color-text-muted); font-size: 0.9rem; }
.service-price {
  grid-row: 1 / 3;
  grid-column: 2;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
  text-align: right;
  white-space: nowrap;
}
.service-desc .price { font-weight: 600; color: var(--color-primary); }
.service-desc strong { color: var(--color-text); }
.service-desc small { display: block; color: var(--color-text-muted); font-size: 0.8rem; margin-bottom: 0.35rem; }
.service-desc br + strong { margin-top: 0.2rem; display: inline-block; }
@media (max-width: 600px) {
  .service-list li { grid-template-columns: 1fr; }
  .service-price { grid-row: auto; grid-column: 1; text-align: left; margin-top: 0.25rem; }
}

/* === Section Dividers (single-page variant) === */
.section-divider {
  position: relative;
  height: 60px;
  background: var(--color-bg);
  overflow: hidden;
}
.section-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg-alt);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.section-divider-reverse::before {
  clip-path: polygon(0 100%, 100% 0, 0 0);
}
@media (max-width: 600px) {
  .section-divider { height: 40px; }
  .section-divider::before { height: 40px; }
}

/* === Smooth Scroll === */
html {
  scroll-behavior: smooth;
}
.section[id] {
  scroll-margin-top: 80px;
}




/* === Sticky CTA Bar (single-page variant only) === */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}
.sticky-cta.visible {
  transform: translateY(0);
}
.sticky-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.sticky-cta a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
  min-height: 44px;
}
.sticky-cta a:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}
.sticky-cta-phone {
  flex: 1;
}
.sticky-cta-directions {
  background: var(--color-primary);
}
.sticky-cta-directions:hover {
  background: var(--color-primary-light) !important;
}
@media (max-width: 600px) {
  .sticky-cta {
    padding: 0.375rem 0.75rem;
  }
  .sticky-cta a {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}
body.has-sticky-cta {
  padding-bottom: 60px;
}

/* === Full Reviews Page === */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.review-block {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.review-block p {
  margin: 0;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.review-header cite {
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
}
.review-source {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.review-stars {
  margin-left: auto;
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* === Homepage Top-3 Cards === */
.top3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.top3-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
}
.top3-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-decoration: none;
}
.top3-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}
.top3-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.top3-card .top3-link {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .top3-grid {
    grid-template-columns: 1fr;
  }
}

/* === Screen Reader / SEO hidden heading === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Skip Navigation === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  z-index: 9999;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.1s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* === Focus Indicator === */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .sidebar {
    transform: none;
    display: none;
  }
  .sidebar.open {
    display: flex;
  }
  .slide {
    transition: none;
  }
  .nav-toggle-bar {
    transition: none;
  }
}
