/* ============================================
   NoveSmile — Premium Dental Clinic
   Main Stylesheet
   ============================================ */

/* ─── CSS VARIABLES ──────────────────────────── */
:root {
  /* Colors — Medical trust palette */
  --color-primary: #0B1A3B;          /* Deep navy — authority & trust */
  --color-primary-light: #122550;
  --color-primary-rgb: 11, 26, 59;
  --color-accent: #C9A84C;           /* Gold — premium quality */
  --color-accent-light: #d4b966;
  --color-accent-rgb: 201, 168, 76;
  --color-secondary: #1B7FC3;        /* Medical blue — healthcare trust */
  --color-secondary-light: #3A9AD9;
  --color-secondary-rgb: 27, 127, 195;
  --color-medical: #1D9BF0;          /* Bright medical blue — highlights */
  --color-medical-light: #E8F4FD;    /* Very light blue — subtle backgrounds */
  --color-medical-rgb: 29, 155, 240;
  --color-cta: #FF6B35;              /* Orange — strong CTAs */
  --color-cta-hover: #e85a28;
  --color-success: #10B981;          /* Green — trust & health */
  --color-poland-red: #DC143C;       /* Poland flag red */
  --color-poland-red-rgb: 220, 20, 60;
  --color-bg: #F7FAFC;               /* Cool white-blue background */
  --color-bg-alt: #EBF2F8;           /* Light blue-gray */
  --color-bg-medical: #F0F7FF;       /* Very subtle blue tint */
  --color-white: #FFFFFF;
  --color-text: #1E2A3A;             /* Darker for better contrast */
  --color-text-light: #526580;
  --color-text-muted: #8B9DB5;
  --color-border: #DAE3ED;
  --color-border-light: #EDF2F7;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 7rem);
  --container-width: 1280px;
  --container-padding: clamp(1rem, 4vw, 2rem);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-accent: 0 8px 30px rgba(var(--color-accent-rgb), 0.3);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-receptionist: 500;
  --z-preloader: 500;
}

/* ─── RESET ──────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* scroll-behavior: smooth — disabled: conflicts with custom lerp-based SmoothScroll in apple-scroll.js,
     causing double-smoothing and jank on Chrome desktop */
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  /* Prevent horizontal bounce/scroll on iOS Safari — overflow-x:hidden on body alone is insufficient.
     Using both clip (modern) and hidden (fallback) on html+body locks the X axis on all browsers. */
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body.no-scroll {
  overflow: hidden;
}

/* ─── PROGRESSIVE IMAGE LOADING (Blur-up) ───── */
.img-blur {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.img-blur::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: inherit;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}

.img-blur.is-loading::before {
  opacity: 1;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Tiny placeholder image — blurred and scaled up */
.img-blur__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.5s ease;
}

.img-blur.is-loaded .img-blur__placeholder {
  opacity: 0;
}

/* The real image — fades in when loaded */
.img-blur img[data-src],
.img-blur img.img-blur__full {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-blur.is-loaded img[data-src],
.img-blur.is-loaded img.img-blur__full {
  opacity: 1;
}

/* Shimmer effect while loading */
.img-blur.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: imgShimmer 1.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes imgShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Color-tinted placeholders by image context */
.img-blur--medical {
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%);
}

.img-blur--warm {
  background: linear-gradient(135deg, #fef3e2 0%, #fde8d0 100%);
}

.img-blur--neutral {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.img-blur--portrait {
  background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%);
}

/* Dark mode gradient placeholders */
[data-theme="dark"] .img-blur--medical {
  background: linear-gradient(135deg, #0d1926 0%, #0f1d2e 100%);
}

[data-theme="dark"] .img-blur--warm {
  background: linear-gradient(135deg, #1a1408 0%, #1e1a0d 100%);
}

[data-theme="dark"] .img-blur--neutral {
  background: linear-gradient(135deg, #161b22 0%, #1c2129 100%);
}

[data-theme="dark"] .img-blur--portrait {
  background: linear-gradient(135deg, #14101f 0%, #111827 100%);
}

[data-theme="dark"] .img-blur {
  background-color: #161b22;
}

[data-theme="dark"] .img-blur.is-loading::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: imgShimmer 1.8s ease-in-out infinite;
}

/* Preserve dimensions before image loads */
.img-blur img[data-src] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__img-main.img-blur {
  aspect-ratio: 3 / 2;
}

.about__img-accent.img-blur {
  aspect-ratio: 4 / 3;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .img-blur img[data-src],
  .img-blur img.img-blur__full,
  .img-blur__placeholder {
    transition: none;
  }

  .img-blur.is-loading::after {
    animation: none;
  }

  .img-blur.is-loaded img[data-src],
  .img-blur.is-loaded img.img-blur__full {
    opacity: 1;
  }
}

/* ─── SCROLL PROGRESS ───────────────────────── */
.scroll-progress {
  position: fixed;
  top: 3px; /* Below flag-top line */
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
  overflow: visible;
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  position: relative;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 1) 30%,
    rgba(255, 200, 200, 1) 50%,
    rgba(220, 20, 60, 0.95) 70%,
    rgba(220, 20, 60, 1)
  );
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.5),
    0 0 12px rgba(220, 20, 60, 0.3),
    0 1px 8px rgba(220, 20, 60, 0.2);
}

/* Enhanced OLED neon glow */
.scroll-progress__bar::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: inherit;
  filter: blur(6px);
  opacity: 0.5;
  border-radius: 0;
}

@keyframes shimmerProgress {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* ─── CONTAINER ──────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-primary);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 0;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.text-accent {
  color: var(--color-secondary);
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn svg,
.btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 0.95rem;
}

.btn--full {
  width: 100%;
}

/* ─── PRELOADER ──────────────────────────────── */
/* ─── PRELOADER (Premium) ────────────────────── */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-preloader);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader.hidden .preloader__content {
  transform: scale(0.9);
  opacity: 0;
}

.preloader.hidden .preloader__corner {
  opacity: 0;
}

/* Corner accents */
.preloader__corner {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0;
  animation: preloaderCornerIn 0.5s ease forwards;
}

.preloader__corner--tl {
  top: 2rem;
  left: 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  animation-delay: 0.2s;
}

.preloader__corner--tr {
  top: 2rem;
  right: 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  border-right: 2px solid rgba(255, 255, 255, 0.15);
  animation-delay: 0.3s;
}

.preloader__corner--bl {
  bottom: 2rem;
  left: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  animation-delay: 0.4s;
}

.preloader__corner--br {
  bottom: 2rem;
  right: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  border-right: 2px solid rgba(255, 255, 255, 0.15);
  animation-delay: 0.5s;
}

@keyframes preloaderCornerIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* Content container */
.preloader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Animated rings */
.preloader__rings {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.preloader__ring--outer {
  width: 120px;
  height: 120px;
  border-top-color: var(--color-secondary);
  border-right-color: rgba(27, 127, 195, 0.3);
  animation: preloaderSpin 1.4s linear infinite;
}

.preloader__ring--inner {
  width: 90px;
  height: 90px;
  border-bottom-color: var(--color-accent);
  border-left-color: rgba(201, 168, 76, 0.3);
  animation: preloaderSpin 1.8s linear infinite reverse;
}

.preloader__icon {
  opacity: 0;
  transform: scale(0.5);
  animation: preloaderIconIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
  filter: drop-shadow(0 0 20px rgba(27, 127, 195, 0.4));
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes preloaderIconIn {
  to { opacity: 1; transform: scale(1); }
}

/* Brand text */
.preloader__brand {
  text-align: center;
}

.preloader__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.preloader__char {
  display: inline-block;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(15px);
  animation: preloaderCharIn 0.4s ease forwards;
}

/* Staggered char animation delays */
.preloader__char:nth-child(1) { animation-delay: 0.5s; }
.preloader__char:nth-child(2) { animation-delay: 0.56s; }
.preloader__char:nth-child(3) { animation-delay: 0.62s; }
.preloader__char:nth-child(4) { animation-delay: 0.68s; }
.preloader__char:nth-child(5) { animation-delay: 0.74s; }
.preloader__char:nth-child(6) { animation-delay: 0.80s; }
.preloader__char:nth-child(7) { animation-delay: 0.86s; }
.preloader__char:nth-child(8) { animation-delay: 0.92s; }
.preloader__char:nth-child(9) { animation-delay: 0.98s; }

.preloader__char--accent {
  color: var(--color-accent);
}

@keyframes preloaderCharIn {
  to { opacity: 1; transform: translateY(0); }
}

.preloader__tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
  animation: preloaderFadeUp 0.5s ease 1.1s forwards;
}

@keyframes preloaderFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.preloader__progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: preloaderFadeUp 0.4s ease 0.9s forwards;
}

.preloader__progress-track {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.preloader__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 3px;
  transition: width 0.1s linear;
}

.preloader__percent {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  min-width: 2.5rem;
  font-variant-numeric: tabular-nums;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .preloader__ring--outer,
  .preloader__ring--inner {
    animation: none;
  }

  .preloader__char,
  .preloader__icon,
  .preloader__tagline,
  .preloader__progress,
  .preloader__corner {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .preloader__rings {
    width: 100px;
    height: 100px;
  }

  .preloader__ring--outer {
    width: 100px;
    height: 100px;
  }

  .preloader__ring--inner {
    width: 74px;
    height: 74px;
  }

  .preloader__name {
    font-size: 1.6rem;
  }

  .preloader__progress-track {
    width: 140px;
  }

  .preloader__corner {
    display: none;
  }
}

/* ─── TOP BAR ────────────────────────────────── */
.topbar {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar__icon {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.topbar__link:hover {
  color: var(--color-accent);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__social {
  display: flex;
  gap: 0.5rem;
}

.topbar__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.topbar__social-link svg {
  width: 13px;
  height: 13px;
}

.topbar__social-link:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  padding: 0.75rem 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar.scrolled + .topbar-spacer {
  display: block;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.scrolled .navbar__logo {
  color: var(--color-primary);
}

.navbar__logo-icon {
  color: var(--color-accent);
}

.navbar__logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1;
}

.navbar__logo-tagline {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  font-family: var(--font-body);
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.navbar__link {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.scrolled .navbar__link {
  color: var(--color-text);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--color-accent);
}

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.navbar__phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.scrolled .navbar__phone {
  color: var(--color-primary);
}

.navbar__phone-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.navbar__cta {
  font-size: 0.78rem;
  padding: 0.55rem 1.1rem;
  white-space: nowrap;
}

/* Language Switcher */
.lang-switch {
  position: relative;
}

.lang-switch__current {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.navbar.scrolled .lang-switch__current {
  border-color: var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.lang-switch__current:hover {
  background: rgba(255,255,255,0.12);
}

.navbar.scrolled .lang-switch__current:hover {
  background: rgba(var(--color-secondary-rgb), 0.05);
  border-color: rgba(var(--color-secondary-rgb), 0.2);
}

.lang-switch__flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-switch__code {
  line-height: 1;
}

.lang-switch__arrow {
  transition: transform 0.2s;
  opacity: 0.6;
}

.lang-switch.is-open .lang-switch__arrow {
  transform: rotate(180deg);
}

.lang-switch__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  animation: faqOpen 0.2s ease-out;
  z-index: 100;
}

.lang-switch__dropdown[hidden] {
  display: none;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s;
  text-align: left;
}

.lang-switch__option:hover {
  background: rgba(var(--color-secondary-rgb), 0.05);
}

.lang-switch__option.active {
  background: rgba(var(--color-secondary-rgb), 0.08);
  color: var(--color-secondary);
  font-weight: 700;
}

.lang-switch__option .lang-switch__flag {
  font-size: 1.15rem;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 32px;
}

.navbar__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.scrolled .navbar__toggle-bar {
  background: var(--color-primary);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 0 5rem;
  background: var(--color-primary); /* Fallback while media loads */
}

/* ── Media Container ── */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Video — hidden by default, JS enables on desktop */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.hero__video.playing {
  opacity: 1;
}

/* Parallax image layer */
.hero__parallax {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  will-change: transform;
  z-index: 0;
}

.hero__parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ── Cinematic Overlay: 3 layers ── */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Layer 1: Diagonal gradient — dark left, semi-transparent right */
.hero__overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--color-primary-rgb), 0.95) 0%,
    rgba(var(--color-primary-rgb), 0.8) 30%,
    rgba(var(--color-primary-rgb), 0.55) 60%,
    rgba(var(--color-primary-rgb), 0.4) 100%
  );
}

/* Layer 2: Vignette — dark edges */
.hero__overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 45%,
    transparent 0%,
    rgba(var(--color-primary-rgb), 0.35) 100%
  );
}

/* Layer 3: Golden accent glow — top-left warmth */
.hero__overlay-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 50% at 20% 30%,
    rgba(var(--color-accent-rgb), 0.07) 0%,
    transparent 70%
  );
}

/* ── Noise texture — film grain ── */
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* ── Particles ── */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 10s ease-in-out infinite;
}

.hero__particle--lg { width: 6px; height: 6px; }
.hero__particle--sm { width: 3px; height: 3px; }

.hero__particle:nth-child(1) { left: 10%; top: 25%; animation-delay: 0s; animation-duration: 12s; }
.hero__particle:nth-child(2) { left: 70%; top: 15%; animation-delay: 1.5s; }
.hero__particle:nth-child(3) { left: 40%; top: 55%; animation-delay: 3s; animation-duration: 8s; }
.hero__particle:nth-child(4) { left: 85%; top: 65%; animation-delay: 4.5s; }
.hero__particle:nth-child(5) { left: 20%; top: 75%; animation-delay: 6s; animation-duration: 11s; }
.hero__particle:nth-child(6) { left: 60%; top: 80%; animation-delay: 2s; animation-duration: 9s; }
.hero__particle:nth-child(7) { left: 90%; top: 40%; animation-delay: 7s; }

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.3); }
  15%  { opacity: 0.5; }
  50%  { opacity: 0.3; transform: translateY(-60px) translateX(20px) scale(1); }
  85%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-100px) translateX(-10px) scale(0.3); }
}

/* ── Geometric Shapes ── */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape--ring {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(var(--color-accent-rgb), 0.1);
  border-radius: 50%;
  animation: shapeSpin 30s linear infinite;
}

.hero__shape--ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: rgba(var(--color-accent-rgb), 0.3);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero__shape--dots {
  position: absolute;
  bottom: 18%;
  left: 5%;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  animation: shapeFloat 8s ease-in-out infinite;
}

.hero__shape--line {
  position: absolute;
  top: 40%;
  right: 4%;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(var(--color-accent-rgb), 0.2), transparent);
  animation: shapePulse 4s ease-in-out infinite;
}

@keyframes shapeSpin {
  to { transform: rotate(360deg); }
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes shapePulse {
  0%, 100% { opacity: 0.3; height: 80px; }
  50% { opacity: 0.8; height: 120px; }
}

/* ── Hero Content ── */
.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--color-accent-rgb), 0.08);
  border: 1px solid rgba(var(--color-accent-rgb), 0.2);
  color: var(--color-accent);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__badge.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__badge-icon {
  width: 15px;
  height: 15px;
}

/* Title — word-by-word reveal */
.hero__title {
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 0.25em;
}

.hero__title.revealed .hero__title-word {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger word reveal */
.hero__title.revealed .hero__title-line:first-child .hero__title-word:nth-child(1) { transition-delay: 0s; }
.hero__title.revealed .hero__title-line:first-child .hero__title-word:nth-child(2) { transition-delay: 0.08s; }
.hero__title.revealed .hero__title-line--accent .hero__title-word:nth-child(1) { transition-delay: 0.2s; }
.hero__title.revealed .hero__title-line--accent .hero__title-word:nth-child(2) { transition-delay: 0.28s; }
.hero__title.revealed .hero__title-line--accent .hero__title-word:nth-child(3) { transition-delay: 0.36s; }

.hero__title-accent {
  color: var(--color-accent);
  font-style: italic;
}

/* Subtitle */
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero__subtitle strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* CTAs */
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__actions.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Glass button variant */
.btn--glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Button inner for magnetic effect */
.btn__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Shine sweep on primary button */
.btn__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  z-index: 0;
  animation: btnShine 4s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

/* Phone button hidden on desktop, visible on mobile */
.hero__btn-phone {
  display: none;
}

/* ── Stats ── */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__stats.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero__stat {
  text-align: center;
  flex: 1;
  padding: 0 1.25rem;
}

.hero__stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--color-accent);
  line-height: 1;
}

.hero__stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--color-accent);
}

.hero__stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.35rem;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
  flex-shrink: 0;
}

/* ── Scroll Indicator ── */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__scroll.revealed {
  opacity: 1;
}

.hero__scroll:hover {
  color: var(--color-accent);
}

/* Mouse icon */
.hero__scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 11px;
  position: relative;
}

.hero__scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%  { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero__scroll-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: -0.3rem;
}

.hero__scroll-arrow {
  width: 14px;
  height: 14px;
  animation: scrollArrows 2s ease-in-out infinite;
}

.hero__scroll-arrow:nth-child(2) {
  margin-top: -8px;
  animation-delay: 0.15s;
  opacity: 0.5;
}

@keyframes scrollArrows {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* ── Bottom fade to next section ── */
.hero__fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-white));
  z-index: 4;
  pointer-events: none;
}

/* ─── Premium Brand Line (TOP — luxury accent) ─── */
/* Subtle blue-to-gold gradient — clinical elegance, not patriotic urgency */
.flag-top {
  display: flex;
  width: 100%;
  height: 2px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.85;
}

.flag-top__white {
  flex: 1;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--color-secondary-rgb), 0.5) 25%,
    rgba(var(--color-secondary-rgb), 0.9) 50%,
    rgba(var(--color-accent-rgb), 0.6) 80%,
    transparent 100%
  );
}

.flag-top__red {
  flex: 1;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--color-accent-rgb), 0.6) 20%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(var(--color-secondary-rgb), 0.5) 80%,
    transparent 100%
  );
}

/* Soft ambient glow */
.flag-top::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--color-secondary-rgb), 0.12) 30%,
    rgba(var(--color-accent-rgb), 0.1) 50%,
    rgba(var(--color-secondary-rgb), 0.12) 70%,
    transparent 100%
  );
  filter: blur(3px);
}

/* ─── Hero Accent Line (white/blue — template) ─── */
.flag-line {
  display: flex;
  width: 100%;
  height: 4px;
  position: relative;
  z-index: 5;
}

.flag-line__white {
  flex: 1;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 20%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.9) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

.flag-line__red {
  flex: 1;
  background: linear-gradient(90deg,
    rgba(27, 127, 195, 0) 0%,
    rgba(27, 127, 195, 0.8) 20%,
    rgba(27, 127, 195, 1) 50%,
    rgba(27, 127, 195, 0.8) 80%,
    rgba(27, 127, 195, 0) 100%
  );
}

.flag-line::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 10%;
  right: 10%;
  height: 6px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(27, 127, 195, 0.1) 75%,
    transparent
  );
  filter: blur(4px);
}

[data-theme="dark"] .flag-line__white {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 20%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.6) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* ── Hero Responsive ── */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 4rem;
    min-height: 100svh;
  }

  .hero__btn-phone {
    display: inline-flex;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.25rem;
  }

  .hero__stat {
    flex: 0 0 calc(50% - 0.5rem);
    padding: 0.5rem;
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__shapes {
    display: none;
  }

  .hero__scroll {
    bottom: 1.5rem;
  }

  .hero__fade-bottom {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.25rem;
  }

  .hero__stats {
    border-radius: var(--radius-lg);
  }
}

/* ─── INFO BAR ───────────────────────────────── */
.info-bar {
  position: relative;
  padding: 0 0 2rem;
  margin-top: -3rem;
  z-index: 6;
}

.info-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.info-bar__card {
  display: flex;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  color: var(--color-white);
  position: relative;
  transition: all var(--transition-base);
}

.info-bar__card:hover {
  filter: brightness(1.1);
}

/* Card color variants — medical blues + accent */
.info-bar__card--emergency {
  background: linear-gradient(135deg, #1B9AAA, #148E9E);
}

.info-bar__card--schedule {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.info-bar__card--hours {
  background: linear-gradient(135deg, var(--color-secondary), #1567A8);
}

.info-bar__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.info-bar__icon svg {
  width: 24px;
  height: 24px;
}

.info-bar__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.info-bar__text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.info-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.info-bar__link svg {
  width: 14px;
  height: 14px;
}

.info-bar__link:hover {
  gap: 0.6rem;
  color: var(--color-accent);
}

.info-bar__schedule {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.info-bar__schedule strong {
  color: var(--color-white);
  font-weight: 600;
  margin-left: 0.5rem;
}

/* ─── POLAND WAVE ────────────────────────────── */
.poland-wave {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: 2rem;
  overflow: hidden;
  pointer-events: none;
}

.poland-wave__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.poland-wave--reverse {
  margin-top: 0;
  margin-bottom: 0;
  height: 60px;
}

@media (max-width: 1024px) {
  .info-bar__inner {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }

  .info-bar__card--schedule,
  .info-bar__card--hours {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .info-bar {
    margin-top: -2rem;
  }
}

/* ─── ABOUT ──────────────────────────────────── */
.about {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img-main img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about__img-main:hover img {
  transform: scale(1.03);
}

.about__img-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-white);
}

.about__img-accent img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about__experience-badge {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-accent);
  z-index: 2;
}

.about__experience-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  display: block;
  line-height: 1;
}

.about__experience-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.about__content .section-label {
  text-align: left;
}

.about__content .section-title {
  text-align: left;
}

.about__text {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about__feature {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.about__feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(var(--color-secondary-rgb), 0.1);
  color: var(--color-secondary);
}

.about__feature-icon svg {
  width: 20px;
  height: 20px;
}

.about__feature-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.about__feature-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─── SERVICES ───────────────────────────────── */
.services {
  padding: var(--section-padding) 0;
  background: var(--color-bg-medical);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--color-secondary-rgb), 0.12), rgba(var(--color-secondary-rgb), 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon-wrap {
  background: var(--color-secondary);
}

.service-card__icon {
  width: 26px;
  height: 26px;
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.service-card:hover .service-card__icon {
  color: var(--color-primary);
}

.service-card__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.service-card__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.service-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-secondary);
  transition: all var(--transition-fast);
  padding: 0;
}

.service-card__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.service-card__toggle:hover {
  color: var(--color-accent);
}

.service-card__details {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
  animation: slideDown 0.3s ease;
}

.service-card__details h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.service-card__details ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.service-card__details li {
  counter-increment: step;
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.service-card__details li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(var(--color-accent-rgb), 0.12);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}

/* ─── CTA BANNER ─────────────────────────────── */
.cta-banner {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #0d1a3a 40%,
    #112244 100%
  );
}

.cta-banner__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(var(--color-accent-rgb), 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.cta-banner__title em {
  color: var(--color-accent);
  font-style: italic;
}

.cta-banner__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.cta-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── STICKY MOBILE CTA ─────────────────────── */
.mobile-cta {
  display: none; /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  background: rgba(var(--color-primary-rgb), 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.75rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  gap: 0.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  color: inherit;
}

.mobile-cta__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mobile-cta__btn--phone {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.mobile-cta__btn--primary {
  background: var(--color-cta);
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.mobile-cta__btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5);
  animation: mctaPulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes mctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255, 107, 53, 0); }
}

.mobile-cta__btn--chat {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

/* Active / tap states for mobile tactile feedback */
.mobile-cta__btn:active {
  transform: scale(0.95);
}

.mobile-cta__btn--phone:active {
  background: rgba(255, 255, 255, 0.15);
}

.mobile-cta__btn--primary:active {
  box-shadow: 0 1px 4px rgba(255, 107, 53, 0.5);
}

.mobile-cta__btn--chat:active {
  filter: brightness(0.9);
}

/* Dark mode */
[data-theme="dark"] .mobile-cta {
  background: rgba(15, 20, 35, 0.95);
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* Reduced motion — disable pulse */
@media (prefers-reduced-motion: reduce) {
  .mobile-cta__btn--primary::after {
    animation: none;
  }
  .mobile-cta {
    transition: none;
  }
}

@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
  }

  /* Adjust bottom spacing for floating elements when mobile bar is visible */
  .mobile-cta.visible ~ .receptionist-widget,
  .receptionist-widget {
    bottom: 5rem;
  }

  .back-to-top {
    bottom: 5rem;
  }

  /* Social proof must sit above mobile CTA bar */
  .social-proof {
    bottom: 5.5rem;
  }

  /* Emergency banner adjust */
  .emergency-banner {
    bottom: 4.5rem;
  }

  /* A11y widget adjust */
  .a11y-widget {
    bottom: 5rem;
  }
}

/* ─── BEFORE/AFTER ───────────────────────────── */
.before-after {
  padding: var(--section-padding) 0;
  background: var(--color-primary);
  color: var(--color-white);
}

.before-after .section-label {
  color: var(--color-accent);
}

.before-after .section-title {
  color: var(--color-white);
}

.before-after .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.ba__cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ba__slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-lg);
}

.ba__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba__img--after {
  clip-path: inset(0 50% 0 0);
  z-index: 1;
}

.ba__img--before {
  z-index: 0;
}

.ba__label {
  position: absolute;
  bottom: 12px;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.ba__label--before {
  right: 12px;
  background: rgba(255, 107, 53, 0.85);
  color: white;
}

.ba__label--after {
  left: 12px;
  background: rgba(16, 185, 129, 0.85);
  color: white;
}

.ba__handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.ba__handle-line {
  flex: 1;
  width: 2px;
  background: var(--color-white);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.ba__handle-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  color: var(--color-primary);
}

.ba__handle-circle svg {
  width: 20px;
  height: 20px;
}

.ba__info {
  padding: 1.25rem 0 0;
}

.ba__case-title {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.ba__case-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ─── TEAM ───────────────────────────────────── */
.team {
  padding: var(--section-padding) 0;
  background: var(--color-white);
  overflow: hidden;
}

/* ─── Team Carousel — Premium Redesign ─── */
.team__carousel {
  position: relative;
  margin-top: 2rem;
  overflow-x: clip;
}

.team__viewport {
  overflow: visible;
  padding: 2rem 0 2.5rem;
}

.team__track {
  display: flex;
  will-change: transform;
  /* JS controls transitions — see teamTrack.style.transition */
}

.team-card {
  min-width: 25%;
  padding: 0 0.65rem;
  box-sizing: border-box;
}

/* ── All cards: fully lit, clean, premium ── */
.team-card .team-card__inner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-secondary-rgb), 0.07);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1);
  opacity: 1;
  position: relative;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Refined top accent line on every card */
.team-card .team-card__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--color-secondary) 0%,
    rgba(var(--color-accent-rgb), 0.7) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 10;
}

/* Subtle shine sweep */
.team-card .team-card__inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 35%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 65%,
    transparent 100%
  );
  z-index: 10;
  pointer-events: none;
  transition: left 0s;
}

/* ── Active card: elevated hero moment ── */
.team-card.is-active .team-card__inner {
  transform: scale(1.03) translateY(-8px);
  border-color: rgba(var(--color-secondary-rgb), 0.18);
  box-shadow:
    0 32px 64px rgba(var(--color-secondary-rgb), 0.12),
    0 16px 32px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(var(--color-secondary-rgb), 0.04),
    0 0 80px -20px rgba(var(--color-secondary-rgb), 0.08);
}

.team-card.is-active .team-card__inner::before {
  opacity: 1;
}

.team-card.is-active .team-card__inner::after {
  animation: teamCardShine 4s 0.3s ease-in-out 1;
}

@keyframes teamCardShine {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ── Hover: lift any card ── */
.team-card:hover .team-card__inner {
  transform: scale(1.02) translateY(-5px);
  box-shadow:
    0 24px 48px rgba(var(--color-secondary-rgb), 0.1),
    0 8px 24px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(var(--color-secondary-rgb), 0.06);
}

.team-card:hover .team-card__inner::before {
  opacity: 0.7;
}

/* ── Image ── */
.team-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  min-height: 0;
  contain: layout style;
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card.is-active .team-card__img {
  transform: scale(1.05);
}

.team-card:hover .team-card__img {
  transform: scale(1.04);
}

/* ── Social overlay ── */
.team-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1.2rem;
  background: linear-gradient(
    to top,
    rgba(var(--color-primary-rgb), 0.85) 0%,
    rgba(var(--color-primary-rgb), 0.4) 60%,
    transparent 100%
  );
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 5;
}

.team-card.is-active .team-card__overlay,
.team-card:hover .team-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.team-card__social {
  display: flex;
  gap: 0.6rem;
}

.team-card__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card__social a svg {
  width: 15px;
  height: 15px;
}

.team-card__social a:hover {
  background: rgba(var(--color-accent-rgb), 0.9);
  color: var(--color-primary);
  border-color: rgba(var(--color-accent-rgb), 0.5);
  transform: translateY(-2px) scale(1.08);
}

/* ── Card info ── */
.team-card__info {
  padding: 1.3rem 1.5rem 1.5rem;
  position: relative;
}

/* Gold accent line on active card */
.team-card.is-active .team-card__info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--color-accent-rgb), 0.2),
    rgba(var(--color-secondary-rgb), 0.15),
    transparent);
}

.team-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
  color: var(--color-primary);
  transition: color 0.3s;
}

.team-card__role {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg,
    rgba(var(--color-secondary-rgb), 0.08),
    rgba(var(--color-secondary-rgb), 0.03));
  border: 1px solid rgba(var(--color-secondary-rgb), 0.08);
  border-radius: 100px;
}

.team-card__bio {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ── Navigation arrows ── */
.team__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-secondary-rgb), 0.1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--color-primary);
}

.team__nav:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(var(--color-primary-rgb), 0.25);
  transform: translateY(-70%) scale(1.1);
}

.team__nav:active {
  transform: translateY(-70%) scale(0.95);
}

.team__nav svg {
  width: 20px;
  height: 20px;
}

.team__nav--prev {
  left: -24px;
}

.team__nav--next {
  right: -24px;
}

/* ── Controls (dots + autoplay) ── */
.team__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.team__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.team__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
}

.team__dot.is-active {
  width: 32px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-secondary), rgba(var(--color-accent-rgb), 0.8));
}

/* Autoplay progress */
.team__autoplay {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.team__progress {
  width: 100px;
  height: 3px;
  background: rgba(var(--color-secondary-rgb), 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.team__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 3px;
  transition: width 0.1s linear;
}

.team__pause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.team__pause svg {
  width: 14px;
  height: 14px;
}

.team__pause:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* ── Dark mode ── */
[data-theme="dark"] .team {
  background: #0D1117;
}

[data-theme="dark"] .team-card .team-card__inner {
  background: #161B22;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .team-card.is-active .team-card__inner {
  border-color: rgba(27, 127, 195, 0.3);
  background: linear-gradient(165deg, #161B22 0%, rgba(27, 127, 195, 0.06) 100%);
  box-shadow:
    0 32px 64px rgba(27, 127, 195, 0.1),
    0 16px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(27, 127, 195, 0.08),
    0 0 80px -20px rgba(27, 127, 195, 0.06);
}

[data-theme="dark"] .team-card:hover .team-card__inner {
  border-color: rgba(27, 127, 195, 0.2);
  box-shadow:
    0 24px 48px rgba(27, 127, 195, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .team-card__overlay {
  background: linear-gradient(
    to top,
    rgba(7, 13, 24, 0.92) 0%,
    rgba(7, 13, 24, 0.5) 50%,
    transparent 100%
  );
}

[data-theme="dark"] .team-card__name {
  color: #E6EDF3;
}

[data-theme="dark"] .team__nav {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #C9D6E3;
}

[data-theme="dark"] .team__nav:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .team-card {
    min-width: 33.333%;
  }

  .team__nav--prev { left: -12px; }
  .team__nav--next { right: -12px; }
}

/* ── Responsive: Mobile — Full card-centric experience ── */
@media (max-width: 768px) {
  .team__viewport {
    padding: 1.5rem 0 2rem;
  }

  .team-card {
    min-width: 80%;
  }

  /* All cards visible, slight depth on non-active */
  .team-card .team-card__inner {
    transform: scale(0.92);
    opacity: 0.6;
    filter: brightness(0.95);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Active card: full presence, no scale-up to avoid overflow */
  .team-card.is-active .team-card__inner {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
    box-shadow:
      0 24px 48px rgba(var(--color-secondary-rgb), 0.1),
      0 8px 20px rgba(0, 0, 0, 0.05);
  }

  .team-card.is-active .team-card__overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .team__nav {
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .team__nav--prev { left: 0.5rem; }
  .team__nav--next { right: 0.5rem; }

  .team__progress { width: 60px; }
}

@media (max-width: 480px) {
  .team-card {
    min-width: 85%;
  }

  .team-card__info {
    padding: 1.1rem 1.2rem 1.3rem;
  }

  .team-card__name {
    font-size: 1.05rem;
  }

  .team-card__bio {
    font-size: 0.78rem;
    line-height: 1.65;
  }

  .team__nav { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .team__track { transition: none !important; }
  .team-card .team-card__inner { transition: none; }
  .team__progress-bar { transition: none; }
}

/* ─── TESTIMONIALS ───────────────────────────── */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.testimonials__carousel {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 33.333%;
  padding: 0 0.75rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .testimonial-card {
    min-width: 50%;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    min-width: 100%;
  }
}

/* Card visual styling */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border-light);
  margin: 0 0.75rem;
  min-width: calc(33.333% - 1.5rem);
  transition: all 0.35s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(var(--color-secondary-rgb), 0.08);
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
  border-color: rgba(var(--color-secondary-rgb), 0.15);
  transform: translateY(-4px);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .testimonial-card {
    min-width: calc(50% - 1.5rem);
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    min-width: calc(100% - 1.5rem);
  }
}

.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-card__star {
  width: 18px;
  height: 18px;
  color: #FBBF24;
  fill: #FBBF24;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

.testimonial-card__name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.testimonial-card__origin {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.testimonial-card__verified {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #16A34A;
  background: rgba(22, 163, 74, 0.08);
  padding: 0.1rem 0.45rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--color-text-light);
}

.testimonials__btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.testimonials__btn svg {
  width: 20px;
  height: 20px;
}

.testimonials__dots {
  display: flex;
  gap: 0.4rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.testimonials__dot.active {
  background: var(--color-accent);
  width: 28px;
  border-radius: var(--radius-full);
}

/* ─── TOURISM ────────────────────────────────── */
.tourism {
  padding: var(--section-padding) 0;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.tourism::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.03), transparent);
  pointer-events: none;
}

.tourism__steps {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  position: relative;
  padding: 2rem 0;
}

.tourism__steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary), var(--color-accent));
  opacity: 0.2;
  transform: translateY(-50%);
}

.tourism__step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.tourism__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.tourism__step-number {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.tourism__step-icon {
  width: 60px;
  height: 60px;
  margin: 0.5rem auto 1rem;
  border-radius: 50%;
  background: rgba(var(--color-secondary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  transition: all var(--transition-base);
}

.tourism__step:hover .tourism__step-icon {
  background: var(--color-secondary);
  color: var(--color-white);
}

.tourism__step-icon svg {
  width: 26px;
  height: 26px;
}

.tourism__step-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tourism__step-desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.tourism__benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tourism__benefit {
  text-align: center;
  padding: 2rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  color: var(--color-white);
  transition: all var(--transition-base);
}

.tourism__benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.tourism__benefit-icon {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.tourism__benefit h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.tourism__benefit p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ─── GALLERY ────────────────────────────────── */
/* ─── GALLERY — iOS-style Carousel ────────────── */
.gallery {
  padding: var(--section-padding) 0 calc(var(--section-padding) * 0.5) 0;
  background: var(--color-bg);
  overflow: hidden;
}

.gallery__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery__top .section-header {
  flex: 1;
}

/* Filter pills */
.gallery__filters {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gallery__filter {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

.gallery__filter:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.gallery__filter.active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

[data-theme="dark"] .gallery__filter {
  border-color: #2A3545;
  color: #9BAAB8;
}

[data-theme="dark"] .gallery__filter:hover {
  border-color: var(--color-secondary-light);
  color: var(--color-secondary-light);
}

[data-theme="dark"] .gallery__filter.active {
  background: var(--color-secondary);
  color: #fff;
}

/* Carousel */
.gallery__carousel {
  overflow: hidden;
  padding-bottom: 0.5rem;
}

.gallery__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Card — 4 per view on desktop */
.gallery__card {
  min-width: 25%;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gallery__card.is-hidden {
  display: none;
}

.gallery__card-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery__card:hover .gallery__card-inner {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery__card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.gallery__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__card:hover .gallery__card-img img {
  transform: scale(1.06);
}

/* Gradient overlay — uses box-shadow to avoid ::after conflict with img-blur */
.gallery__card-img {
  box-shadow: inset 0 -60px 40px -20px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .gallery__card {
    min-width: 50%;
  }
}

@media (max-width: 767px) {
  .gallery__card {
    min-width: 100%;
  }
}

.gallery__card-info {
  padding: 0.85rem 1rem 1rem;
  flex: 1;
}

.gallery__card-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(var(--color-secondary-rgb), 0.08);
  color: var(--color-secondary);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.gallery__card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.gallery__card-desc {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

[data-theme="dark"] .gallery__card-inner {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .gallery__card:hover .gallery__card-inner {
  border-color: rgba(27, 127, 195, 0.3);
}

[data-theme="dark"] .gallery__card-title {
  color: #E6EDF3;
}

[data-theme="dark"] .gallery__card-desc {
  color: #9BAAB8;
}

/* Navigation */
.gallery__nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gallery__nav-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery__nav-btn:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  transform: scale(1.08);
}

.gallery__nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

[data-theme="dark"] .gallery__nav-btn {
  background: #161B22;
  border-color: #2A3545;
  color: #C9D6E3;
}

.gallery__dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery__dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 4px;
}

[data-theme="dark"] .gallery__dot {
  background: #2A3545;
}

[data-theme="dark"] .gallery__dot.active {
  background: var(--color-secondary);
}

/* Gallery autoplay controls */
.gallery__autoplay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.gallery__progress {
  width: 200px;
  height: 3px;
  background: var(--color-border-light);
  border-radius: 2px;
  overflow: hidden;
}

.gallery__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.gallery__pause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  padding: 0;
}

.gallery__pause:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.gallery__pause i,
.gallery__pause svg {
  width: 14px;
  height: 14px;
}

[data-theme="dark"] .gallery__progress {
  background: #2A3545;
}

[data-theme="dark"] .gallery__pause {
  border-color: #2A3545;
  color: #8B949E;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .gallery__top .section-header {
    text-align: center !important;
    width: 100%;
  }

  .gallery__filters {
    justify-content: center;
    width: 100%;
  }

  .gallery__card-img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .gallery__card-img {
    height: 140px;
  }

  .gallery__filter {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

  .gallery__nav-btn {
    width: 36px;
    height: 36px;
  }

  .gallery__progress {
    width: 140px;
  }
}

/* ─── TREATMENT JOURNEY STEPPER ──────────────── */
.journey {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.journey__stepper {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0;
}

.journey__line {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 23px;
  width: 3px;
  background: var(--color-border-light);
  border-radius: 2px;
  z-index: 0;
}

.journey__line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
  transition: height 0.1s linear;
}

.journey__step {
  position: relative;
  display: flex;
  gap: 2rem;
  padding-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey__step:last-child {
  padding-bottom: 0;
}

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

.journey__step-marker {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}

.journey__step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.journey__step.is-visible .journey__step-number {
  background: linear-gradient(135deg, var(--color-secondary), #1590D5);
  border-color: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--color-secondary-rgb), 0.3);
}

.journey__step-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(var(--color-secondary-rgb), 0);
  z-index: 1;
}

.journey__step.is-visible .journey__step-pulse {
  animation: journeyPulse 2s ease-out infinite;
}

@keyframes journeyPulse {
  0% { transform: scale(1); border-color: rgba(var(--color-secondary-rgb), 0.4); opacity: 1; }
  100% { transform: scale(1.6); border-color: rgba(var(--color-secondary-rgb), 0); opacity: 0; }
}

.journey__step-content {
  flex: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.5s ease;
  position: relative;
}

.journey__step.is-visible .journey__step-content {
  border-color: rgba(var(--color-secondary-rgb), 0.15);
  box-shadow: var(--shadow-md);
}

.journey__step-content:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--color-secondary-rgb), 0.25);
}

.journey__step-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 18px;
  width: 16px;
  height: 16px;
  background: var(--color-white);
  border-left: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  transform: rotate(45deg);
  z-index: -1;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.journey__step.is-visible .journey__step-content::before {
  border-color: rgba(var(--color-secondary-rgb), 0.15);
}

.journey__step-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-secondary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}

.journey__step-icon i, .journey__step-icon svg { width: 20px; height: 20px; }

.journey__step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.journey__step-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.journey__step-detail {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.journey__step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  background: var(--color-bg-medical);
  color: var(--color-secondary);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.journey__step-tag i, .journey__step-tag svg { width: 12px; height: 12px; }

.journey__cta {
  text-align: center;
  margin-top: 3rem;
}

.journey__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.journey__cta-btn i, .journey__cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey__cta-btn:hover i, .journey__cta-btn:hover svg {
  transform: translateX(4px);
}

.journey__cta-note {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Journey dark mode */
[data-theme="dark"] .journey { background: #0D1117; }
[data-theme="dark"] .journey__line { background: #2A3545; }
[data-theme="dark"] .journey__step-number { background: #161B22; border-color: #2A3545; color: #8B949E; }
[data-theme="dark"] .journey__step.is-visible .journey__step-number { background: linear-gradient(135deg, var(--color-secondary), #1590D5); border-color: var(--color-secondary); color: #fff; }
[data-theme="dark"] .journey__step-content { background: #161B22; border-color: #2A3545; }
[data-theme="dark"] .journey__step-content::before { background: #161B22; border-color: #2A3545; }
[data-theme="dark"] .journey__step.is-visible .journey__step-content { border-color: rgba(27, 127, 195, 0.2); }
[data-theme="dark"] .journey__step.is-visible .journey__step-content::before { border-color: rgba(27, 127, 195, 0.2); }
[data-theme="dark"] .journey__step-title { color: #E6EDF3; }
[data-theme="dark"] .journey__step-desc { color: #9BAAB8; }
[data-theme="dark"] .journey__step-tag { background: rgba(27, 127, 195, 0.1); color: var(--color-secondary-light); }
[data-theme="dark"] .journey__step-icon { background: rgba(27, 127, 195, 0.1); }

/* Journey responsive */
@media (max-width: 768px) {
  .journey__step { gap: 1.25rem; padding-bottom: 2rem; }
  .journey__step-number { width: 40px; height: 40px; font-size: 1rem; }
  .journey__line { left: 19px; }
  .journey__step-content { padding: 1.25rem; }
  .journey__step-content::before { left: -7px; top: 14px; width: 14px; height: 14px; }
  .journey__step-title { font-size: 1.05rem; }
  .journey__step-desc { font-size: 0.84rem; }
}

@media (max-width: 480px) {
  .journey__step { gap: 1rem; }
  .journey__step-number { width: 36px; height: 36px; font-size: 0.9rem; }
  .journey__line { left: 17px; }
  .journey__step-detail { flex-direction: column; gap: 0.35rem; }
}

/* ─── PRICING ────────────────────────────────── */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.pricing__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pricing__table thead {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
}

.pricing__table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pricing__table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
}

.pricing__table tbody tr {
  transition: background-color var(--transition-fast);
}

.pricing__table tbody tr:hover {
  background-color: rgba(var(--color-accent-rgb), 0.04);
}

.pricing__table small {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.pricing__col--highlight {
  background: rgba(var(--color-accent-rgb), 0.06) !important;
  position: relative;
}

.pricing__table thead .pricing__col--highlight {
  background: var(--color-accent) !important;
  color: var(--color-primary) !important;
}

.pricing__badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.pricing__note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

/* ─── FAQ ────────────────────────────────────── */
.faq {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--color-border-light);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-border-light);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  transition: color 0.2s;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question:hover {
  color: var(--color-secondary);
}

.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--color-secondary-rgb), 0.08);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq__icon i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.faq__item[open] .faq__icon {
  background: var(--color-secondary);
  color: var(--color-white);
}

.faq__item[open] .faq__icon i {
  transform: rotate(45deg);
}

.faq__item[open] .faq__question {
  color: var(--color-secondary);
}

.faq__answer {
  padding: 0 0 1.5rem 0;
  animation: faqOpen 0.3s ease-out;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq__answer p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 680px;
}

/* ─── COOKIE CONSENT ─────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  width: 420px;
  max-width: calc(100vw - 2rem);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cookie-consent.is-hidden {
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent__inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-consent__content {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.cookie-consent__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--color-secondary-rgb), 0.1), rgba(var(--color-secondary-rgb), 0.05));
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-consent__text strong {
  display: block;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.cookie-consent__text p {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin: 0;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-consent__btn {
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  white-space: nowrap;
}

.cookie-consent__btn--accept {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(11, 26, 59, 0.2);
  flex: 1;
}

.cookie-consent__btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11, 26, 59, 0.3);
}

.cookie-consent__btn--reject {
  background: transparent;
  color: var(--color-text-light);
  border: 1.5px solid var(--color-border);
  flex: 1;
}

.cookie-consent__btn--reject:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.cookie-consent__btn--settings {
  background: transparent;
  color: var(--color-text-light);
  padding: 0.6rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.cookie-consent__btn--settings:hover {
  color: var(--color-secondary);
}

/* Settings Panel */
.cookie-consent__panel {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  animation: cookiePanelOpen 0.35s ease-out;
}

@keyframes cookiePanelOpen {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 300px; }
}

.cookie-consent__panel[hidden] {
  display: none;
}

.cookie-consent__panel-inner {
  padding: 1.25rem 1.5rem;
}

.cookie-consent__panel-title {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 0.9rem;
}

.cookie-consent__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.cookie-consent__option:last-of-type {
  border-bottom: none;
}

.cookie-consent__option-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--color-primary);
}

.cookie-consent__option-info span {
  font-size: 0.72rem;
  color: var(--color-text-light);
}

/* Toggle Switch */
.cookie-consent__toggle {
  position: relative;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-consent__toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-consent__toggle-slider {
  position: absolute;
  inset: 0;
  background: #D1D5DB;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-consent__toggle-slider::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-consent__toggle input:checked + .cookie-consent__toggle-slider {
  background: var(--color-secondary);
}

.cookie-consent__toggle input:checked + .cookie-consent__toggle-slider::before {
  transform: translateX(20px);
}

.cookie-consent__toggle--locked .cookie-consent__toggle-slider {
  background: var(--color-secondary);
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-consent__toggle--locked .cookie-consent__toggle-slider::before {
  transform: translateX(20px);
}

.cookie-consent__btn--save {
  margin-top: 0.75rem;
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(11, 26, 59, 0.2);
}

.cookie-consent__btn--save:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(11, 26, 59, 0.3);
}

/* Dark mode */
[data-theme="dark"] .cookie-consent {
  background: rgba(15, 22, 41, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .cookie-consent__text strong {
  color: var(--color-white);
}

[data-theme="dark"] .cookie-consent__option-info strong {
  color: var(--color-white);
}

[data-theme="dark"] .cookie-consent__panel {
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .cookie-consent__btn--accept {
  background: var(--color-secondary);
}

[data-theme="dark"] .cookie-consent__btn--reject {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .cookie-consent__toggle-slider {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .cookie-consent {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .cookie-consent__actions {
    flex-wrap: wrap;
  }

  .cookie-consent__btn--accept,
  .cookie-consent__btn--reject {
    flex: 1;
    text-align: center;
  }

  .cookie-consent__panel-inner {
    padding: 1rem 1.25rem;
  }
}

/* ─── BOOKING SHOWCASE ───────────────────────── */
.booking-showcase {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--color-bg-medical) 0%, var(--color-white) 100%);
  overflow: hidden;
}

.booking-showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.booking-showcase__desc {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.booking-showcase__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.booking-showcase__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.booking-showcase__feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-secondary-rgb), 0.08);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-showcase__feature-icon i {
  width: 20px;
  height: 20px;
}

.booking-showcase__feature strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.booking-showcase__feature span {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* iPhone 15 Pro Mockup */
.booking-showcase__visual {
  display: flex;
  justify-content: center;
}

.iphone-frame {
  position: relative;
  width: 290px;
  /* Titanium outer frame */
  background: linear-gradient(145deg, #8E8E93 0%, #B0B0B5 15%, #C7C7CC 30%, #A8A8AD 60%, #8E8E93 100%);
  border-radius: 48px;
  padding: 3px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.25),
    0 15px 35px rgba(0,0,0,0.15),
    inset 0 1px 1px rgba(255,255,255,0.6),
    inset 0 -1px 1px rgba(0,0,0,0.15);
  animation: iphoneFloat 6s ease-in-out infinite;
}

@keyframes iphoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-frame { animation: none; }
}

/* Side Buttons */
.iphone-frame__side-btn {
  position: absolute;
  background: linear-gradient(180deg, #A0A0A5 0%, #808085 100%);
  border-radius: 2px;
  z-index: 5;
}

.iphone-frame__side-btn--silent {
  width: 4px;
  height: 22px;
  left: -4px;
  top: 100px;
  border-radius: 3px 0 0 3px;
}

.iphone-frame__side-btn--vol-up {
  width: 4px;
  height: 40px;
  left: -4px;
  top: 140px;
  border-radius: 3px 0 0 3px;
}

.iphone-frame__side-btn--vol-down {
  width: 4px;
  height: 40px;
  left: -4px;
  top: 190px;
  border-radius: 3px 0 0 3px;
}

.iphone-frame__side-btn--power {
  width: 4px;
  height: 60px;
  right: -4px;
  top: 155px;
  border-radius: 0 3px 3px 0;
}

/* Inner Bezel (the black area) */
.iphone-frame__bezel {
  background: #000;
  border-radius: 45px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.iphone-frame__dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 100px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.iphone-frame__island-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a1a2e 0%, #0d0d15 60%);
  box-shadow: inset 0 0 2px rgba(255,255,255,0.05), 0 0 0 1.5px #1a1a2e;
  position: relative;
}

.iphone-frame__island-cam::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, #1B7FC3 0%, #0a3d62 100%);
  opacity: 0.5;
}

/* Status Bar */
.iphone-frame__status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 6px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-secondary), #1565A0);
  color: white;
  position: relative;
  z-index: 10;
}

.iphone-frame__time {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.iphone-frame__status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.iphone-frame__battery {
  display: flex;
  align-items: center;
  gap: 1px;
}

.iphone-frame__battery-body {
  width: 22px;
  height: 11px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 3px;
  padding: 1.5px;
}

.iphone-frame__battery-fill {
  width: 75%;
  height: 100%;
  background: #4ADE80;
  border-radius: 1px;
}

.iphone-frame__battery-cap {
  width: 2px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 0 2px 2px 0;
}

/* Screen */
.iphone-frame__screen {
  background: var(--color-white);
  min-height: 480px;
  overflow: hidden;
}

/* Home Indicator */
.iphone-frame__home-indicator {
  width: 120px;
  height: 5px;
  background: rgba(255,255,255,0.25);
  border-radius: 100px;
  margin: 8px auto 10px;
}

/* Simulation */
.booking-showcase__sim {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.booking-showcase__sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(180deg, #1565A0 0%, var(--color-secondary) 100%);
  color: var(--color-white);
}

.booking-showcase__sim-logo {
  font-weight: 800;
  font-size: 0.85rem;
}

.booking-showcase__sim-status {
  font-size: 0.7rem;
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
}

.booking-showcase__sim-body {
  padding: 1.25rem 1rem;
  flex: 1;
}

/* Sim Steps */
.booking-showcase__sim-step {
  display: none;
  animation: bookingStepIn 0.35s ease-out;
}

.booking-showcase__sim-step.active {
  display: block;
}

.booking-showcase__sim-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

/* Service Pills */
.booking-showcase__sim-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.booking-showcase__sim-pill {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.booking-showcase__sim-pill:hover {
  border-color: rgba(var(--color-secondary-rgb), 0.4);
  background: rgba(var(--color-secondary-rgb), 0.03);
}

.booking-showcase__sim-pill.is-selected {
  border-color: var(--color-secondary);
  background: rgba(var(--color-secondary-rgb), 0.06);
  color: var(--color-secondary);
}

/* Time Slots */
.booking-showcase__sim-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.booking-showcase__sim-time {
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--color-text);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.booking-showcase__sim-time:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.booking-showcase__sim-time.is-selected {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}

/* Form Inputs */
.booking-showcase__sim-input {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #F8FAFC;
  margin-bottom: 0.5rem;
  outline: none;
  transition: border-color 0.2s;
}

.booking-showcase__sim-input:focus {
  border-color: var(--color-secondary);
  background: var(--color-white);
}

.booking-showcase__sim-confirm {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}

.booking-showcase__sim-confirm:hover {
  background: #1565A0;
}

/* Success */
.booking-showcase__sim-success {
  text-align: center;
  padding: 1.5rem 0;
}

.booking-showcase__sim-check-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ADE80, #16A34A);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  animation: simPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes simPop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.booking-showcase__sim-success strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.booking-showcase__sim-success p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.booking-showcase__sim-email-note {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: rgba(var(--color-secondary-rgb), 0.06);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* Responsive */
@media (max-width: 768px) {
  .booking-showcase__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .booking-showcase__visual {
    order: -1;
  }

  .iphone-frame {
    width: 260px;
  }

  .iphone-frame__screen {
    min-height: 420px;
  }

  .iphone-frame__dynamic-island {
    width: 85px;
    height: 24px;
    top: 8px;
  }

  .iphone-frame__side-btn { display: none; }
}

/* ─── CONTACT ────────────────────────────────── */
.contact {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__info .section-label,
.contact__info .section-title {
  text-align: left;
}

.contact__desc {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact__detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-secondary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.contact__detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact__detail h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.contact__detail p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact__detail a:hover {
  color: var(--color-accent);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Form */
.contact__form-wrap {
  position: sticky;
  top: 6rem;
}

.contact__form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.contact__form-title {
  font-size: 1.35rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: var(--color-bg);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.15);
  background: var(--color-white);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.form-link {
  color: var(--color-accent);
  text-decoration: underline;
}

.contact__form-success {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--color-success);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 0.5s ease;
}

.contact__form-success svg {
  width: 40px;
  height: 40px;
}

.contact__form-success p {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer__logo-icon {
  color: var(--color-accent);
}

.footer__logo span {
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.footer__about {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__social {
  display: flex;
  gap: 0.5rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer__social a svg {
  width: 16px;
  height: 16px;
}

.footer__social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer__links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.footer__contact li svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  padding: 1.25rem 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a:hover {
  color: var(--color-accent);
}

/* ─── APP DOWNLOAD BANNER ────────────────────── */
/* ─── APP BANNER — Premium Redesign ──────────── */
.app-banner {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(165deg, #060B18 0%, #0B1A3B 35%, #0E2040 60%, #091428 100%);
  position: relative;
  overflow: hidden;
}

.app-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.app-banner__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.app-banner__glow--1 {
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(27, 127, 195, 0.12) 0%, transparent 70%);
}

.app-banner__glow--2 {
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.app-banner__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.app-banner__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(27, 127, 195, 0.5);
  animation: appParticleFloat 6s ease-in-out infinite;
}

.app-banner__particle:nth-child(even) {
  background: rgba(201, 168, 76, 0.4);
  width: 3px;
  height: 3px;
}

@keyframes appParticleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-20px) scale(1.3); opacity: 0.8; }
}

/* Header */
.app-banner__header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  position: relative;
  z-index: 1;
}

.app-banner__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary-light);
  margin-bottom: 1.25rem;
}

.app-banner__label-line {
  width: 28px;
  height: 2px;
  background: var(--color-secondary);
  display: inline-block;
}

.app-banner__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.app-banner__heading-accent {
  color: var(--color-accent);
}

/* Layout */
.app-banner__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Phone column */
.app-banner__phone-col {
  display: flex;
  justify-content: center;
}

.app-banner__phone-scene {
  position: relative;
}

.app-banner__phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(27, 127, 195, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.app-banner__iphone {
  position: relative;
  width: 280px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1a1a2e,
    0 0 0 4px #2a2a45,
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 0 2px rgba(255,255,255,0.05);
  animation: iphoneFloat 4s ease-in-out infinite;
}

.app-banner__iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.app-banner__iphone-notch::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a1a3a, #0a0a15);
  box-shadow: inset 0 0 2px rgba(27, 127, 195, 0.3);
}

.app-banner__iphone-screen {
  background: linear-gradient(180deg, #0B1A3B 0%, #0E2040 100%);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 17.5;
}

/* App UI inside phone */
.app-banner__app-ui {
  padding: 0.75rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-banner__app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  padding: 0.4rem 0.25rem;
  margin-bottom: 0.5rem;
}

.app-banner__app-status-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.app-banner__app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}

.app-banner__app-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  font-family: var(--font-heading);
}

.app-banner__app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-banner__app-welcome {
  margin-bottom: 1rem;
}

.app-banner__app-greeting {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.15rem;
}

.app-banner__app-sub {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
}

.app-banner__app-card {
  background: rgba(27, 127, 195, 0.1);
  border: 1px solid rgba(27, 127, 195, 0.2);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.app-banner__app-card-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-secondary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.app-banner__app-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.app-banner__app-card-body strong {
  font-size: 0.8rem;
  color: white;
}

.app-banner__app-card-body span {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
}

.app-banner__app-card-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  font-size: 0.65rem !important;
  color: rgba(255,255,255,0.7) !important;
  width: fit-content;
}

.app-banner__app-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.app-banner__app-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.25rem;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition-fast);
}

.app-banner__app-action span {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Trust badge under phone */
.app-banner__phone-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

/* Content column */
.app-banner__content-col {
  display: flex;
  flex-direction: column;
}

.app-banner__free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.app-banner__free-badge svg {
  color: #10B981;
}

.app-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.app-banner__desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 0.75rem;
}

.app-banner__desc-secondary {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* Feature pills */
.app-banner__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.app-banner__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-base);
}

.app-banner__pill svg {
  flex-shrink: 0;
  color: var(--color-secondary-light);
}

.app-banner__pill:hover {
  background: rgba(27, 127, 195, 0.1);
  border-color: rgba(27, 127, 195, 0.25);
  color: #fff;
}

/* Platforms */
.app-banner__platforms {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.app-banner__platforms-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

.app-banner__platform-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-banner__platform-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  position: relative;
}

.app-banner__platform-icon--active::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  border: 2px solid #0B1A3B;
}

.app-banner__platform-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Store buttons */
.app-banner__stores {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-banner__store {
  display: block;
  transition: all var(--transition-base);
  border-radius: 8px;
  overflow: hidden;
}

.app-banner__store:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.app-banner__store-svg {
  height: 48px;
  width: auto;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .app-banner__layout {
    gap: 3rem;
  }

  .app-banner__iphone {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .app-banner__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-banner__phone-col {
    order: -1;
  }

  .app-banner__iphone {
    width: 240px;
  }

  .app-banner__content-col {
    align-items: center;
  }

  .app-banner__desc,
  .app-banner__desc-secondary {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .app-banner__features {
    justify-content: center;
  }

  .app-banner__platforms {
    justify-content: center;
  }

  .app-banner__stores {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .app-banner__iphone {
    width: 220px;
  }

  .app-banner__heading {
    font-size: 1.8rem;
  }

  .app-banner__store-svg {
    height: 42px;
  }
}

/* ─── RECEPTIONIST WIDGET ────────────────────── */
.receptionist-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  font-family: var(--font-body);
}

/* Toggle Button */
.receptionist-widget__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1565A0 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(var(--color-secondary-rgb), 0.4);
  transition: all var(--transition-base);
  position: relative;
}

.receptionist-widget__toggle:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--color-secondary-rgb), 0.5);
}

.receptionist-widget__toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
}

.receptionist-widget__toggle-icon--close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.receptionist-widget.is-open .receptionist-widget__toggle-icon--open {
  opacity: 0;
  transform: rotate(90deg);
}

.receptionist-widget.is-open .receptionist-widget__toggle-icon--close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Badge */
.receptionist-widget__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--color-cta);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
  transition: opacity 0.2s;
}

.receptionist-widget.is-open .receptionist-widget__badge {
  opacity: 0;
}

/* Tooltip */
.receptionist-widget__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.receptionist-widget__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--color-primary);
}

.receptionist-widget__toggle:hover ~ .receptionist-widget__tooltip {
  opacity: 1;
}

.receptionist-widget.is-open .receptionist-widget__tooltip {
  opacity: 0 !important;
}

/* Chat Panel */
.receptionist-widget__panel {
  position: absolute;
  bottom: calc(100% + 16px);
  right: 0;
  width: 370px;
  max-height: 520px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.receptionist-widget.is-open .receptionist-widget__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.receptionist-widget__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1565A0 100%);
  color: var(--color-white);
}

.receptionist-widget__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.receptionist-widget__status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #4ADE80;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
}

.receptionist-widget__header-info {
  flex: 1;
  min-width: 0;
}

.receptionist-widget__name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.receptionist-widget__status {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

.receptionist-widget__close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--color-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.receptionist-widget__close:hover {
  background: rgba(255,255,255,0.25);
}

/* Messages */
.receptionist-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 120px;
  max-height: 240px;
  background: #F8FAFC;
}

.receptionist-widget__msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: msgFadeIn 0.3s ease-out;
}

@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.receptionist-widget__msg--bot {
  align-self: flex-start;
}

.receptionist-widget__msg--user {
  align-self: flex-end;
}

.receptionist-widget__msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.receptionist-widget__msg--bot .receptionist-widget__msg-bubble {
  background: var(--color-white);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.receptionist-widget__msg--user .receptionist-widget__msg-bubble {
  background: var(--color-secondary);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.receptionist-widget__msg-time {
  font-size: 0.7rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
  padding: 0 0.25rem;
}

.receptionist-widget__msg--user .receptionist-widget__msg-time {
  text-align: right;
}

/* Quick Replies */
.receptionist-widget__quick {
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.receptionist-widget__quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1.5px solid rgba(var(--color-secondary-rgb), 0.25);
  background: rgba(var(--color-secondary-rgb), 0.04);
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.receptionist-widget__quick-btn:hover {
  background: rgba(var(--color-secondary-rgb), 0.1);
  border-color: rgba(var(--color-secondary-rgb), 0.4);
  transform: translateY(-1px);
}

/* Input Area */
.receptionist-widget__input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.receptionist-widget__input {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #F8FAFC;
  outline: none;
  transition: border-color 0.2s;
}

.receptionist-widget__input:focus {
  border-color: var(--color-secondary);
  background: var(--color-white);
}

.receptionist-widget__input::placeholder {
  color: var(--color-text-light);
}

.receptionist-widget__send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--color-secondary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.receptionist-widget__send:hover {
  background: #1565A0;
  transform: scale(1.05);
}

/* Typing indicator */
.receptionist-widget__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.75rem 1.1rem !important;
}

.receptionist-widget__typing span {
  width: 7px;
  height: 7px;
  background: rgba(var(--color-secondary-rgb), 0.4);
  border-radius: 50%;
  animation: typingDot 1.4s ease-in-out infinite;
}

.receptionist-widget__typing span:nth-child(2) { animation-delay: 0.2s; }
.receptionist-widget__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Widget inline slot buttons */
.rw-slot-btn {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(var(--color-secondary-rgb), 0.25);
  background: rgba(var(--color-secondary-rgb), 0.04);
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}

.rw-slot-btn:hover {
  background: rgba(var(--color-secondary-rgb), 0.1);
  border-color: var(--color-secondary);
  transform: translateY(-1px);
}

/* Widget on mobile - full width panel */
@media (max-width: 480px) {
  .receptionist-widget__panel {
    width: calc(100vw - 2rem);
    right: -0.5rem;
    max-height: 70vh;
  }
}

/* ─── BOOKING MODAL ─────────────────────────── */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(11, 26, 59, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

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

.booking {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 3rem);
  background: var(--color-white);
  border-radius: var(--radius-xl, 1.25rem);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-overlay.is-active .booking {
  transform: translateY(0) scale(1);
}

/* Close button */
.booking__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.06);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.booking__close:hover {
  background: rgba(0,0,0,0.1);
  transform: rotate(90deg);
}

/* Progress Bar */
.booking__progress {
  height: 3px;
  background: var(--color-border);
}

.booking__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-secondary), #1D9BF0);
  border-radius: 0 4px 4px 0;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Steps Nav */
.booking__steps-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 2rem 0.5rem;
}

.booking__step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.booking__step-dot.active {
  opacity: 1;
}

.booking__step-dot.completed {
  opacity: 0.7;
}

.booking__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s;
}

.booking__step-dot.active .booking__step-num {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(var(--color-secondary-rgb), 0.35);
}

.booking__step-dot.completed .booking__step-num {
  background: #4ADE80;
  color: var(--color-white);
}

.booking__step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking__step-dot.active .booking__step-label {
  color: var(--color-secondary);
}

.booking__step-connector {
  width: 40px;
  height: 2px;
  background: var(--color-border);
  margin: 0 0.5rem;
  margin-bottom: 1.2rem;
  border-radius: 2px;
  transition: background 0.3s;
}

.booking__step-connector.completed {
  background: #4ADE80;
}

/* Step Content */
.booking__step {
  display: none;
  padding: 1.25rem 2rem;
  overflow-y: auto;
  max-height: calc(100vh - 16rem);
  animation: bookingStepIn 0.35s ease-out;
}

.booking__step.active {
  display: block;
}

@keyframes bookingStepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.booking__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.booking__subtitle {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* Service Cards - Step 1 */
.booking__services {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.booking__service-card {
  cursor: pointer;
}

.booking__service-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking__service-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  background: var(--color-white);
}

.booking__service-inner:hover {
  border-color: rgba(var(--color-secondary-rgb), 0.3);
  background: rgba(var(--color-secondary-rgb), 0.02);
}

.booking__service-radio:checked ~ .booking__service-inner {
  border-color: var(--color-secondary);
  background: rgba(var(--color-secondary-rgb), 0.04);
  box-shadow: 0 0 0 3px rgba(var(--color-secondary-rgb), 0.1);
}

.booking__service-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(var(--color-secondary-rgb), 0.08);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking__service-icon svg,
.booking__service-icon i {
  width: 20px;
  height: 20px;
}

.booking__service-info {
  flex: 1;
}

.booking__service-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.booking__service-info span {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.booking__service-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  color: transparent;
}

.booking__service-radio:checked ~ .booking__service-inner .booking__service-check {
  border-color: var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Calendar - Step 2 */
.booking__calendar {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.booking__cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.booking__cal-month {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

.booking__cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.booking__cal-nav:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.booking__cal-nav i { width: 16px; height: 16px; }

.booking__cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.4rem;
}

.booking__cal-weekdays span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  padding: 0.3rem 0;
}

.booking__cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.booking__cal-day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.15s;
}

.booking__cal-day:hover:not(:disabled):not(.is-selected) {
  background: rgba(var(--color-secondary-rgb), 0.08);
}

.booking__cal-day.is-today {
  font-weight: 700;
  color: var(--color-secondary);
}

.booking__cal-day.is-selected {
  background: var(--color-secondary);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(var(--color-secondary-rgb), 0.3);
}

.booking__cal-day:disabled {
  opacity: 0.25;
  cursor: default;
}

.booking__cal-day.is-empty {
  visibility: hidden;
}

/* Time Slots */
.booking__time-section {
  animation: bookingStepIn 0.3s ease-out;
}

.booking__time-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.booking__time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.booking__time-slot {
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-family: var(--font-body);
}

.booking__time-slot:hover:not(.is-selected) {
  border-color: rgba(var(--color-secondary-rgb), 0.4);
  background: rgba(var(--color-secondary-rgb), 0.03);
}

.booking__time-slot.is-selected {
  border-color: var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(var(--color-secondary-rgb), 0.25);
}

.booking__time-slot:disabled {
  opacity: 0.3;
  cursor: default;
  text-decoration: line-through;
}

/* Form - Step 3 */
.booking__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking__form-row {
  display: flex;
  gap: 1rem;
}

.booking__form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.booking__form-group {
  flex: 1;
}

.booking__form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.booking__form-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #F8FAFC;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.booking__form-input:focus {
  border-color: var(--color-secondary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(var(--color-secondary-rgb), 0.08);
}

.booking__form-input.has-error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.booking__form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.booking__form-textarea {
  resize: vertical;
  min-height: 70px;
}

.booking__form-consent {
  margin-top: 0.25rem;
}

.booking__form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  cursor: pointer;
  line-height: 1.5;
}

.booking__form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-secondary);
  flex-shrink: 0;
}

.booking__form-link {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* Confirmation - Step 4 */
.booking__confirm {
  text-align: center;
  padding: 1rem 0;
}

.booking__confirm-icon {
  margin-bottom: 1.25rem;
}

.booking__confirm-circle {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: circleIn 0.8s ease-out 0.2s forwards;
}

.booking__confirm-check {
  fill: none;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: checkIn 0.5s ease-out 0.7s forwards;
}

@keyframes circleIn {
  to { stroke-dashoffset: 0; }
}

@keyframes checkIn {
  to { stroke-dashoffset: 0; }
}

.booking__confirm-summary {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem auto;
  max-width: 380px;
  text-align: left;
}

.booking__confirm-summary .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.booking__confirm-summary .summary-row:last-child {
  border-bottom: none;
}

.booking__confirm-summary .summary-label {
  color: var(--color-text-light);
  font-weight: 500;
}

.booking__confirm-summary .summary-value {
  color: var(--color-primary);
  font-weight: 700;
}

.booking__confirm-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 380px;
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  background: rgba(var(--color-secondary-rgb), 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: left;
  line-height: 1.5;
}

.booking__confirm-note i {
  color: var(--color-secondary);
}

/* Footer Navigation */
.booking__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 1.5rem;
  gap: 1rem;
}

.booking__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.booking__btn--back {
  background: transparent;
  color: var(--color-text-light);
  padding-left: 1rem;
}

.booking__btn--back:hover {
  color: var(--color-text);
}

.booking__btn--next {
  background: var(--color-secondary);
  color: var(--color-white);
  margin-left: auto;
  box-shadow: 0 2px 10px rgba(var(--color-secondary-rgb), 0.3);
}

.booking__btn--next:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--color-secondary-rgb), 0.4);
}

.booking__btn--next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 600px) {
  .booking {
    max-height: calc(100vh - 2rem);
    border-radius: var(--radius-lg);
  }

  .booking__step {
    padding: 1rem 1.25rem;
  }

  .booking__footer {
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .booking__steps-nav {
    padding: 1rem 1rem 0.25rem;
  }

  .booking__step-connector {
    width: 24px;
  }

  .booking__step-label {
    font-size: 0.6rem;
  }

  .booking__time-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking__form-row--2col {
    grid-template-columns: 1fr;
  }

  .booking__title {
    font-size: 1.25rem;
  }
}

/* ─── BACK TO TOP ────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: var(--z-receptionist);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ─── LIGHTBOX (Enhanced) ────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 59, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox__content {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 85%;
  max-height: 85vh;
}

.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: lightboxZoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.2s;
}

@keyframes lightboxZoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.08);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
  .lightbox__nav--prev { left: 0.75rem; }
  .lightbox__nav--next { right: 0.75rem; }
  .lightbox__content { max-width: 95%; }
}

/* ─── SCROLL REVEAL ANIMATIONS ───────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes btnRipple {
  to { transform: scale(1); opacity: 0; }
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1280px) {
  .navbar__phone-text {
    display: none;
  }

  .navbar__link {
    font-size: 0.78rem;
    padding: 0.4rem 0.45rem;
  }

  .navbar__cta {
    font-size: 0.75rem;
    padding: 0.5rem 0.9rem;
  }
}

@media (max-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .navbar__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--color-white);
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-xl);
    /* Use transform instead of right:-100% to avoid iOS Safari horizontal overflow/bounce */
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-overlay);
  }

  .navbar__nav.open {
    transform: translateX(0);
  }

  .navbar__list {
    flex-direction: column;
    gap: 0;
  }

  .navbar__link {
    color: var(--color-text);
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border-light);
    border-radius: 0;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__phone-text {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .lang-switch__code { display: none; }
  .lang-switch__current { padding: 0.35rem 0.45rem; }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__media {
    max-width: 500px;
    margin: 0 auto;
    /* Prevent accent image (right: -2rem) and badge (left: -1.5rem) from causing horizontal overflow */
    overflow: clip;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba__cases {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .tourism__steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tourism__step {
    flex: 0 0 calc(33.333% - 0.67rem);
  }

  .tourism__benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__form-wrap {
    position: static;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .tourism__step {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .tourism__benefits {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing__table {
    font-size: 0.8rem;
  }

  .pricing__table th,
  .pricing__table td {
    padding: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .receptionist-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .receptionist-widget__toggle {
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    right: 4.5rem;
    bottom: 1.25rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {

  .about__features {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 1.75rem;
  }
}

/* ─── DARK MODE ──────────────────────────────── */
.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  cursor: pointer;
  transition: var(--transition-base);
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: rotate(15deg) scale(1.08);
}

.navbar.scrolled .theme-toggle {
  border-color: var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.navbar.scrolled .theme-toggle:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.theme-toggle__icon {
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Dark theme CSS variables override */
[data-theme="dark"] {
  --color-bg: #0D1117;
  --color-bg-alt: #161B22;
  --color-bg-medical: #0D1926;
  --color-white: #1A2332;
  --color-text: #E6EDF3;
  --color-text-light: #9BAAB8;
  --color-text-muted: #6B7D8F;
  --color-border: #2A3545;
  --color-border-light: #1F2937;
  --color-primary: #E6EDF3;
  --color-primary-light: #C9D6E3;
  --color-primary-rgb: 230, 237, 243;
}

[data-theme="dark"] body {
  background-color: #0D1117;
  color: #E6EDF3;
}

[data-theme="dark"] .topbar {
  background: #0B1520;
  border-color: #1F2937;
}

[data-theme="dark"] .navbar {
  background: transparent;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(13, 17, 23, 0.95);
  border-color: #1F2937;
}

[data-theme="dark"] .navbar__logo-name {
  color: #E6EDF3;
}

[data-theme="dark"] .navbar.scrolled .navbar__link {
  color: #9BAAB8;
}

[data-theme="dark"] .navbar.scrolled .navbar__link:hover,
[data-theme="dark"] .navbar.scrolled .navbar__link.active {
  color: var(--color-secondary-light);
}

[data-theme="dark"] .section-title {
  color: #E6EDF3;
}

[data-theme="dark"] .section-label {
  color: var(--color-secondary-light);
  background: rgba(27, 127, 195, 0.12);
}

[data-theme="dark"] .about,
[data-theme="dark"] .services,
[data-theme="dark"] .team,
[data-theme="dark"] .gallery,
[data-theme="dark"] .pricing,
[data-theme="dark"] .faq,
[data-theme="dark"] .booking-showcase {
  background: #0D1117;
}

[data-theme="dark"] .before-after,
[data-theme="dark"] .testimonials,
[data-theme="dark"] .tourism {
  background: #161B22;
}

[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .service-card {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .testimonial-card:hover,
[data-theme="dark"] .service-card:hover {
  border-color: rgba(27, 127, 195, 0.3);
}

[data-theme="dark"] .contact {
  background: #0B1520;
}

[data-theme="dark"] .contact__form {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: #0D1117;
  border-color: #2A3545;
  color: #E6EDF3;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  border-color: var(--color-secondary);
  background: #0B1520;
}

[data-theme="dark"] .footer {
  background: #010409;
}

[data-theme="dark"] .pricing__table {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .pricing__table th {
  background: #0B1520;
  color: #E6EDF3;
}

[data-theme="dark"] .pricing__table td {
  border-color: #2A3545;
  color: #C9D6E3;
}

[data-theme="dark"] .pricing__table tbody tr:hover {
  background: rgba(27, 127, 195, 0.06);
}

[data-theme="dark"] .faq__item {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .faq__question {
  color: #E6EDF3;
}

[data-theme="dark"] .faq__answer {
  color: #9BAAB8;
}

[data-theme="dark"] .receptionist-widget__panel {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .receptionist-widget__input input {
  background: #0D1117;
  border-color: #2A3545;
  color: #E6EDF3;
}

[data-theme="dark"] .rw-msg--bot {
  background: #0D1926;
  color: #C9D6E3;
}

[data-theme="dark"] .booking-modal__content {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .booking-modal__service-card {
  background: #0D1117;
  border-color: #2A3545;
}

[data-theme="dark"] .booking-modal__service-card.active {
  border-color: var(--color-secondary);
  background: #0D1926;
}

[data-theme="dark"] .booking-modal__time-btn {
  background: #0D1117;
  border-color: #2A3545;
  color: #C9D6E3;
}

[data-theme="dark"] .booking-modal__time-btn.active {
  background: var(--color-secondary);
  color: #fff;
}

[data-theme="dark"] .info-bar {
  background: #0B1520;
}

[data-theme="dark"] .lang-switch__dropdown {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .lang-switch__option:hover {
  background: #0D1926;
}

[data-theme="dark"] .back-to-top {
  background: rgba(27, 127, 195, 0.2);
  border-color: #2A3545;
  color: var(--color-secondary-light);
}

[data-theme="dark"] .mobile-cta {
  background: rgba(13, 17, 23, 0.95);
  border-color: #1F2937;
}

[data-theme="dark"] .lightbox {
  background: rgba(0, 0, 0, 0.92);
}

[data-theme="dark"] .wave-divider__fill {
  fill: #161B22;
}

[data-theme="dark"] .wave-divider--1 .wave-divider__fill { fill: #0D1117; }
[data-theme="dark"] .wave-divider--3 .wave-divider__fill { fill: #0B1520; }

/* ── Dark Mode Hero Fix ── */
/* In dark mode, --color-primary-rgb becomes light (for text),
   but the hero overlay needs to stay DARK to not wash out the image */
[data-theme="dark"] .hero {
  background: #070D18;
}

[data-theme="dark"] .hero__overlay-gradient {
  background: linear-gradient(
    135deg,
    rgba(7, 13, 24, 0.95) 0%,
    rgba(7, 13, 24, 0.8) 30%,
    rgba(7, 13, 24, 0.55) 60%,
    rgba(7, 13, 24, 0.35) 100%
  );
}

[data-theme="dark"] .hero__overlay-vignette {
  background: radial-gradient(
    ellipse 70% 60% at 50% 45%,
    transparent 0%,
    rgba(7, 13, 24, 0.4) 100%
  );
}

[data-theme="dark"] .hero__overlay-accent {
  background: radial-gradient(
    ellipse 50% 50% at 20% 30%,
    rgba(201, 168, 76, 0.05) 0%,
    transparent 70%
  );
}

[data-theme="dark"] .hero__title {
  color: #F0F4F8;
}

[data-theme="dark"] .hero__badge {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.25);
}

[data-theme="dark"] .btn--glass {
  color: #F0F4F8;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ─── TRUST STATS BAR ────────────────────────── */
.trust-stats {
  position: relative;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: linear-gradient(135deg, #0B1A3B 0%, #0E2040 50%, #0B1A3B 100%);
  overflow: hidden;
}

.trust-stats__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.trust-stats__gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(27, 127, 195, 0.08) 0%, transparent 70%);
}

.trust-stats__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.trust-stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1rem 0.5rem;
}

.trust-stats__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-stats__icon svg, .trust-stats__icon i {
  width: 24px;
  height: 24px;
}

.trust-stats__icon--google { background: rgba(66, 133, 244, 0.1); border-color: rgba(66, 133, 244, 0.15); }
.trust-stats__icon--award { color: #C9A84C; background: rgba(201, 168, 76, 0.1); border-color: rgba(201, 168, 76, 0.15); }
.trust-stats__icon--cert { color: #10B981; background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.15); }
.trust-stats__icon--patients { color: #FF6B35; background: rgba(255, 107, 53, 0.1); border-color: rgba(255, 107, 53, 0.15); }

.trust-stats__value {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.trust-stats__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.trust-stats__suffix {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.trust-stats__stars {
  margin: 0.1rem 0;
}

.trust-stats__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.trust-stats__sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.3;
}

.trust-stats__divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .trust-stats__grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-stats__item {
    flex: 0 0 calc(50% - 1rem);
  }

  .trust-stats__divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .trust-stats__item {
    flex: 0 0 100%;
  }
}

/* ─── HORIZON DIGITAL STUDIO PROMO BANNER ───── */
.promo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 550;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.promo-banner[hidden] {
  display: block;
  transform: translateY(100%);
}

.promo-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.promo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.5rem;
  background: linear-gradient(135deg, rgba(11, 26, 59, 0.92) 0%, rgba(18, 37, 80, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 -2px 20px rgba(11, 26, 59, 0.15);
}

.promo-banner__content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.promo-banner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.promo-banner__h-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #9B6DFF 0%, #C084FC 50%, #7C3AED 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 8px rgba(155, 109, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner__logo:hover .promo-banner__h-icon {
  transform: scale(1.1);
  box-shadow: 0 3px 12px rgba(155, 109, 255, 0.5);
}

.promo-banner__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.4;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.promo-banner__text a {
  color: #C9A84C;
  text-decoration: none;
  transition: color 0.2s ease;
}

.promo-banner__text a:hover {
  color: #e0c06a;
}

.promo-banner__text strong {
  font-weight: 700;
}

.promo-banner__close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.promo-banner__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.promo-banner__close i, .promo-banner__close svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 480px) {
  .promo-banner__inner {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .promo-banner__text {
    font-size: 0.72rem;
  }

  .promo-banner__h-icon {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }
}

/* ─── ACCESSIBILITY WIDGET ───────────────────── */
.a11y-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 490;
}

.a11y-widget__toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.a11y-widget__toggle:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
  transform: scale(1.1);
}

.a11y-widget__panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 0;
  width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: a11ySlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.a11y-widget__panel[hidden] {
  display: none;
}

@keyframes a11ySlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.a11y-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.85rem;
  color: var(--color-text);
}

.a11y-widget__close {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.a11y-widget__close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.a11y-widget__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.82rem;
  color: var(--color-text);
}

.a11y-widget__option:last-child {
  border-bottom: none;
}

.a11y-widget__font-controls {
  display: flex;
  gap: 0.3rem;
}

.a11y-widget__font-btn {
  width: 32px;
  height: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.a11y-widget__font-btn:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}

.a11y-widget__switch {
  position: relative;
  width: 38px;
  height: 20px;
  cursor: pointer;
}

.a11y-widget__switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.a11y-widget__switch-slider {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 10px;
  transition: var(--transition-base);
}

.a11y-widget__switch-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition-base);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.a11y-widget__switch input:checked + .a11y-widget__switch-slider {
  background: var(--color-secondary);
}

.a11y-widget__switch input:checked + .a11y-widget__switch-slider::before {
  transform: translateX(18px);
}

[data-theme="dark"] .a11y-widget__toggle {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .a11y-widget__panel {
  background: #161B22;
  border-color: #2A3545;
}

[data-theme="dark"] .a11y-widget__header {
  border-color: #2A3545;
}

[data-theme="dark"] .a11y-widget__option {
  border-color: #2A3545;
}

[data-theme="dark"] .a11y-widget__font-btn {
  background: #0D1117;
  border-color: #2A3545;
  color: #C9D6E3;
}

/* High contrast mode */
[data-contrast="high"] {
  --color-text: #000 !important;
  --color-bg: #fff !important;
  --color-bg-alt: #f0f0f0 !important;
}

[data-contrast="high"] .section-title,
[data-contrast="high"] .hero__title-word {
  color: #000 !important;
}

[data-theme="dark"][data-contrast="high"] {
  --color-text: #fff !important;
  --color-bg: #000 !important;
}

@media (max-width: 480px) {
  .a11y-widget {
    bottom: 5.5rem;
    left: 1rem;
  }

  .a11y-widget__toggle {
    width: 38px;
    height: 38px;
  }
}

/* ─── TEAM MEMBER MODAL ─────────────────────── */
.team-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.45rem 1rem 0.45rem 0;
  border: none;
  background: transparent;
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Animated underline */
.team-card__more::after {
  content: '';
  position: absolute;
  bottom: 0.3rem;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card__more:hover::after {
  width: calc(100% - 1.5rem);
}

.team-card__more i,
.team-card__more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card__more:hover {
  color: var(--color-secondary-light);
}

.team-card__more:hover i,
.team-card__more:hover svg {
  transform: translateX(5px);
}

.team-card[data-team-modal] {
  cursor: pointer;
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.team-modal[hidden] {
  display: none;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease forwards;
}

.team-modal__content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: teamModalIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes teamModalIn {
  from { opacity: 0; transform: scale(0.9) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.team-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-base);
  line-height: 1;
}

.team-modal__close:hover {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
  transform: rotate(90deg);
}

.team-modal__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 2rem;
}

.team-modal__photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.team-modal__photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.team-modal__stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.team-modal__stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  background: var(--color-bg-medical);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.team-modal__stat i,
.team-modal__stat svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.team-modal__role {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(var(--color-secondary-rgb), 0.1);
  color: var(--color-secondary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.team-modal__name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.team-modal__certs,
.team-modal__edu {
  margin-bottom: 1rem;
}

.team-modal__certs h4,
.team-modal__edu h4 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.team-modal__certs h4 i, .team-modal__certs h4 svg,
.team-modal__edu h4 i, .team-modal__edu h4 svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.team-modal__certs p,
.team-modal__edu p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.team-modal__bio {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.team-modal__bio p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text);
}

.team-modal__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.team-modal__cta i,
.team-modal__cta svg {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .team-modal__content {
  background: #161B22;
}

[data-theme="dark"] .team-modal__close {
  background: #0D1117;
  border-color: #2A3545;
  color: #E6EDF3;
}

[data-theme="dark"] .team-modal__name {
  color: #E6EDF3;
}

[data-theme="dark"] .team-modal__stat {
  background: #0D1926;
  color: #C9D6E3;
}

[data-theme="dark"] .team-modal__bio p {
  color: #C9D6E3;
}

[data-theme="dark"] .team-modal__bio {
  border-color: #2A3545;
}

@media (max-width: 768px) {
  .team-modal__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .team-modal__photo {
    height: 220px;
    width: 100%;
  }

  .team-modal__stats {
    flex-direction: row;
  }

  .team-modal__stat {
    flex: 1;
    font-size: 0.78rem;
  }

  .team-modal__name {
    font-size: 1.4rem;
  }
}

/* ─── CUSTOM CURSOR ──────────────────────────── */
.custom-cursor {
  display: none;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  mix-blend-mode: difference;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    display: block;
  }

  body:not([data-no-cursor]) * {
    cursor: none !important;
  }
}

.custom-cursor__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.custom-cursor__ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.2s ease,
              background 0.2s ease;
}

.custom-cursor.is-hovering .custom-cursor__dot {
  width: 0;
  height: 0;
  opacity: 0;
}

.custom-cursor.is-hovering .custom-cursor__ring {
  width: 60px;
  height: 60px;
  border-color: rgba(var(--color-secondary-rgb), 0.6);
  background: rgba(var(--color-secondary-rgb), 0.08);
}

.custom-cursor.is-clicking .custom-cursor__ring {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

.custom-cursor.is-hidden {
  opacity: 0;
}

/* ─── HERO TYPING ANIMATION ─────────────────── */
.hero__typed-prefix {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.hero__typed {
  color: var(--color-accent);
  font-weight: 600;
}

.hero__typed-cursor {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 300;
  animation: typedBlink 0.8s steps(2) infinite;
  margin-left: 1px;
}

@keyframes typedBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__subtitle--secondary {
  font-size: 1rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .hero__subtitle--secondary {
    font-size: 0.9rem;
  }
}

/* Dark mode transitions for smooth switching */
.about, .services, .team, .gallery, .pricing, .faq,
.booking-showcase, .before-after, .testimonials, .tourism,
.contact, .footer, .info-bar, .team-card, .testimonial-card,
.service-card, .contact__form, .pricing__table, .faq__item,
.cookie-consent, .receptionist-widget__panel, .booking-modal__content,
.booking-modal__service-card, .navbar.scrolled, .topbar,
.form-group input, .form-group select, .form-group textarea,
.lang-switch__dropdown {
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.4s ease;
}

/* ─── WAVE DIVIDERS ─────────────────────────────── */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider__fill {
  fill: var(--color-bg);
  transition: fill 0.5s ease;
}

.wave-divider--1 .wave-divider__fill {
  fill: var(--color-bg);
}

.wave-divider--2 .wave-divider__fill {
  fill: var(--color-bg-alt);
}

.wave-divider--3 .wave-divider__fill {
  fill: var(--color-bg-medical);
}

@media (min-width: 768px) {
  .wave-divider svg {
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .wave-divider svg {
    height: 100px;
  }
}

/* ─── SOCIAL PROOF NOTIFICATIONS ─────────────── */
.social-proof {
  position: fixed;
  bottom: 6rem;
  left: 2rem;
  z-index: 450;
  max-width: 340px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  /* Use translateY instead of translateX to avoid iOS Safari horizontal overflow/bounce */
  transform: translateY(calc(100% + 6rem));
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}

.social-proof.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.social-proof__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.social-proof__avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-secondary);
  background: var(--color-bg-alt);
}

.social-proof__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-proof__content {
  flex: 1;
  min-width: 0;
}

.social-proof__text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}

.social-proof__text strong {
  color: var(--color-primary);
  font-weight: 700;
}

.social-proof__time {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.social-proof__time::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: socialPulse 2s infinite;
}

@keyframes socialPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.social-proof__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
  padding: 0;
}

.social-proof__close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.social-proof__progress {
  height: 3px;
  background: var(--color-border-light);
}

.social-proof__progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  animation: socialProgress 5s linear forwards;
}

.social-proof.is-visible .social-proof__progress::after {
  animation: socialProgress 5s linear forwards;
}

@keyframes socialProgress {
  from { width: 0%; }
  to { width: 100%; }
}

[data-theme="dark"] .social-proof {
  background: #161B22;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .social-proof__text {
  color: #E6EDF3;
}

[data-theme="dark"] .social-proof__text strong {
  color: #fff;
}

@media (max-width: 480px) {
  .social-proof {
    left: 1rem;
    right: 1rem;
    bottom: 9rem;
    max-width: none;
  }
}

/* ─── PRICING ENHANCEMENTS ───────────────────── */
.pricing__col--savings {
  text-align: center;
  white-space: nowrap;
}

.pricing__table thead .pricing__col--savings {
  background: var(--color-success) !important;
  color: #fff !important;
}

.pricing__savings-value {
  display: inline-block;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-success);
  font-family: var(--font-heading);
}

.pricing__badge--save {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pricing__row--popular {
  position: relative;
}

.pricing__row--popular td {
  background: rgba(var(--color-accent-rgb), 0.03);
}

.pricing__row--popular td:first-child {
  border-left: 3px solid var(--color-accent);
}

.pricing__procedure {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pricing__popular-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing__popular-tag i,
.pricing__popular-tag svg {
  width: 12px;
  height: 12px;
}

.pricing__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(var(--color-secondary-rgb), 0.05), rgba(var(--color-accent-rgb), 0.05));
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(var(--color-secondary-rgb), 0.2);
}

.pricing__cta-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.pricing__cta-text i,
.pricing__cta-text svg {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.pricing__cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

[data-theme="dark"] .pricing__row--popular td {
  background: rgba(201, 168, 76, 0.04);
}

[data-theme="dark"] .pricing__cta-row {
  background: linear-gradient(135deg, rgba(27, 127, 195, 0.08), rgba(201, 168, 76, 0.06));
  border-color: rgba(42, 53, 69, 0.5);
}

[data-theme="dark"] .pricing__savings-value {
  color: #34D399;
}

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

  .pricing__table thead .pricing__col--savings {
    display: none;
  }

  .pricing__cta-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .pricing__cta-text {
    font-size: 0.85rem;
    justify-content: center;
  }
}

/* ─── TESTIMONIALS AUTO-PLAY ─────────────────── */
.testimonials__autoplay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.testimonials__progress {
  width: 200px;
  height: 3px;
  background: var(--color-border-light);
  border-radius: 2px;
  overflow: hidden;
}

.testimonials__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.testimonials__pause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  padding: 0;
}

.testimonials__pause:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.testimonials__pause i,
.testimonials__pause svg {
  width: 14px;
  height: 14px;
}

[data-theme="dark"] .testimonials__progress {
  background: #2A3545;
}

[data-theme="dark"] .testimonials__pause {
  border-color: #2A3545;
  color: #8B949E;
}

[data-theme="dark"] .testimonials__pause:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* ─── TOAST NOTIFICATIONS ────────────────────── */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 420px;
  width: calc(100% - 3rem);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
  pointer-events: auto;
  animation: toastSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  border-left: 4px solid var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.toast.is-leaving {
  animation: toastSlideOut 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.toast--success {
  border-left-color: var(--color-success);
}

.toast--success .toast__icon {
  color: var(--color-success);
}

.toast--error {
  border-left-color: #EF4444;
}

.toast--error .toast__icon {
  color: #EF4444;
}

.toast--info {
  border-left-color: var(--color-secondary);
}

.toast--info .toast__icon {
  color: var(--color-secondary);
}

.toast__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
}

.toast__content {
  flex: 1;
  min-width: 0;
}

.toast__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.15rem;
  font-family: var(--font-body);
}

.toast__message {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.4;
  font-family: var(--font-body);
}

.toast__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.toast__close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.2;
  animation: toastProgress linear forwards;
}

.toast--success .toast__progress { color: var(--color-success); }
.toast--error .toast__progress { color: #EF4444; }
.toast--info .toast__progress { color: var(--color-secondary); }

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(100%) scale(0.85);
  }
}

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

[data-theme="dark"] .toast {
  background: #1A2332;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.05);
}

[data-theme="dark"] .toast__title {
  color: #E6EDF3;
}

[data-theme="dark"] .toast__message {
  color: #9BAAB8;
}

[data-theme="dark"] .toast__close:hover {
  background: #2A3545;
}

@media (max-width: 480px) {
  .toast-container {
    top: auto;
    bottom: 5rem;
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
    width: auto;
  }
}

/* ─── 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;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  .hero__parallax {
    top: 0;
    height: 100%;
  }

  [data-hero-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__title-word {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── PERFORMANCE OPTIMIZATIONS ───────────────── */

/* 1. Reduce composite layer cost: use content-visibility on off-screen sections
      This tells the browser to skip rendering work for sections far from the viewport */
section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* Don't apply content-visibility to hero (always visible on load) */
.hero {
  content-visibility: visible;
}

/* 2. Pause expensive infinite animations on decorative elements when hero scrolled past.
      Controlled via JS class added to body/html when scrolled past hero. */
.hero__particle,
.hero__shape--ring,
.hero__shape--dots,
.hero__shape--line {
  animation-play-state: running;
}

/* When the apple-scroll-ready class is present and hero is scrolled past,
   the hero particles/shapes get opacity: 0 from JS — but the animations
   keep burning CPU. This ensures they truly pause via the revealed state. */
.hero__particles[style*="opacity: 0"] .hero__particle,
.hero__shapes[style*="opacity: 0"] .hero__shape--ring,
.hero__shapes[style*="opacity: 0"] .hero__shape--dots,
.hero__shapes[style*="opacity: 0"] .hero__shape--line {
  animation-play-state: paused;
}

/* 3. Optimize the body background/color transition — it fires on every theme switch
      and can cause an expensive repaint of the entire page */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* 4. Reduce paint cost for scroll-progress glow */
.scroll-progress__bar {
  will-change: width;
}

/* 5. Contain paint for heavy components */
.receptionist-widget,
.booking-overlay,
.lightbox {
  contain: layout style paint;
}