/* =================================================================
   BATERÍAS MOURA SAN ANDRÉS — Estilos propios
   Sistema "Energía Moura": dark + azul Moura + amarillo eléctrico.
   Tailwind (CDN) maneja el layout; este archivo maneja
   parallax, animaciones de aparición y micro-interacciones.
   ================================================================= */

:root {
  --carbon:    #0B1220;
  --carbon-800:#0F1B33;
  --carbon-700:#13234A;
  --moura:     #2563EB;
  --moura-500: #3B82F6;
  --energy:    #FACC15;
  --wa:        #25D366;
  --wa-900:    #06351B;
  --surface:   #F8FAFC;
  --ink:       #0F172A;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Compensa el header fijo al saltar a una sección con ancla */
section[id] { scroll-margin-top: 80px; }
body { overflow-x: hidden; }
::selection { background: var(--energy); color: var(--carbon); }

/* Scrollbar sutil (no intrusiva) */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: var(--carbon); }
  ::-webkit-scrollbar-thumb { background: #2a3a5e; border-radius: 99px; border: 3px solid var(--carbon); }
  ::-webkit-scrollbar-thumb:hover { background: var(--moura); }
}

/* ---------- Accesibilidad: skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--energy); color: var(--carbon);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* Foco visible y consistente para teclado */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--energy); outline-offset: 3px; border-radius: 6px;
}

/* =================================================================
   HEADER STICKY
   ================================================================= */
#site-header { background: transparent; }
/* Estado al hacer scroll (clase agregada por JS) */
#site-header.scrolled {
  background: rgba(11, 18, 32, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.6);
}
/* "Shrink" suave al scrollear: el nav se achica y el logo escala un poco. */
#site-header nav { transition: height .35s cubic-bezier(.4,0,.2,1); }
#site-header.scrolled nav { height: 58px; }
#site-header img { transition: transform .35s cubic-bezier(.4,0,.2,1); }
#site-header.scrolled img { transform: scale(0.92); }

.nav-link {
  position: relative; color: rgba(255,255,255,.82); transition: color .2s ease;
  font-family: "Space Grotesk", ui-sans-serif, sans-serif;
  text-transform: uppercase; letter-spacing: .09em; white-space: nowrap;
  font-size: .95rem; font-weight: 500;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--energy); transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }
.mobile-link {
  transition: background .2s ease, padding-left .2s ease;
  font-family: "Space Grotesk", ui-sans-serif, sans-serif;
  text-transform: uppercase; letter-spacing: .08em;
  font-size: 1rem; font-weight: 500;
}
.mobile-link:hover { padding-left: 1rem; }

/* =================================================================
   BOTONES (micro-interacciones)
   ================================================================= */
.btn-wa, .btn-moura, .btn-ghost {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background-color .2s ease, filter .2s ease;
  will-change: transform;
}
.btn-wa:hover    { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 34px -10px rgba(37,211,102,.5); }
.btn-wa:active   { transform: translateY(0) scale(.98); }
.btn-moura:hover { transform: translateY(-2px); background: var(--moura-500); box-shadow: 0 16px 30px -12px rgba(37,99,235,.55); }
.btn-moura:active{ transform: translateY(0) scale(.98); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }

/* =================================================================
   PARALLAX (capas genéricas)
   El JS mueve estas capas con translate3d según el scroll.
   ================================================================= */
.parallax-layer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }

/* =================================================================
   HERO
   ================================================================= */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
/* Glow radial azul detrás del texto */
.hero-glow {
  background:
    radial-gradient(60% 55% at 18% 30%, rgba(37,99,235,.34) 0%, transparent 60%),
    radial-gradient(45% 45% at 85% 75%, rgba(250,204,21,.12) 0%, transparent 60%);
}
/* Ondas de energía: arcos concéntricos finos que salen desde la derecha
   (donde está el rayo / la foto) y barren hacia el texto. */
.hero-grid {
  background-image: repeating-radial-gradient(circle at 82% 46%,
    rgba(255,255,255,.085) 0 1.1px, transparent 1.1px 62px);
  mask-image: radial-gradient(135% 105% at 58% 42%, #000 22%, transparent 80%);
  -webkit-mask-image: radial-gradient(135% 105% at 58% 42%, #000 22%, transparent 80%);
}
/* Rayo gigante de fondo (energía) */
.hero-bolt {
  display: flex; align-items: center; justify-content: flex-end;
  color: rgba(250,204,21,.05); right: -6%; left: auto; width: 60%;
}
.hero-bolt svg { width: clamp(20rem, 42vw, 42rem); height: auto; }

/* Marco de la foto del hero */
.hero-photo-frame {
  position: relative; border-radius: 24px; overflow: visible;
  will-change: transform;
}
/* .hero-photo = contenedor que recorta (clip-path reveal por GSAP).
   .hero-photo-img = la imagen de fondo que hace el Ken Burns (zoom lento). */
.hero-photo {
  width: 100%; aspect-ratio: 4 / 4.7;
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(37,99,235,.15);
  transform: rotate(1.5deg);
}
.hero-photo-img {
  width: 100%; height: 100%;
  background-image: url("../assets/img/hero-mecanico.webp");
  background-size: cover;
  background-position: 64% 42%;
  background-repeat: no-repeat;
  will-change: transform;
}
.hero-badge {
  position: absolute; left: -26px; bottom: 24px; z-index: 2;
  background: var(--energy); color: var(--carbon);
  border: 2px solid rgba(255,255,255,.55); border-radius: 18px;
  padding: 15px 22px; text-align: center;
  box-shadow: 0 18px 40px -10px rgba(250,204,21,.55);
}
/* El floaty + glow arrancan cuando GSAP termina la entrada del badge.
   Con reduced-motion no se agrega .is-live → queda quieto. */
.hero-badge.is-live {
  animation: floaty 5s ease-in-out infinite, badgeGlow 2.4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 16px 36px -12px rgba(250,204,21,.5), 0 0 0 0 rgba(250,204,21,0); }
  50%      { box-shadow: 0 22px 46px -12px rgba(250,204,21,.78), 0 0 30px 6px rgba(250,204,21,.35); }
}

/* Indicador de scroll del hero */
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; place-items: center; width: 42px; height: 42px;
  color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; animation: bob 2s ease-in-out infinite; transition: color .2s, border-color .2s;
}
.hero-scroll-cue:hover { color: var(--energy); border-color: var(--energy); }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* =================================================================
   SECCIONES — tipografía de apoyo
   ================================================================= */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--moura);
}
.section-title {
  font-family: "Outfit", sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; color: var(--ink);
  letter-spacing: -.01em;
}
.section-title-light {
  font-family: "Outfit", sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; color: #fff;
  letter-spacing: -.01em;
}

/* =================================================================
   DIFERENCIALES
   ================================================================= */
.diff-item {
  display: flex; align-items: center; gap: .6rem;
  color: #e5ecf7; font-weight: 500; font-size: .95rem;
}
.diff-ico {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(37,211,102,.14); color: var(--wa);
  transition: background .25s ease, transform .25s ease;
}
.diff-ico svg { width: 19px; height: 19px; }
.diff-item:hover .diff-ico { background: rgba(37,211,102,.22); transform: translateY(-2px); }

/* =================================================================
   NOSOTROS
   ================================================================= */
.about-photo-frame {
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 40px 70px -34px rgba(15,23,42,.4);
  aspect-ratio: 1 / 1; will-change: transform;
}
.about-rating-card {
  position: absolute; right: -14px; bottom: -22px;
  background: #fff; border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px; padding: 16px 20px; text-align: center;
  box-shadow: 0 24px 48px -20px rgba(15,23,42,.35);
}
.stat-card {
  background: #fff; border: 1px solid rgba(15,23,42,.07);
  border-radius: 16px; padding: 1.1rem 1rem; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -22px rgba(37,99,235,.4); border-color: rgba(37,99,235,.3); }
.stat-num { font-family: "Outfit", sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: var(--ink); line-height: 1; }
.stat-label { margin-top: .4rem; font-size: .76rem; color: #64748b; line-height: 1.3; }

/* =================================================================
   SERVICIOS (3 pilares)
   ================================================================= */
.services-glow {
  background: radial-gradient(50% 50% at 80% 10%, rgba(37,99,235,.22) 0%, transparent 60%),
              radial-gradient(40% 40% at 5% 90%, rgba(250,204,21,.08) 0%, transparent 60%);
}
.service-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
  padding: 2.2rem 1.8rem 2rem;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250,204,21,.45);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--moura), var(--energy));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-step {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-family: "Outfit", sans-serif; font-weight: 800; font-size: 2.6rem;
  color: rgba(255,255,255,.06); line-height: 1;
  transform-origin: top right; /* crece hacia adentro, no se sale del recuadro */
  transition: color .3s ease, transform .3s ease;
}
.service-card:hover .service-step {
  color: rgba(255,255,255,.9);
  transform: scale(2);
}
.service-icon {
  display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 16px; background: rgba(37,99,235,.16); color: var(--moura-500);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: var(--energy); color: var(--carbon); transform: scale(1.06) rotate(-4deg); }

/* Estado "seleccionado" (mobile): mismo look que el hover de escritorio, pero lo
   activa animations.js —el card que queda centrado al scrollear, o el que tocás—. */
.service-card.is-active { transform: translateY(-6px); border-color: rgba(250,204,21,.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.service-card.is-active::before { transform: scaleX(1); }
.service-card.is-active .service-step { color: rgba(255,255,255,.9); transform: scale(2); }
.service-card.is-active .service-icon { background: var(--energy); color: var(--carbon); transform: scale(1.06) rotate(-4deg); }
.service-title { margin-top: 1.3rem; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.4rem; color: #fff; }
.service-text { margin-top: .7rem; color: #aeb9cc; line-height: 1.65; font-size: .98rem; }

/* =================================================================
   BANNER · PUNTO SERVICE OFICIAL (franja entre Nosotros y Marcas)
   ================================================================= */
.ps-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 2.2rem;
  background: linear-gradient(115deg, #0B1220 0%, #13234A 52%, #1D4ED8 150%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  padding: 2.2rem 2.6rem;
  box-shadow: 0 36px 70px -38px rgba(11,18,32,.55);
}
.ps-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 130% at 92% 8%, rgba(37,99,235,.4) 0%, transparent 60%);
}
.ps-banner-logo {
  flex-shrink: 0; position: relative;
  background: #fff; border-radius: 20px; padding: 16px 20px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.55);
}
.ps-banner-logo img { height: 132px; width: auto; display: block; }
.ps-banner-text { position: relative; }
.ps-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Space Grotesk", sans-serif; text-transform: uppercase;
  letter-spacing: .07em; font-weight: 600; font-size: .82rem; color: var(--energy);
}
.ps-eyebrow svg { width: 18px; height: 18px; }
.ps-title {
  margin-top: .6rem; font-family: "Outfit", sans-serif; font-weight: 800; color: #fff;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem); line-height: 1.12;
}
.ps-sub { margin-top: .5rem; color: #cbd5e1; font-size: 1.08rem; }
@media (max-width: 700px) {
  .ps-banner { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem 1.4rem; border-radius: 24px; }
  .ps-eyebrow { justify-content: center; }
  .ps-banner-logo img { height: 108px; }
  .ps-sub { font-size: 1rem; }
}
/* Escritorio: mismo diseño pero centrado (mobile queda como está). */
@media (min-width: 701px) {
  .ps-banner { justify-content: center; }
  .ps-banner-text { text-align: center; }
  .ps-eyebrow { justify-content: center; }
}

/* =================================================================
   COMPATIBILIDADES · grilla (imágenes B/N que se pintan al hover)
   ================================================================= */
.compat-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .compat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .compat-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.compat-intro, .compat-card {
  border-radius: 22px; padding: 2.1rem 1.9rem; min-height: 340px;
  display: flex; flex-direction: column;
}
/* Tarjeta intro amarilla */
.compat-intro {
  position: relative; overflow: hidden; justify-content: center; color: #fff;
  background: linear-gradient(150deg, #2563EB 0%, #1D4ED8 55%, #1E3A8A 125%);
}
.compat-intro::after {
  content: ""; position: absolute; right: -30%; top: -30%; width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 60%); pointer-events: none;
}
.compat-intro-eyebrow { position: relative; font-family: "Work Sans", sans-serif; font-weight: 500; font-size: 1.05rem; }
.compat-intro-title { position: relative; font-family: "Outfit", sans-serif; font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.15rem); line-height: 1.1; margin: .45rem 0; }
.compat-intro-sub { position: relative; font-family: "Work Sans", sans-serif; font-weight: 500; font-size: 1.05rem; }

/* Tarjetas de categoría */
.compat-card {
  background: #fff; border: 1px solid rgba(15,23,42,.08); text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.compat-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,.3); box-shadow: 0 26px 52px -30px rgba(15,23,42,.4); }
.compat-title { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.compat-text { margin-top: .55rem; color: #64748b; line-height: 1.55; font-size: .98rem; }
.compat-img-wrap { margin-top: auto; padding-top: 1.2rem; height: 210px; display: flex; align-items: flex-end; justify-content: center; }
.compat-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.03); transition: filter .35s ease, transform .35s ease;
}
/* "Paint on hover" (escritorio) y al entrar en vista (touch, clase .is-colored) */
.compat-card:hover .compat-img { filter: grayscale(0); transform: scale(1.06); }
/* En touch (sin hover) las fotos se pintan al entrar en pantalla (JS agrega .is-colored). */
@media (hover: none) { .compat-card.is-colored .compat-img { filter: grayscale(0); } }
@media (prefers-reduced-motion: reduce) {
  .compat-card, .compat-img { transition: none; }
  .compat-card:hover { transform: none; }
}

/* =================================================================
   BANDA "A DOMICILIO" (parallax con foto de fondo)
   ================================================================= */
/* z-index bajo: cuando el banner se fija (pin), Opiniones —que va abajo y es
   opaco (bg-surface)— lo tapa al scrollear. */
.domicilio-band { position: relative; overflow: hidden; background: var(--carbon); z-index: 1; }
.domicilio-bg {
  position: absolute; inset: -15% 0; /* extra alto para el movimiento parallax */
  background-image: url("../assets/img/domicilio.webp");
  background-size: cover; background-position: center 40%;
  will-change: transform;
}
.domicilio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,.82) 0%, rgba(11,18,32,.72) 50%, rgba(11,18,32,.9) 100%);
}
/* Opiniones por encima del banner fijado, para que lo tape al subir. */
#opiniones { position: relative; z-index: 2; }

/* =================================================================
   OPINIONES (carrusel)
   ================================================================= */
.review-stars { color: #FBBF24; letter-spacing: 1px; }

/* Badge compacto de Google */
.reviews-badge {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 18px;
  padding: 14px 20px; box-shadow: 0 20px 40px -28px rgba(15,23,42,.3);
}

/* Pista del carrusel */
.reviews-viewport { overflow: hidden; padding: 4px; margin: -4px; }
.reviews-track {
  display: flex; gap: 20px;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

/* Tarjeta de reseña — 1 / 2 / 4 por vista según el ancho */
.review-card {
  flex: 0 0 100%;
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 20px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 20px 44px -32px rgba(15,23,42,.35);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.review-card:hover { transform: translateY(-5px); border-color: rgba(37,99,235,.3); box-shadow: 0 30px 56px -30px rgba(37,99,235,.35); }
@media (min-width: 640px)  { .review-card { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1024px) { .review-card { flex-basis: calc((100% - 60px) / 4); } }

.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1rem;
}
.review-name { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-meta { font-size: .76rem; color: #94a3b8; margin-top: 2px; }
.review-text { color: #475569; line-height: 1.6; font-size: .95rem; }

/* Controles */
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 2.2rem; }
.rev-arrow {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(15,23,42,.12); color: var(--ink); cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rev-arrow:hover { background: var(--moura); color: #fff; border-color: var(--moura); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(37,99,235,.5); }
.rev-arrow:active { transform: translateY(0) scale(.96); }
.reviews-dots { display: flex; align-items: center; gap: 2px; }
/* El botón mide 24x24px (área táctil accesible — WCAG 2.5.8 / Lighthouse
   target-size); el punto visible (9px, o pastilla cuando está activo) se
   dibuja con ::before, así el diseño no cambia pero sí crece el área de toque. */
.rev-dot { width: 24px; height: 24px; padding: 0; border: none; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.rev-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; transition: background .25s ease, width .25s ease; }
.rev-dot:hover::before { background: #94a3b8; }
.rev-dot.active::before { background: var(--moura); width: 22px; border-radius: 5px; }

/* =================================================================
   CONTACTO
   ================================================================= */
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 1.1rem 1.3rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
/* El efecto aplica a las 3 tarjetas (incluida la de Teléfonos, que es un
   div porque contiene dos links), no solo a las que son <a>. */
.contact-card:hover { transform: translateX(5px); border-color: rgba(250,204,21,.4); background: rgba(255,255,255,.06); }
.contact-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 14px; }
.contact-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.contact-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: #7c89a3; font-weight: 600; }
.contact-value { color: #e7edf7; font-weight: 600; font-size: 1.02rem; transition: color .2s ease; }
/* El mapa estira a la misma altura que la columna de tarjetas (grid stretch). */
.map-frame {
  border-radius: 20px; overflow: hidden; height: 100%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.7);
  filter: grayscale(.2) contrast(1.05);
}
.map-frame iframe { display: block; width: 100%; height: 100%; }
/* En mobile/tablet (columna apilada) no hay con quién igualar: altura fija. */
@media (max-width: 1023px) { .map-frame { height: 340px; } }

/* =================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ================================================================= */
#wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px;
  background: var(--wa); color: #fff; border-radius: 999px;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  opacity: 0; transform: scale(0) translateY(20px);
}
#wa-float.visible { opacity: 1; transform: scale(1) translateY(0); }
#wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 18px 38px -8px rgba(37,211,102,.75); }
#wa-float svg { width: 30px; height: 30px; }
.wa-float-pulse {
  position: absolute; inset: 0; border-radius: 999px; background: var(--wa);
  z-index: -1; opacity: 0; /* el latido lo controla GSAP (js/animations.js) */
}

/* =================================================================
   FAQ (acordeón nativo <details>, sin JS)
   ================================================================= */
.faq-item {
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 16px;
  padding: 0 1.4rem; transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] { border-color: rgba(37,99,235,.3); box-shadow: 0 16px 36px -24px rgba(15,23,42,.3); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 0; font-family: "Outfit", sans-serif; font-weight: 600;
  font-size: 1.05rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 999px; background: rgba(37,99,235,.1); color: var(--moura);
  font-size: 1.3rem; line-height: 1; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-item[open] summary::after { content: "−"; background: var(--moura); color: #fff; }
.faq-a { padding: 0 0 1.3rem; color: #475569; line-height: 1.65; }

/* =================================================================
   REVEALS / GSAP
   Los reveals los maneja GSAP + ScrollTrigger (js/animations.js).
   ================================================================= */
/* Pre-ocultamos solo el hero (above-the-fold) para evitar parpadeo; el
   resto lo oculta GSAP con immediateRender (off-screen, sin flash). Si
   GSAP no carga o hay reduced-motion, animations.js quita 'gsap-on'. */
html.gsap-on [data-hero],
html.gsap-on .hero-badge { opacity: 0; }
/* La imagen del hero arranca recortada (clip-path reveal) y los títulos de
   sección con wipe horizontal. Si GSAP no corre, no aplica (sin gsap-on). */
html.gsap-on .hero-photo { clip-path: inset(0 100% 0 0 round 24px); }
html.gsap-on .section-title,
html.gsap-on .section-title-light { clip-path: inset(0 100% 0 0); }
/* Durante cada reveal, GSAP apaga la transición CSS para no pelear con ella. */
.anim-prep { transition: none !important; }

/* =================================================================
   PREFERENCIA DE MOVIMIENTO REDUCIDO (accesibilidad)
   Desactiva parallax y animaciones para quien lo pide.
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-hero], .hero-badge { opacity: 1 !important; transform: none !important; }
  .parallax-layer, .domicilio-bg, .hero-photo-frame, .about-photo-frame { transform: none !important; }
  .hero-photo { transform: rotate(0); }
}

/* =================================================================
   RESPONSIVE FINO
   ================================================================= */
@media (max-width: 640px) {
  .hero-badge { left: 12px; bottom: 12px; }
  #wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .about-rating-card { right: 8px; bottom: -16px; padding: 12px 16px; }
}

/* =================================================================
   ANIMACIONES "2.0" (GSAP + ScrollSmoother + SplitText) — soporte
   ================================================================= */

/* Barra de progreso de scroll (fija arriba de todo) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: linear-gradient(90deg, var(--moura), var(--energy));
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform; pointer-events: none;
}

/* MARQUEE (diferenciales) — cinta infinita con fundido en los bordes */
.marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee-track .diff-item { flex: 0 0 auto; padding: 0 2.4rem; white-space: nowrap; position: relative; }
.marquee-track .diff-item::after {
  content: ""; position: absolute; right: -2.5px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.2);
}

/* Carrusel de logos de marcas (banda clara) */
.brand-marquee .brand-item { flex: 0 0 auto; padding: 0 2.6rem; display: flex; align-items: center; }
.brand-item img {
  height: 124px; width: auto; max-width: 380px; object-fit: contain;
  opacity: .9; transition: transform .3s ease, opacity .3s ease;
}
.brand-item img:hover { opacity: 1; transform: scale(1.08); }
@media (max-width: 640px) { .brand-item { padding: 0 1.6rem; } .brand-item img { height: 110px; } }

/* MAGNÉTICO — GSAP controla el transform; la transición queda solo para el glow */
[data-magnetic] { transition: box-shadow .25s ease, background-color .2s ease, border-color .2s ease; will-change: transform; }

/* TILT 3D de las opiniones (la perspectiva la pone GSAP con transformPerspective) */
.review-card { will-change: transform; }

/* Contadores con blur (lo anima GSAP vía filter) */
.stat-count { display: inline-block; will-change: filter, transform; }

/* Reduced-motion para los componentes nuevos: cinta estática y centrada,
   barra de progreso completa, sin recortes. */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: 100%; gap: .5rem 0; }
  .marquee-track .diff-item::after { display: none; }
  .scroll-progress { transform: scaleX(1); opacity: .5; }
  .hero-photo, .section-title, .section-title-light { clip-path: none !important; }
}
