/* =========================================================================
   MENNY'S BODY SHOP — Automotive Refinishing Specialist
   Stylesheet — vanilla CSS, mobile-first, sin frameworks.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --c-black: #0a0a0b;
  --c-graphite-900: #131416;
  --c-graphite-800: #1c1d20;
  --c-graphite-700: #26272b;
  --c-graphite-600: #35363b;
  --c-graphite-500: #48494f;
  --c-white: #f6f5f1;
  --c-white-dim: #cfd0d2;
  --c-white-faint: rgba(246, 245, 241, 0.6);
  --c-red-900: #4a0a0e;
  --c-red-700: #7a0f16;
  --c-red-600: #91131a;
  --c-red-500: #ab171f;
  --c-gold-300: #ecdcb2;
  --c-gold-400: #d4b478;
  --c-gold-500: #b8935a;
  --c-gold-600: #96773f;
  --c-gold-700: #7d602f;

  /* Tema claro (fondo principal del sitio) */
  --c-bg: #ffffff;
  --c-surface: #f6f5f1;
  --c-surface-alt: #efece3;
  --c-ink: #17181a;
  --c-ink-dim: #55575c;
  --c-ink-faint: #65676c;
  --c-border: #e7e3d8;
  --c-border-strong: #d9d3c2;

  --font-display: "Poppins", "Segoe UI", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --container-w: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-med: 420ms;

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html, body { margin: 0; padding: 0; }
body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--c-gold-400);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 10vw, 128px);
  position: relative;
}

/* Sección oscura (se usa deliberadamente solo en Servicios: las tarjetas ya
   llevan su propia foto + degradado oscuro, así que un fondo grafito aquí
   es lo que las integra visualmente sin dejar recuadros blancos huecos). */
.section-graphite { background: var(--c-graphite-900); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold-700);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-gold-700);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(36px, 6vw, 64px);
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.section-head p {
  margin-top: 18px;
  color: var(--c-ink-dim);
  font-size: 1.05rem;
  max-width: 56ch;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center p { margin-inline: auto; }

/* Excepción: dentro de la sección oscura de Servicios, el eyebrow y los
   títulos vuelven a los tonos claros para mantener contraste. */
.section-graphite .eyebrow { color: var(--c-gold-400); }
.section-graphite .eyebrow::before { background: var(--c-gold-400); }
.section-graphite .section-head h2 { color: var(--c-white); }
.section-graphite .section-head p { color: var(--c-white-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--c-red-600), var(--c-red-900));
  color: var(--c-white);
  box-shadow: 0 8px 24px -8px rgba(145, 19, 26, 0.65);
}
.btn-primary:hover {
  box-shadow: 0 10px 30px -6px rgba(145, 19, 26, 0.8);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(246, 245, 241, 0.25);
  color: var(--c-white);
}
.btn-ghost:hover { border-color: var(--c-gold-400); color: var(--c-gold-300); }

.btn-gold {
  background: linear-gradient(135deg, var(--c-gold-400), var(--c-gold-600));
  color: var(--c-black);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(212, 180, 120, 0.55); }

.btn-lg { padding: 20px 40px; font-size: 1.05rem; }

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

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              height var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--c-border);
  box-shadow: 0 12px 30px -18px rgba(20, 20, 20, 0.14);
  height: 72px;
}
/* Sobre el hero (transparente) el texto es blanco; al bajar, el header
   pasa a fondo claro y el texto se vuelve oscuro para mantener contraste. */
.site-header.is-scrolled .brand__name { color: var(--c-ink); }
.site-header.is-scrolled .brand__desc { color: var(--c-red-600); }
.site-header.is-scrolled .main-nav a { color: var(--c-ink-dim); }
.site-header.is-scrolled .main-nav a:hover { color: var(--c-ink); }
.site-header.is-scrolled .main-nav a::after { background: var(--c-red-600); }
.site-header.is-scrolled .nav-toggle { color: var(--c-ink); border-color: var(--c-border-strong); }

.site-header__inner {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand__mark {
  height: 44px;
  width: auto;
  border-radius: 8px;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-white);
  white-space: nowrap;
}
.brand__desc {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-400);
  white-space: nowrap;
}

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-white-dim);
  position: relative;
  padding-block: 6px;
  transition: color var(--dur-fast) var(--ease-out);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--c-gold-400);
  transition: right var(--dur-med) var(--ease-out);
}
.main-nav a:hover { color: var(--c-white); }
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { display: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(246, 245, 241, 0.28);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-white);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
}
.lang-switch:hover { border-color: var(--c-gold-400); color: var(--c-gold-300); }
.site-header.is-scrolled .lang-switch { border-color: var(--c-border-strong); color: var(--c-ink); }
.site-header.is-scrolled .lang-switch:hover { border-color: var(--c-gold-700); color: var(--c-gold-700); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(246, 245, 241, 0.2);
  border-radius: var(--radius-sm);
  color: var(--c-white);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 32px var(--gutter);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav .btn { margin-top: 28px; width: 100%; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-actions .btn-primary { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-black);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: calc(var(--header-h) + clamp(24px, 5vw, 48px)) clamp(48px, 7vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-gold-300);
  margin-bottom: 22px;
}
.hero__kicker::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-red-500);
  box-shadow: 0 0 0 4px rgba(171, 23, 31, 0.25);
}
.hero h1 {
  font-size: clamp(2rem, 6.6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--c-white);
  max-width: 17ch;
  margin-inline: auto;
}
.hero__title-line {
  display: block;
}
.hero__title-line--accent {
  color: var(--c-gold-300);
  font-weight: 700;
}
.hero__media {
  width: 100%;
  max-width: 1140px;
  margin: clamp(28px, 5vw, 44px) auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,0.55);
  border: 1px solid rgba(212, 180, 120, 0.16);
}
.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 32%;
}
.hero__sub {
  margin-top: clamp(20px, 4vw, 32px);
  max-width: 46ch;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--c-white-dim);
}
.hero__sub + .hero__sub {
  margin-top: 10px;
}
.hero__sub--lead {
  max-width: 50ch;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--c-white);
}
.hero__actions {
  margin-top: clamp(24px, 4vw, 32px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--c-white-faint);
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  .hero h1 { max-width: 19ch; }
  .hero__media img { aspect-ratio: 16 / 9; }
  .hero__sub { max-width: 60ch; font-size: 1.15rem; }
  .hero__sub--lead { max-width: 56ch; font-size: 1.4rem; }
}
@media (min-width: 1024px) {
  .hero h1 { max-width: 22ch; }
  .hero__sub { max-width: 66ch; font-size: 1.22rem; }
  .hero__sub--lead { max-width: 62ch; font-size: 1.55rem; }
}

/* =========================================================================
   MARQUEE
   ========================================================================= */
.marquee {
  position: relative;
  background: var(--c-graphite-900);
  border-block: 1px solid rgba(212, 180, 120, 0.14);
  padding-block: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  font-size: clamp(0.85rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-white);
  white-space: nowrap;
  padding-inline: clamp(16px, 2.4vw, 32px);
}
.marquee__sep {
  color: var(--c-gold-400);
  font-size: 0.8em;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================================
   MARCAS (brands we service)
   ========================================================================= */
.brands {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--c-bg);
}
.brands__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.brands__head h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--c-ink);
}
.brands__head p { color: var(--c-ink-dim); max-width: 48ch; }
.brands__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border-strong);
}
.brands__frame img { width: 100%; height: auto; }

/* =========================================================================
   SERVICIOS
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-graphite-800);
  border: 1px solid var(--c-graphite-600);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  isolation: isolate;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(212, 180, 120, 0.4); }
.service-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.service-card__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
  transition: transform 900ms var(--ease-out), filter var(--dur-med) var(--ease-out);
}
.service-card:hover .service-card__bg img {
  transform: scale(1.06);
  filter: brightness(0.92);
}
.service-card__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10,10,11,0.9) 0%, rgba(10,10,11,0.45) 42%, rgba(10,10,11,0.05) 72%);
}
.service-card__index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--c-gold-400);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.3rem;
  color: var(--c-white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--c-white-dim);
  max-width: 34ch;
}

/* =========================================================================
   PAINT SCROLL SECTION
   ========================================================================= */
.paint-scroll {
  position: relative;
  height: 320vh;
  background: var(--c-black);
}
.paint-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.paint-scroll__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--c-black);
}
.paint-scroll__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.22) contrast(1.04) saturate(1.05);
}
.paint-scroll__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  filter: brightness(1.22) contrast(1.04) saturate(1.05);
}
.paint-scroll__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(8,8,9,0.6) 0%, rgba(8,8,9,0.14) 45%, rgba(8,8,9,0.32) 100%);
}
.paint-scroll__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.paint-scroll__layer {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  max-width: 640px;
}
.paint-scroll__layer.is-active { opacity: 1; transform: translateY(0); }
.paint-scroll__eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-gold-300); margin-bottom: 16px; display: block;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}
.paint-scroll__layer h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--c-white);
  line-height: 1.12;
  text-shadow: 0 4px 22px rgba(0,0,0,0.6);
}
.paint-scroll__layer p {
  margin-top: 16px;
  color: var(--c-white-dim);
  font-size: 1.02rem;
  max-width: 50ch;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.paint-scroll__progress {
  position: absolute;
  right: var(--gutter);
  bottom: 44px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white-faint);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.paint-scroll__progress-bar {
  width: 120px; height: 2px;
  background: rgba(246,245,241,0.18);
  border-radius: 2px;
  overflow: hidden;
}
.paint-scroll__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-gold-500), var(--c-red-600));
}

@media (prefers-reduced-motion: reduce) {
  .paint-scroll { height: auto; }
  .paint-scroll__sticky { position: relative; height: 76vh; min-height: 480px; }
  .paint-scroll__layer { opacity: 1; transform: none; }
  .paint-scroll__progress { display: none; }
}
.paint-scroll.is-static .paint-scroll__sticky { position: relative; height: 76vh; min-height: 480px; }
.paint-scroll.is-static .paint-scroll__layer { opacity: 1; transform: none; }
.paint-scroll.is-static .paint-scroll__progress { display: none; }
.paint-scroll.is-static { height: auto; }

/* =========================================================================
   RESULTADOS / BEFORE-AFTER
   ========================================================================= */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .results-grid { grid-template-columns: repeat(3, 1fr); }
}

.ba-card__title {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--c-ink-dim);
  text-align: center;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--obj-pos, center);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.ba-slider__after { z-index: 1; }
.ba-slider__before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  width: 50%;
}
.ba-slider__before-wrap .ba-slider__img { width: var(--frame-w, 100vw); max-width: none; }

.ba-slider__tag {
  position: absolute;
  top: 16px;
  z-index: 4;
  background: var(--c-red-600);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-slider__tag--before { left: 16px; }
.ba-slider__tag--after { right: 16px; }

.ba-slider__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  z-index: 3;
  width: 2px;
  background: rgba(246,245,241,0.9);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.ba-slider__handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  pointer-events: none;
}
.ba-slider__handle svg { width: 12px; height: 12px; }

.ba-slider__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 48px; height: 48px;
}
.ba-slider__range::-moz-range-thumb {
  width: 48px; height: 48px;
  border: none;
  background: transparent;
}

.ba-slider__hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(10,10,11,0.7);
  color: var(--c-white);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 999px;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
  backdrop-filter: blur(6px);
}
.ba-slider.is-interacted .ba-slider__hint { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .ba-slider__hint { transition: none; }
}

/* =========================================================================
   PROCESO
   ========================================================================= */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--c-border);
}
.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding-block: 32px;
  border-bottom: 1px solid var(--c-border);
  align-items: center;
}
.process-item__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-gold-700);
}
.process-item__body h3 {
  font-size: 1.2rem;
  color: var(--c-ink);
  margin-bottom: 8px;
}
.process-item__body p {
  color: var(--c-ink-dim);
  font-size: 0.95rem;
  max-width: 56ch;
}
.process-item__thumb {
  display: none;
  width: 84px; height: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.process-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 720px) {
  .process-item { grid-template-columns: 64px 1fr auto; }
  .process-item__thumb { display: block; }
}

/* =========================================================================
   CTA FINAL
   ========================================================================= */
.cta-final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 12vw, 140px);
  text-align: center;
}
.cta-final__bg { position: absolute; inset: 0; z-index: 0; }
.cta-final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cta-final__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8,8,9,0.92), rgba(8,8,9,0.86) 55%, rgba(8,8,9,0.96));
}
.cta-final__content { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.cta-final .eyebrow { color: var(--c-gold-300); }
.cta-final .eyebrow::before { background: var(--c-gold-300); }
.cta-final h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--c-white);
  line-height: 1.08;
}
.cta-final p {
  margin-top: 20px;
  color: var(--c-white-dim);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-inline: auto;
}
.cta-final__actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-final__phone {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--c-gold-300);
  letter-spacing: 0.02em;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding-block: 56px 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-border);
}
.footer-brand { display: flex; align-items: center; gap: 14px; max-width: 340px; }
.footer-brand img { height: 46px; width: auto; border-radius: 8px; }
.footer-brand__text .brand__name { display: block; color: var(--c-ink); }
.footer-brand__text .brand__desc { display: block; margin-top: 4px; color: var(--c-red-600); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-700);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span {
  color: var(--c-ink-dim);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--c-ink); }

.footer-bottom {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--c-ink-faint);
  font-size: 0.82rem;
}

/* =========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================= */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform var(--dur-fast) var(--ease-out);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Visible por defecto siempre: el contenido NUNCA depende de que el JS
   corra para poder verse. El JS, si se ejecuta correctamente, añade
   "reveal-hidden" antes de observar el elemento y luego lo quita al
   revelarlo — así que si el JS falla o no corre, nada queda oculto. */
.reveal { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.reveal-hidden { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-hidden { opacity: 1; transform: none; }
}
