/* ==========================================================================
   PRIMORA CLEANING SERVICES L.L.C.
   Clean, Intentional, High-Converting UAE Service Architecture
   Lightweight, Fully Responsive, Rock-Solid Layout System
   ========================================================================== */

/* --- 1. Design Tokens --- */
:root {
  /* Colors */
  --color-ink: #0A0F1D;           /* Deep obsidian for headlines */
  --color-charcoal: #1E2638;      /* Primary body text */
  --color-slate: #475569;         /* Supporting text */
  --color-subtle: #64748B;        /* Muted captions */
  
  /* Surfaces */
  --color-canvas: #F8FAFC;        /* Clean off-white background */
  --color-surface: #FFFFFF;       /* Pure white surface */
  --color-surface-soft: #F1F5F9;  /* Soft architectural surface */
  
  /* Borders */
  --color-line: #E2E8F0;
  --color-line-dark: #CBD5E1;
  
  /* Brand Accents */
  --color-brand-blue: #1D4ED8;
  --color-brand-blue-deep: #172554;
  --color-brand-green: #059669;
  
  /* Conversion Accent (WhatsApp) */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #22BF5B;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Dimensions & Spacing */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --max-width: 1200px;
  --header-height: 105px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-smooth: 250ms ease;
}

@media (min-width: 992px) {
  :root {
    --header-height: 120px;
  }
}

/* --- 2. CSS Reset & Base Foundations --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* Skip link for accessibility */
.skip-to-content {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--color-ink);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  z-index: 99999;
  font-weight: 600;
  font-size: 0.875rem;
  transition: top var(--transition-fast);
}
.skip-to-content:focus {
  top: 20px;
}

/* --- 3. Typography Hierarchy --- */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.editorial-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brand-blue);
  margin-bottom: 0.75rem;
}

.editorial-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-ink);
  margin-bottom: 1rem;
}

.editorial-lead {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--color-slate);
  line-height: 1.6;
  max-width: 680px;
}

/* --- 4. Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.section--white {
  background-color: var(--color-surface);
}

.section--soft {
  background-color: var(--color-surface-soft);
}

/* --- 5. Clean Action Buttons (High Conversion, Zero Fluff) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  white-space: normal;
  max-width: 100%;
  min-height: 48px;
  cursor: pointer;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* WhatsApp Primary */
.btn--whatsapp {
  background-color: var(--color-whatsapp);
  color: #022612;
}
.btn--whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
}

/* Dark Obsidian Primary */
.btn--dark {
  background-color: var(--color-ink);
  color: #FFFFFF;
}
.btn--dark:hover {
  background-color: #1E2638;
}

/* Editorial Outlined */
.btn--editorial {
  background-color: #FFFFFF;
  color: var(--color-ink);
  border: 1px solid var(--color-line-dark);
}
.btn--editorial:hover {
  background-color: var(--color-surface-soft);
  border-color: var(--color-ink);
}

.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* --- 6. Site Header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #06121e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-height);
  transition: background-color var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 80px;
  width: auto;
  max-height: calc(var(--header-height) - 14px);
  object-fit: contain;
  display: block;
  transition: transform var(--transition-smooth);
}

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

@media (min-width: 992px) {
  .site-logo img {
    height: 92px;
  }
}

.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

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

.site-header .btn--sm {
  min-height: 44px;
  touch-action: manipulation;
}

.header-whatsapp-btn {
  display: none;
}

@media (min-width: 640px) {
  .header-whatsapp-btn {
    display: inline-flex;
  }
}

/* Mobile Hamburger Toggle */
.nav-toggle,
#navToggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xs);
  background: transparent;
  touch-action: manipulation;
}

@media (min-width: 992px) {
  .nav-toggle,
  #navToggle {
    display: none;
  }
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  margin: 2.5px 0;
  transition: transform var(--transition-smooth);
}

/* Mobile Drawer */
.nav-mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: #FFFFFF;
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--color-line);
}

.nav-mobile-drawer.is-open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-editorial-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-editorial-split {
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
  }
}

.hero-headline {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  margin-bottom: 1.25rem;
}

.hero-deck {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: var(--color-slate);
  margin-bottom: 2rem;
  max-width: 580px;
}

/* --- 9. Structured Service Stories (Zero Negative Margins, Zero Collisions) --- */
.service-story-wrap {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-6) * 2);
}

@media (min-width: 992px) {
  .service-story-wrap {
    gap: calc(var(--space-6) * 2.5);
  }
}

.editorial-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .editorial-story {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.story-media-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background-color: var(--color-surface-soft);
  align-self: center;
}

.story-media-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.story-content-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  align-self: center;
}

.story-content-card > :last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .story-content-card {
    padding: 2.25rem 2rem;
  }
}

/* Reverse Column Layout for Alternating Rhythm */
@media (min-width: 768px) {
  .editorial-story--reverse .story-media-box {
    order: 2;
  }
  .editorial-story--reverse .story-content-card {
    order: 1;
  }
}

.story-heading {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.story-desc {
  font-size: 0.9375rem;
  color: var(--color-slate);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Itemized Scope Checklist */
.story-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0;
  padding-top: 1.25rem;
  padding-bottom: 0;
  border-top: 1px solid var(--color-line);
  border-bottom: none;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-charcoal);
  font-weight: 600;
  line-height: 1.4;
}

.checklist-mark {
  width: 16px;
  height: 16px;
  color: var(--color-brand-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- 10. Credentials Badges Grid (Clean, Lightweight, Zero-Scroll) --- */
.credentials-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.25rem;
}

.credential-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.credential-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-blue);
  box-shadow: 0 4px 12px rgba(10, 15, 29, 0.05);
}

.credential-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-blue);
  margin-bottom: 0.5rem;
}

.credential-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.credential-label {
  font-size: 0.8125rem;
  color: var(--color-slate);
  line-height: 1.45;
  margin: 0;
}

/* --- 11. District Coverage Grid (Fluid Responsive Columns) --- */
.coverage-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.district-tile {
  background-color: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.district-tile:hover {
  border-color: var(--color-brand-blue);
}

.district-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-ink);
}

.district-meta {
  font-size: 0.8125rem;
  color: var(--color-slate);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* --- 12. Minimalist Clean FAQ Accordion --- */
.editorial-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.editorial-faq-item {
  border-bottom: 1px solid var(--color-line);
}

.editorial-faq-button {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  gap: 1.25rem;
}

.editorial-faq-button:hover {
  color: var(--color-brand-blue);
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--color-brand-blue);
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.editorial-faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
}

.editorial-faq-panel {
  display: none;
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-slate);
  line-height: 1.65;
}

.editorial-faq-item.is-open .editorial-faq-panel {
  display: block;
}

/* --- 13. Direct Callout Architectural Statement --- */
.statement-cta-box {
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 2.75rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .statement-cta-box {
    padding: 4rem 2.5rem;
  }
}

.statement-cta-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.statement-cta-lead {
  font-size: 1.05rem;
  color: var(--color-slate);
  max-width: 600px;
  margin: 0 auto 1.75rem auto;
}

.statement-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 480px) {
  .statement-cta-actions {
    flex-direction: row;
  }
}

/* --- 14. Grounded Dark Footer --- */
.site-footer {
  background-color: var(--color-ink);
  color: #94A3B8;
  padding-top: 4rem;
  padding-bottom: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-editorial-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 1rem;
}

.footer-body-text {
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

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

.footer-nav-link {
  color: #94A3B8;
}

.footer-nav-link:hover {
  color: #FFFFFF;
}

.social-pill-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-pill {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.social-pill:hover {
  background-color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748B;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --- 15. Booking Section --- */
/* --- 15. Hero Booking (Glassmorphism) --- */

/* Global scrollbar hiding on page, booking card, and all inner containers while keeping scrolling active */
html,
body,
.hero-glass-section,
.booking-glass-card,
.booking-content,
#bookingForm,
.step-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.hero-glass-section::-webkit-scrollbar,
.booking-glass-card::-webkit-scrollbar,
.booking-content::-webkit-scrollbar,
#bookingForm::-webkit-scrollbar,
.step-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

:root {
  /* Booking Flow Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  /* Glass Tokens */
  --glass-bg: rgba(15, 23, 42, 0.35);
  --glass-blur: blur(24px) saturate(160%);
  --glass-border: rgba(255, 255, 255, 0.35);
  --radius: 5px;
  --tile-bg: rgba(15, 23, 42, 0.30);
  --tile-border: rgba(255, 255, 255, 0.4);
  --text-1: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.92);
  --text-3: rgba(255, 255, 255, 0.80);
  --text-4: rgba(255, 255, 255, 0.68);
}

.hero-glass-section {
  position: relative;
  min-height: calc(100vh - 90px);
  min-height: calc(100dvh - 90px);
  display: flex;
  align-items: center;
  background-color: #0A0F1D;
  background-image: url('../images/hero-1600.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--space-6) 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  overflow-x: hidden;
}
@media (max-width: 767px) {
  .hero-glass-section {
    background-image: url('../images/hero-800.webp');
  }
}
.hero-glass-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.45);
  z-index: 1;
  pointer-events: none;
}
.hero-glass-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
}
.hero-glass-text {
  flex: 1;
  color: #fff;
}
.hero-glass-text .hero-headline {
  color: var(--text-1);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero-glass-text .serif-accent {
  color: #60A5FA;
}
.hero-glass-text .hero-deck {
  color: var(--text-2);
  font-size: 1.125rem;
  max-width: 90%;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .hero-glass-section {
    min-height: auto;
    padding: var(--space-6) 0;
  }
  .hero-glass-container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-5);
  }
  .hero-glass-text .hero-deck {
    max-width: 100%;
  }
}

/* --- Booking Glass Card --- */
.booking-glass-card {
  width: min(100%, 520px);
  margin-left: auto;
  margin-right: auto;
  padding: 20px 22px;
  box-sizing: border-box;
  height: auto;
  max-height: calc(100vh - var(--space-6));
  max-height: calc(100dvh - var(--space-6));
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  opacity: 1;
  animation: cardRise 300ms ease-out both;
  overflow-wrap: anywhere;
}

/* Card typography & list margin reset */
.booking-glass-card h2,
.booking-glass-card h3,
.booking-glass-card p,
.booking-glass-card label,
.booking-glass-card ul {
  margin: 0;
  padding: 0;
}

@media (max-width: 480px) {
  .booking-glass-card {
    width: calc(100% - var(--space-6));
    padding: 16px;
  }
}

@supports not (backdrop-filter: blur(24px)) {
  .booking-glass-card {
    background: #1E293B;
    border-color: #334155;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .booking-glass-card { animation: none; opacity: 1; }
  .booking-step.is-active { animation: none; }
  .option-card { animation: none; opacity: 1; }
}

.booking-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

#bookingForm {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.booking-step {
  display: none;
  flex-direction: column;
  width: 100%;
}
.booking-step.is-active {
  display: flex;
  animation: stepFadeIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Header --- */
.step-header {
  flex-shrink: 0;
  width: 100%;
}

.step-progress-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-shrink: 0;
  width: 100%;
}
@media (max-width: 480px) {
  .step-progress-bar {
    margin-bottom: 12px;
  }
}

.step-indicator {
  flex: 1;
  height: var(--space-1);
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  transition: background 0.35s ease, opacity 0.35s ease;
}
.step-indicator.is-active,
.step-indicator.is-completed {
  background: #FFFFFF;
  box-shadow: none;
  opacity: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin-top: 0;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .step-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
}

.step-subtitle {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-3);
  margin-top: 0;
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .step-subtitle {
    margin-bottom: 14px;
    font-size: 12.5px;
  }
}

/* --- Body --- */
.step-body {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2px 2px 6px 2px;
  box-sizing: border-box;
  width: 100%;
}
.step-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Soft bottom fade applied only when step body overflows on form steps */
.step-body.has-overflow {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--space-4)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--space-4)), transparent);
}

#step1 .step-body,
#step2 .step-body {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* --- Tiles --- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}
#categoryGrid {
  grid-template-rows: repeat(2, 1fr);
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  #categoryGrid {
    grid-template-rows: repeat(3, 1fr);
  }
}

.option-card {
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
  position: relative;
  opacity: 1;
  animation: tileStagger 400ms ease-out both;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
.option-card:nth-child(1) { animation-delay: 40ms; }
.option-card:nth-child(2) { animation-delay: 80ms; }
.option-card:nth-child(3) { animation-delay: 120ms; }
.option-card:nth-child(4) { animation-delay: 160ms; }
.option-card:nth-child(5) { animation-delay: 200ms; }
.option-card:nth-child(6) { animation-delay: 240ms; }

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

.option-card:focus-visible {
  outline: 2px solid #60A5FA;
  outline-offset: 2px;
}

#categoryGrid .option-card {
  padding: 10px 8px;
  min-height: 84px;
  height: 100%;
}

.option-icon {
  width: 38px;
  height: 38px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: none;
  transition: transform 200ms ease, filter 200ms ease;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}
@media (max-width: 480px) {
  .option-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
  }
}
.option-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  border-radius: var(--radius);
}
.option-icon svg {
  width: 22px;
  height: 22px;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: hidden;
}
.option-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  overflow-wrap: anywhere;
}
#categoryGrid .option-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}
@media (max-width: 480px) {
  #categoryGrid .option-label {
    font-size: 10.5px;
  }
}


/* Step 2 service grid */
#serviceGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
  width: 100%;
}
@media (max-width: 480px) {
  #serviceGrid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
#serviceGrid .option-card {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  align-items: center;
}
#serviceGrid .option-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
#serviceGrid .option-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) {
  .option-card:hover {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  }
  .option-card:hover .option-icon {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
  }
}

.option-card.is-selected {
  border: 2px solid #FFFFFF;
  background: var(--tile-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.option-card.is-selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: #1D4ED8;
  color: #FFFFFF;
  border-radius: var(--radius);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
#serviceGrid .option-card.is-selected::after {
  position: static;
  margin-left: var(--space-2);
  flex-shrink: 0;
}

/* --- Form Fields (Steps 3, 4, 5) --- */
.form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.step-body > .form-group + .form-group {
  margin-top: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: var(--space-3);
  column-gap: var(--space-3);
  gap: var(--space-3);
  width: 100%;
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    row-gap: var(--space-3);
    column-gap: var(--space-3);
    gap: var(--space-3);
  }
}

#dynamicFieldsContainer {
  row-gap: var(--space-3);
  column-gap: var(--space-3);
  gap: var(--space-3);
  width: 100%;
}
#dynamicFieldsContainer:empty {
  display: none;
  margin: 0;
  padding: 0;
}
#dynamicFieldsContainer .form-group {
  margin-bottom: 0;
}
#dynamicFieldsContainer .form-group.col-span-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.35;
  color: var(--text-2);
  margin-top: 0;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  overflow-wrap: anywhere;
}

.form-control {
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: #FFFFFF;
  line-height: normal;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  color-scheme: dark;
  caret-color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .form-control {
    font-size: 16px;
  }
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.68);
}
@media (hover: hover) {
  .form-control:hover {
    background-color: rgba(15, 23, 42, 0.45);
  }
}
.form-control:focus {
  outline: none;
  background-color: rgba(15, 23, 42, 0.45);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

select.form-control {
  appearance: none;
  height: 44px;
  min-height: 44px;
  line-height: normal;
  padding: 0 2.25rem 0 14px;
}
select.form-control option,
select.form-control optgroup {
  background-color: #0f172a;
  color: var(--text-1);
}
select.form-control option:checked,
select.form-control option:hover {
  background-color: #1e3a8a;
  color: var(--text-1);
}
select.form-control option:disabled {
  color: var(--text-4);
}

textarea.form-control {
  height: auto;
  min-height: 64px;
  max-height: 76px;
  padding: 10px 14px;
  resize: none;
  line-height: 1.4;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #FFFFFF;
  caret-color: #FFFFFF;
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.85) inset;
}

.select-wrapper {
  position: relative;
  width: 100%;
}
.select-wrapper::after {
  content: "";
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-2);
  pointer-events: none;
}

.form-control::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.form-control::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* --- Footer --- */
.booking-footer {
  margin-top: 20px;
  padding-top: 0;
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  width: 100%;
}
.booking-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.booking-footer-actions .btn {
  height: 42px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 18px;
  border-radius: var(--radius);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.booking-footer-actions .btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: none;
  font-weight: 600;
  padding: 0 20px;
  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: none;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .booking-footer-actions .btn--ghost:hover {
    color: #FFFFFF;
    text-shadow: none;
  }
}

.btn--brand {
  background-color: var(--color-brand-blue, #1D4ED8);
  background-image: none;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius);
  text-shadow: none;
}
@media (hover: hover) {
  .btn--brand:hover {
    background-color: #1E40AF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }
}

.btn:disabled {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-3);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.whatsapp-disclaimer {
  font-size: 12px;
  color: var(--text-3);
  margin-top: var(--space-2);
  margin-bottom: 0;
  line-height: 1.35;
  text-align: right;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}
@media (max-width: 480px) {
  .whatsapp-disclaimer {
    text-align: center;
  }
}

/* --- Mobile Sticky Quick Contact Bar (Mobile Only: max-width 767px) --- */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    box-sizing: content-box;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background-color: #0A0F1D;
    background-image: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-sticky-bar.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-sticky-btn {
    flex: 1;
    min-width: 0;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: none;
    text-decoration: none;
    border-radius: var(--radius-xs, 4px);
    border: none;
    box-shadow: none;
    background-image: none;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sticky-btn--whatsapp {
    background-color: var(--color-whatsapp, #25D366);
    color: #FFFFFF;
  }

  .mobile-sticky-btn--whatsapp:hover,
  .mobile-sticky-btn--whatsapp:active {
    background-color: var(--color-whatsapp-hover, #22BF5B);
    color: #FFFFFF;
  }

  .mobile-sticky-btn--call {
    background-color: var(--color-brand-blue, #1D4ED8);
    color: #FFFFFF;
  }

  .mobile-sticky-btn--call:hover,
  .mobile-sticky-btn--call:active {
    background-color: #1742b8;
    color: #FFFFFF;
  }
}

