/* =============================================
   SOS SERRURIER 94 — Clean & Fluid Design
   sos-serrurier-94.fr
   ============================================= */

:root {
  --primary: #0f172a;
  --primary-mid: #1e293b;
  --primary-light: #334155;
  --accent: #f97316;
  --accent-soft: #fb923c;
  --accent-bg: rgba(249,115,22,0.08);
  --cta: #16a34a;
  --cta-hover: #15803d;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #64748b;
  --gray-700: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-cta: 0 4px 14px rgba(22,163,74,0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s var(--ease);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --container-pad: clamp(20px, 5vw, 40px);
  --section-pad: clamp(48px, 10vw, 96px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(15px, 1vw + 12px, 17px);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  content-visibility: auto;
}
a { color: inherit; text-decoration: none; -webkit-touch-callout: none; }
ul, ol { list-style: none; }
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  touch-action: manipulation;
}
input, select, textarea { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Container ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── Typography ────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(1.75rem, 5vw + 0.5rem, 3.25rem); }
h2 { font-size: clamp(1.4rem, 3.5vw + 0.3rem, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.05rem, 2vw + 0.2rem, 1.35rem); margin-bottom: 0.5rem; }
p {
  margin-bottom: 1rem;
  color: var(--gray-700);
  font-size: clamp(0.925rem, 0.5vw + 0.8rem, 1.0625rem);
  line-height: 1.75;
}
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.section-subtitle {
  color: var(--gray-600);
  font-size: clamp(0.95rem, 0.5vw + 0.8rem, 1.1rem);
  max-width: 580px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(13px, 2vw, 16px) clamp(24px, 4vw, 32px);
  border-radius: var(--radius-full);
  font-size: clamp(0.9rem, 0.3vw + 0.8rem, 1rem);
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 50px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-cta {
  background: var(--cta);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(22,163,74,0.35); }
.btn-cta:active { transform: translateY(0); box-shadow: var(--shadow-cta); }
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: #ea580c; transform: translateY(-1px); }
.btn-accent:active { transform: translateY(0); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-outline-dark {
  border: 1.5px solid var(--gray-200);
  color: var(--primary);
  background: var(--white);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-lg {
  padding: clamp(15px, 2.5vw, 18px) clamp(28px, 5vw, 40px);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
}

/* ── Header ────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(60px, 8vw, 72px);
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo .logo-icon {
  width: clamp(32px, 5vw, 38px);
  height: clamp(32px, 5vw, 38px);
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo .logo-icon svg { width: 20px; height: 20px; fill: var(--white); }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(20px, 2.5vw, 32px); }
.nav a {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--white); }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 20px;
  background: var(--cta);
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  min-height: 44px;
  flex-shrink: 0;
}
.header-phone svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.header-phone:hover { background: var(--cta-hover); }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 10px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100dvh;
  background: var(--primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: clamp(90px, 15vw, 110px) 28px 28px;
  padding-bottom: calc(28px + var(--safe-bottom));
  gap: 2px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 14px 16px;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover, .mobile-nav a:active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.mobile-nav .mobile-nav-phone {
  margin-top: auto;
  padding: 16px 24px;
  background: var(--cta);
  border-radius: var(--radius-full);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
}

/* ── Hero ──────────────────────────────────── */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: clamp(48px, 10vw, 96px) 0 clamp(40px, 8vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: clamp(400px, 60vw, 800px);
  height: clamp(400px, 60vw, 800px);
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 65%);
  border-radius: 50%;
}
.hero::after { display: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white);
  margin-bottom: clamp(16px, 3vw, 20px);
  max-width: 680px;
}
.hero h1 .highlight { color: var(--accent); }
.hero-text {
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.15rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(24px, 5vw, 36px);
  max-width: 560px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 14px);
  margin-bottom: clamp(28px, 5vw, 40px);
}
.hero-phone {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero-phone svg {
  width: clamp(24px, 4vw, 30px);
  height: clamp(24px, 4vw, 30px);
  fill: var(--cta);
  flex-shrink: 0;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.5vw, 10px);
}
.badge {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 8px);
  background: rgba(255,255,255,0.06);
  padding: clamp(10px, 1.5vw, 12px) clamp(14px, 2vw, 18px);
  border-radius: var(--radius-full);
  font-size: clamp(0.8rem, 0.3vw + 0.7rem, 0.9rem);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.08);
}
.badge svg {
  width: clamp(16px, 2.5vw, 18px);
  height: clamp(16px, 2.5vw, 18px);
  fill: var(--accent);
  flex-shrink: 0;
}

/* ── Sections ──────────────────────────────── */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--gray-50); }
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* ── Services Grid ─────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 16px);
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  gap: clamp(14px, 2vw, 18px);
  align-items: flex-start;
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
  }
}
.service-icon {
  width: clamp(44px, 6vw, 50px);
  height: clamp(44px, 6vw, 50px);
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg {
  width: clamp(22px, 3vw, 24px);
  height: clamp(22px, 3vw, 24px);
  fill: var(--accent);
}
.service-card h3 {
  font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.1rem);
  font-weight: 600;
}
.service-card p {
  color: var(--gray-600);
  font-size: clamp(0.875rem, 0.2vw + 0.8rem, 0.9375rem);
  margin: 0;
  line-height: 1.65;
}

/* ── Features Grid ─────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 16px);
}
.feature-item {
  text-align: center;
  padding: clamp(28px, 4vw, 36px) clamp(20px, 3vw, 24px);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
@media (hover: hover) {
  .feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}
.feature-icon {
  width: clamp(52px, 7vw, 60px);
  height: clamp(52px, 7vw, 60px);
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(14px, 2vw, 18px);
}
.feature-icon svg {
  width: clamp(24px, 3.5vw, 28px);
  height: clamp(24px, 3.5vw, 28px);
  fill: var(--accent);
}
.feature-item h3 {
  font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.05rem);
  margin-bottom: 8px;
  font-weight: 600;
}
.feature-item p {
  color: var(--gray-600);
  font-size: clamp(0.875rem, 0.2vw + 0.8rem, 0.9375rem);
  margin: 0;
  line-height: 1.65;
}

/* ── Reviews ───────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.5vw, 20px);
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
@media (hover: hover) {
  .review-card:hover { box-shadow: var(--shadow-md); }
}
.review-stars { display: flex; gap: 2px; margin-bottom: clamp(12px, 2vw, 16px); }
.review-stars svg { width: clamp(16px, 2.5vw, 18px); height: clamp(16px, 2.5vw, 18px); fill: #eab308; }
.review-text {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: clamp(16px, 2.5vw, 20px);
  font-size: clamp(0.9rem, 0.3vw + 0.8rem, 0.975rem);
  line-height: 1.75;
}
.review-author {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 14px);
}
.review-avatar {
  width: clamp(40px, 6vw, 44px);
  height: clamp(40px, 6vw, 44px);
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: clamp(0.9rem, 0.3vw + 0.8rem, 1rem);
  flex-shrink: 0;
}
.review-info strong {
  display: block;
  font-size: clamp(0.9rem, 0.3vw + 0.8rem, 0.975rem);
  font-weight: 600;
}
.review-info span {
  font-size: clamp(0.8rem, 0.2vw + 0.7rem, 0.85rem);
  color: var(--gray-600);
}

/* ── Cities Grid ───────────────────────────── */
.cities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(8px, 1.5vw, 10px);
}
.city-link {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 12px);
  padding: clamp(14px, 2vw, 16px) clamp(16px, 2.5vw, 20px);
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  font-weight: 600;
  font-size: clamp(0.9rem, 0.3vw + 0.8rem, 1rem);
  color: var(--primary);
  transition: var(--transition);
  min-height: 50px;
}
@media (hover: hover) {
  .city-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
  }
  .city-link:hover svg { fill: var(--white); }
}
.city-link:active { background: var(--primary); color: var(--white); }
.city-link:active svg { fill: var(--white); }
.city-link svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}

/* ── CTA Section ───────────────────────────── */
.section-cta {
  background: var(--primary);
  color: var(--white);
  padding: var(--section-pad) 0;
  padding-bottom: calc(var(--section-pad) + var(--safe-bottom));
  text-align: center;
}
.section-cta h2 { color: var(--white); margin-bottom: 12px; }
.section-cta p {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.975rem, 0.4vw + 0.85rem, 1.1rem);
  margin-bottom: clamp(24px, 5vw, 32px);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.section-cta .cta-phone {
  font-size: clamp(1.5rem, 4vw + 0.2rem, 2rem);
  font-weight: 700;
  margin-bottom: clamp(20px, 4vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 12px);
  letter-spacing: -0.01em;
}
.section-cta .cta-phone svg {
  fill: var(--accent);
  width: clamp(28px, 4vw, 36px);
  height: clamp(28px, 4vw, 36px);
}

/* ── Footer ────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: clamp(40px, 7vw, 56px) 0 clamp(20px, 4vw, 28px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 36px);
  margin-bottom: clamp(28px, 5vw, 36px);
}
.footer h4 {
  color: var(--white);
  margin-bottom: clamp(14px, 2vw, 18px);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.footer a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer a:hover { color: var(--accent); }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  min-height: 34px;
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
}
.footer-brand { font-size: 0.9375rem; line-height: 1.7; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: clamp(20px, 3vw, 24px);
  padding-bottom: var(--safe-bottom);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ── Floating Buttons ──────────────────────── */
.floating-buttons {
  position: fixed;
  bottom: calc(20px + var(--safe-bottom));
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--container-pad);
  pointer-events: none;
}
.fab {
  width: clamp(54px, 8vw, 62px);
  height: clamp(54px, 8vw, 62px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  pointer-events: auto;
  position: relative;
  touch-action: manipulation;
}
.fab svg { width: clamp(24px, 3.5vw, 28px); height: clamp(24px, 3.5vw, 28px); fill: var(--white); }
@media (hover: hover) { .fab:hover { transform: scale(1.08); } }
.fab:active { transform: scale(0.93); }
.fab-scanner {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
  animation: fabScannerBlink 1.5s ease-in-out infinite;
}
.fab-scanner .fab-label {
  position: absolute;
  left: calc(100% + 10px);
  background: var(--white);
  color: var(--gray-900);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
  pointer-events: none;
}
@media (hover: hover) {
  .fab-scanner:hover .fab-label { opacity: 1; transform: translateX(0); }
}
.fab-scanner .fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--white);
  color: #dc2626;
  font-size: 0.625rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  animation: badgePing 1.5s ease-in-out infinite;
}
.fab-call {
  background: var(--cta);
  box-shadow: var(--shadow-cta);
  z-index: 9999;
  animation: fabRing 4s ease-in-out infinite;
}
@keyframes fabScannerBlink {
  0%, 100% { box-shadow: 0 4px 20px rgba(220,38,38,0.4); transform: scale(1); }
  50% { box-shadow: 0 4px 30px rgba(220,38,38,0.6), 0 0 50px rgba(220,38,38,0.15); transform: scale(1.08); }
}
@keyframes badgePing {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
@keyframes fabRing {
  0%, 100% { transform: scale(1); }
  5% { transform: scale(1.06) rotate(-2deg); }
  10% { transform: scale(1) rotate(2deg); }
  15% { transform: scale(1); }
}

/* ── Scanner Modal ─────────────────────────── */
.scanner-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: var(--container-pad);
  padding-bottom: calc(var(--container-pad) + var(--safe-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.scanner-modal.active { opacity: 1; pointer-events: auto; }
.scanner-close {
  position: fixed;
  top: clamp(12px, 2vw, 16px);
  right: clamp(12px, 2vw, 16px);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}
.scanner-close:hover { background: rgba(255,255,255,0.2); }
.scanner-close svg { width: 22px; height: 22px; fill: var(--white); }
.scanner-title {
  color: var(--white);
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.15rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}
.scanner-instruction {
  color: rgba(255,255,255,0.6);
  text-align: center;
  font-size: clamp(0.85rem, 0.3vw + 0.75rem, 0.925rem);
  margin-bottom: clamp(20px, 3vw, 24px);
}
.scanner-viewfinder {
  position: relative;
  width: clamp(250px, 65vw, 340px);
  height: clamp(250px, 65vw, 340px);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.scanner-viewfinder video,
.scanner-viewfinder canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.scanner-viewfinder .vf-corners {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  pointer-events: none;
}
.scanner-viewfinder .vf-corners::before,
.scanner-viewfinder .vf-corners::after {
  content: '';
  position: absolute;
  width: clamp(28px, 7vw, 36px);
  height: clamp(28px, 7vw, 36px);
  border: 2.5px solid var(--accent);
}
.scanner-viewfinder .vf-corners::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
  border-radius: var(--radius) 0 0 0;
}
.scanner-viewfinder .vf-corners::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
  border-radius: 0 0 var(--radius) 0;
}
.vf-corner-tr, .vf-corner-bl {
  position: absolute;
  width: clamp(28px, 7vw, 36px);
  height: clamp(28px, 7vw, 36px);
  border: 2.5px solid var(--accent);
}
.vf-corner-tr {
  top: -1px; right: -1px;
  border-left: none; border-bottom: none;
  border-radius: 0 var(--radius) 0 0;
}
.vf-corner-bl {
  bottom: -1px; left: -1px;
  border-right: none; border-top: none;
  border-radius: 0 0 0 var(--radius);
}
.scanner-capture-btn {
  width: clamp(60px, 10vw, 72px);
  height: clamp(60px, 10vw, 72px);
  border-radius: 50%;
  background: var(--white);
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 24px rgba(255,255,255,0.15);
  transition: var(--transition);
  margin-bottom: 16px;
  touch-action: manipulation;
}
.scanner-capture-btn:hover { transform: scale(1.06); }
.scanner-capture-btn:active { transform: scale(0.92); }

.scanner-step { display: none; flex-direction: column; align-items: center; width: 100%; max-width: 400px; }
.scanner-step.active { display: flex; }

.scanner-loader {
  width: clamp(48px, 8vw, 56px);
  height: clamp(48px, 8vw, 56px);
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scanner-analyzing { color: rgba(255,255,255,0.7); font-size: clamp(0.9rem, 0.3vw + 0.8rem, 1rem); }

.scanner-result {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 36px) clamp(20px, 4vw, 28px);
  width: 100%;
  max-width: 380px;
  text-align: center;
}
.scanner-result-icon {
  width: clamp(48px, 7vw, 56px);
  height: clamp(48px, 7vw, 56px);
  background: var(--cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(14px, 2vw, 18px);
}
.scanner-result-icon svg { width: 28px; height: 28px; fill: var(--white); }
.scanner-result h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: clamp(1.05rem, 0.4vw + 0.9rem, 1.25rem);
}
.result-details { text-align: left; margin-bottom: 20px; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: clamp(0.875rem, 0.2vw + 0.8rem, 0.9375rem);
  gap: 8px;
}
.result-row:last-child { border-bottom: none; }
.result-label { color: var(--gray-600); flex-shrink: 0; }
.result-value { font-weight: 600; color: var(--primary); text-align: right; }
.result-price {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: clamp(14px, 2.5vw, 18px);
  margin-bottom: 12px;
}
.result-price-label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.result-price .price-range {
  font-size: clamp(1.25rem, 2.5vw + 0.3rem, 1.5rem);
  font-weight: 700;
  color: var(--cta);
}
.result-night {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}
.result-price + .result-price { margin-top: 8px; }
.result-description {
  font-size: clamp(0.875rem, 0.2vw + 0.8rem, 0.9375rem);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: left;
  background: var(--gray-50);
  padding: clamp(14px, 2.5vw, 18px);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cta);
}
.result-disclaimer {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.5;
}

.scanner-fallback { text-align: center; }
.scanner-fallback p { color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.upload-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 50px;
}
.upload-label:hover { background: #ea580c; }
.upload-label input { display: none; }

/* ── City Page Specific ────────────────────── */
.city-hero {
  background: var(--primary);
  color: var(--white);
  padding: clamp(36px, 7vw, 56px) 0 clamp(32px, 6vw, 48px);
}
.city-hero h1 { color: var(--white); }
.city-hero p { color: rgba(255,255,255,0.7); }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: clamp(14px, 2vw, 18px);
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--white); }
.content-section { padding: clamp(32px, 6vw, 48px) 0; }
.content-section:nth-child(even) { background: var(--gray-50); }
.content-section h2 { margin-bottom: clamp(14px, 2.5vw, 20px); }
.content-section p { max-width: 760px; }
.content-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.content-section ul li {
  padding: clamp(8px, 1.2vw, 10px) 0 clamp(8px, 1.2vw, 10px) 28px;
  position: relative;
  color: var(--gray-700);
  font-size: clamp(0.925rem, 0.3vw + 0.8rem, 1rem);
  line-height: 1.7;
}
.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: clamp(16px, 2vw, 18px);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.quarters-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px clamp(16px, 3vw, 24px);
}
.quarters-list li { font-size: clamp(0.9rem, 0.2vw + 0.8rem, 0.9375rem); }

/* Urgency Banner */
.urgency-banner {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: clamp(10px, 1.5vw, 14px) var(--container-pad);
  font-weight: 600;
  font-size: clamp(0.8rem, 0.3vw + 0.7rem, 0.9rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Cities Carousel ────────────────────────── */
.cities-carousel {
  padding: clamp(40px, 7vw, 56px) 0;
  background: var(--primary);
  overflow: hidden;
}
.cities-carousel .section-header h2 { color: var(--white); }
.cities-carousel .section-subtitle { color: rgba(255,255,255,0.55); }
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * var(--container-pad));
  padding: 0 var(--container-pad);
}
.carousel-track {
  display: flex;
  gap: clamp(12px, 2vw, 16px);
  animation: carouselScroll 35s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-slide {
  flex: 0 0 clamp(220px, 32vw, 250px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 24px) clamp(16px, 2.5vw, 20px);
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
@media (hover: hover) {
  .carousel-slide:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
  }
}
.carousel-slide-icon {
  width: clamp(36px, 5vw, 42px);
  height: clamp(36px, 5vw, 42px);
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(12px, 2vw, 16px);
}
.carousel-slide-icon svg {
  width: clamp(18px, 3vw, 20px);
  height: clamp(18px, 3vw, 20px);
  fill: var(--accent);
}
.carousel-slide h3 {
  color: var(--white);
  font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.05rem);
  margin-bottom: 6px;
  font-weight: 600;
}
.carousel-slide p {
  color: rgba(255,255,255,0.5);
  font-size: clamp(0.8rem, 0.2vw + 0.7rem, 0.875rem);
  margin: 0;
  line-height: 1.55;
}
.carousel-slide .carousel-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
  transition: var(--transition);
}
.carousel-slide:hover .carousel-arrow { gap: 8px; }

/* ── Pricing Table ──────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 20px);
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}
@media (hover: hover) {
  .pricing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
}
.pricing-card-header {
  background: var(--primary);
  color: var(--white);
  padding: clamp(18px, 3vw, 22px) clamp(20px, 3vw, 24px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 14px);
}
.pricing-card-header svg {
  width: clamp(24px, 3.5vw, 28px);
  height: clamp(24px, 3.5vw, 28px);
  fill: var(--accent);
  flex-shrink: 0;
}
.pricing-card-header h3 {
  color: var(--white);
  margin: 0;
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
}
.pricing-card-body { padding: 0; }
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(14px, 2.5vw, 18px) clamp(20px, 3vw, 24px);
  border-bottom: 1px solid var(--gray-100);
  gap: 12px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: var(--gray-50); }
.pricing-label {
  font-size: clamp(0.9rem, 0.2vw + 0.8rem, 0.9375rem);
  color: var(--gray-700);
}
.pricing-value {
  font-weight: 700;
  color: var(--cta);
  font-size: clamp(0.975rem, 0.3vw + 0.85rem, 1.0625rem);
  white-space: nowrap;
  flex-shrink: 0;
}
.pricing-note { margin-top: clamp(28px, 5vw, 36px); }
.pricing-note-card {
  background: var(--accent-bg);
  border: 1px solid rgba(249,115,22,0.12);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 32px);
}
.pricing-note-card h3 {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(16px, 3vw, 20px);
  font-size: clamp(1.05rem, 0.4vw + 0.9rem, 1.15rem);
}
.pricing-note-card h3 svg { width: 22px; height: 22px; fill: var(--accent); flex-shrink: 0; }
.pricing-note-list {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 14px);
}
.pricing-note-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1.5vw, 14px);
  font-size: clamp(0.9rem, 0.2vw + 0.8rem, 0.9375rem);
  color: var(--gray-700);
  line-height: 1.7;
}
.pricing-note-item strong { color: var(--primary); white-space: nowrap; }
.pricing-note-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.pricing-note-icon svg { width: 20px; height: 20px; fill: var(--accent); }
.pricing-free {
  margin-top: clamp(20px, 3vw, 24px);
  background: rgba(22,163,74,0.06);
  border: 1px solid rgba(22,163,74,0.12);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 22px) clamp(20px, 3vw, 24px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 16px);
  font-size: clamp(0.925rem, 0.3vw + 0.8rem, 1rem);
  font-weight: 600;
  color: var(--cta);
}
.pricing-free svg { width: 24px; height: 24px; fill: var(--cta); flex-shrink: 0; }
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Section Images ─────────────────────────── */
.section-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: clamp(20px, 3vw, 28px) 0;
  object-fit: cover;
}
.section-img-sm { max-height: 360px; }
.hero-img-wrapper { margin-top: clamp(32px, 5vw, 40px); }
.hero-img-wrapper img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  max-height: clamp(200px, 30vw, 380px);
  object-fit: cover;
}
.img-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 16px);
  margin: clamp(20px, 3vw, 28px) 0;
}
.img-row img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: clamp(180px, 30vw, 240px);
}

/* ── Scroll Animations ─────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ==============================================
   RESPONSIVE BREAKPOINTS
   ============================================== */

@media (min-width: 360px) {
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .quarters-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 480px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .img-row { grid-template-columns: 1fr 1fr; }
  .img-row img { height: clamp(200px, 25vw, 280px); }
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .quarters-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .img-row img { height: clamp(240px, 22vw, 320px); }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .header-phone { display: flex; }
  .menu-toggle { display: none; }
  .cities-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .quarters-list { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Mobile-specific (< 900px) ─────────────── */
@media (max-width: 899px) {
  .footer { padding-bottom: calc(88px + var(--safe-bottom)); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .section-cta .btn { width: 100%; max-width: 400px; }
}

/* ── Very small screens (< 360px) ──────────── */
@media (max-width: 359px) {
  :root { --container-pad: 16px; }
  .badge { padding: 8px 10px; font-size: 0.75rem; }
  .trust-badges { gap: 6px; }
  .service-card { flex-direction: column; align-items: center; text-align: center; }
  .carousel-slide { flex: 0 0 200px; }
}

/* ── Landscape mobile ──────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 28px 0 24px; }
  .city-hero { padding: 20px 0; }
  .hero-img-wrapper { display: none; }
  .trust-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .trust-badges::-webkit-scrollbar { display: none; }
  .scanner-viewfinder { width: 200px; height: 200px; }
  .scanner-capture-btn { width: 50px; height: 50px; }
  .mobile-nav { max-width: 280px; padding-top: 60px; gap: 0; }
  .mobile-nav a { font-size: 0.95rem; padding: 10px 16px; }
}

/* ── Cookie Banner ─────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  background: var(--white);
  color: var(--gray-800);
  padding: clamp(18px, 3vw, 24px) var(--container-pad);
  padding-bottom: calc(clamp(18px, 3vw, 24px) + var(--safe-bottom));
  box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
  border-top: 1px solid var(--gray-100);
  display: none;
  align-items: center;
  gap: clamp(14px, 2vw, 18px);
  font-size: clamp(0.85rem, 0.3vw + 0.75rem, 0.9375rem);
  line-height: 1.6;
}
.cookie-banner.active { display: flex; flex-wrap: wrap; }
.cookie-banner p { margin: 0; color: var(--gray-600); flex: 1 1 300px; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  min-height: 44px;
  transition: var(--transition);
  white-space: nowrap;
}
.cookie-btn-accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn-accept:hover { background: var(--primary-mid); }
.cookie-btn-refuse {
  background: var(--gray-100);
  color: var(--gray-700);
}
.cookie-btn-refuse:hover { background: var(--gray-200); }
@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-btns { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* ── 404 Page ──────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-pad) var(--container-pad);
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 8px;
}
.error-page h1 { color: var(--primary); margin-bottom: 12px; }
.error-page p { max-width: 480px; margin: 0 auto 28px; }
.error-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Print ─────────────────────────────────── */
@media print {
  .header, .floating-buttons, .scanner-modal, .mobile-nav, .mobile-nav-overlay,
  .fab, .urgency-banner, .cities-carousel, .cookie-banner { display: none !important; }
  .hero { background: var(--white) !important; color: var(--gray-900) !important; padding: 20px 0; }
  .hero h1, .hero-text { color: var(--gray-900) !important; }
  .section-cta { background: var(--gray-50) !important; color: var(--gray-900) !important; }
  .section-cta h2, .section-cta p { color: var(--gray-900) !important; }
  body { font-size: 12pt; }
}
