/* =============================================================================
   Public site — Light / Dark theme tokens & overrides
   Primary: #0ea5e9 · Accent: #f59e0b · Neutrals only
   ============================================================================= */

html[data-site-theme="light"] {
  color-scheme: light;
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease !important;
}

/* ── Dark theme tokens ───────────────────────────────────────────────────── */

html[data-site-theme="dark"] {
  color-scheme: dark;
  --sp-primary: #38bdf8;
  --sp-primary-dark: #0ea5e9;
  --sp-primary-soft: rgba(56, 189, 248, 0.14);
  --sp-accent: #fbbf24;
  --sp-accent-dark: #f59e0b;
  --sp-accent-soft: rgba(251, 191, 36, 0.14);
  --sp-dark: #f8fafc;
  --sp-dark-soft: #e2e8f0;
  --sp-surface: rgba(255, 255, 255, 0.04);
  --sp-surface-2: rgba(255, 255, 255, 0.06);
  --sp-surface-solid: #1e293b;
  --sp-border: rgba(255, 255, 255, 0.08);
  --sp-border-glass: rgba(255, 255, 255, 0.1);
  --sp-text: rgba(255, 255, 255, 0.92);
  --sp-text-muted: rgba(255, 255, 255, 0.58);
  --sp-bg-base: #0f172a;
  --sp-bg-mesh-1: rgba(56, 189, 248, 0.1);
  --sp-bg-mesh-2: rgba(251, 191, 36, 0.06);
  --sp-bg-mesh-3: rgba(99, 102, 241, 0.05);
  --sp-glass: rgba(255, 255, 255, 0.05);
  --sp-glass-strong: rgba(255, 255, 255, 0.08);
  --sp-glass-border: rgba(255, 255, 255, 0.1);
  --sp-glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --sp-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.32), var(--sp-glass-highlight);
  --sp-glass-shadow-hover: 0 20px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.12);
  --sp-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --sp-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --sp-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
}

html[data-site-theme="dark"] body::before {
  background:
    radial-gradient(ellipse 90% 55% at 10% -5%, var(--sp-bg-mesh-1), transparent 52%),
    radial-gradient(ellipse 70% 45% at 95% 5%, var(--sp-bg-mesh-2), transparent 48%),
    radial-gradient(ellipse 55% 40% at 50% 100%, var(--sp-bg-mesh-3), transparent 52%),
    linear-gradient(180deg, #0f172a 0%, #111827 45%, #0f172a 100%);
}

/* ── Header & chrome ─────────────────────────────────────────────────────── */

html[data-site-theme="dark"] .site-header .navbar {
  background: rgba(15, 23, 42, 0.72) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-site-theme="dark"] .site-header--over-hero .navbar {
  background: rgba(15, 23, 42, 0.55) !important;
}

html[data-site-theme="dark"] .site-header--scrolled .navbar {
  background: rgba(15, 23, 42, 0.88) !important;
}

html[data-site-theme="dark"] .site-header .navbar-brand,
html[data-site-theme="dark"] .site-header .navbar-brand span {
  color: var(--sp-text) !important;
}

html[data-site-theme="dark"] .site-header .nav-link:not(.btn-book) {
  color: var(--sp-text-muted) !important;
}

html[data-site-theme="dark"] .site-header .nav-link:not(.btn-book):hover {
  color: var(--sp-text) !important;
  background: rgba(255, 255, 255, 0.06);
}

html[data-site-theme="dark"] .site-header .navbar-toggler {
  filter: invert(1) opacity(0.85);
}

html[data-site-theme="dark"] .home-quick-nav {
  background: rgba(15, 23, 42, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-site-theme="dark"] .home-quick-nav__link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .section-trust,
html[data-site-theme="dark"] .page-section--intro {
  background: transparent;
}

html[data-site-theme="dark"] .section-services,
html[data-site-theme="dark"] .section-faq {
  background: transparent;
}

html[data-site-theme="dark"] .section-gallery-teaser {
  background:
    radial-gradient(ellipse 75% 55% at 15% 0%, rgba(56, 189, 248, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.6) 0%, rgba(15, 23, 42, 0.3) 100%);
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-site-theme="dark"] .section-gallery-teaser .section-title {
  color: var(--sp-text);
}

html[data-site-theme="dark"] .booking-page {
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

/* Booking page — dark theme high-contrast readability */
html[data-site-theme="dark"] .booking-page .booking-form-card,
html[data-site-theme="dark"] .booking-page .booking-progress,
html[data-site-theme="dark"] .booking-page .booking-form-panel.is-in-view,
html[data-site-theme="dark"] .booking-page .booking-form-footer {
  background: rgba(30, 41, 59, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-site-theme="dark"] .booking-page .booking-form-panel {
  background: rgba(30, 41, 59, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-site-theme="dark"] .booking-form-card__header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

html[data-site-theme="dark"] .booking-form-card__title,
html[data-site-theme="dark"] .booking-page .booking-form-section__title {
  color: #f1f5f9 !important;
}

html[data-site-theme="dark"] .booking-form-card__subtitle,
html[data-site-theme="dark"] .booking-page .booking-form-section__hint,
html[data-site-theme="dark"] .booking-page .form-label,
html[data-site-theme="dark"] .booking-form-extra__title,
html[data-site-theme="dark"] .booking-form-footer__note,
html[data-site-theme="dark"] .booking-form-trust {
  color: #94a3b8 !important;
}

html[data-site-theme="dark"] .booking-page .booking-progress__num {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #94a3b8 !important;
}

html[data-site-theme="dark"] .booking-page .booking-progress__step.is-active .booking-progress__num,
html[data-site-theme="dark"] .booking-page .booking-progress__step.is-complete .booking-progress__num {
  background: var(--sp-primary) !important;
  border-color: var(--sp-primary) !important;
  color: #0f172a !important;
}

html[data-site-theme="dark"] .booking-page .booking-progress__label {
  color: #94a3b8 !important;
}

html[data-site-theme="dark"] .booking-page .booking-progress__step.is-active .booking-progress__label,
html[data-site-theme="dark"] .booking-page .booking-progress__step.is-complete .booking-progress__label {
  color: #f1f5f9 !important;
}

html[data-site-theme="dark"] .booking-page .booking-progress__line {
  background: rgba(255, 255, 255, 0.12);
}

html[data-site-theme="dark"] .booking-page .form-control,
html[data-site-theme="dark"] .booking-page .form-select,
html[data-site-theme="dark"] .booking-page .booking-textarea {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #f1f5f9 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

html[data-site-theme="dark"] .booking-page .form-control:focus,
html[data-site-theme="dark"] .booking-page .form-select:focus,
html[data-site-theme="dark"] .booking-page .booking-textarea:focus {
  background: rgba(15, 23, 42, 0.98) !important;
  border-color: var(--sp-primary) !important;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18) !important;
}

html[data-site-theme="dark"] .booking-page .form-control::placeholder,
html[data-site-theme="dark"] .booking-page .booking-textarea::placeholder {
  color: #64748b !important;
}

html[data-site-theme="dark"] .booking-page .input-icon-wrap > i {
  color: #94a3b8 !important;
}

html[data-site-theme="dark"] .booking-page .service-picker__item {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

html[data-site-theme="dark"] .booking-page .service-picker__item:hover {
  background: rgba(30, 41, 59, 1) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

html[data-site-theme="dark"] .booking-page .service-picker__item.is-selected {
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: var(--sp-primary) !important;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15) !important;
}

html[data-site-theme="dark"] .booking-page .service-picker__name {
  color: #f1f5f9 !important;
}

html[data-site-theme="dark"] .booking-page .service-picker__price {
  color: #94a3b8 !important;
}

html[data-site-theme="dark"] .booking-page .service-picker__icon {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--sp-primary);
}

html[data-site-theme="dark"] .booking-page .booking-service-preview {
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #f1f5f9 !important;
}

html[data-site-theme="dark"] .booking-page .booking-sidebar__card {
  background: rgba(30, 41, 59, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  color: #f1f5f9;
}

html[data-site-theme="dark"] .booking-page .booking-sidebar__card--highlight {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14) 0%, rgba(30, 41, 59, 0.98) 100%) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

html[data-site-theme="dark"] .booking-page .booking-sidebar__card--muted {
  background: rgba(15, 23, 42, 0.85) !important;
}

html[data-site-theme="dark"] .booking-page .booking-sidebar__title,
html[data-site-theme="dark"] .booking-page .booking-sidebar__card .h6 {
  color: #f1f5f9 !important;
}

html[data-site-theme="dark"] .booking-page .booking-sidebar__list li {
  color: #cbd5e1 !important;
}

html[data-site-theme="dark"] .booking-page .booking-sidebar__stat-num {
  color: var(--sp-primary) !important;
}

html[data-site-theme="dark"] .booking-page .booking-sidebar__stat-label,
html[data-site-theme="dark"] .booking-page .booking-sidebar__card .text-muted,
html[data-site-theme="dark"] .booking-page .booking-sidebar__card--muted .text-muted {
  color: #94a3b8 !important;
}

html[data-site-theme="dark"] .booking-form-extra {
  border-top-color: rgba(255, 255, 255, 0.12);
}

html[data-site-theme="dark"] .booking-page .field-validation-error,
html[data-site-theme="dark"] .booking-page .booking-field__error {
  color: #f87171 !important;
}

html[data-site-theme="dark"] .site-page-loader {
  background: rgba(15, 23, 42, 0.94);
}

html[data-site-theme="dark"] .glass-card,
html[data-site-theme="dark"] .service-card,
html[data-site-theme="dark"] .testimonial-card,
html[data-site-theme="dark"] .faq-item,
html[data-site-theme="dark"] .contact-card {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
  color: var(--sp-text);
}

html[data-site-theme="dark"] .section-title,
html[data-site-theme="dark"] .section-subtitle,
html[data-site-theme="dark"] h1,
html[data-site-theme="dark"] h2,
html[data-site-theme="dark"] h3,
html[data-site-theme="dark"] h4 {
  color: var(--sp-text);
}

html[data-site-theme="dark"] .text-muted,
html[data-site-theme="dark"] .section-subtitle {
  color: var(--sp-text-muted) !important;
}

html[data-site-theme="dark"] .form-premium .form-control,
html[data-site-theme="dark"] .form-premium .form-select {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--sp-text);
}

html[data-site-theme="dark"] .form-premium .form-label {
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border-top-color: rgba(255, 255, 255, 0.06);
}

html[data-site-theme="dark"] .page-hero--inner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

html[data-site-theme="dark"] .mobile-action-bar {
  background: rgba(15, 23, 42, 0.92);
  border-top-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

html[data-site-theme="dark"] .mobile-nav-offcanvas {
  background: #0f172a;
}

html[data-site-theme="dark"] .cta-strip:not(.cta-strip--inline) {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
}

html[data-site-theme="dark"] .contact-form-card,
html[data-site-theme="dark"] .form-card-premium,
html[data-site-theme="dark"] .service-detail-sidebar {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
  color: var(--sp-text);
}

html[data-site-theme="dark"] .contact-field__input {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--sp-text);
}

html[data-site-theme="dark"] .section-form--contact .contact-form-card {
  background: rgba(30, 41, 59, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--sp-text);
}

html[data-site-theme="dark"] .section-form--contact .contact-form-card__header .section-title {
  color: #f1f5f9 !important;
}

html[data-site-theme="dark"] .section-form--contact .contact-form-card__header .text-muted {
  color: #94a3b8 !important;
}

html[data-site-theme="dark"] .section-form--contact .contact-field__input {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #f1f5f9 !important;
  box-shadow: none !important;
}

html[data-site-theme="dark"] .section-form--contact .contact-field__wrap.has-value .contact-field__input {
  border-color: rgba(255, 255, 255, 0.28) !important;
}

html[data-site-theme="dark"] .section-form--contact .contact-field__wrap:focus-within .contact-field__input {
  background: rgba(15, 23, 42, 0.98) !important;
  border-color: var(--sp-primary) !important;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18) !important;
}

html[data-site-theme="dark"] .section-form--contact .contact-field__label {
  color: #94a3b8;
}

html[data-site-theme="dark"] .section-form--contact .contact-field__wrap.has-value .contact-field__label,
html[data-site-theme="dark"] .section-form--contact .contact-field__wrap:focus-within .contact-field__label {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.95);
}

html[data-site-theme="dark"] .section-form--contact .contact-field__wrap:focus-within .contact-field__label {
  color: var(--sp-primary);
}

html[data-site-theme="dark"] .section-form--contact .contact-field__icon {
  color: #64748b;
}

html[data-site-theme="dark"] .section-form--contact .contact-info-card {
  background: rgba(30, 41, 59, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-site-theme="dark"] .section-form--contact .contact-info-card__label {
  color: #94a3b8;
}

html[data-site-theme="dark"] .section-form--contact .contact-info-card__value {
  color: #f1f5f9;
}

html[data-site-theme="dark"] .ambient-page .section-form--contact {
  background: transparent;
}

html[data-site-theme="dark"] .contact-field__label {
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .blog-content,
html[data-site-theme="dark"] .blog-content p {
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .section-emergency {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

html[data-site-theme="dark"] .section-booking-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0f172a 100%);
}

/* Booking CTA — light cards/steps on blue gradient need dark text in dark mode */
html[data-site-theme="dark"] .section-booking-cta .booking-cta-content__title,
html[data-site-theme="dark"] .section-booking-cta .booking-cta-content__subtitle,
html[data-site-theme="dark"] .section-booking-cta .booking-cta-trust {
  color: rgba(255, 255, 255, 0.95);
}

html[data-site-theme="dark"] .section-booking-cta .booking-cta-content__eyebrow {
  color: var(--sp-accent);
}

html[data-site-theme="dark"] .section-booking-cta .booking-step {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.85);
  color: #1e293b;
}

html[data-site-theme="dark"] .section-booking-cta .booking-step span:not(.booking-step__num) {
  color: #334155;
}

html[data-site-theme="dark"] .section-booking-cta .booking-step__num {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

html[data-site-theme="dark"] .section-booking-cta .booking-cta-card {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(255, 255, 255, 0.9);
}

html[data-site-theme="dark"] .section-booking-cta .booking-cta-card .section-title,
html[data-site-theme="dark"] .section-booking-cta .booking-cta-card h3 {
  color: #0f172a !important;
}

html[data-site-theme="dark"] .section-booking-cta .booking-cta-card .text-muted,
html[data-site-theme="dark"] .section-booking-cta .booking-cta-card p {
  color: #64748b !important;
}

html[data-site-theme="dark"] .contact-info-card {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
}

html[data-site-theme="dark"] .page-hero__breadcrumb .breadcrumb-item,
html[data-site-theme="dark"] .page-hero__breadcrumb .breadcrumb-item a {
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .page-hero__title,
html[data-site-theme="dark"] .page-hero__subtitle {
  color: var(--sp-text);
}

html[data-site-theme="dark"] .blog-card-premium .text-dark,
html[data-site-theme="dark"] .blog-card-premium a {
  color: var(--sp-text) !important;
}

html[data-site-theme="dark"] .section-gallery-page,
html[data-site-theme="dark"] .section-blog--page {
  background: transparent;
}

html[data-site-theme="dark"] .gallery-page-intro__text {
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .pagination .page-link {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
  color: var(--sp-text);
}

html[data-site-theme="dark"] .pagination .page-item.active .page-link {
  background: var(--sp-primary);
  border-color: var(--sp-primary);
}

/* ── Ambient pages (About, Services, Blog, FAQs, Gallery, Contact) ─────── */

html[data-site-theme="dark"] .ambient-page .about-intro,
html[data-site-theme="dark"] .ambient-page .about-why,
html[data-site-theme="dark"] .ambient-page .about-process {
  background: transparent;
}

html[data-site-theme="dark"] .ambient-page .about-intro .section-title,
html[data-site-theme="dark"] .ambient-page .about-intro h2,
html[data-site-theme="dark"] .ambient-page .about-why .section-title,
html[data-site-theme="dark"] .ambient-page .about-process .section-title,
html[data-site-theme="dark"] .ambient-page .about-why-card__title,
html[data-site-theme="dark"] .ambient-page .about-timeline__title {
  color: var(--sp-text) !important;
}

html[data-site-theme="dark"] .ambient-page .section-subtitle {
  color: var(--sp-text-muted) !important;
}

html[data-site-theme="dark"] .ambient-page .about-intro__content,
html[data-site-theme="dark"] .ambient-page .about-intro__content p,
html[data-site-theme="dark"] .ambient-page .about-intro__content li,
html[data-site-theme="dark"] .ambient-page .about-intro__content span,
html[data-site-theme="dark"] .ambient-page .cms-content,
html[data-site-theme="dark"] .ambient-page .cms-content p {
  color: var(--sp-text-muted) !important;
}

html[data-site-theme="dark"] .ambient-page .cms-content h1,
html[data-site-theme="dark"] .ambient-page .cms-content h2,
html[data-site-theme="dark"] .ambient-page .cms-content h3,
html[data-site-theme="dark"] .ambient-page .cms-content h4,
html[data-site-theme="dark"] .ambient-page .cms-content strong {
  color: var(--sp-text) !important;
}

html[data-site-theme="dark"] .ambient-page .about-intro__highlight,
html[data-site-theme="dark"] .ambient-page .about-intro__highlight span {
  color: var(--sp-text) !important;
}

html[data-site-theme="dark"] .ambient-page .about-intro__badge {
  background: var(--sp-glass-strong);
  border: 1px solid var(--sp-glass-border);
  color: var(--sp-accent);
  box-shadow: var(--sp-glass-shadow);
}

html[data-site-theme="dark"] .ambient-page .about-why-card,
html[data-site-theme="dark"] .ambient-page .about-timeline__card {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
}

html[data-site-theme="dark"] .ambient-page .about-why-card__text,
html[data-site-theme="dark"] .ambient-page .about-timeline__text {
  color: var(--sp-text-muted) !important;
}

html[data-site-theme="dark"] .ambient-page .about-stats {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
}

html[data-site-theme="dark"] .ambient-page .about-stat__number {
  color: var(--sp-primary);
}

html[data-site-theme="dark"] .ambient-page .about-stat__label {
  color: rgba(255, 255, 255, 0.65);
}

html[data-site-theme="dark"] .ambient-page .about-timeline__marker {
  background: var(--sp-primary);
  color: #0f172a;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.2);
}

html[data-site-theme="dark"] .ambient-page .ambient-page__cursor-layer--core {
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(56, 189, 248, 0.3) 22%,
    rgba(56, 189, 248, 0.06) 55%,
    transparent 72%);
}

html[data-site-theme="dark"] .ambient-page .ambient-page__cursor-layer--glow {
  background: radial-gradient(circle,
    rgba(56, 189, 248, 0.22) 0%,
    rgba(56, 189, 248, 0.1) 35%,
    rgba(56, 189, 248, 0.03) 58%,
    transparent 75%);
}

html[data-site-theme="dark"] .ambient-page .ambient-page__cursor-layer--accent {
  background: radial-gradient(circle,
    rgba(251, 191, 36, 0.16) 0%,
    rgba(251, 191, 36, 0.06) 40%,
    transparent 72%);
}

html[data-site-theme="dark"] .ambient-page .ambient-page__cursor-layer--outer {
  background: radial-gradient(circle,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(56, 189, 248, 0.06) 40%,
    transparent 70%);
}

html[data-site-theme="dark"] .ambient-page .ambient-page__grid-lines {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  opacity: 0.5;
}

html[data-site-theme="dark"] .ambient-page .ambient-page__blob--1 ellipse {
  opacity: 1;
}

html[data-site-theme="dark"] .ambient-page .section-testimonials--about {
  background: transparent;
}

html[data-site-theme="dark"] .ambient-page .section-faq,
html[data-site-theme="dark"] .ambient-page .section-services--page,
html[data-site-theme="dark"] .ambient-page .section-blog--page,
html[data-site-theme="dark"] .ambient-page .section-gallery-page,
html[data-site-theme="dark"] .ambient-page .faq-help,
html[data-site-theme="dark"] .ambient-page .contact-map-section,
html[data-site-theme="dark"] .ambient-page .section-emergency,
html[data-site-theme="dark"] .ambient-page .section-booking-cta {
  background: transparent;
}

html[data-site-theme="dark"] .ambient-page .cms-content,
html[data-site-theme="dark"] .ambient-page .cms-content p,
html[data-site-theme="dark"] .ambient-page .text-muted {
  color: var(--sp-text-muted) !important;
}

html[data-site-theme="dark"] .ambient-page .cta-strip {
  background: var(--sp-glass-strong);
  border: 1px solid var(--sp-glass-border);
  border-radius: var(--sp-radius-lg);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

html[data-site-theme="dark"] .faq-search__input,
html[data-site-theme="dark"] .faq-category-btn {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
  color: var(--sp-text);
}

html[data-site-theme="dark"] .faq-category-btn.is-active,
html[data-site-theme="dark"] .faq-category-btn:hover {
  background: var(--sp-primary-soft);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--sp-primary);
}

html[data-site-theme="dark"] .faq-item,
html[data-site-theme="dark"] .faq-accordion .accordion-item,
html[data-site-theme="dark"] .faq-help__card {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
}

html[data-site-theme="dark"] .faq-item .accordion-button {
  background: transparent;
  color: var(--sp-text);
}

html[data-site-theme="dark"] .faq-item .accordion-button:not(.collapsed) {
  color: var(--sp-primary);
  background: var(--sp-primary-soft);
}

/* ── Premium cards (actual class names) ──────────────────────────────────── */

html[data-site-theme="dark"] .service-card-premium,
html[data-site-theme="dark"] .testimonial-card-premium,
html[data-site-theme="dark"] .blog-card-premium,
html[data-site-theme="dark"] .how-it-works-card,
html[data-site-theme="dark"] .trust-feature,
html[data-site-theme="dark"] .area-card,
html[data-site-theme="dark"] .brand-logo-card {
  background: var(--sp-glass-strong);
  border-color: var(--sp-glass-border);
}

html[data-site-theme="dark"] .service-card-premium .service-card-premium__title,
html[data-site-theme="dark"] .blog-card-premium .card-title,
html[data-site-theme="dark"] .blog-card-premium__title {
  color: var(--sp-text);
}

html[data-site-theme="dark"] .error-page {
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .error-page__icon {
  color: var(--sp-primary);
}

/* ── Shared badge utility ────────────────────────────────────────────────── */

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--sp-primary-soft);
  color: var(--sp-primary-dark);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.sp-badge--accent {
  background: var(--sp-accent-soft);
  color: var(--sp-accent-dark);
  border-color: rgba(245, 158, 11, 0.25);
}

html[data-site-theme="dark"] .sp-badge {
  color: var(--sp-primary);
  border-color: rgba(56, 189, 248, 0.25);
}

/* Theme toggle button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--sp-border-glass);
  background: var(--sp-glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--sp-text);
  cursor: pointer;
  transition: transform var(--sp-transition-fast), box-shadow var(--sp-transition-fast), border-color var(--sp-transition-fast);
}

.theme-toggle-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--sp-shadow-sm);
}

.theme-toggle-btn i {
  font-size: 1rem;
  color: var(--sp-primary);
}

html[data-site-theme="dark"] .theme-toggle-btn i {
  color: var(--sp-accent);
}

/* ── Consistency audit — solid cards & detail pages ──────────────────────── */

html[data-site-theme="dark"] .login-page-wrap .form-card-premium,
html[data-site-theme="dark"] .page-status-wrap .form-card-premium,
html[data-site-theme="dark"] .sp-solid-card {
  background: rgba(30, 41, 59, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--sp-text);
}

html[data-site-theme="dark"] .login-page-wrap .form-premium .form-label {
  color: #94a3b8;
}

html[data-site-theme="dark"] .login-page-wrap .form-premium .form-control,
html[data-site-theme="dark"] .sp-solid-input {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #f1f5f9 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

html[data-site-theme="dark"] .login-page-wrap .form-premium .form-control:focus,
html[data-site-theme="dark"] .sp-solid-input:focus {
  border-color: var(--sp-primary) !important;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18) !important;
}

html[data-site-theme="dark"] .login-page-wrap .form-check-label {
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .ambient-page .service-detail-sidebar,
html[data-site-theme="dark"] .page-content-block .service-detail-sidebar {
  background: rgba(30, 41, 59, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-site-theme="dark"] .ambient-page .service-detail-sidebar .h4,
html[data-site-theme="dark"] .page-content-block .service-detail-sidebar .h4 {
  color: #f1f5f9;
}

html[data-site-theme="dark"] .ambient-page .service-detail-sidebar .text-muted,
html[data-site-theme="dark"] .page-content-block .service-detail-sidebar .text-muted {
  color: #94a3b8 !important;
}

html[data-site-theme="dark"] .ambient-page .service-detail-sidebar .text-primary,
html[data-site-theme="dark"] .page-content-block .service-detail-sidebar .display-6 {
  color: var(--sp-primary) !important;
}

html[data-site-theme="dark"] .ambient-page .blog-content h2,
html[data-site-theme="dark"] .ambient-page .blog-content h3,
html[data-site-theme="dark"] .page-content-block .blog-content h2,
html[data-site-theme="dark"] .page-content-block .blog-content h3 {
  color: var(--sp-text) !important;
}

html[data-site-theme="dark"] .ambient-page .blog-content a,
html[data-site-theme="dark"] .page-content-block .blog-content a {
  color: var(--sp-primary);
}

html[data-site-theme="dark"] .page-section--cms {
  background: transparent;
}

html[data-site-theme="dark"] .page-section--cms .cms-content,
html[data-site-theme="dark"] .page-section--cms .section-title {
  color: var(--sp-text);
}

html[data-site-theme="dark"] .access-denied-page__title {
  color: var(--sp-text);
}

html[data-site-theme="dark"] .access-denied-page__text {
  color: var(--sp-text-muted);
}

html[data-site-theme="dark"] .ambient-page .cta-strip:not(.cta-strip--inline),
html[data-site-theme="dark"] .page-status-wrap .cta-strip {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-site-theme="dark"] .page-hero--booking {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

html[data-site-theme="dark"] .page-hero:not(.page-hero--inner):not(.page-hero--booking) {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

html[data-site-theme="dark"] .contact-map-card {
  background: rgba(30, 41, 59, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-site-theme="dark"] .contact-map-card__title {
  color: var(--sp-text);
}

html[data-site-theme="dark"] .faq-help__card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-site-theme="dark"] .faq-help__title {
  color: #f1f5f9;
}

html[data-site-theme="dark"] .faq-help__text {
  color: rgba(255, 255, 255, 0.72);
}

html[data-site-theme="dark"] .ambient-page .faq-help {
  background: transparent;
}
