/* ==========================================================================
   ROYAL CAR WASH — 100% Professional Luxury Website
   Mobile-First Design System | White + Black + Crimson Red
   No lag. No overflow. Pixel-perfect on every device.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Colors — Light Theme */
  --clr-bg: #ffffff;
  --clr-bg-alt: #f4f4f8;
  --clr-card: #ffffff;
  --clr-card-hover: #f8f8fc;
  --clr-input: #f0f0f6;
  --clr-red: #e8121a;
  --clr-red-light: #d00e15;
  --clr-red-dark: #c00e15;
  --clr-white: #111118;
  --clr-text: #111118;
  --clr-muted: #4a4a60;
  --clr-dim: #7a7a96;
  --clr-border: #e0e0ec;
  --clr-border-mid: #d0d0e0;

  /* Typography */
  --ff-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --ff: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container-max: 1300px;
  --container-px: 1.25rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.18s var(--ease-in-out);
  --t-med: 0.32s var(--ease-out);
  --t-slow: 0.55s var(--ease-out);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 8px 32px rgba(0, 0, 0, 0.14);
  --glow-red: 0 0 30px rgba(232, 18, 26, 0.25);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background: var(--clr-bg);
  font-family: var(--ff);
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

html, body {
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--ff);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: var(--ff);
}

ul,
ol {
  list-style: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-border);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-red);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--clr-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1,
h2 {
  font-family: var(--ff-display);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--clr-white);
  font-weight: 800;
  text-transform: uppercase;
}

h3,
h4 {
  font-family: var(--ff-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--clr-white);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.text-red {
  color: var(--clr-red);
}

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

/* ── INTRO SPLASH SCREEN ────────────────────────────────────────────────── */
.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skip-intro-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: var(--ff);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.skip-intro-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── LAYOUT CONTAINERS ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  padding-block: 3rem;
  position: relative;
}

.section-alt {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  display: block;
  color: var(--clr-red);
  font-family: var(--ff);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--ff-display);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 800;
}

.section-desc {
  color: var(--clr-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
  margin-inline: auto;
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: var(--clr-red);
  color: #fff;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  will-change: transform;
}

.btn-primary:hover {
  background: var(--clr-red-light);
  transform: translateY(-2px);
  box-shadow: var(--glow-red);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--ff);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.btn-secondary svg {
  color: #ffffff;
}

.btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Admin Command Center Executive Typography System */
body.admin-page,
.admin-standalone-app,
.admin-brand-name,
.admin-login-title,
.admin-tab-btn,
.pos-billing-box h4,
.pos-history-box h4,
.admin-stat-card .admin-stat-val,
.smc-time,
.smc-price-tag,
.prc-plate,
.avc-plate,
.plate-style,
.btn-primary,
.btn-secondary,
.form-ctrl,
.form-lbl {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.01em !important;
}

.admin-brand-name {
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  text-transform: none !important;
}

.admin-tab-btn {
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  text-transform: none !important;
}

.avc-plate,
.prc-plate,
.plate-style {
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

.btn-secondary:hover {
  border-color: var(--clr-muted);
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: rgba(232, 18, 26, 0.12);
  border: 1px solid rgba(232, 18, 26, 0.25);
  color: var(--clr-red-light);
  font-family: var(--ff);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}

.btn-sm:hover {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #fff;
  transform: translateY(-1px);
}

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

.btn-full {
  width: 100%;
}

/* ── HEADER / NAV ───────────────────────────────────────────────────────── */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  background: rgba(5, 5, 8, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding var(--t-med), box-shadow var(--t-med);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--t-med);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

@keyframes navTextShine {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.logo-royal {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(110deg, #ffffff 30%, #b0b0b0 45%, #ffffff 60%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: navTextShine 3.5s linear infinite;
}

.logo-carwash {
  font-family: var(--ff);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(110deg, var(--clr-red) 30%, #ff8a8a 45%, var(--clr-red) 60%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: navTextShine 3.5s linear infinite;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.8rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.btn-call:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast);
  transform-origin: center;
}

.mobile-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 850;
  opacity: 0;
  transition: opacity var(--t-med);
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ── HERO SECTION ───────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: var(--clr-bg);
}

.particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

/* Water drop animations */
.hero-drops {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.drop {
  position: absolute;
  top: -20px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(232, 18, 26, 0.4), transparent);
  border-radius: 0 0 2px 2px;
  animation: rainDrop 4s linear infinite;
  opacity: 0;
}

.drop.d1 {
  left: 10%;
  height: 60px;
  animation-delay: 0.5s;
  animation-duration: 3.2s;
}

.drop.d2 {
  left: 30%;
  height: 80px;
  animation-delay: 1.2s;
  animation-duration: 4s;
}

.drop.d3 {
  left: 55%;
  height: 50px;
  animation-delay: 2s;
  animation-duration: 3.6s;
}

.drop.d4 {
  left: 75%;
  height: 70px;
  animation-delay: 0.8s;
  animation-duration: 4.4s;
}

.drop.d5 {
  left: 90%;
  height: 55px;
  animation-delay: 1.6s;
  animation-duration: 3.8s;
}

@keyframes rainDrop {
  0% {
    top: -20px;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    top: 110vh;
    opacity: 0;
  }
}

.hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 3rem;
  width: 100%;
}

.hero-content {
  max-width: 600px;
}

/* Badge */
.badge-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(232, 18, 26, 0.08);
  border: 1px solid rgba(232, 18, 26, 0.2);
  border-radius: var(--r-pill);
  font-family: var(--ff);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--clr-red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--clr-red-light);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.6;
  }
}

.badge-sep {
  opacity: 0.4;
}

/* Hero title */
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--clr-white);
}

.title-red {
  color: var(--clr-red);
  display: block;
  white-space: nowrap;
}

.title-dot {
  color: var(--clr-red);
}

/* Hero subtitle */
.hero-sub {
  font-size: 1.05rem;
  color: var(--clr-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}

.hstat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hstat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-family: var(--ff-display);
  letter-spacing: -0.02em;
}

.hstat-stars {
  font-size: 0.7rem;
  color: #fbbf24;
  letter-spacing: 0.05em;
}

.hstat-lbl {
  font-size: 0.8rem;
  color: var(--clr-dim);
  font-weight: 600;
}

.hstat-divider {
  width: 1px;
  height: 44px;
  background: var(--clr-border);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-glow-ring {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 18, 26, 0.12) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  from {
    transform: scale(0.92);
    opacity: 0.7;
  }

  to {
    transform: scale(1.08);
    opacity: 1;
  }
}

.car-frame {
  position: relative;
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.hero-car-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--r-xl);
}

.car-shine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(232, 18, 26, 0.05) 100%);
  pointer-events: none;
  border-radius: var(--r-xl);
}

/* Float badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-text);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  animation: floatBadge 3s ease-in-out infinite alternate;
}

.float-badge svg {
  color: var(--clr-red-light);
  flex-shrink: 0;
}

.fb-1 {
  top: 10%;
  left: 2%;
  animation-delay: 0s;
}

.fb-2 {
  bottom: 12%;
  left: 2%;
  animation-delay: 0.6s;
}

.fb-3 {
  top: 15%;
  right: 2%;
  animation-delay: 1.2s;
}

@keyframes floatBadge {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-8px);
  }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  z-index: 10;
  animation: fadeInUp 1s ease-out 2s both;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--clr-border-mid);
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--clr-muted);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(6px);
    opacity: 0.3;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── TRUST BAR ──────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--clr-card);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding-block: 1.25rem;
  overflow: hidden;
}

.trust-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-muted);
  white-space: nowrap;
}

.trust-item svg {
  color: var(--clr-red-light);
  flex-shrink: 0;
}

.trust-sep {
  width: 1px;
  height: 20px;
  background: var(--clr-border);
  flex-shrink: 0;
}

/* ── SERVICES ───────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 18, 26, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 18, 26, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(232, 18, 26, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-featured {
  border-color: rgba(232, 18, 26, 0.3);
  background: linear-gradient(135deg, rgba(232, 18, 26, 0.06) 0%, var(--clr-card) 50%);
}

.sc-icon-wrap {
  width: 36px;
  height: 36px;
  background: rgba(232, 18, 26, 0.1);
  border: 1px solid rgba(232, 18, 26, 0.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-red-light);
  margin-bottom: 0.75rem;
  flex-shrink: 0;
  transition: background var(--t-med), transform var(--t-med);
}

.sc-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.service-card:hover .sc-icon-wrap {
  background: rgba(232, 18, 26, 0.18);
  transform: scale(1.08);
}

.sc-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.25rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
}

.sc-badge.popular {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.sc-badge.premium {
  background: rgba(232, 18, 26, 0.15);
  color: var(--clr-red-light);
  border: 1px solid rgba(232, 18, 26, 0.3);
}

.sc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.75rem;
}

.sc-desc {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.sc-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.sc-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--clr-muted);
  font-weight: 500;
}

.sc-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--clr-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--clr-border);
  margin-top: auto;
}

.sc-price {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--ff-display);
  letter-spacing: -0.02em;
  color: var(--clr-white);
  font-variant-numeric: tabular-nums;
}

.sc-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-dim);
}

/* ── PROCESS / HOW IT WORKS ─────────────────────────────────────────────── */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding-top: 3.5rem;
}

.process-line {
  position: absolute;
  top: calc(3.5rem + 28px);
  transform: translateY(-50%);
  left: 10%;
  right: 10%;
  height: 2.5px;
  background: var(--clr-border-mid);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.ps-num {
  position: absolute;
  top: -2.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--clr-red);
  letter-spacing: 0.08em;
}

.ps-node {
  width: 56px;
  height: 56px;
  background: #ffffff;
  /* SOLID opaque white background so red line passes behind without bleeding through */
  border: 2px solid var(--clr-border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  flex-shrink: 0;
  transition: border-color var(--t-med), background var(--t-med), color var(--t-med), box-shadow var(--t-med);
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.process-step.in-view .ps-node {
  border-color: var(--clr-red);
  background: #ffffff;
  /* Opaque white background */
  color: var(--clr-red);
  box-shadow: 0 0 0 6px rgba(232, 18, 26, 0.1), 0 4px 12px rgba(232, 18, 26, 0.15);
}

.ps-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.ps-content p {
  font-size: 0.82rem;
  color: var(--clr-muted);
  line-height: 1.55;
}

/* ── LIVE TRACKER ───────────────────────────────────────────────────────── */
.tracker-card {
  background: linear-gradient(145deg, rgba(20, 20, 28, 0.95), rgba(12, 12, 18, 0.98));
  border: 1px solid rgba(232, 18, 26, 0.25);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  max-width: 920px;
  margin-inline: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(232, 18, 26, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.tracker-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(232, 18, 26, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.tracker-search-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.plate-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  padding: 0.85rem 1.1rem;
  transition: all var(--t-fast);
  color: rgba(255, 255, 255, 0.6);
  min-width: 0;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.plate-input-wrap:focus-within {
  border-color: var(--clr-red);
  box-shadow: 0 0 15px rgba(232, 18, 26, 0.35), inset 0 2px 6px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.plate-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--ff);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 0;
  width: 100%;
}

.plate-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* Tracking result */
.tracking-result {
  animation: fadeIn 0.4s var(--ease-out);
  position: relative;
  z-index: 2;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.track-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.track-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.track-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.track-eta-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #4ade80;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.track-eta-val::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }
}

/* Stepper Horizontal Scroll Container */
.stepper-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 0.5rem;
}

.stepper-scroll-wrap::-webkit-scrollbar {
  display: none;
}

/* Stepper */
.stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1.5rem;
  min-width: 580px;
  overflow: visible;
}

.stepper-bg-line,
.stepper-fill-line {
  position: absolute;
  top: 23px;
  height: 4px;
  border-radius: 2px;
  z-index: 0;
  transform: translateY(-50%);
}

.stepper-bg-line {
  left: calc(1.5rem + 23px);
  right: calc(1.5rem + 23px);
  background: rgba(255, 255, 255, 0.1);
}

.stepper-fill-line {
  left: calc(1.5rem + 23px);
  width: 50%;
  background: linear-gradient(90deg, #b91c1c, #e8121a, #ff4d4d);
  box-shadow: 0 0 12px rgba(232, 18, 26, 0.8);
  transition: width 0.8s var(--ease-out);
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.step-dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #121218;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 800;
  font-size: 0.88rem;
  transition: all var(--t-med);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.step.completed .step-dot {
  background: linear-gradient(135deg, #e8121a, #990b11);
  border-color: #ff4d4d;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(232, 18, 26, 0.5);
}

.step.active .step-dot,
.active-dot {
  background: linear-gradient(135deg, #ff1a24, #e8121a) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(232, 18, 26, 0.8), 0 0 0 4px rgba(232, 18, 26, 0.25);
}

.active-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(232, 18, 26, 0.6);
  animation: stepPulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes stepPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.step-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  max-width: 110px;
  width: 100%;
}

.step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
}

.step-time {
  font-size: 0.72rem;
  color: #94a3b8;
}


/* ── BEFORE / AFTER ─────────────────────────────────────────────────────── */
.ba-outer {
  text-align: center;
}

.before-after-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 500px;
  margin-inline: auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.ba-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ba-before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?auto=format&fit=crop&w=1400&q=80');
  filter: grayscale(60%) sepia(20%) brightness(70%) contrast(80%);
}

.ba-after {
  background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),
    url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?auto=format&fit=crop&w=1400&q=80');
  width: 100%;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--clr-red);
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
}

.ba-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: transform var(--t-fast);
}

.ba-handle:hover .ba-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.ba-lbl {
  position: absolute;
  bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lbl-before {
  left: 1.25rem;
}

.lbl-after {
  right: 1.25rem;
}

.ba-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--clr-dim);
  font-weight: 600;
}

/* ── TESTIMONIALS ───────────────────────────────────────────────────────── */
.testimonials-wrap {
  max-width: 1100px;
  margin-inline: auto;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testi-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--t-med), border-color var(--t-med);
  scroll-snap-align: start;
}

.testi-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-border-mid);
}

.testi-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.testi-quote {
  color: var(--clr-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  font-style: normal;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-border);
}

.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(232, 18, 26, 0.15);
  border: 1px solid rgba(232, 18, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--clr-red-light);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-white);
}

.testi-role {
  font-size: 0.78rem;
  color: var(--clr-dim);
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-card);
  border: 1.5px solid var(--clr-border-mid);
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.testi-btn:hover {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #fff;
  transform: scale(1.05);
}

.testi-dots {
  display: flex;
  gap: 0.5rem;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-border-mid);
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  padding: 0;
}

.testi-dot.active {
  background: var(--clr-red);
  transform: scale(1.3);
}

/* ── WHY ROYAL ──────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-med), transform var(--t-med);
}

.why-item:hover {
  border-color: rgba(232, 18, 26, 0.25);
  transform: translateX(6px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 18, 26, 0.1);
  border: 1px solid rgba(232, 18, 26, 0.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-red-light);
  flex-shrink: 0;
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.4rem;
}

.why-item p {
  font-size: 0.88rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

/* ── LOCATION & BOOKING ─────────────────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.loc-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.loc-icon {
  width: 44px;
  height: 44px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-red-light);
  flex-shrink: 0;
}

.loc-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.loc-item-detail {
  font-size: 0.95rem;
  color: var(--clr-text);
  font-weight: 500;
  line-height: 1.5;
}

.loc-item-sub {
  font-size: 0.82rem;
  color: var(--clr-dim);
  margin-top: 0.25rem;
}

.loc-link {
  color: var(--clr-red-light);
  font-weight: 600;
  transition: color var(--t-fast);
}

.loc-link:hover {
  color: var(--clr-text);
}

.maps-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Booking card */
.booking-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.booking-card-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--clr-border);
  background: linear-gradient(135deg, rgba(232, 18, 26, 0.06) 0%, transparent 60%);
}

.booking-card-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 0.4rem;
}

.booking-card-header p {
  font-size: 0.88rem;
  color: var(--clr-muted);
}

.booking-card form {
  padding: 2rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-lbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-ctrl {
  width: 100%;
  background: var(--clr-input);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  color: var(--clr-text);
  font-family: var(--ff);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-ctrl:focus {
  outline: none;
  border-color: var(--clr-red);
  box-shadow: 0 0 0 3px rgba(232, 18, 26, 0.1);
}

.form-ctrl::placeholder {
  color: var(--clr-dim);
}

select.form-ctrl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2360607a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-ctrl option {
  background: var(--clr-card);
  color: var(--clr-text);
}

.plate-style {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}

input[type="datetime-local"].form-ctrl {
  color-scheme: light;
}

/* ── MODAL ──────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  background: var(--clr-card);
  border: 1px solid var(--clr-border-mid);
  border-radius: var(--r-xl);
  padding: 2rem 2.25rem;
  max-width: 560px;
  width: 100%;
  max-height: 92dvh;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-float);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--t-med);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-input);
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.modal-close:hover {
  background: rgba(232, 18, 26, 0.15);
  color: var(--clr-red-light);
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.modal-icon {
  width: 52px;
  height: 52px;
  background: rgba(232, 18, 26, 0.12);
  border: 1px solid rgba(232, 18, 26, 0.25);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-red-light);
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 0.35rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--clr-muted);
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}

.footer-top {
  padding-block: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-muted);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.social-btn:hover {
  background: var(--clr-card-hover);
  border-color: var(--clr-border-mid);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.social-btn.whatsapp-social:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link-list a,
.footer-link-list span,
.footer-link-btn {
  font-size: 0.88rem;
  color: var(--clr-muted);
  transition: color var(--t-fast);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: var(--ff);
}

.footer-link-list a:hover,
.footer-link-btn:hover {
  color: var(--clr-white);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-block: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--clr-dim);
}

/* ── WHATSAPP FAB ───────────────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-med), box-shadow var(--t-med);
  animation: fabEntry 0.6s var(--ease-out) 1.5s both;
}

@keyframes fabEntry {
  from {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.fab-tooltip {
  position: absolute;
  right: 100%;
  margin-right: 0.75rem;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text);
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.whatsapp-fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── SCROLL REVEAL ANIMATIONS ───────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.revealed.reveal-up,
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ── SUCCESS TOAST ──────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 99999;
  background: #0d0d15;
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--r-lg);
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: var(--shadow-float);
  transition: transform 0.4s var(--ease-out);
  min-width: 280px;
}

#toast-msg,
.toast span {
  color: #ffffff !important;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  flex-shrink: 0;
}

/* ── STAGGER DELAYS FOR CARDS ───────────────────────────────────────────── */
.services-grid .service-card:nth-child(1) {
  transition-delay: 0.0s;
}

.services-grid .service-card:nth-child(2) {
  transition-delay: 0.08s;
}

.services-grid .service-card:nth-child(3) {
  transition-delay: 0.16s;
}

.services-grid .service-card:nth-child(4) {
  transition-delay: 0.24s;
}

.services-grid .service-card:nth-child(5) {
  transition-delay: 0.32s;
}

.services-grid .service-card:nth-child(6) {
  transition-delay: 0.40s;
}

.why-item:nth-child(1) {
  transition-delay: 0.0s;
}

.why-item:nth-child(2) {
  transition-delay: 0.1s;
}

.why-item:nth-child(3) {
  transition-delay: 0.2s;
}

.why-item:nth-child(4) {
  transition-delay: 0.3s;
}

/* ============================================================
   TABLET / MEDIUM SCREEN (≤ 1100px)
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 3rem;
  }

  .process-line {
    display: none;
  }
}

/* ============================================================
   TABLET PORTRAIT (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --container-px: 1.25rem;
  }

  .section {
    padding-block: 4rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* ── NAV ── */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    z-index: 900;
    padding: 2rem;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity var(--t-med), transform var(--t-med);
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    width: 100%;
    text-align: center;
    border-radius: var(--r-md);
  }

  .btn-call span {
    display: none;
  }

  .btn-call {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .mobile-toggle {
    display: flex;
  }

}

/* ============================================================
   MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --container-px: 1rem;
  }

  /* ── NAV COMPACT (Reduce height by 50%) ── */
  .nav-container {
    padding-block: 0.5rem;
  }

  .logo-img {
    height: 32px;
  }

  .logo-royal {
    font-size: 0.95rem;
  }

  .logo-carwash {
    font-size: 0.45rem;
    letter-spacing: 0.1em;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .btn-call {
    width: 28px !important;
    height: 28px !important;
  }

  .btn-call svg {
    width: 12px;
    height: 12px;
  }

  .nav-actions .btn-primary {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 4px;
  }

  .mobile-toggle {
    display: none !important;
  }

  .hamburger-line {
    width: 18px;
    height: 2px;
  }

  .section {
    padding-block: 1.5rem;
  }

  .section-header {
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  /* Hide Location / Booking section on mobile */
  #location {
    display: none !important;
  }

  /* ── TRUST BAR ── */
  .trust-sep {
    display: none;
  }

  .trust-bar {
    padding-inline: 0;
  }

  .trust-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-inline: var(--container-px);
    scrollbar-width: none;
    gap: 1.25rem;
  }

  .trust-inner::-webkit-scrollbar {
    display: none;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  /* ── HERO — Split layout: solid black left | garage image right ── */
  .hero-section {
    padding-top: 48px;
    padding-bottom: 0;
    margin: 0;
    min-height: auto;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    background: #050508;
    border: none;
    width: 100%;
  }

  /* Full-bleed image */
  .hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    z-index: 1;
    margin: 0;
    padding: 0;
  }

  .car-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  /* Overlay with soft, feathered, cinematic gradient (EXACTLY matching user prompt) */
  .car-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.95) 15%,
        rgba(0, 0, 0, 0.88) 30%,
        rgba(0, 0, 0, 0.72) 45%,
        rgba(0, 0, 0, 0.45) 60%,
        rgba(0, 0, 0, 0.18) 75%,
        rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .hero-car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    border-radius: 0;
    filter: brightness(0.85) contrast(1.15);
  }

  /* Content sits on top of the black left side */
  .hero-container {
    position: relative;
    z-index: 5;
    display: block;
    padding-top: 0.75rem;
    /* Reduced from 2.25rem to fix top gap */
    padding-bottom: 1.5rem;
    padding-inline: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
    margin: 0;
    background: transparent;
  }

  /* Left text content - 100% so stats can span full width, but text elements constrained */
  .hero-content {
    position: relative;
    z-index: 5;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
    line-height: 1.08;
    margin-bottom: 0.65rem;
    text-align: left;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    max-width: 65%;
  }

  .hero-sub {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 65%;
    text-shadow: none;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0;
    width: 100%;
    max-width: 220px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    justify-content: center;
    border-radius: var(--r-sm);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  }

  /* Hero Stats — compact 3-column stats under CTAs */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 100vw;
    max-width: 100vw;
    margin-left: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }

  .hstat-item {
    align-items: center;
    padding: 0 0.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hstat-item:last-child {
    border-right: none;
  }

  .hstat-divider {
    display: none;
  }

  .hstat-num {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
  }

  .hstat-lbl {
    font-size: 0.58rem;
    color: #94a3b8;
    line-height: 1.1;
  }

  /* Hide float badges on small mobile */
  .float-badge {
    display: none !important;
  }

  /* ── SERVICES — horizontal touch slider on mobile ── */
  .services-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: -1rem;
    padding-inline: 1rem;
    padding-bottom: 0.75rem;
    gap: 1rem;
    scrollbar-width: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 84% !important;
    min-width: 260px;
    scroll-snap-align: center;
    padding: 1.5rem;
  }

  /* ── PROCESS — horizontal touch slider on mobile ── */
  .process-track {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: -1rem;
    padding-inline: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
    gap: 1rem;
    scrollbar-width: none;
  }

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

  .process-step {
    flex: 0 0 84% !important;
    min-width: 260px;
    scroll-snap-align: center;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
  }

  .ps-num {
    position: static;
    order: -1;
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    background: rgba(232, 18, 26, 0.12);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
  }

  .ps-node {
    display: none;
  }

  .ps-content {
    flex: 1;
  }

  .ps-content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  .ps-content p {
    font-size: 0.82rem;
  }

  /* ── TRACKER ── */
  /* ── TRACKER ── */
  .tracker-card {
    padding: 0.75rem;
    border-radius: var(--r-sm);
  }

  .tracker-search-row {
    flex-direction: column;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
  }

  .plate-input-wrap {
    padding: 0.4rem 0.75rem;
  }

  .tracker-search-row .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  .track-meta {
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    flex-direction: row;
    gap: 0.25rem;
    align-items: center;
    justify-content: space-between;
  }

  .track-lbl {
    font-size: 0.45rem;
    margin-bottom: 0.1rem;
  }

  .track-val,
  .track-eta-val {
    font-size: 0.65rem;
  }

  /* Stepper — compact non-scrollable horizontal fit on mobile */
  .stepper-scroll-wrap {
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .stepper {
    min-width: 0;
    width: 100%;
    padding-inline: 0.25rem;
    gap: 0.1rem;
  }

  .stepper-bg-line,
  .stepper-fill-line {
    top: 12px;
    left: calc(0.25rem + 12px);
    right: calc(0.25rem + 12px);
  }

  .step-dot {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }

  .step-dot svg {
    width: 9px;
    height: 9px;
  }

  .active-pulse {
    inset: -4px;
  }

  .step-info {
    max-width: 100%;
    gap: 0.05rem;
  }

  .step-title {
    font-size: 0.45rem;
    line-height: 1.1;
    word-break: break-word;
  }

  .step-time {
    font-size: 0.4rem;
    white-space: nowrap;
  }


  /* ── BEFORE / AFTER ── */
  .before-after-container {
    height: 240px;
    border-radius: var(--r-lg);
  }

  /* ── TESTIMONIALS — horizontal touch slider on mobile ── */
  .testimonials-track {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
    margin-inline: -1rem;
    padding-inline: 1rem;
    padding-bottom: 0.75rem;
    gap: 1rem;
    scrollbar-width: none;
  }

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

  .testi-card {
    flex: 0 0 84% !important;
    min-width: 260px;
    scroll-snap-align: center;
  }

  .testi-controls {
    display: none;
  }

  /* ── WHY ROYAL — Compact Mobile View ── */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .why-left h2 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }

  .why-left p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .why-left .btn-primary {
    margin-top: 1rem !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
  }

  .why-right {
    display: none !important;
  }

  .hero-title {
    font-size: 2.25rem !important; /* Reduced from 2.85rem */
    line-height: 1.05 !important;
    word-break: break-word; /* Prevent long words from causing overflow */
  }

  /* ── LOCATION / BOOKING CARD ── */
  .form-row {
    grid-template-columns: 1fr;
  }

  .booking-card form {
    padding: 1.25rem;
  }

  .booking-card-header {
    padding: 1.1rem 1.25rem;
  }

  /* ── FOOTER ── */
  .footer-top {
    padding-block: 0.75rem;
  }

  .footer-brand {
    gap: 0.75rem;
  }

  .footer-tagline {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-tagline {
    display: none;
  }

  .social-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-col:nth-child(1),
  .footer-col:nth-child(2) {
    display: none;
  }

  .footer-link-list {
    align-items: center;
  }

  .footer-col-title {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
  }

  .footer-link-list a,
  .footer-link-list span,
  .footer-link-btn {
    font-size: 0.75rem;
    text-align: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  /* ── MODAL ── */
  .modal-content {
    padding: 1.5rem 1.25rem;
    border-radius: var(--r-lg);
  }

  .modal-header {
    margin-bottom: 1.25rem;
  }

  /* ── WHATSAPP FAB ── */
  .whatsapp-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .fab-tooltip {
    display: none;
  }
}

/* ============================================================
   VERY SMALL MOBILE (≤ 390px)
   ============================================================ */
@media (max-width: 390px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    flex: unset;
  }

  .hero-title {
    font-size: clamp(1.9rem, 9.5vw, 2.8rem);
  }

  .footer-links-group {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-scroll-hint {
    display: none;
  }
}

/* ============================================================
   SLOT BOOKING SYSTEM
   ============================================================ */

/* Wide modal */
.modal-content--wide {
  max-width: 680px;
}

/* Progress steps */
.booking-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--clr-border);
}

.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
}

.bs-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--clr-input);
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--clr-dim);
  transition: background var(--t-med), border-color var(--t-med), color var(--t-med);
}

.booking-step span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--clr-dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color var(--t-med);
}

.booking-step.active .bs-num {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #fff;
}

.booking-step.active span {
  color: var(--clr-red);
}

.booking-step.done .bs-num {
  background: rgba(232, 18, 26, 0.1);
  border-color: var(--clr-red);
  color: var(--clr-red);
}

.booking-step.done span {
  color: var(--clr-muted);
}

.bs-connector {
  flex: 1;
  height: 2px;
  background: var(--clr-border);
  margin: 0 0.3rem;
  margin-bottom: 1.2rem;
  transition: background var(--t-med);
}

.bs-connector.done {
  background: var(--clr-red);
}

/* Panel transitions */
.booking-panel {
  display: none;
  animation: panelIn 0.3s var(--ease-out) both;
}

.booking-panel.active {
  display: block;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.panel-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-dim);
  margin-bottom: 1rem;
}

/* ── DATE STRIP ── */
.date-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0.4rem;
  background: var(--clr-input);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  user-select: none;
}

.date-card:hover {
  border-color: var(--clr-red);
  transform: translateY(-2px);
}

.date-card.selected {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #fff;
}

.dc-day {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-dim);
}

.date-card.selected .dc-day {
  color: rgba(255, 255, 255, 0.8);
}

.dc-num {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.date-card.selected .dc-num {
  color: #fff;
}

.dc-month {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--clr-dim);
  text-transform: uppercase;
}

.date-card.selected .dc-month {
  color: rgba(255, 255, 255, 0.8);
}

.dc-today {
  font-size: 0.55rem;
  font-weight: 700;
  background: var(--clr-red);
  color: #fff;
  border-radius: 3px;
  padding: 1px 4px;
  letter-spacing: 0.06em;
}

.date-card.selected .dc-today {
  background: rgba(255, 255, 255, 0.3);
}

/* ── SERVICE PICKER ── */
.service-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sp-item {
  cursor: pointer;
}

.sp-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sp-card {
  padding: 1rem 1.1rem;
  background: var(--clr-input);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.sp-item input:checked+.sp-card {
  border-color: var(--clr-red);
  background: rgba(232, 18, 26, 0.06);
}

.sp-item:hover .sp-card {
  border-color: rgba(232, 18, 26, 0.4);
}

.sp-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

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

.sp-price {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--clr-red);
  letter-spacing: 0.04em;
}

.sp-dur {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-dim);
  background: var(--clr-bg-alt);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ── SLOT GROUPS ── */
.slot-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.slot-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-muted);
}

.leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.leg-dot.available {
  background: #16a34a;
}

.leg-dot.limited {
  background: #f59e0b;
}

.leg-dot.booked {
  background: var(--clr-border-mid);
}

.slot-groups {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  max-height: 380px;
  max-height: 48vh;
  overflow-y: auto;
  padding-right: 6px;
  padding-bottom: 1.5rem;
  /* Generous bottom padding to ensure Evening slots are fully visible */
}

.slot-groups::-webkit-scrollbar {
  width: 5px;
}

.slot-groups::-webkit-scrollbar-track {
  background: var(--clr-bg-alt);
  border-radius: 4px;
}

.slot-groups::-webkit-scrollbar-thumb {
  background: var(--clr-border-mid);
  border-radius: 4px;
}

.slot-groups::-webkit-scrollbar-thumb:hover {
  background: var(--clr-red);
}

.slot-group-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   ADMIN PORTAL — MOBILE-FIRST DESIGN SYSTEM
   ============================================================ */

.modal-content--admin {
  max-width: 900px;
  width: 95%;
  max-height: 92vh;
  max-height: 92dvh;
  padding: 1.75rem 1.5rem;
}

/* Auth Panel */
.admin-auth-box {
  max-width: 360px;
  margin: 2rem auto;
  text-align: center;
}

.admin-auth-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(232, 18, 26, 0.1);
  border: 2px solid rgba(232, 18, 26, 0.25);
  color: var(--clr-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.admin-auth-header h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.admin-auth-header p {
  font-size: 0.85rem;
  color: var(--clr-muted);
  margin-bottom: 1.5rem;
}

.pin-input {
  font-size: 1.8rem;
  letter-spacing: 0.5em;
  text-align: center;
  font-weight: 800;
  padding: 0.75rem;
}

.pin-hint {
  font-size: 0.78rem;
  color: var(--clr-dim);
  margin-top: 1rem;
}

.admin-error-msg {
  color: var(--clr-red);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Main Admin Layout */
.admin-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--clr-border);
}

.admin-badge-live {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(22, 163, 74, 0.3);
  margin-bottom: 0.3rem;
}

.admin-top-bar h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}

/* Admin Tabs (Horizontal Scrollable Strip on Mobile) */
.admin-tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-tabs-nav::-webkit-scrollbar {
  height: 3px;
}

.admin-tabs-nav::-webkit-scrollbar-thumb {
  background: var(--clr-border-mid);
  border-radius: 4px;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  font-family: var(--ff);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--clr-border);
  background: var(--clr-input);
  color: var(--clr-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.admin-tab-btn.active {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #ffffff;
}

.admin-tab-btn.active svg {
  color: #ffffff;
}

/* Admin Tab Panes */
.admin-tab-pane {
  display: none;
  animation: panelIn 0.25s var(--ease-out) both;
}

.admin-tab-pane.active {
  display: block;
}

.admin-pane-desc {
  font-size: 0.84rem;
  color: var(--clr-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Wash Bay Grid */
.admin-wash-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 480px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-vehicle-card {
  padding: 1.1rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.avc-plate {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--clr-red);
  letter-spacing: 0.04em;
}

.avc-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text);
}

.avc-eta {
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(232, 18, 26, 0.1);
  color: var(--clr-red);
  padding: 3px 8px;
  border-radius: 4px;
}

.avc-steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
}

.avc-step-btn {
  padding: 0.45rem 0.3rem;
  border-radius: var(--r-sm);
  font-family: var(--ff);
  font-size: 0.68rem;
  font-weight: 700;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-card);
  color: var(--clr-dim);
  text-align: center;
  transition: all var(--t-fast);
  cursor: pointer;
}

.avc-step-btn.done {
  border-color: var(--clr-red);
  background: rgba(232, 18, 26, 0.08);
  color: var(--clr-red);
}

.avc-step-btn.active {
  border-color: var(--clr-red);
  background: var(--clr-red);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(232, 18, 26, 0.3);
}

/* Admin Bookings Table */
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  max-height: 440px;
  overflow-y: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--clr-border);
}

.admin-table th {
  background: var(--clr-bg-alt);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-dim);
  position: sticky;
  top: 0;
  z-index: 2;
}

.badge-plate {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--clr-red);
  letter-spacing: 0.04em;
}

.status-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.status-confirmed {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.status-completed {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

/* Admin Analytics Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.astat-card {
  padding: 1.25rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  transition: all 0.2s ease;
}

.astat-card-interactive {
  cursor: pointer;
}

.astat-card-interactive:hover,
.astat-card-interactive.active {
  transform: translateY(-2px);
  border-color: var(--clr-brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.astat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-dim);
  margin-bottom: 0.5rem;
}

.astat-val {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.astat-sub {
  font-size: 0.72rem;
  color: var(--clr-muted);
}

/* NFC Attendance Terminal */
.nfc-pane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.nfc-sim-card,
.nfc-logs-box {
  padding: 1.25rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
}

.nfc-sim-card h4,
.nfc-logs-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--clr-text);
}

.nfc-sim-card p {
  font-size: 0.8rem;
  color: var(--clr-muted);
  margin-bottom: 1rem;
}

.nfc-tap-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nfc-logs-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 280px;
  overflow-y: auto;
}

.nfc-log-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
}

.nfc-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
}

.nfc-badge.checkin {
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
}

.nfc-badge.checkout {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.nfc-log-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nfc-log-info small {
  font-size: 0.68rem;
  color: var(--clr-dim);
}

.nfc-log-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-dim);
}

/* ── MOBILE RESPONSIVE: ADMIN PORTAL ── */
@media (max-width: 640px) {
  .modal-content--admin {
    padding: 1.25rem 1rem;
  }

  .avc-steps-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .avc-step-btn {
    text-align: left;
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Quick Check-In Bar */
.admin-quick-add-bar {
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.qadd-inputs {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.5fr 1.2fr auto;
  gap: 0.5rem;
  align-items: center;
}

.avc-bay-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(232, 18, 26, 0.1);
  color: var(--clr-red);
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 0.2rem;
}

/* POS Counter & Billing */
.pos-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

.pos-billing-box,
.pos-history-box {
  padding: 1.25rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
}

.pos-billing-box h4,
.pos-history-box h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--clr-text);
}

.pos-tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 380px;
  overflow-y: auto;
}

.pos-tx-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
}

.ptx-time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-dim);
  background: var(--clr-input);
  padding: 3px 6px;
  border-radius: 4px;
}

.ptx-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ptx-info strong {
  font-weight: 500;
  font-size: 0.78rem;
  white-space: nowrap;
}

.ptx-info small {
  font-size: 0.7rem;
  color: var(--clr-dim);
  white-space: nowrap;
}

.ptx-amount {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--clr-red);
}

/* Chemical & Stock Inventory Grid */
.inventory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-height: 480px;
  overflow-y: auto;
}

.inv-card {
  padding: 1.1rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.inv-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--clr-text);
}

.inv-cat {
  font-size: 0.72rem;
  color: var(--clr-dim);
}

.inv-status {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.inv-status.good {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.inv-status.critical {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.inv-meter-wrap {
  height: 8px;
  background: var(--clr-border);
  border-radius: 4px;
  overflow: hidden;
}

.inv-meter-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s var(--ease-out);
}

.inv-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

/* Revenue Target Progress Bar */
.target-progress-box {
  padding: 1.25rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
}

.tpb-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--clr-text);
}

.tpb-bar {
  height: 12px;
  background: var(--clr-border);
  border-radius: 6px;
  overflow: hidden;
}

.tpb-fill {
  height: 100%;
  background: linear-gradient(to right, #16a34a, #22c55e);
  border-radius: 6px;
  transition: width 0.8s var(--ease-out);
}

/* ============================================================
   ADMIN BOOKING MATRIX & TIME SLOT INSPECTOR
   ============================================================ */

.admin-booking-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  margin-bottom: 1.25rem;
}

.abc-date-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.day-pills-bar {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
}

.day-pill-btn {
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  font-family: var(--ff);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  color: var(--clr-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t-fast);
}

.day-pill-btn.active {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #ffffff;
}

.abc-view-toggle {
  display: flex;
  gap: 0.4rem;
}

.abc-view-toggle .btn-secondary.active {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #ffffff;
}

.matrix-summary-pill {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(232, 18, 26, 0.06);
  border: 1px solid rgba(232, 18, 26, 0.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.time-slot-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.slot-matrix-card {
  padding: 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-alt);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all var(--t-fast);
}

.slot-matrix-card.is-booked {
  border-color: rgba(232, 18, 26, 0.4);
  background: rgba(232, 18, 26, 0.03);
}

.slot-matrix-card.is-available {
  border-color: rgba(22, 163, 74, 0.3);
  background: rgba(22, 163, 74, 0.02);
}

.smc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.smc-time {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.01em;
}

.smc-status-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.smc-status-badge.booked {
  background: #e8121a;
  color: #ffffff;
}

.smc-status-badge.available {
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
}

.smc-details-box {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  padding: 0.75rem;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.smc-cust-name {
  font-weight: 800;
  color: var(--clr-text);
  font-size: 0.88rem;
}

.smc-cust-phone {
  font-size: 0.75rem;
  color: var(--clr-dim);
}

.smc-plate-badge {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--clr-red);
  letter-spacing: 0.04em;
}

.smc-service-name {
  font-size: 0.78rem;
  color: var(--clr-muted);
  font-weight: 600;
}

.smc-price-tag {
  font-weight: 800;
  color: var(--clr-text);
  font-size: 0.85rem;
}

.smc-sublabel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--clr-dim);
  font-weight: 600;
  margin-top: 0.2rem;
}

.slot-matrix-card {
  cursor: pointer;
  border-radius: 14px;
}

.slot-matrix-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.slot-matrix-card.expanded {
  border-width: 2px;
  box-shadow: 0 8px 24px rgba(232, 18, 26, 0.12);
}

.smc-expandable-details {
  animation: panelIn 0.2s var(--ease-out) both;
  margin-top: 0.4rem;
}

/* POS Ready Vehicles Tap-to-Bill Cards */
.pos-ready-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 220px;
  overflow-y: auto;
}

.pos-ready-card {
  padding: 0.85rem;
  background: rgba(232, 18, 26, 0.04);
  border: 1.5px solid rgba(232, 18, 26, 0.25);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--t-fast);
}

.pos-ready-card:hover {
  background: rgba(232, 18, 26, 0.09);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 18, 26, 0.15);
}

.pos-ready-card.selected {
  border-color: var(--clr-red);
  background: rgba(232, 18, 26, 0.12);
  box-shadow: 0 0 0 2px rgba(232, 18, 26, 0.3);
}

.prc-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.prc-plate {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--clr-red);
  letter-spacing: 0.03em;
}

.prc-meta {
  font-size: 0.78rem;
  color: var(--clr-text);
  font-weight: 600;
}

.prc-price {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-text);
}

@media (max-width: 640px) {
  .admin-booking-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
}






.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.slot-btn {
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-sm);
  font-family: var(--ff);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-input);
  color: var(--clr-text);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  position: relative;
  white-space: nowrap;
}

.slot-btn.available:hover {
  border-color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  transform: translateY(-1px);
}

.slot-btn.available.selected {
  border-color: var(--clr-red);
  background: var(--clr-red);
  color: #fff;
  transform: translateY(-1px);
}

.slot-btn.limited {
  border-color: #f59e0b;
  color: #b45309;
}

.slot-btn.limited:hover {
  background: rgba(245, 158, 11, 0.1);
  transform: translateY(-1px);
}

.slot-btn.limited.selected {
  border-color: var(--clr-red);
  background: var(--clr-red);
  color: #fff;
}

.slot-btn.booked {
  border-color: var(--clr-border);
  background: var(--clr-bg-alt);
  color: var(--clr-dim);
  cursor: not-allowed;
  opacity: 0.6;
  text-decoration: line-through;
}

.slot-btn.past {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.slot-limited-tag {
  display: block;
  position: absolute;
  top: -6px;
  right: -4px;
  font-size: 0.5rem;
  font-weight: 800;
  background: #f59e0b;
  color: #fff;
  border-radius: 3px;
  padding: 1px 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Selected slot bar */
.selected-slot-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(232, 18, 26, 0.07);
  border: 1px solid rgba(232, 18, 26, 0.2);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  color: var(--clr-text);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.selected-slot-bar svg {
  color: var(--clr-red);
  flex-shrink: 0;
}

/* ── BOOKING SUMMARY CARD ── */
.booking-summary-card {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.9rem 1.2rem;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bsc-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text);
}

.bsc-row svg {
  color: var(--clr-red);
  flex-shrink: 0;
}

.bsc-sep {
  width: 1px;
  height: 16px;
  background: var(--clr-border-mid);
  flex-shrink: 0;
  align-self: center;
}

/* ── WHATSAPP TOGGLE ── */
.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  background: var(--clr-bg-alt);
  border-radius: var(--r-sm);
  border: 1px solid var(--clr-border);
}

.toggle-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  background: var(--clr-border-mid);
  border-radius: 10px;
  transition: background var(--t-fast);
  flex-shrink: 0;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--t-fast);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.toggle-row input:checked+.toggle-switch {
  background: #25d366;
}

.toggle-row input:checked+.toggle-switch::after {
  transform: translateX(16px);
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--clr-text);
}

/* ── BOOKING NAV ── */
.booking-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--clr-border);
}

/* ── MOBILE RESPONSIVE: SLOT BOOKING ── */
@media (max-width: 640px) {
  .modal-content--wide {
    padding: 1.5rem 1.25rem;
  }

  .booking-steps {
    gap: 0;
  }

  .booking-step span {
    font-size: 0.58rem;
  }

  .date-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }

  .date-card {
    padding: 0.6rem 0.25rem;
  }

  .dc-num {
    font-size: 1.1rem;
  }

  .service-picker {
    grid-template-columns: 1fr;
  }

  .slot-groups {
    max-height: 220px;
  }

  .booking-summary-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .bsc-sep {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .booking-nav {
    flex-direction: column-reverse;
    gap: 0.6rem;
  }

  .booking-nav .btn-primary,
  .booking-nav .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   100% PROFESSIONAL EXECUTIVE TYPOGRAPHY OVERRIDES
   (Overrides for all admin cards, badges, and tables)
   ============================================================ */
.avc-bay-tag,
.admin-table th,
.badge-plate,
.status-tag,
.astat-lbl,
.astat-val,
.inv-status,
.smc-status-badge,
.nfc-badge,
.slot-limited-tag,
.admin-badge-live,
.admin-login-title,
.admin-brand-name,
.plate-style,
.form-ctrl,
.btn-primary,
.btn-secondary,
.prc-plate,
.avc-plate,
.avc-step-btn {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.astat-val,
.admin-login-title,
.admin-brand-name {
  font-weight: 700 !important;
}

.avc-bay-tag {
  font-size: 0.72rem !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
}

.badge-plate {
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

astat-val,
.admin-login-title,
.admin-brand-name {
  font-weight: 700 !important;
}

.avc-bay-tag {
  font-size: 0.72rem !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
}

.badge-plate {
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

/* ============================================================
   BEFORE & AFTER PHOTO THUMBNAILS & LIGHTBOX MODAL
   ============================================================ */
.ptx-photos {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.photo-thumb-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.photo-thumb-img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid #cbd5e1;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.photo-thumb-img:hover {
  transform: scale(1.08);
  border-color: #e8121a;
}

.photo-badge {
  position: absolute;
  bottom: 2px;
  left: 2px;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  color: #fff;
  line-height: 1;
}

.photo-badge.before {
  background: #2563eb;
}

.photo-badge.after {
  background: #16a34a;
}

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.75rem;
  max-width: 880px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: #e8121a;
}

.lightbox-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.lightbox-photo-item {
  position: relative;
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-photo-item img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #000;
  display: block;
}

.lightbox-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.lightbox-tag.before {
  background: #2563eb;
}

.lightbox-tag.after {
  background: #16a34a;
}

@keyframes error-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}
.error-shake {
  animation: error-shake 0.4s ease;
  border-color: red !important;
}
