/* ============================================
   Mirabelle Tutoring — custom styles
   Works with Tailwind CDN utilities
   ============================================ */

/* Base — smooth scrolling + sticky-header offset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: 4.5rem;
  }
}

body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Sticky header (position: sticky so content starts below it) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.site-header.is-scrolled {
  border-color: rgb(241 245 249);
  box-shadow: 0 4px 20px -4px rgb(0 0 0 / 0.08);
  background-color: rgb(255 255 255 / 0.97);
}

html.dark .site-header.is-scrolled {
  border-color: rgb(30 41 59);
  box-shadow: 0 4px 20px -4px rgb(0 0 0 / 0.4);
  background-color: rgb(2 6 23 / 0.97);
}

/* Screen-reader only */
.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;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 40px;
  min-height: 40px;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  touch-action: manipulation;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
  outline: none;
}

html.dark .theme-toggle {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}

html.dark .theme-toggle:hover,
html.dark .theme-toggle:focus-visible {
  background: #1e293b;
  border-color: #475569;
  color: #7dd3fc;
}

/* Show moon in light mode, sun in dark mode */
.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: block;
}

html.dark .theme-icon-sun {
  display: block;
}

html.dark .theme-icon-moon {
  display: none;
}

/* Free trial CTA */
.cta-trial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 55%, #0d9488 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px -2px rgba(2, 132, 199, 0.45);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  touch-action: manipulation;
  white-space: nowrap;
  animation: cta-pulse 3s ease-in-out infinite;
}

.cta-trial:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 22px -4px rgba(2, 132, 199, 0.55);
  transform: translateY(-1px);
}

.cta-trial:active {
  transform: scale(0.98);
}

.cta-trial-lg {
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 4px 14px -2px rgba(2, 132, 199, 0.4);
  }
  50% {
    box-shadow: 0 4px 22px -2px rgba(13, 148, 136, 0.55);
  }
}

.floating-trial {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(5rem);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 30px -6px rgba(2, 132, 199, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  touch-action: manipulation;
}

.floating-trial.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* When floating trial shows, nudge back-to-top up */
.back-to-top.is-visible {
  bottom: max(4.5rem, calc(env(safe-area-inset-bottom, 0px) + 3.5rem));
}

@media (min-width: 1024px) {
  .back-to-top.is-visible {
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #0369a1;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* Nav links */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  border-radius: 0.5rem;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

html.dark .nav-link {
  color: #94a3b8;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #0369a1;
  background: #f0f9ff;
  outline: none;
}

html.dark .nav-link:hover,
html.dark .nav-link:focus-visible {
  color: #7dd3fc;
  background: rgb(12 74 110 / 0.35);
}

.nav-link.is-active {
  color: #0369a1;
  background: #e0f2fe;
  font-weight: 600;
}

html.dark .nav-link.is-active {
  color: #7dd3fc;
  background: rgb(12 74 110 / 0.5);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid #f1f5f9;
  background: #fff;
  box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.1);
  transition: max-height 0.3s ease;
}

html.dark .mobile-menu {
  border-top-color: #1e293b;
  background: #020617;
  box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.5);
}

.mobile-menu.is-open {
  display: block;
  max-height: min(80vh, 32rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu.is-open[hidden] {
  display: block !important;
}

.mobile-menu-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  border-radius: 0.75rem;
  transition: background 0.15s, color 0.15s;
  touch-action: manipulation;
}

html.dark .mobile-nav-link {
  color: #cbd5e1;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible,
.mobile-nav-link.is-active {
  background: #f0f9ff;
  color: #0369a1;
  outline: none;
}

html.dark .mobile-nav-link:hover,
html.dark .mobile-nav-link:focus-visible,
html.dark .mobile-nav-link.is-active {
  background: rgb(12 74 110 / 0.4);
  color: #7dd3fc;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  top: 4rem;
  z-index: 40;
  background: rgb(15 23 42 / 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.menu-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.menu-backdrop[hidden] {
  display: none !important;
}

.menu-backdrop.is-visible[hidden] {
  display: block !important;
}

body.menu-open {
  overflow: hidden;
}

/* Sections */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: clamp(1.65rem, 4.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0f172a;
}

html.dark .section-title {
  color: #f8fafc;
}

html.dark .section-eyebrow {
  color: #38bdf8;
}

/* ---- Scroll reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Service cards */
.service-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px -4px rgba(3, 105, 161, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

html.dark .service-card {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 4px 24px -4px rgb(0 0 0 / 0.3);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(3, 105, 161, 0.12);
  border-color: #e0f2fe;
}

html.dark .service-card:hover {
  border-color: #075985;
  box-shadow: 0 12px 32px -8px rgb(0 0 0 / 0.45);
}

html.dark .service-card h3,
html.dark .price-card h3,
html.dark .parent-info-card h3 {
  color: #f8fafc;
}

html.dark .service-card p,
html.dark .price-card p,
html.dark .price-card li,
html.dark .parent-info-card p {
  color: #94a3b8;
}

html.dark .price-card .text-4xl,
html.dark .price-card span.font-extrabold {
  color: #f8fafc;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.06);
}

/* Pricing */
.price-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

html.dark .price-card {
  background: #0f172a;
  border-color: #1e293b;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(3, 105, 161, 0.1);
}

.price-card-featured {
  border-color: #7dd3fc;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 40%);
  box-shadow: 0 12px 40px -10px rgba(2, 132, 199, 0.18);
  transform: scale(1.02);
}

html.dark .price-card-featured {
  border-color: #0284c7;
  background: linear-gradient(180deg, #0c4a6e 0%, #0f172a 45%);
}

@media (max-width: 767px) {
  .price-card-featured {
    transform: none;
  }

  .price-card-featured:hover {
    transform: translateY(-2px);
  }
}

.price-btn-solid {
  padding: 0.75rem 1.25rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #0284c7;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.15s, transform 0.15s;
  touch-action: manipulation;
}

.price-btn-solid:hover {
  background: #0369a1;
}

.price-btn-solid:active {
  transform: scale(0.98);
}

.price-btn-outline {
  padding: 0.75rem 1.25rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 0.875rem;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  touch-action: manipulation;
}

html.dark .price-btn-outline {
  border-color: #334155;
  color: #e2e8f0;
}

.price-btn-outline:hover {
  border-color: #7dd3fc;
  color: #0369a1;
  background: #f0f9ff;
}

html.dark .price-btn-outline:hover {
  border-color: #0284c7;
  color: #7dd3fc;
  background: rgb(12 74 110 / 0.4);
}

/* Parent info */
.parent-info-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 20px -6px rgba(3, 105, 161, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

html.dark .parent-info-card {
  background: #0f172a;
  border-color: #1e293b;
}

.parent-info-card:hover {
  border-color: #d1d9c7;
  box-shadow: 0 8px 28px -8px rgba(87, 106, 75, 0.12);
}

.parent-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

/* Calendar */
.cal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  touch-action: manipulation;
}

html.dark .cal-nav-btn {
  background: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}

.cal-nav-btn:hover,
.cal-nav-btn:focus-visible {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
  outline: none;
}

html.dark .cal-nav-btn:hover,
html.dark .cal-nav-btn:focus-visible {
  background: #1e293b;
  border-color: #0284c7;
  color: #7dd3fc;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  border: 1px solid transparent;
  background: transparent;
  cursor: default;
  min-height: 2.25rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  touch-action: manipulation;
}

@media (min-width: 640px) {
  .cal-day {
    font-size: 0.875rem;
    min-height: 2.5rem;
  }
}

.cal-day.is-muted {
  color: #cbd5e1;
}

.cal-day.is-today {
  font-weight: 700;
  color: #0369a1;
  box-shadow: inset 0 0 0 1px #bae6fd;
}

.cal-day.is-available {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
  cursor: pointer;
  border-color: #bae6fd;
}

.cal-day.is-available:hover,
.cal-day.is-available:focus-visible {
  background: #bae6fd;
  outline: none;
  transform: scale(1.05);
}

.cal-day.is-selected {
  background: #0284c7 !important;
  color: #fff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.4);
}

.cal-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  touch-action: manipulation;
}

.cal-slot:hover,
.cal-slot:focus-visible {
  background: #e0f2fe;
  outline: none;
}

.cal-slot.is-selected {
  background: #0284c7;
  border-color: #0284c7;
  color: #fff;
}

/* Testimonials carousel */
.carousel-track {
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.testimonial-card {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  margin: 0;
  min-height: 220px;
  transition: box-shadow 0.25s ease;
}

html.dark .testimonial-card {
  background: #0f172a;
  border-color: #1e293b;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  touch-action: manipulation;
}

html.dark .carousel-btn {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
  outline: none;
}

html.dark .carousel-btn:hover,
html.dark .carousel-btn:focus-visible {
  background: #1e293b;
  border-color: #0284c7;
  color: #7dd3fc;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
  touch-action: manipulation;
}

html.dark .carousel-dot {
  background: #475569;
}

.carousel-dot.is-active {
  width: 1.5rem;
  background: #0284c7;
}

html.dark .carousel-dot.is-active {
  background: #38bdf8;
}

/* FAQ accordion */
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

html.dark .faq-item {
  background: #0f172a;
  border-color: #1e293b;
}

.faq-item.is-open {
  border-color: #7dd3fc;
  box-shadow: 0 4px 20px -6px rgba(3, 105, 161, 0.12);
}

html.dark .faq-item.is-open {
  border-color: #0284c7;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 1rem 1.15rem;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

html.dark .faq-trigger {
  color: #f1f5f9;
}

.faq-trigger:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: -2px;
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #0284c7;
}

.faq-panel {
  padding: 0 1.15rem 1.1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

html.dark .faq-panel {
  color: #94a3b8;
}

.faq-panel[hidden] {
  display: none;
}

/* Form */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.375rem;
}

html.dark .form-label {
  color: #cbd5e1;
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.7rem 0.875rem;
  min-height: 48px;
  font-size: 1rem; /* prevents iOS zoom on focus */
  line-height: 1.5;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

html.dark .form-input {
  color: #f1f5f9;
  background: #020617;
  border-color: #334155;
}

textarea.form-input {
  min-height: 110px;
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:hover {
  border-color: #cbd5e1;
}

.form-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-input.is-invalid {
  border-color: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12);
}

.form-error {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #e11d48;
}

/* Subject chips */
.chip {
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  transition: all 0.15s;
}

html.dark .chip span {
  color: #94a3b8;
  background: #020617;
  border-color: #334155;
}

.chip:hover span {
  border-color: #bae6fd;
  background: #f0f9ff;
}

html.dark .chip:hover span {
  border-color: #0284c7;
  background: rgb(12 74 110 / 0.35);
}

.chip input:checked + span,
.chip input:focus-visible + span {
  background: #e0f2fe;
  border-color: #0ea5e9;
  color: #0369a1;
  font-weight: 600;
}

html.dark .chip input:checked + span,
html.dark .chip input:focus-visible + span {
  background: rgb(12 74 110 / 0.55);
  border-color: #38bdf8;
  color: #7dd3fc;
}

.chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* Form status */
#form-status.is-success {
  color: #15803d;
  font-weight: 500;
}

#form-status.is-error {
  color: #e11d48;
  font-weight: 500;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 9999px;
  background: #0284c7;
  color: #fff;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.4);
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.25s, transform 0.25s, background 0.15s;
  touch-action: manipulation;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #0369a1;
}

.back-to-top:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* Mobile polish */
@media (max-width: 639px) {
  .service-card {
    padding: 1.25rem;
  }

  .price-card {
    padding: 1.5rem 1.25rem;
  }
}

/* Dark mode calendar days */
html.dark .cal-day {
  color: #64748b;
}

html.dark .cal-day.is-muted {
  color: #334155;
}

html.dark .cal-day.is-today {
  color: #7dd3fc;
  box-shadow: inset 0 0 0 1px #075985;
}

html.dark .cal-day.is-available {
  background: rgb(12 74 110 / 0.45);
  color: #7dd3fc;
  border-color: #075985;
}

html.dark .cal-day.is-available:hover {
  background: rgb(3 105 161 / 0.5);
}

html.dark .cal-slot {
  color: #7dd3fc;
  background: rgb(12 74 110 / 0.35);
  border-color: #075985;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cta-trial {
    animation: none;
  }

  .service-card,
  .price-card,
  .testimonial-card,
  .back-to-top,
  .floating-trial,
  .mobile-menu,
  .menu-backdrop,
  .service-icon,
  .cal-day,
  .carousel-track,
  .faq-chevron {
    transition: none;
  }

  .service-card:hover,
  .price-card:hover,
  .service-card:hover .service-icon,
  .cal-day.is-available:hover,
  .cta-trial:hover {
    transform: none;
  }
}

/* Print */
@media print {
  #site-header,
  #back-to-top,
  #mobile-menu,
  #menu-backdrop,
  #floating-trial {
    display: none !important;
  }

  body {
    color: #000;
  }

  html.dark body {
    color: #000;
    background: #fff;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  a[href]::after {
    content: none;
  }
}
