/* ==========================================================================
   Angel Hospitality & Cleaning Services — Design System
   Mobile-first. No build step required.
   ========================================================================== */

:root {
  /* Premium midnight navy + warm gold/champagne palette */
  --color-primary: #0b1b3a;
  --color-primary-dark: #060f24;
  --color-primary-light: #223b72;
  --color-accent: #c9a24b;
  --color-accent-light: #e8d28f;
  --color-violet: #5b4fcf;
  --color-bg: #f8f5ef;
  --color-bg-alt: #ffffff;
  --color-text: #171c2c;
  --color-text-muted: #5b5f72;
  --color-border: #e6e1d6;
  --color-success: #2f8f5b;

  --gradient-navy: linear-gradient(135deg, #0b1b3a 0%, #16264d 55%, #223b72 100%);
  --gradient-gold: linear-gradient(135deg, #c9a24b 0%, #e8d28f 100%);
  --glow-gold: radial-gradient(circle, rgba(201, 162, 75, 0.28), transparent 65%);
  --glow-violet: radial-gradient(circle, rgba(91, 79, 207, 0.22), transparent 65%);

  --font-display: "Playfair Display", Georgia, serif;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(6, 15, 36, 0.08);
  --shadow-md: 0 10px 28px rgba(6, 15, 36, 0.14);
  --shadow-lg: 0 24px 56px rgba(6, 15, 36, 0.22);

  --header-h: 76px;
  --container-w: 1180px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ---------- Accessibility: visible keyboard focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); }

p { color: var(--color-text-muted); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 72px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.section-head h2, .section-head h1 { margin-bottom: 12px; }

.section-alt { background: var(--color-bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-primary:active { box-shadow: none; transform: scale(0.97) translateY(0); }

.btn-outline {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.16); border-color: rgba(232,210,143,0.7); transform: translateY(-2px); }
.btn-outline:active { background: rgba(255,255,255,0.1); transform: scale(0.97) translateY(0); }

.btn-dark {
  background: var(--color-primary);
  color: #fff;
}
.btn-dark:hover { background: var(--color-primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark:active { box-shadow: none; transform: scale(0.97) translateY(0); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-header.is-scrolled {
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  height: 64px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: #fff; transition: color var(--transition); }
.site-header.is-scrolled .brand { color: var(--color-primary-dark); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.brand-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.04em; opacity: 0.85; }

/* Official logo mark — keeps header compact; soft glow lifts it off the
   dark hero background before the header has scrolled to its light state. */
.brand-logo {
  height: 52px; width: auto; display: block;
  filter: drop-shadow(0 1px 2px rgba(255,255,255,0.9)) drop-shadow(0 0 14px rgba(255,255,255,0.55));
  transition: height var(--transition), filter var(--transition);
}
.site-header.is-scrolled .brand-logo { height: 44px; filter: none; }
.footer-logo { height: 46px; width: auto; display: block; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-weight: 500; font-size: 0.92rem; color: #fff;
  position: relative; padding: 6px 0; transition: color var(--transition);
}
.site-header.is-scrolled .main-nav a { color: var(--color-text); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--color-accent); transition: width var(--transition), opacity var(--transition);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.main-nav a:active::after { opacity: 0.6; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-call {
  display: none;
  align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: #fff;
}
.site-header.is-scrolled .header-call { color: var(--color-primary-dark); }

.header-pay {
  display: none;
  align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.85rem; color: var(--color-accent-light);
  border: 1.5px solid rgba(232,210,143,0.5); border-radius: 999px; padding: 7px 14px;
  transition: var(--transition);
}
.header-pay:hover { background: rgba(232,210,143,0.12); }
.site-header.is-scrolled .header-pay { color: var(--color-primary-dark); border-color: var(--color-accent); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 10px; border: none;
  background: rgba(255,255,255,0.15); cursor: pointer; z-index: 600;
}
.site-header.is-scrolled .nav-toggle { background: rgba(11,27,58,0.08); }
.nav-toggle span { width: 20px; height: 2px; background: #fff; margin: 0 auto; transition: var(--transition); }
.site-header.is-scrolled .nav-toggle span { background: var(--color-primary-dark); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 550;
  background: var(--color-primary-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { color: #fff; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; transition: color var(--transition), transform var(--transition); display: inline-block; }
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--color-accent-light); }
.mobile-nav a:active { transform: scale(0.96); }
.mobile-nav .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: var(--gradient-navy);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(201,162,75,0.30), transparent 50%),
    radial-gradient(circle at 8% 90%, rgba(91,79,207,0.28), transparent 55%),
    radial-gradient(circle at 62% 55%, rgba(201,162,75,0.14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 100%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center;
  padding: 48px 0 64px;
}
.hero-copy { color: #fff; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 20px; color: var(--color-accent-light);
}
.hero-copy h1 { color: #fff; margin-bottom: 18px; }
.hero-copy h1 span { color: var(--color-accent-light); }
.hero-copy p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 520px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500; }
.hero-trust svg { width: 18px; height: 18px; color: var(--color-accent-light); flex-shrink: 0; }

.hero-photo-wrap { position: relative; }
.hero-photo-wrap::before {
  content: "";
  position: absolute; inset: -34px;
  background: var(--glow-gold);
  filter: blur(36px);
  opacity: 0.5;
  z-index: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
}
/* No hard border/shadow here on purpose — the illustration sits directly on
   the hero's own dark gradient (shared with .hero-copy via .hero::before)
   so the two halves read as one continuous scene, not a text panel next to
   a separate boxed photo card. */
.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0) 55%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero visual: layered illustration (no external images) ----------
   Three depth planes build an abstract scene of a spotless, professionally
   cleaned home rather than one dominant icon:
     .hv-bg  — ambient aurora glow + a faint architectural grid (background)
     .hv-mid — the facade illustration, a soft light sweep, and a controlled
               sparkle trail over the roofline (midground, the focal point)
     .hv-fg  — floating glass fragments naming real, already-stated trust
               points (foreground, strongest parallax)
   Every layer has its own slow idle motion so the scene feels alive at
   rest; cursor parallax (desktop, fine-pointer only) adds on top via the
   --hv-px / --hv-py custom properties set directly on each plane by
   main.js. All motion is opt-in via prefers-reduced-motion: no-preference.
   Mobile (<960px) drops the grid, sweep and floating cards — see the
   responsive block near the bottom of this file. */
.hero-visual {
  width: 100%; height: 100%; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transform: translateZ(0);
}

.hv-bg, .hv-mid, .hv-fg {
  position: absolute; inset: 0;
  transform: translate3d(calc(var(--hv-px, 0) * var(--depth, 1) * 1px), calc(var(--hv-py, 0) * var(--depth, 1) * 1px), 0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hv-bg { z-index: 0; --depth: 0.25; }
.hv-mid { z-index: 1; --depth: 0.55; }
.hv-fg { z-index: 2; --depth: 1.1; pointer-events: none; }

/* Background plane: ambient light + faint structural grid */
.hv-aurora { position: absolute; inset: -4%; pointer-events: none; }
.hv-aurora::before, .hv-aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(44px);
}
.hv-aurora::before {
  width: 62%; aspect-ratio: 1; top: 4%; left: 6%;
  background: radial-gradient(circle, rgba(201,162,75,0.35), transparent 70%);
}
.hv-aurora::after {
  width: 56%; aspect-ratio: 1; bottom: 2%; right: 4%;
  background: radial-gradient(circle, rgba(91,79,207,0.32), transparent 70%);
}
.hv-grid { position: absolute; inset: 6%; width: 88%; height: 88%; opacity: 0.1; }
.hv-grid line { stroke: rgba(255,255,255,0.5); stroke-width: 1; }

/* Midground plane: the facade illustration */
.hv-facade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-facade-line { fill: none; stroke: rgba(255,255,255,0.55); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hv-facade-line-soft { fill: none; stroke: rgba(255,255,255,0.24); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hv-window { fill: url(#hvWindowGlass); stroke: rgba(232,210,143,0.55); stroke-width: 1.2; }
.hv-window-glint { stroke: rgba(255,255,255,0.55); stroke-width: 1; opacity: 0.15; }
.hv-floor { fill: url(#hvFloorReflect); }
.hv-trail { fill: none; stroke: url(#hvTrailGrad); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 46 400; opacity: 0; }

.hv-sweep {
  position: absolute; top: -25%; left: -35%; width: 55%; height: 150%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.16) 45%, transparent 65%);
  transform: rotate(12deg) translateX(-120%);
  mix-blend-mode: screen; pointer-events: none;
}

/* Foreground plane: floating glass fragments (existing, already-stated
   trust points only — see the hero-trust list and trust bar on this page) */
.hv-card {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(6,15,36,0.25);
  color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.02em; white-space: nowrap;
}
.hv-card svg { width: 15px; height: 15px; color: var(--color-accent-light); flex-shrink: 0; }
.hv-card-1 { top: 9%; left: 3%; }
.hv-card-2 { top: 41%; right: 1%; }
.hv-card-3 { bottom: 21%; left: 7%; }

@media (prefers-reduced-motion: no-preference) {
  .hv-aurora::before { animation: hv-aurora-drift-a 26s ease-in-out infinite alternate; }
  .hv-aurora::after { animation: hv-aurora-drift-b 32s ease-in-out infinite alternate; }
  .hv-grid { animation: hv-grid-breathe 18s ease-in-out infinite; }
  .hv-sweep { animation: hv-sweep-pass 10s cubic-bezier(0.4,0,0.2,1) infinite; animation-delay: 1s; }
  .hv-trail { animation: hv-trail-run 8s ease-in-out infinite; animation-delay: 2s; }
  .hv-window-glint { animation: hv-glint 8s ease-in-out infinite; }
  .hv-card-1 { animation: hv-float-a 7s ease-in-out infinite; }
  .hv-card-2 { animation: hv-float-b 8s ease-in-out infinite; animation-delay: 0.6s; }
  .hv-card-3 { animation: hv-float-c 9s ease-in-out infinite; animation-delay: 1.2s; }
}
@keyframes hv-aurora-drift-a { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(6%, 8%) scale(1.1); } }
@keyframes hv-aurora-drift-b { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-7%, -6%) scale(1.06); } }
@keyframes hv-grid-breathe { 0%, 100% { opacity: 0.08; } 50% { opacity: 0.16; } }
@keyframes hv-sweep-pass {
  0% { transform: rotate(12deg) translateX(-120%); opacity: 0; }
  8% { opacity: 1; }
  45% { transform: rotate(12deg) translateX(160%); opacity: 1; }
  55% { opacity: 0; }
  100% { transform: rotate(12deg) translateX(160%); opacity: 0; }
}
@keyframes hv-trail-run {
  0%, 15% { stroke-dashoffset: 400; opacity: 0; }
  22% { opacity: 0.9; }
  55% { stroke-dashoffset: -40; opacity: 0.9; }
  65% { opacity: 0; }
  100% { stroke-dashoffset: -40; opacity: 0; }
}
@keyframes hv-glint { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.65; } }
@keyframes hv-float-a { 0%, 100% { transform: translate(0,0) rotate(-2deg); } 50% { transform: translate(3px,-8px) rotate(1deg); } }
@keyframes hv-float-b { 0%, 100% { transform: translate(0,0) rotate(2deg); } 50% { transform: translate(-4px,-6px) rotate(-1deg); } }
@keyframes hv-float-c { 0%, 100% { transform: translate(0,0) rotate(-1deg); } 50% { transform: translate(2px,-7px) rotate(2deg); } }

/* Mobile: significantly simpler scene — facade + ambient glow + sparkle
   trail only. No grid, no light sweep, no floating cards. */
@media (max-width: 959.98px) {
  .hv-grid, .hv-sweep, .hv-fg { display: none; }
  .hv-aurora::before, .hv-aurora::after { filter: blur(30px); }
}
.hero-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: rgba(255,255,255,0.75); text-align: center; padding: 24px;
}
.hero-photo-placeholder .avatar-circle {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: #fff;
}
.hero-photo-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,255,255,0.95);
  color: var(--color-primary-dark);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-photo-badge strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.hero-photo-badge span { font-size: 0.78rem; color: var(--color-text-muted); }
.stars { color: var(--color-accent); font-size: 0.9rem; letter-spacing: 2px; }

/* ---------- Contact hero decorative graphic (static line-art, no photo) ---------- */
.contact-hero-decor {
  display: none;
  position: absolute;
  top: 50%; right: 2%;
  transform: translateY(-50%);
  width: 300px; height: 300px;
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
}
@media (min-width: 900px) {
  .contact-hero-decor { display: block; }
}

/* ---------- Airbnb estimator support visual (static line-art, no photo) ---------- */
.turnover-cycle-decor {
  display: none;
  position: absolute;
  top: 4px; right: 0;
  width: 200px; height: auto;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}
@media (min-width: 900px) {
  .turnover-cycle-decor { display: block; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  position: relative;
  background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); padding: 28px 0;
}
.trust-bar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-gold);
  pointer-events: none;
}
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.88rem; color: var(--color-primary-dark); }
.trust-item svg { width: 22px; height: 22px; color: var(--color-accent); flex-shrink: 0; }
.trust-item:nth-child(1) { transition-delay: 0ms; }
.trust-item:nth-child(2) { transition-delay: 70ms; }
.trust-item:nth-child(3) { transition-delay: 140ms; }
.trust-item:nth-child(4) { transition-delay: 210ms; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.service-card {
  position: relative;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
/* Service cards also carry .reveal (for the scroll-in fade), and .reveal's
   own transition shorthand is declared later in this file — same
   specificity means it would otherwise silently replace the list above,
   snapping box-shadow/border-color instead of easing them. Re-declaring
   at higher specificity here keeps the reveal-in timing identical while
   restoring smooth hover transitions. */
.service-card.reveal { transition: opacity 0.7s ease, transform 0.7s ease, box-shadow var(--transition), border-color var(--transition); }
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
  pointer-events: none;
}
.service-card:hover, .service-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,162,75,0.35); }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--gradient-navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--color-accent-light);
  transition: transform var(--transition);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { transform: translateY(-2px) scale(1.05); }
.service-card-photo {
  margin: -32px -26px 20px;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-card-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--transition);
}
.service-card:hover .service-card-photo img, .service-card:focus-within .service-card-photo img { transform: scale(1.05); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; margin-bottom: 16px; }
.service-card .service-link { font-weight: 700; color: var(--color-primary); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .service-link:hover, .service-card .service-link:focus-visible { color: var(--color-accent); }
.service-card .service-link svg { transition: transform var(--transition); }
.service-card .service-link:hover svg, .service-card .service-link:focus-visible svg,
.service-card:hover .service-link svg, .service-card:focus-within .service-link svg { transform: translateX(4px); }

#services, .decor-section { position: relative; overflow: hidden; }
#services::before, .decor-section::before {
  content: "";
  position: absolute; top: -10%; right: -8%; width: 480px; height: 480px;
  background: var(--glow-gold); filter: blur(30px); pointer-events: none; z-index: 0;
}
#services::after, .decor-section::after {
  content: "";
  position: absolute; bottom: -15%; left: -10%; width: 420px; height: 420px;
  background: var(--glow-violet); filter: blur(30px); pointer-events: none; z-index: 0;
}
#services > .container, .decor-section > .container { position: relative; z-index: 1; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 28px; counter-reset: step; position: relative; z-index: 1; }
.step { text-align: center; position: relative; padding: 0 12px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--gradient-navy); color: var(--color-accent-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(6,15,36,0.25);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; }
#how-it-works { position: relative; overflow: hidden; }
#how-it-works::before {
  content: "";
  position: absolute; top: 10%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,162,75,0.12), transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ---------- Homepage-only visual polish (Phase 6A) ----------
   Scoped under #home (index.html's <body id="home">) rather than editing
   the shared .trust-bar/.steps/.service-card rules directly — those
   classes are also used on about.html, airbnb.html and the service pages,
   which this pass must not visually affect. */

/* Soft hand-off from the dark hero into the light trust bar, without
   touching .hero itself (approved, out of scope). */
#home .trust-bar { overflow: hidden; }
#home .trust-bar::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 44px;
  background: linear-gradient(to bottom, rgba(11,27,58,0.05), rgba(11,27,58,0));
  pointer-events: none;
}

/* Consistent card height across a row regardless of description length,
   plus a soft resting shadow so the hover lift reads as an enhancement
   rather than the card's only depth cue. */
#home .service-card {
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
#home .service-card p { flex: 1 0 auto; }
#home .service-card .service-link { margin-top: auto; }
/* The flex-column rule above stretches .service-link's unsized arrow svg
   (it never had an explicit width/height) into a huge square icon. Restore
   its intended small inline size — scoped here since other pages don't
   use flex-column on .service-card and aren't affected. */
#home .service-card .service-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Subtle connective line behind the step numbers, only where there's a
   horizontal row to connect (the 4-column breakpoint). */
@media (min-width: 720px) {
  #home .steps { position: relative; }
  #home .steps::before {
    content: "";
    position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
    background: linear-gradient(to right, transparent, var(--color-border) 12%, var(--color-border) 88%, transparent);
    z-index: 0;
  }
  #home .step-num { position: relative; z-index: 1; }
}

/* ---------- Estimator ---------- */
.estimator-panel {
  position: relative;
  background: var(--color-bg-alt); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--color-border);
  padding: 36px 24px 32px; max-width: 760px; margin: 0 auto;
  overflow: hidden;
}
.estimator-panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-gold);
  pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.85rem; color: var(--color-primary-dark); }
.form-group .hint { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); font-family: var(--font-body);
  font-size: 0.95rem; background: #fff; color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:hover, select:hover, textarea:hover { border-color: var(--color-text-muted); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(34,59,114,0.16);
}
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1.5px solid var(--color-border); border-radius: 999px;
  padding: 9px 16px; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  background: #fff; color: var(--color-text); transition: var(--transition);
}
.chip:hover { border-color: var(--color-primary-light); }
.chip:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.is-active, .chip:has(input:checked) {
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
}
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--color-border);
  background: #fff; font-size: 1.1rem; font-weight: 700; cursor: pointer; color: var(--color-primary);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.stepper button:hover { background: var(--color-bg); border-color: var(--color-primary-light); }
.stepper button:active { transform: scale(0.92); }
.stepper .stepper-val { font-weight: 700; min-width: 24px; text-align: center; }

.estimate-result {
  margin-top: 24px; padding: 24px; border-radius: var(--radius-md);
  background: var(--gradient-navy);
  color: #fff; text-align: center; display: none;
}
.estimate-result.is-visible { display: block; }
.estimate-result .amount { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--color-accent-light); margin: 6px 0; }
.estimate-result p { color: rgba(255,255,255,0.85); }
.estimate-result .estimate-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review-card {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm);
}
.review-card .stars { margin-bottom: 10px; }
.review-card p { font-size: 0.92rem; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-heading); font-size: 0.9rem;
}
.review-author strong { font-size: 0.85rem; display: block; }
.review-author span { font-size: 0.75rem; color: var(--color-text-muted); }
.google-badge {
  display: flex; width: fit-content; align-items: center; justify-content: center; gap: 10px;
  margin: 0 auto 30px; font-weight: 600; color: var(--color-primary-dark); font-size: 0.9rem;
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  padding: 10px 20px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* ---------- Service area ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-tags li {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  padding: 9px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--color-primary-dark);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--gradient-navy);
  color: #fff; text-align: center; padding: 64px 24px; border-radius: var(--radius-lg);
  margin: 0 20px; max-width: calc(var(--container-w) - 40px);
  margin-left: auto; margin-right: auto;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(201,162,75,0.25), transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(91,79,207,0.25), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.google-badge {
  width: 56px; height: 56px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: var(--shadow-sm);
}
.google-reviews-rating { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 22px; }
.google-reviews-rating .stars { color: var(--color-accent-light); }
.google-reviews-rating strong { color: #fff; font-size: 1.1rem; }
.google-reviews-rating span:last-child { color: rgba(255,255,255,0.75); font-size: 0.88rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--color-primary-dark); color: rgba(255,255,255,0.75); padding: 60px 0 24px; margin-top: 40px;
  border-top: 1px solid rgba(232,210,143,0.25);
}
.site-footer::before {
  content: "";
  position: absolute; top: -20%; right: 5%; width: 400px; height: 400px;
  background: var(--glow-violet); filter: blur(50px); pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer-col p, .footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.68); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { transition: color var(--transition); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--color-accent-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand strong { color: #fff; font-family: var(--font-heading); }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--color-accent); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ---------- Floating action dock ----------
   One unified container instead of separate disconnected colored circles.
   Compact, icon-only by default; a label reveals next to each icon on
   hover/keyboard-focus via absolute positioning, so revealing a label
   never shifts or resizes the dock itself. Icons alone remain directly
   tappable at all times — mobile never depends on hover to be usable. */
.fab-dock {
  position: fixed; right: 18px; bottom: 18px; z-index: 400;
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px;
  background: rgba(11, 27, 58, 0.94);
  border: 1px solid rgba(232, 210, 143, 0.16);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  isolation: isolate;
}
.fab-item {
  position: relative;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent-light);
  background: transparent;
  transition: background var(--transition), transform var(--transition);
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
}
.fab-item:hover, .fab-item:focus-visible { background: rgba(255,255,255,0.12); transform: scale(1.06); }
.fab-item:active { transform: scale(0.94); }
/* Icons are decorative — pointer-events: none guarantees a click anywhere
   in the 48px circle always resolves to the link/button itself, never to
   the SVG glyph inside it (some engines hit-test fill:none SVG paths by
   their stroke only, leaving the empty space between strokes unclickable
   unless explicitly delegated back to the parent). */
.fab-icon { position: relative; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.fab-icon svg { width: 21px; height: 21px; pointer-events: none; }

.fab-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--color-primary-dark); color: #fff;
  padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.fab-item:hover .fab-label, .fab-item:focus-visible .fab-label {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .fab-item, .fab-label { transition: none; }
}

/* Touch devices: no hover, so labels never show — the icon itself is
   already a full 48px tap target, well above the 44px accessibility
   minimum, so nothing further is needed to make it touch-friendly. */
@media (hover: none) {
  .fab-label { display: none; }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 900; background: rgba(6, 15, 36, 0.68);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
  padding: 0;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--color-bg); width: 100%; max-width: 820px;
  max-height: 92svh; overflow-y: auto; border-radius: 20px 20px 0 0;
  padding: 28px 20px 40px; position: relative;
  transform: translateY(30px); transition: transform var(--transition);
  border-top: 4px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.is-open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-bg-alt); border: 1px solid var(--color-border); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--color-text);
}

/* ---------- Reveal animation ----------
   Hidden state only applies under html.js, a class set by a tiny inline
   script at the very top of <head> on every customer page. If JavaScript
   is disabled or fails to run, that class never gets added, these rules
   never match, and every section is visible immediately — no
   flash-of-invisible-content risk. The "revealed" rules are written with
   the same html.js-prefixed specificity (plus the .is-visible class, so
   they're structurally guaranteed to outrank the hidden-state rules
   rather than depending on source order). Modifiers vary the motion so
   the page doesn't feel like one animation repeated everywhere. */
.reveal, .reveal-fade, .reveal-scale, .reveal-sm {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal-fade { opacity: 0; transform: none; }
html.js .reveal-scale { opacity: 0; transform: translateY(10px) scale(0.96); }
html.js .reveal-sm { opacity: 0; transform: translateY(12px); transition-duration: 0.5s; }

html.js .reveal.is-visible,
html.js .reveal-fade.is-visible,
html.js .reveal-scale.is-visible,
html.js .reveal-sm.is-visible {
  opacity: 1; transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-fade, html.js .reveal-scale, html.js .reveal-sm {
    opacity: 1; transform: none; transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Micro-interactions: reduced motion ----------
   The interactive states themselves (hover/focus/active feedback) stay —
   removing them would remove real affordance, not just motion. Only the
   animated transition between states is disabled, so state changes are
   instant instead of eased. */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-primary, .btn-outline, .btn-dark,
  .main-nav a::after, .mobile-nav a,
  .service-card, .service-card::before, .service-icon, .service-card .service-link svg,
  .service-pick, .service-pick .service-icon,
  .time-slot, .stepper button, .chip,
  input, select, textarea, .field-error,
  .footer-col a {
    transition: none !important;
  }
}

/* ---------- Booking wizard ---------- */
.wizard-shell { max-width: 1080px; margin: 0 auto; padding-top: calc(var(--header-h) + 32px); padding-bottom: 80px; }
.wizard-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.wizard-main { min-width: 0; }

/* Persistent booking summary */
.wizard-summary {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.wizard-summary-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: var(--gradient-navy); color: #fff;
  border: none; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem;
}
.summary-toggle-icon { transition: transform var(--transition); }
.wizard-summary-toggle[aria-expanded="true"] .summary-toggle-icon { transform: rotate(180deg); }
.wizard-summary-body { display: none; padding: 16px 18px 18px; }
.wizard-summary-body.is-open { display: block; }
.summary-estimate {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
  color: var(--color-primary-dark); margin-bottom: 12px; text-align: center;
  padding: 10px; background: var(--color-bg); border-radius: var(--radius-sm);
}
.summary-rows { display: flex; flex-direction: column; gap: 10px; }
.summary-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding-bottom: 10px; border-bottom: 1px dashed var(--color-border); font-size: 0.85rem;
}
.summary-row:last-child { border-bottom: none; padding-bottom: 0; }
.summary-row dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); font-weight: 700; margin-bottom: 2px; }
.summary-row dd { font-weight: 600; color: var(--color-text); }
.summary-row.is-empty dd { color: var(--color-text-muted); font-weight: 400; font-style: italic; }
.summary-edit, .row-edit {
  flex-shrink: 0; background: none; border: none; color: var(--color-primary); font-weight: 700;
  font-size: 0.78rem; cursor: pointer; padding: 2px 6px; border-radius: 6px; text-decoration: underline;
}
.summary-edit:hover, .row-edit:hover { color: var(--color-accent); background: rgba(201,162,75,0.1); }
.row-edit { margin-left: 8px; text-decoration: none; border: 1px solid var(--color-border); font-size: 0.72rem; }

.wizard-progress { display: flex; gap: 8px; margin-bottom: 36px; }
.wizard-progress .dot { flex: 1; height: 6px; border-radius: 999px; background: var(--color-border); transition: background var(--transition), transform var(--transition); }
.wizard-progress .dot.is-done { background: var(--color-primary); }
.wizard-progress .dot.is-active { background: var(--color-accent); }
.wizard-progress .dot.is-clickable { cursor: pointer; }
.wizard-progress .dot.is-clickable:hover { transform: scaleY(1.8); }
.wizard-progress .dot:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.wizard-step { display: none; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 30px 22px; box-shadow: var(--shadow-md); }
.wizard-step.is-active { display: block; }
.wizard-step h2 { margin-bottom: 6px; }
.wizard-step > p.step-desc { margin-bottom: 24px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

.step-error-banner {
  display: none; align-items: center; gap: 10px; background: #fdecea; border: 1px solid #f3b7ae;
  color: #b3261e; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600;
  margin-bottom: 18px;
}
.step-error-banner.is-visible { display: flex; }
.step-error-banner::before { content: "⚠"; font-size: 1rem; }

.request-notice {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff8e8; border: 1px solid var(--color-accent-light);
  padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 20px; font-size: 0.85rem;
}
.request-notice strong { color: var(--color-primary-dark); }
.request-notice span { color: var(--color-text-muted); }
.service-pick-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.service-pick {
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md); padding: 16px;
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  transition: var(--transition), transform var(--transition), box-shadow var(--transition);
}
.service-pick:hover, .service-pick:focus-visible { border-color: var(--color-primary-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.service-pick:active { transform: translateY(0) scale(0.98); }
.service-pick.is-selected { border-color: var(--color-primary); background: rgba(11,27,58,0.05); }
.service-pick .service-icon { width: 42px; height: 42px; margin: 0; flex-shrink: 0; transition: transform var(--transition); }
.service-pick:hover .service-icon, .service-pick.is-selected .service-icon { transform: scale(1.06); }
.service-pick strong { display: block; font-size: 0.95rem; }
.service-pick span { font-size: 0.8rem; color: var(--color-text-muted); }

.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.time-slot {
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: 10px 6px;
  min-height: 44px; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 0.82rem; font-weight: 600; cursor: pointer; background: #fff;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.time-slot:hover:not(.is-selected):not([disabled]), .time-slot:focus-visible:not(.is-selected):not([disabled]) {
  border-color: var(--color-primary-light); background: var(--color-bg);
}
.time-slot:active:not([disabled]) { transform: scale(0.95); }
.time-slot.is-selected { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.time-slot[disabled] { opacity: 0.35; cursor: not-allowed; }

.review-summary { background: var(--color-bg); border-radius: var(--radius-md); padding: 20px; }
.review-summary dl { display: grid; grid-template-columns: 1fr; gap: 10px; }
.review-summary .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--color-border); font-size: 0.9rem; flex-wrap: wrap; }
.review-summary .row dt { color: var(--color-text-muted); }
.review-summary .row dd { font-weight: 600; text-align: right; display: flex; align-items: center; gap: 4px; }

.confirm-screen { text-align: center; padding: 40px 20px; }
.confirm-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--color-success); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirm-icon svg { width: 40px; height: 40px; }
.confirm-ref { display: inline-block; background: var(--color-bg); border: 1px dashed var(--color-border); padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--color-primary); margin: 14px 0 24px; }

.field-error {
  display: block; color: #c0392b; font-size: 0.78rem;
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease;
}
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #c0392b; }
.form-group.has-error .field-error { max-height: 40px; opacity: 1; margin-top: 4px; }

.form-note { display: none; margin-top: 16px; font-size: 0.85rem; color: var(--color-success); font-weight: 600; }
.form-note.is-visible { display: block; }

.contact-info-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 20px; margin-bottom: 16px;
}
.contact-info-card .service-icon { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }
.contact-info-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 0.88rem; }
.contact-info-card:nth-of-type(1) { transition-delay: 0ms; }
.contact-info-card:nth-of-type(2) { transition-delay: 70ms; }
.contact-info-card:nth-of-type(3) { transition-delay: 140ms; }
.contact-info-card:nth-of-type(4) { transition-delay: 210ms; }

.two-col-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 960px) { .two-col-grid { grid-template-columns: 1fr 1.1fr; } }

/* ---------- Supporting content photos (About / Airbnb) ---------- */
.content-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.content-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .service-pick-grid { grid-template-columns: 1fr 1fr; }
  .time-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-call { display: flex; }
  .header-pay { display: flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .modal-overlay { align-items: center; }
  .modal-box { border-radius: 20px; margin: 20px; }

  .wizard-grid { grid-template-columns: 1fr 300px; align-items: start; gap: 28px; }
  .wizard-summary { position: sticky; top: calc(var(--header-h) + 20px); order: 2; }
  .wizard-summary-toggle { display: none; }
  .wizard-summary-body { display: block !important; }
}

/* ---------- Accessibility utility ---------- */
.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;
}

/* ---------- AI Assistant: floating dock item ---------- */
.fab-ai-badge {
  position: absolute; top: -6px; right: -8px; background: var(--color-accent);
  color: var(--color-primary-dark); font-size: 0.52rem; font-weight: 800;
  padding: 2px 5px; border-radius: 999px; line-height: 1; letter-spacing: 0.02em;
  pointer-events: none;
}

/* ---------- AI Assistant: chat panel ----------
   Always a BOUNDED card, never full-screen — must never cover the whole
   page or block content, on any breakpoint. */
.ai-chat-panel {
  position: fixed;
  right: 14px; left: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 950;
  background: var(--color-bg-alt);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  max-height: min(70vh, 560px);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
}
.ai-chat-panel.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .ai-chat-panel { transition: none; }
}
.ai-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 16px 18px; background: var(--gradient-navy); color: #fff;
  flex-shrink: 0;
}
.ai-chat-header-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ai-chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.ai-chat-header-info strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.ai-chat-status { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.ai-chat-status.is-live { color: #7ee2a8; }
.ai-chat-header-actions { display: flex; gap: 6px; flex-shrink: 0; }
.ai-chat-icon-btn {
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: background var(--transition);
}
.ai-chat-icon-btn:hover { background: rgba(255,255,255,0.24); }

.ai-chat-messages {
  flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px;
  background: var(--color-bg);
}
.ai-msg { display: flex; }
.ai-msg-assistant { justify-content: flex-start; }
.ai-msg-user { justify-content: flex-end; }
.ai-msg-bubble {
  max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: 0.88rem; line-height: 1.5;
}
.ai-msg-assistant .ai-msg-bubble {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  color: var(--color-text); border-bottom-left-radius: 4px;
}
.ai-msg-assistant .ai-msg-bubble a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
.ai-msg-user .ai-msg-bubble {
  background: var(--gradient-navy); color: #fff; border-bottom-right-radius: 4px;
}
.ai-offline-notice { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--color-text-muted); font-style: italic; }

.ai-typing-bubble { display: flex; gap: 4px; align-items: center; padding: 14px; }
.ai-typing-bubble span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-text-muted);
  animation: ai-typing-bounce 1.2s infinite ease-in-out;
}
.ai-typing-bubble span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing-bubble span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ai-typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.ai-chat-suggested { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; flex-shrink: 0; }
.ai-chat-suggested:not(:empty) { padding-top: 12px; }
.ai-suggested-chip {
  background: var(--color-bg-alt); border: 1.5px solid var(--color-border); border-radius: 999px;
  padding: 8px 14px; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); cursor: pointer;
  transition: var(--transition);
}
.ai-suggested-chip:hover { border-color: var(--color-primary); background: rgba(11,27,58,0.05); }

.ai-chat-quick-actions {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; flex-shrink: 0;
  border-top: 1px solid var(--color-border); background: var(--color-bg-alt);
}
.ai-quick-btn {
  flex: 1 1 auto; text-align: center; background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 9px 10px; font-size: 0.76rem; font-weight: 700;
  color: var(--color-primary-dark); cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.ai-quick-btn:hover { background: var(--color-accent-light); border-color: var(--color-accent); }

.ai-chat-input-row {
  display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt); flex-shrink: 0;
}
.ai-chat-input-row input {
  flex: 1; border: 1.5px solid var(--color-border); border-radius: 999px; padding: 12px 18px;
  font-size: 0.9rem; font-family: var(--font-body); background: var(--color-bg); color: var(--color-text);
}
.ai-chat-input-row input:focus { outline: none; border-color: var(--color-primary-light); box-shadow: 0 0 0 3px rgba(34,59,114,0.16); }
.ai-chat-send {
  width: 44px; height: 44px; border-radius: 50%; border: none; flex-shrink: 0;
  background: var(--gradient-gold); color: var(--color-primary-dark); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.ai-chat-send:hover { transform: scale(1.06); }

@media (min-width: 480px) {
  .ai-chat-panel {
    right: 20px; bottom: 20px; left: auto;
    width: 380px; max-height: min(600px, calc(100vh - 100px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-typing-bubble span { animation: none; opacity: 1; }
}
