/* ==========================================================================
   Ahmed Car Recovery Dubai — Premium design system (r5)
   Deep navy + signal orange. No frameworks, no webfonts: fast on shared
   hosting, bot-friendly. Motion respects prefers-reduced-motion.
   ========================================================================== */

:root {
  --navy: #0a1a2f;
  --navy-2: #0e2440;
  --navy-3: #14304f;
  --orange: #ff6a00;
  --orange-2: #ff9440;
  --orange-dark: #d95500;
  --green: #22c55e;
  --green-dark: #16a34a;
  --wa: #25d366;
  --ink: #152a3f;
  --muted: #5d6f84;
  --line: #e3eaf2;
  --bg: #ffffff;
  --soft: #f3f6fa;
  --soft-2: #eaf0f7;
  --gold: #f5a623;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 26, 47, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 26, 47, 0.14);
  --shadow-lg: 0 24px 60px rgba(10, 26, 47, 0.22);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0b5cad; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 750; margin-top: 1.6em; }
h3 { font-size: 1.2rem; font-weight: 700; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 750; font-size: 1rem;
  border: 0; cursor: pointer; text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn::after { /* shine sweep */
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); transition: left 0.5s ease;
}
.btn:hover::after { left: 130%; }
.btn-call { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff !important; box-shadow: 0 8px 22px rgba(255,106,0,0.4); }
.btn-call:hover { box-shadow: 0 12px 28px rgba(255,106,0,0.5); }
.btn-wa { background: linear-gradient(135deg, var(--wa), #4be07f); color: #fff !important; box-shadow: 0 8px 22px rgba(37,211,102,0.35); }
.btn-outline { background: rgba(255,255,255,0.1); color: #fff !important; border: 2px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.22); }
.btn-dark { background: var(--navy); color: #fff !important; }
.btn-submit { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; width: 100%; }

/* Pulsing ring for the primary call CTA */
.btn-pulse { animation: btnPulse 2.2s infinite; }
@keyframes btnPulse {
  0% { box-shadow: 0 8px 22px rgba(255,106,0,0.4), 0 0 0 0 rgba(255,106,0,0.55); }
  70% { box-shadow: 0 8px 22px rgba(255,106,0,0.4), 0 0 0 18px rgba(255,106,0,0); }
  100% { box-shadow: 0 8px 22px rgba(255,106,0,0.4), 0 0 0 0 rgba(255,106,0,0); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; }
.header-top { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; transition: box-shadow 0.25s ease; }
.site-header.scrolled .header-top { box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.header-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo-link { display: inline-block; line-height: 0; }
.brand-logo { height: 52px; width: auto; border-radius: 8px; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-name .accent { color: var(--orange-2); }
.brand-license { font-size: 0.72rem; color: #b9c7d8; }
.header-ctas { display: none; gap: 10px; }
.header-ctas .btn { padding: 10px 18px; font-size: 0.88rem; }
@media (min-width: 900px) { .header-ctas { display: flex; } }

/* Hamburger */
.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px; padding: 10px 12px; cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.25s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (min-width: 900px) { .hamburger { display: none; } }

/* Main nav */
.main-nav { background: rgba(8, 20, 36, 0.97); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.07); }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.nav-list a, .dropdown-toggle {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  color: #e8eef6; padding: 13px 4%; font-size: 0.98rem; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.nav-list a:hover, .dropdown-toggle:hover { background: rgba(255,255,255,0.07); color: #fff; text-decoration: none; }
.dropdown-toggle::after { content: "▾"; float: right; opacity: 0.7; }
.dropdown-menu { display: none; list-style: none; margin: 0; padding: 6px 0 10px; background: rgba(0,0,0,0.25); }
.dropdown-menu.open { display: block; animation: fadeSlide 0.22s ease; }
.dropdown-menu a { padding: 10px 4% 10px 8%; font-size: 0.92rem; font-weight: 500; color: #cdd9e8; }
.dropdown-tier-label { padding: 8px 4% 4px 8%; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange-2); font-weight: 700; }
.dropdown-tier ul { list-style: none; margin: 0; padding: 0; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 899px) {
  .main-nav { display: none; max-height: 70vh; overflow-y: auto; }
  .main-nav.open { display: block; animation: fadeSlide 0.25s ease; }
}
@media (min-width: 900px) {
  .nav-list { display: flex; align-items: stretch; justify-content: center; }
  .nav-list > li { border-bottom: 0; position: relative; }
  .nav-list a, .dropdown-toggle { padding: 14px 15px; white-space: nowrap; }
  .nav-list > li:hover { background: rgba(255,255,255,0.06); }
  .dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 270px; z-index: 120;
    background: #0d2138; border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg);
    padding: 8px; max-height: 70vh; overflow-y: auto;
  }
  .has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { display: block; animation: fadeSlide 0.2s ease; }
  .dropdown-menu a { border-radius: 8px; padding: 9px 12px; }
  .dropdown-tier-label { padding: 10px 12px 4px; }
}

/* ==========================================================================
   Hero — landing (homepage)
   ========================================================================== */
.hero {
  position: relative; color: #fff; overflow: clip;
  background: var(--navy);
  min-height: min(92vh, 760px);
  display: flex; align-items: center;
  padding: 90px 0 110px;
}
.hero-bg {
  position: absolute; inset: -40px 0; /* bleed for parallax travel */
  background: url("../images/car-recovery/car-recovery-dubai-night-operation.jpg") center 30% / cover no-repeat;
  transform: scale(1.04);
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 17, 33, 0.96) 20%, rgba(6, 17, 33, 0.72) 55%, rgba(6, 17, 33, 0.35) 100%),
    linear-gradient(0deg, var(--navy) 0%, transparent 22%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,106,0,0.14); border: 1px solid rgba(255,148,64,0.5);
  color: #ffc79a; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4be07f; animation: blink 1.6s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.9rem); margin: 0 0 18px; }
.hero h1 .hl { color: var(--orange-2); position: relative; white-space: nowrap; }
.hero .lead, .hero .lede { color: #d7e2ef; font-size: 1.14rem; max-width: 620px; margin: 0 0 8px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.hero-ctas .btn { padding: 16px 32px; font-size: 1.05rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; list-style: none; padding: 0; }
.hero-chips li, .chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 15px;
  font-size: 0.85rem; font-weight: 600; color: #eef3f9;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; list-style: none; padding: 0; }
.hero-badges li {
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px; padding: 8px 15px; font-size: 0.85rem; font-weight: 600; color: #eef3f9;
}
/* entrance */
.hero .rise { opacity: 0; transform: translateY(26px); animation: riseIn 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.hero .rise-1 { animation-delay: 0.05s; } .hero .rise-2 { animation-delay: 0.18s; }
.hero .rise-3 { animation-delay: 0.32s; } .hero .rise-4 { animation-delay: 0.46s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; display: block; width: 4px; height: 8px; margin: 7px auto 0;
  background: #fff; border-radius: 2px; animation: cueDrop 1.8s infinite;
}
@keyframes cueDrop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   Page hero — auto-enhanced inner pages (JS wraps article h1 + lede)
   ========================================================================== */
.page-hero {
  position: relative; color: #fff; overflow: clip; background: var(--navy-2);
  padding: 70px 0 60px; margin-bottom: 34px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/og-image.jpg") center 35% / cover no-repeat;
  opacity: 0.32;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,20,36,0.95) 30%, rgba(8,20,36,0.55) 70%, rgba(8,20,36,0.25));
}
body.location-page .page-hero::before { background-image: url("../images/car-recovery/car-recovery-dubai-residential-area-operation.jpg"); }
body.page-service .page-hero::before { background-image: url("../images/car-recovery/car-recovery-dubai-flatbed-truck-operation.jpg"); }
body[class*="page-guide"] .page-hero::before { background-image: url("../images/car-recovery/car-recovery-dubai-highway-recovery.jpg"); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 0 0 14px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-hero .lede { color: #d7e2ef; font-size: 1.1rem; max-width: 760px; margin: 0; }
.page-hero .lede strong { color: #fff; }
.page-hero .hero-ctas { margin-top: 24px; }
.page-hero .btn { padding: 13px 26px; font-size: 0.98rem; }

/* ==========================================================================
   Sections, headings, reveal-on-scroll
   ========================================================================== */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-navy { background: linear-gradient(140deg, var(--navy), var(--navy-2)); color: #e8eef6; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .muted { color: #b9c7d8; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin-top: 0; }
.eyebrow {
  display: inline-block; color: var(--orange-dark); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.section-navy .eyebrow { color: var(--orange-2); }
.lede { font-size: 1.12rem; color: var(--muted); }
.muted { color: var(--muted); }

/* reveal on scroll (JS adds .in) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; } .reveal-d4 { transition-delay: 0.32s; }

/* ==========================================================================
   Stats band (animated counters)
   ========================================================================== */
.stats { background: linear-gradient(120deg, var(--navy), var(--navy-3)); border-radius: 20px; padding: 10px 0; box-shadow: var(--shadow-md); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 26px 10px; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 14px 8px; color: #fff; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 1px;
  background: rgba(255,255,255,0.14);
}
.stat-num { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; color: var(--orange-2); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.85rem; color: #c3d0e0; margin-top: 4px; }

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.card-grid, .service-grid, .guide-grid, .team-grid, .gallery-grid, .trust-grid {
  display: grid; gap: 22px; grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid, .service-grid, .guide-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .card-grid, .service-grid, .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
.card, .service-card, .guide-card, .team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative; overflow: hidden;
}
.card::before, .service-card::before, .guide-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.card:hover, .service-card:hover, .guide-card:hover, .team-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #ffd9b8;
}
.card:hover::before, .service-card:hover::before, .guide-card:hover::before { transform: scaleX(1); }
.card h3, .service-card h3, .guide-card h3 { margin-top: 0; font-size: 1.15rem; }
.card h3 a, .service-card h3 a, .guide-card h3 a { color: var(--navy); }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; background: linear-gradient(135deg, #fff1e2, #ffe0c2); margin-bottom: 16px;
  transition: transform 0.25s ease;
}
.service-card:hover .card-icon { transform: scale(1.12) rotate(-6deg); }
.card-more { font-weight: 700; color: var(--orange-dark); font-size: 0.95rem; }

/* trust strip items */
.trust-strip { padding: 34px 0; }
.trust-item {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.trust-item .t-ico { font-size: 1.9rem; line-height: 1; }
.trust-item h3 { margin: 0 0 4px; font-size: 1.02rem; }
.trust-item p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* guide cards */
.guide-card .guide-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }

/* team */
.team-card { text-align: center; }
.team-card img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; margin: 0 auto 14px; }
.team-role-tag {
  display: inline-block; background: var(--soft-2); color: var(--navy-3);
  font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}

/* gallery */
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; position: relative; }
.gallery-item img { transition: transform 0.4s ease; width: 100%; height: 220px; object-fit: cover; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: "⤢"; position: absolute; right: 12px; bottom: 10px; color: #fff;
  background: rgba(10,26,47,0.65); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s;
}
.gallery-item:hover::after { opacity: 1; }

/* ==========================================================================
   Steps (how it works)
   ========================================================================== */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; position: relative; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 30px 22px; text-align: center; position: relative;
  transition: transform 0.22s ease, background 0.22s ease;
}
.step:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); }
.step-num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff; font-weight: 800; font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(255,106,0,0.4);
}
.step h3 { color: #fff; margin: 0 0 8px; font-size: 1.08rem; }
.step p { color: #c3d0e0; font-size: 0.93rem; margin: 0; }
@media (min-width: 800px) {
  .step:not(:last-child)::after {
    content: "→"; position: absolute; right: -20px; top: 44px; color: var(--orange-2);
    font-size: 1.4rem; font-weight: 800;
  }
}

/* ==========================================================================
   Areas marquee ticker
   ========================================================================== */
.marquee { overflow: hidden; background: var(--navy); padding: 16px 0; border-block: 1px solid rgba(255,255,255,0.08); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track a {
  color: #dbe5f1; font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 9px 18px; border-radius: 999px; text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}
.marquee-track a:hover { background: var(--orange); color: #fff; }

/* ==========================================================================
   Reviews slider
   ========================================================================== */
.reviews-slider { position: relative; max-width: 820px; margin: 0 auto; }
.review-track { overflow: hidden; border-radius: 20px; }
.review-slide {
  display: none; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 40px 36px; box-shadow: var(--shadow-md); text-align: center;
}
.review-slide.active { display: block; animation: fadeSlide 0.45s ease; }
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 14px; }
.review-slide blockquote { margin: 0 0 18px; font-size: 1.12rem; line-height: 1.7; color: var(--ink); font-style: italic; }
.review-who { font-weight: 750; color: var(--navy); }
.review-meta { font-size: 0.85rem; color: var(--muted); }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.slider-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 1.2rem; color: var(--navy);
  transition: 0.2s; display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: #c9d5e2; cursor: pointer; padding: 0;
  transition: 0.2s;
}
.slider-dots button.active { background: var(--orange); transform: scale(1.3); }

/* aggregate rating summary */
.aggregate-rating, .rating-summary {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 26px;
}
.rating-number { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.rating-count { color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   FAQ accordion (animated details)
   ========================================================================== */
.faqs { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item:hover { border-color: #ffc79a; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: #ffc79a; }
.faq-item summary {
  cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--navy);
  list-style: none; position: relative; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--soft-2); color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--orange); color: #fff; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s ease; }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div, .faq-answer > p { overflow: hidden; }
.faq-answer p { padding: 0 20px 20px; margin: 0; color: var(--muted); }
.faq-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; text-align: center;
  background: linear-gradient(130deg, #0c2038 0%, #12345c 60%, #0c2038 100%);
  color: #fff; padding: 56px 30px; margin: 56px 0; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,106,0,0.28), transparent 42%),
              radial-gradient(circle at 85% 80%, rgba(255,148,64,0.2), transparent 45%);
  animation: ctaGlow 7s ease-in-out infinite alternate;
}
@keyframes ctaGlow { from { opacity: 0.7; } to { opacity: 1; } }
.cta-band h2 { color: #fff; margin: 0 0 10px; position: relative; }
.cta-band p { color: #c9d6e6; position: relative; max-width: 560px; margin: 0 auto 26px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }

/* ==========================================================================
   Split layout (image + text)
   ========================================================================== */
.split { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split-media img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; }
.split-media { position: relative; }
.split-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: 20px; opacity: 0.9;
}
.check-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.check-list li::before {
  content: "✓"; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: #e6f9ee; color: var(--green-dark); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 24px 0; }
table.pricing-table, table.tier-table, table.response-table, table.compare-table, table.docs-table {
  width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; font-size: 0.95rem;
}
.pricing-table th, .tier-table th, .response-table th, .compare-table th, .docs-table th {
  background: var(--navy); color: #fff; text-align: left; padding: 14px 16px; font-weight: 700;
}
.pricing-table td, .tier-table td, .response-table td, .compare-table td, .docs-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.pricing-table tr:nth-child(even) td, .tier-table tr:nth-child(even) td,
.response-table tr:nth-child(even) td, .compare-table tr:nth-child(even) td { background: var(--soft); }
.pricing-table tr:hover td { background: #fff4e8; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs { font-size: 0.85rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: #9fb0c3; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }
.page-hero + .breadcrumbs, .hero + .breadcrumbs { display: none; }

/* ==========================================================================
   Video block
   ========================================================================== */
.video-block { margin: 48px 0; }
.video-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.video-item {
  background: #0b1a2e; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform 0.22s ease;
}
.video-item:hover { transform: translateY(-4px); }
.video-item video { width: 100%; aspect-ratio: 16/9; background: #000; }
.video-item figcaption, .video-item .video-cap { color: #dbe5f1; padding: 14px 18px; font-size: 0.92rem; }

/* hero figure (old homepage markup compat) */
.hero-figure { margin-top: 30px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }

/* ==========================================================================
   Forms (contact)
   ========================================================================== */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 30px; box-shadow: var(--shadow-md); max-width: 640px; margin: 30px auto;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 7px; color: var(--navy); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,0.14);
}
.form-msg { border-radius: 12px; padding: 14px 18px; font-weight: 600; }
.form-ok { background: #e6f9ee; color: #15803d; border: 1px solid #bbf7d0; }
.form-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-privacy { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }

/* ==========================================================================
   Info boxes, lists, misc content classes
   ========================================================================== */
.nearby-box, .owner-note, .map-placeholder, .nap-block {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin: 28px 0;
}
.owner-note { border-left: 4px solid var(--orange); background: #fff8f0; }
.nap-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.nap-list li { display: flex; gap: 10px; align-items: center; }
.prep-steps, .safety-steps, .guarantee-list, .credential-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.prep-steps li, .safety-steps li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 56px;
  position: relative; counter-increment: prep;
}
.prep-steps { counter-reset: prep; }
.prep-steps li::before, .safety-steps li::before {
  content: counter(prep); position: absolute; left: 16px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
}
.guarantee-list li, .credential-list li { display: flex; gap: 10px; align-items: flex-start; }
.guarantee-list li::before { content: "🛡️"; }
.credential-list li::before { content: "📜"; }
.service-list { columns: 1; list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .service-list { grid-template-columns: 1fr 1fr; } }
.service-list a {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; font-weight: 650; color: var(--navy);
  transition: 0.2s;
}
.service-list a:hover { border-color: var(--orange); transform: translateX(4px); text-decoration: none; box-shadow: var(--shadow-sm); }
.service-list a::before { content: "→"; color: var(--orange); font-weight: 800; }
.services-box { background: var(--navy); color: #e8eef6; border-radius: 20px; padding: 36px 30px; margin: 36px 0; }
.services-box h2, .services-box h3 { color: #fff; }
.services-box a { color: var(--orange-2); }
.guide-article img { border-radius: var(--radius); }
.legal-meta { color: var(--muted); font-size: 0.88rem; }

/* sitemap page */
.sitemap-groups { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .sitemap-groups { grid-template-columns: repeat(2, 1fr); } }
.sitemap-group { background: var(--soft); border-radius: var(--radius); padding: 26px; }
.sitemap-group h2 { margin-top: 0; font-size: 1.25rem; }
.sitemap-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sitemap-group a { color: var(--navy); font-weight: 550; }

/* 404 */
.not-found-page main { text-align: center; padding: 80px 0; }
.not-found h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--orange); }
.not-found .btn { margin-top: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: linear-gradient(160deg, #081426, #0b1e36); color: #c9d6e6; margin-top: 80px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; padding: 56px 0 30px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-col h3 { color: #fff; font-size: 1.02rem; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #aebdce; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-nap { font-size: 0.92rem; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 0.82rem; color: #8fa1b8;
}

/* ==========================================================================
   Floating buttons + mobile sticky bar + back-to-top + lightbox
   ========================================================================== */
.floating-buttons { position: fixed; right: 18px; bottom: 86px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.floating-buttons a {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff !important; text-decoration: none !important;
  box-shadow: var(--shadow-md); transition: transform 0.2s;
}
.floating-buttons a:hover { transform: scale(1.1); }
.floating-buttons .fb-call { background: linear-gradient(135deg, var(--orange), var(--orange-2)); animation: btnPulse 2.4s infinite; }
.floating-buttons .fb-wa { background: linear-gradient(135deg, var(--wa), #4be07f); }
.mobile-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex;
  background: rgba(8, 20, 36, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.12); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
}
.mobile-sticky-bar .btn { flex: 1; padding: 13px 10px; font-size: 0.95rem; }
@media (min-width: 900px) { .mobile-sticky-bar { display: none; } .floating-buttons { bottom: 24px; } }

.to-top {
  position: fixed; right: 18px; bottom: 170px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: 0.3s; box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--orange); }
@media (min-width: 900px) { .to-top { bottom: 96px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(4, 10, 20, 0.92);
  display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: flex; animation: fadeSlide 0.25s ease; }
.lightbox img { max-height: 88vh; max-width: 94vw; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; color: #fff; font-size: 2rem; cursor: pointer;
  background: rgba(255,255,255,0.12); width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 0;
}

/* article rhythm + inner-page container */
main > article { width: min(1180px, 92%); margin: 0 auto; }
.page-hero {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  margin-bottom: 34px;
}
main article { padding-bottom: 10px; }
article p { margin: 0 0 1.1em; }
article ul:not([class]), article ol:not([class]) { margin: 0 0 1.2em; padding-left: 1.4em; }
article ul:not([class]) li, article ol:not([class]) li { margin-bottom: 0.5em; }

/* responsive tune-ups */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 90px; min-height: 0; }
  .hero-ctas .btn { width: 100%; }
  .section { padding: 52px 0; }
  .cta-band { padding: 40px 20px; border-radius: 18px; }
  .review-slide { padding: 30px 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* motion safety */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
