:root {
  --primary: #92400e;
  --primary-hover: #78350f;
  --primary-light: #fef3c7;
  --accent: #0f766e;
  --text-main: #1c1917;
  --text-muted: #78716c;
  --bg-page: #fafaf9;
  --bg-surface: #ffffff;
  --border-color: #e7e5e4;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 12px 24px -4px color-mix(in srgb, var(--primary) 18%, transparent), 0 6px 12px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --max-width: 1120px;
  --font-body: "Outfit", sans-serif;
  --font-heading: "Fraunces", serif;
  --font-accent: "Fraunces", serif;
  --font-family: var(--font-body);

  /* Motion Utility Tokens */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.18s;
  --dur-base: 0.28s;
  --dur-slow: 0.45s;
}

/* ==============================================================================
   Motion Utility Layer & Killswitch
   - Disabled instantly if [data-motion="false"] on root or user prefers 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;
  }
}

[data-motion="false"] *,
[data-motion="false"] *::before,
[data-motion="false"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

/* 1. Hover Lift: Tactile 3D elevation + soft glow */
.hover-lift {
  transition: transform var(--dur-base) var(--ease-smooth), 
              box-shadow var(--dur-base) var(--ease-smooth), 
              border-color var(--dur-base) var(--ease-smooth) !important;
}

.hover-lift:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-elevated) !important;
  border-color: color-mix(in srgb, var(--primary) 38%, var(--border-color)) !important;
}

/* 2. Button Spring Feedback */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-spring), 
              background-color var(--dur-fast) ease, 
              box-shadow var(--dur-fast) ease;
  border: 1px solid transparent;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 28%, transparent);
}

.btn:active {
  transform: scale(0.97) translateY(1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 3. Beacon Pulse: Real-Time Living Glow */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.pulse-beacon {
  animation: pulse-ring 2.2s infinite ease-out;
}

/* 4. Icon Micro-Interactions (Shake, Bounce, Spin) */
@keyframes icon-shake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-14deg) scale(1.15); }
  40% { transform: rotate(12deg) scale(1.15); }
  60% { transform: rotate(-8deg) scale(1.1); }
  80% { transform: rotate(6deg) scale(1.05); }
  100% { transform: rotate(0deg) scale(1); }
}

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-7px) scale(1.1); }
  60% { transform: translateY(-2px); }
  80% { transform: translateY(-4px); }
}

@keyframes icon-spin-360 {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.18); }
  to { transform: rotate(360deg) scale(1); }
}

/* Applied trigger classes */
.hover-shake:hover .icon,
.hover-shake:hover svg,
.service-card:hover .service-icon svg {
  animation: icon-shake 0.55s var(--ease-spring) both;
}

.hover-bounce:hover .icon,
.hover-bounce:hover svg,
.why-card:hover .why-icon svg {
  animation: icon-bounce 0.5s var(--ease-spring) both;
}

.hover-spin:hover .icon,
.hover-spin:hover svg {
  animation: icon-spin-360 0.65s var(--ease-smooth) both;
}

/* 5. Subtle Shimmer Accent */
@keyframes subtle-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-image-wrap {
  transition: transform var(--dur-slow) var(--ease-smooth), box-shadow var(--dur-slow) var(--ease-smooth);
}

.hero-image-wrap:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand-logo, .hero-headline, .section-title {
  font-family: var(--font-heading);
}

.badge, .stat-value, .service-price {
  font-family: var(--font-accent);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Icons */
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/* Header & Nav */
.site-header {
  background: color-mix(in srgb, var(--bg-surface) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color var(--dur-base) ease, border-color var(--dur-base) ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  padding: 6px 4px;
  transition: color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-spring);
}

.nav-links a:hover {
  color: var(--primary);
}

/* Nav Style 1: Center-Expanding Underline (Stripe/Apple standard) */
.nav-anim-center {
  position: relative;
}

.nav-anim-center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-smooth);
}

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

/* Nav Style 2: Left-to-Right Sliding Underline (Linear style) */
.nav-anim-slide {
  position: relative;
}

.nav-anim-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-smooth);
}

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

/* Nav Style 3: Translucent Pill Float / Capsule Highlight (Vercel style) */
.nav-anim-pill {
  padding: 6px 12px !important;
  border-radius: 9999px;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-spring) !important;
}

.nav-anim-pill:hover {
  background-color: var(--primary-light);
  color: var(--primary) !important;
  transform: translateY(-1px);
}

/* Nav Style 4: Magnetic Micro-Lift & Soft Glow */
.nav-anim-lift {
  transition: transform var(--dur-fast) var(--ease-spring), color var(--dur-fast) ease, text-shadow var(--dur-fast) ease !important;
}

.nav-anim-lift:hover {
  transform: translateY(-3px) scale(1.05) !important;
  color: var(--primary) !important;
  text-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

/* Nav Style 5: Dot Indicator (Subtle modern dot pops up underneath) */
.nav-anim-dot {
  position: relative;
}

.nav-anim-dot::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform var(--dur-fast) var(--ease-spring);
}

.nav-anim-dot:hover::after {
  transform: translateX(-50%) scale(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  background: 
    radial-gradient(80% 50% at 50% -10%, color-mix(in srgb, var(--primary) 12%, transparent) 0%, transparent 100%),
    linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
}

/* Zero-CLS Visual Media Wrappers */
.hero-image-wrap {
  max-width: 860px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 658;
  display: block;
  object-fit: cover;
}

.service-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 666;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  object-fit: cover;
  background: var(--bg-page);
  display: block;
}

.quote-image-wrap {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.quote-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 666;
  display: block;
  object-fit: cover;
}

/* Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
  box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--primary) 18%, transparent), var(--shadow-sm);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sections General */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-smooth), 
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border-color));
}

.service-icon {
  margin-bottom: 16px;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.service-price {
  font-weight: 700;
  color: var(--accent);
}

.service-turnaround {
  color: var(--text-muted);
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
  box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--primary) 16%, transparent), var(--shadow-sm);
}

.why-icon {
  margin-bottom: 14px;
  color: var(--primary);
}

.why-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Scroll-Snap Slider */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
}

.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-item {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
}

@media (max-width: 992px) {
  .slider-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .slider-item {
    flex: 0 0 100%;
  }
}

.slider-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: absolute;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.slider-btn-prev {
  left: -22px;
}

.slider-btn-next {
  right: -22px;
}

@media (max-width: 768px) {
  .slider-btn {
    display: none;
  }
}

/* Testimonial Card */
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--dur-base) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border-color));
  box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--primary) 16%, transparent), var(--shadow-sm);
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 20px;
}

.testimonial-rating {
  color: #f59e0b;
  margin-bottom: 10px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-location {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* FAQ Accordion Module (Smooth Zero-JS Expansion) */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease;
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 4px 14px -2px rgba(139, 92, 246, 0.1);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  user-select: none;
  transition: color var(--dur-fast) ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  transition: transform var(--dur-base) var(--ease-spring), color var(--dur-fast) ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Universal Cross-Browser Smooth Accordion (CSS Grid 0fr -> 1fr) */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lead Forms & Conversion Modules */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.quote-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-surface);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-feedback {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Subscribe Section */
.subscribe-section {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.subscribe-container {
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-section .section-title {
  color: white;
  margin-bottom: 8px;
}

.subscribe-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 500px) {
  .subscribe-form {
    flex-direction: column;
  }
}

.subscribe-form .form-control {
  border: none;
}

.subscribe-form .btn-secondary {
  background: white;
  color: var(--primary);
  white-space: nowrap;
}

.subscribe-form .btn-secondary:hover {
  background: #f3f4f6;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 28px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 24px 28px;
}

/* Contact & Hours */
.contact-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-card, .hours-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
}

.contact-card h3, .hours-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-item {
  margin-bottom: 16px;
}

.contact-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.hours-item:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 8px;
}

/* Milestone 2: Real-Time Open/Closed Badge */
.open-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.open-status-badge.open {
  background-color: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.open-status-badge.closed {
  background-color: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.open-status-badge.open .status-dot {
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.open-status-badge.closed .status-dot {
  background-color: #ef4444;
}

/* Milestone 2: Mobile Sticky Action Bar (<768px) */
.mobile-action-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Ensure content clears sticky bar with 0 overlap */
  }

  .mobile-action-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 8px 12px;
    align-items: center;
    justify-content: space-around;
  }

  .mobile-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1;
    padding: 6px 4px;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease;
  }

  .mobile-action-item:hover, .mobile-action-item:active {
    color: var(--primary);
  }

  .mobile-action-item.primary-action {
    background: var(--primary);
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    flex: 1.4;
    box-shadow: var(--shadow-sm);
  }

  .hero-headline {
    font-size: 2.1rem;
  }
  .nav-links {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
  }
}

/* Theme Preview Switcher Bar */
.theme-switcher-bar {
  background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.theme-switcher-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.theme-switcher-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-switcher-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--text-muted);
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  transition: all var(--dur-fast) ease;
}

.theme-pill:hover {
  color: var(--text-main);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.theme-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 35%, transparent);
}

.theme-pill-main {
  background: transparent;
  border-style: dashed;
}
