/* ==========================================================================
   MV Elite Agency — design system
   ========================================================================== */

:root {
  --bg: #0D0D0D;
  --bg-elevated: #16181f;
  --bg-elevated-2: #1E293B;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #FFFFFF;
  --text-muted: #9aa3b5;
  --text-dim: #6b7383;

  --blue: #2563EB;
  --blue-soft: #4f8cff;
  --gold: #F4B400;
  --gold-soft: #ffcf47;

  --font-display: 'Bricolage Grotesque', 'General Sans', sans-serif;
  --font-body: 'General Sans', -apple-system, sans-serif;

  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 12px 40px -10px rgba(244, 180, 0, 0.35);
  --shadow-blue: 0 12px 40px -10px rgba(37, 99, 235, 0.4);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #FBFAF8;
  --bg-elevated: #FFFFFF;
  --bg-elevated-2: #F1F0EC;
  --surface: rgba(13, 13, 13, 0.035);
  --surface-hover: rgba(13, 13, 13, 0.06);
  --border: rgba(13, 13, 13, 0.1);
  --text: #0D0D0D;
  --text-muted: #4b5265;
  --text-dim: #7c8296;
  --shadow-soft: 0 20px 50px -20px rgba(13, 13, 13, 0.18);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FBFAF8;
    --bg-elevated: #FFFFFF;
    --bg-elevated-2: #F1F0EC;
    --surface: rgba(13, 13, 13, 0.035);
    --surface-hover: rgba(13, 13, 13, 0.06);
    --border: rgba(13, 13, 13, 0.1);
    --text: #0D0D0D;
    --text-muted: #4b5265;
    --text-dim: #7c8296;
    --shadow-soft: 0 20px 50px -20px rgba(13, 13, 13, 0.18);
    color-scheme: light;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { background: var(--bg); max-width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

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

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

ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}
.icon-star { fill: currentColor; stroke: none; }
.icon-quote { fill: currentColor; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: #0D0D0D;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

@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;
  }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
  padding: 0 1.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.6rem;
}
.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.1rem;
  height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.75rem;
}

section { position: relative; padding: 6.5rem 0; }
section[id] { scroll-margin-top: 84px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.05em; height: 1.05em; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1d4fd1);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { box-shadow: 0 16px 46px -10px rgba(37, 99, 235, 0.55); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #14120a;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 16px 46px -10px rgba(244, 180, 0, 0.5); }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: rgba(244, 180, 0, 0.4); }

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-secondary:hover { background: rgba(244, 180, 0, 0.1); }

.btn-lg { padding: 1.05rem 2.1rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.1rem 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
  padding: 0.7rem 0;
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #14120a;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-link:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

.theme-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-open { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

/* ==========================================================================
   Loader
   ========================================================================== */

#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0D0D0D;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  width: 320px;
  max-width: 70vw;
  height: auto;
  border-radius: 12px;
}
#loader-bar {
  width: 180px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
#loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 0.3s ease-out;
}

/* ==========================================================================
   Hero
   ========================================================================== */

/* These sections always show a dark video background full-bleed,
   independent of the light/dark theme toggle, so their text colors are
   locked to the dark palette regardless of :root[data-theme]. */
.hero, .location-feature {
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.5);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.14);
  --bg-elevated: #181a21;
  color-scheme: dark;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding: 9rem 0 6rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.hero-glow-blue { width: 560px; height: 560px; background: var(--blue); top: -180px; left: -160px; opacity: 0.35; }
.hero-glow-gold { width: 420px; height: 420px; background: var(--gold); bottom: -160px; right: -120px; opacity: 0.22; }

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: end;
}
.hero-content, .hero-visual { min-width: 0; }

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin: 1.1rem 0 1.3rem;
}
.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.1rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.hero-proof-stars { display: flex; gap: 2px; color: var(--gold); }
.hero-proof-stars .icon { width: 1rem; height: 1rem; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  animation: bounce 2.2s infinite;
  z-index: 3;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Browser / GBP mockup */
.browser-mock {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated-2);
  border-bottom: 1px solid var(--border);
}
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.browser-url {
  margin-left: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: var(--surface);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.gbp-card { padding: 1.4rem; display: flex; gap: 1.1rem; max-width: 100%; }
.gbp-body { min-width: 0; overflow-wrap: break-word; }
.gbp-thumb {
  position: relative;
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #14324f, #0d1c2e);
  color: rgba(255,255,255,0.5);
  overflow: hidden;
}
.gbp-map { width: 100%; height: 100%; }
.gbp-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 26px; height: 26px;
  color: var(--gold);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.gbp-body h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.gbp-category { font-size: 0.82rem; color: var(--text-muted); }
.gbp-stars { display: flex; align-items: center; gap: 3px; margin: 0.6rem 0; color: var(--gold); font-size: 0.82rem; }
.gbp-stars .icon { width: 0.9rem; height: 0.9rem; }
.gbp-stars span { color: var(--text-muted); margin-left: 0.4rem; }
.gbp-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gbp-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.gbp-btn .icon { width: 0.85rem; height: 0.85rem; }

.gbp-note {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 0 1.4rem 1.1rem;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trustbar {
  padding: 2.2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trustbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.trust-rating { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; }
.trust-stars { display: flex; gap: 2px; color: var(--gold); }
.trust-stars .icon { width: 1rem; height: 1rem; }
.trust-items { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; color: var(--text-muted);
}
.trust-item .icon { color: var(--gold); width: 1.1rem; height: 1.1rem; }

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.about-text { max-width: 46rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1.1rem; max-width: 34rem; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-visual .video-card { aspect-ratio: 16 / 9; }

.rank-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.rank-card-label { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 1rem; }
.rank-chart { width: 100%; height: auto; }
.rank-badge {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(244,180,0,0.12));
  border: 1px solid var(--border);
}
.rank-badge .icon { color: var(--gold); width: 1.6rem; height: 1.6rem; }
.rank-badge strong { display: block; font-size: 1rem; }
.rank-badge span { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 180, 0, 0.35);
  box-shadow: var(--shadow-soft);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(244,180,0,0.14));
  color: var(--gold);
  margin-bottom: 1.3rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.9rem; }
.service-card ul li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ==========================================================================
   Process
   ========================================================================== */

.process-timeline {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step { flex: 1; text-align: center; padding: 0 1rem; }
.process-num {
  width: 68px; height: 68px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: var(--gold);
}
.process-num .icon { width: 1.5rem; height: 1.5rem; }
.process-num span {
  position: absolute;
  bottom: -8px; right: -8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #14120a;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; color: var(--text-muted); }
.process-connector {
  flex: 0 0 auto;
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--gold), var(--border));
  margin-top: 34px;
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats { padding: 4rem 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
}
.stat-label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; }

/* ==========================================================================
   Benefits
   ========================================================================== */

.benefits-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.benefit-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-weight: 600;
}
.benefit-item .icon { color: var(--blue-soft); width: 1.4rem; height: 1.4rem; }

/* ==========================================================================
   Portfolio
   ========================================================================== */

.portfolio-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.portfolio-image {
  width: 100%; height: 170px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37,99,235,0.22), rgba(244,180,0,0.16));
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.portfolio-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.portfolio-card:hover .portfolio-image img { transform: scale(1.06); }
.portfolio-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.portfolio-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.portfolio-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-slider {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 4.5rem;
  position: relative;
}
.testimonial-track {
  overflow: hidden;
  position: relative;
  min-height: 220px;
}
.testimonial-slide {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s var(--ease);
}
.testimonial-slide.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-slide .icon-quote { margin: 0 auto 1rem; color: var(--gold); width: 2.2rem; height: 2.2rem; }
.testimonial-stars { display: flex; justify-content: center; gap: 3px; color: var(--gold); margin-bottom: 1rem; }
.testimonial-stars .icon { width: 1rem; height: 1rem; }
.testimonial-slide p { font-size: 1.25rem; font-family: var(--font-display); font-weight: 500; margin-bottom: 1.2rem; }
.testimonial-author { font-size: 0.88rem; color: var(--text-muted); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background 0.2s var(--ease);
}
.slider-arrow:hover { background: var(--surface-hover); }
.slider-prev { left: 0; }
.slider-prev .icon { transform: rotate(180deg); }
.slider-next { right: 0; }

.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.8rem; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.slider-dot.is-active { background: var(--gold); transform: scale(1.3); }

/* ==========================================================================
   Background / card videos
   ========================================================================== */

.video-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-elevated);
}
.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.35), rgba(13, 13, 13, 0.82));
}
.video-overlay-strong { background: rgba(13, 13, 13, 0.8); }

.trustbar-inner { position: relative; z-index: 1; }

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1;
}
.video-card .video-bg { position: absolute; inset: 0; }

.video-banner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 21 / 8;
}
.video-banner-caption {
  position: absolute;
  left: 2rem;
  bottom: 1.6rem;
  z-index: 1;
  color: #fff;
}
.video-banner-caption span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.video-banner-caption p { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; max-width: 26rem; }

.location-feature {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.location-feature-inner { position: relative; z-index: 1; max-width: 640px; padding: 0 1.5rem; }
.location-feature-inner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: #fff;
  margin: 1rem 0 1.8rem;
}

.testimonials-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.testimonial-visual { aspect-ratio: 4 / 5; }
.testimonials-grid .testimonial-slider { padding: 0 3.5rem; max-width: none; margin: 0; }

/* ==========================================================================
   Differentials
   ========================================================================== */

.differentials-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.differential-item {
  display: flex; gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.differential-item .icon { color: var(--gold); width: 1.6rem; height: 1.6rem; flex-shrink: 0; margin-top: 0.2rem; }
.differential-item h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.differential-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.4rem 0;
  font-size: 1.02rem;
  font-weight: 600;
}
.faq-question .icon { transition: transform 0.3s var(--ease); color: var(--gold); flex-shrink: 0; }
.faq-question[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-answer p { padding-bottom: 1.4rem; color: var(--text-muted); font-size: 0.92rem; max-width: 640px; }

/* ==========================================================================
   CTA Final
   ========================================================================== */

.cta-final {
  background: #0A0A0C;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border);
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 15%, rgba(37, 99, 235, 0.4), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(244, 180, 0, 0.28), transparent 50%);
}
.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}
.cta-final h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.9rem; }
.cta-final p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { padding: 4.5rem 0 0; border-top: 1px solid var(--border); }
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin: 1rem 0 1.2rem; max-width: 26rem; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-social a:hover { background: var(--surface-hover); border-color: var(--gold); }
.footer-col h4 { font-size: 0.9rem; margin-bottom: 1.1rem; color: var(--text); }
.footer-col a {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 0.75rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-col a .icon { width: 1rem; height: 1rem; }
.footer-location {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--text-muted);
}
.footer-location .icon { width: 1rem; height: 1rem; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.6rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Floating buttons
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 150;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  animation: pulse 2.6s infinite;
}
.whatsapp-float .icon { width: 1.8rem; height: 1.8rem; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 12px 30px -8px rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 12px 30px -8px rgba(37, 211, 102, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 30px -8px rgba(37, 211, 102, 0.6); }
}

.back-to-top {
  position: fixed;
  right: 1.9rem;
  bottom: 6.4rem;
  z-index: 150;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal { opacity: 0; }
.reveal.is-visible { opacity: 1; }
.reveal[data-animation="fade-up"] { transform: translateY(40px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal[data-animation="fade-up"].is-visible { transform: translateY(0); }
.reveal[data-animation="slide-left"] { transform: translateX(-50px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal[data-animation="slide-left"].is-visible { transform: translateX(0); }
.reveal[data-animation="slide-right"] { transform: translateX(50px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal[data-animation="slide-right"].is-visible { transform: translateX(0); }
.reveal[data-animation="scale-up"] { transform: scale(0.92); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal[data-animation="scale-up"].is-visible { transform: scale(1); }
.reveal[data-animation="stagger-up"] { transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal[data-animation="stagger-up"].is-visible { transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .differentials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  /* Keep the hero video visible on mobile; shrink the Google-profile card
     into a small badge pinned to the top-left instead of stacking it
     full-width over the person's face. */
  .hero-content { min-width: 0; }
  .hero-visual {
    position: absolute;
    top: -1rem;
    left: 1rem;
    width: 190px;
    max-width: 44vw;
    margin: 0;
    order: 0;
    z-index: 3;
  }
  .gbp-thumb { width: 52px; height: 52px; }
  .gbp-card { padding: 0.8rem; gap: 0.6rem; }
  .gbp-body h3 { font-size: 0.8rem; }
  .gbp-category { font-size: 0.62rem; }
  .gbp-stars { font-size: 0.64rem; margin: 0.3rem 0; }
  .gbp-actions, .gbp-note, .browser-bar { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .process-timeline { flex-direction: column; align-items: center; gap: 2rem; }
  .process-connector { width: 1px; height: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .video-banner { aspect-ratio: 16 / 10; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-visual { aspect-ratio: 16 / 9; max-width: 480px; margin: 0 auto; }
  .testimonials-grid .testimonial-slider { padding: 0 3rem; }
  .location-feature { min-height: 380px; }

  #nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  section { padding: 4.5rem 0; }
  .services-grid, .portfolio-grid, .differentials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .trustbar-inner { justify-content: center; text-align: center; }
  .testimonial-slider { padding: 0 3.2rem; }
  .testimonials-grid .testimonial-slider { padding: 0 2.4rem; }
  .video-banner-caption { left: 1.2rem; bottom: 1rem; }
  .video-banner-caption p { font-size: 1.05rem; }
  .slider-arrow { width: 38px; height: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .gbp-btn { font-size: 0.7rem; padding: 0.35rem 0.55rem; }
  .whatsapp-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
  .whatsapp-float .icon { width: 1.5rem; height: 1.5rem; }
  .back-to-top { width: 40px; height: 40px; right: 1.2rem; bottom: 5rem; }
}
