/* ImpoExpor S.A.S — estilos base */

:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --azul: #0000b6;
  --azul-oscuro: #00008a;
  --rojo: #d62e1c;
  --rojo-oscuro: #b32415;
  --negro: #212121;
  --gris-claro: #f2f0f0;
  --blanco: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --container: 1180px;
  --font: "Raleway", "Segoe UI", Arial, sans-serif;
  --font-num: "Roboto", "Segoe UI", Arial, sans-serif;
}

/* Todo texto numérico (cifras, teléfonos, años) usa Roboto */
.num { font-family: var(--font-num); }

/* =====================================================
   Manchas de color globales — siguen el cursor por todo
   el sitio y son lo que el estilo "glass" de las cards
   desenfoca. Ver js/bg-blobs.js.
   ===================================================== */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.bg-blob--red {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  left: -10vw;
  top: -8vw;
  background: rgba(214, 46, 28, 0.32);
}
.bg-blob--blue {
  width: 50vw;
  height: 50vw;
  max-width: 680px;
  max-height: 680px;
  right: -12vw;
  bottom: -10vw;
  background: rgba(0, 0, 182, 0.26);
}
@media (max-width: 640px) {
  .bg-blob { filter: blur(60px); }
}

/* Sin cursor (touch): loop automático y leve en vez de seguir el mouse */
@media (hover: none), (pointer: coarse) {
  .bg-blob--red { animation: bgBlobDriftA 18s ease-in-out infinite; }
  .bg-blob--blue { animation: bgBlobDriftB 22s ease-in-out infinite; }
}
@keyframes bgBlobDriftA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(6vw, -4vh, 0); }
  50% { transform: translate3d(-3vw, 5vh, 0); }
  75% { transform: translate3d(-5vw, -3vh, 0); }
}
@keyframes bgBlobDriftB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  30% { transform: translate3d(-5vw, 4vh, 0); }
  60% { transform: translate3d(4vw, -5vh, 0); }
  85% { transform: translate3d(3vw, 3vh, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-blob--red, .bg-blob--blue { animation: none; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: #4a4a4a; }

.eyebrow {
  display: inline-block;
  color: var(--rojo);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--gray { background: var(--gris-claro); }
.section--dark { background: var(--negro); color: var(--blanco); }
.section--dark p { color: #cfcfcf; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), background 0.15s var(--ease-out), color 0.15s var(--ease-out);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
}
.btn:active { transform: scale(0.97); }

.btn--red { background: var(--rojo); color: var(--blanco); box-shadow: 0 8px 20px rgba(214, 46, 28, 0.35); }
.btn--red:hover { background: var(--rojo-oscuro); }

.btn--blue { background: var(--azul); color: var(--blanco); box-shadow: 0 8px 20px rgba(0, 0, 182, 0.35); }
.btn--blue:hover { background: var(--azul-oscuro); }

.btn--outline { background: transparent; color: var(--blanco); border-color: rgba(255, 255, 255, 0.6); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn--outline-dark { background: transparent; color: var(--negro); border-color: var(--negro); }
.btn--outline-dark:hover { background: var(--negro); color: var(--blanco); }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanco);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.header__logo { margin-left: 12px; }
.header__logo img { height: 48.3px; }
.header__right { display: flex; align-items: center; gap: 32px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--negro);
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--rojo);
  transition: transform 0.2s var(--ease-out);
}
.nav__links a.active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after { transform: scaleX(1); }
}
.nav__links a.active { color: var(--rojo); }

.header__cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: 12px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--negro); border-radius: 2px; }

/* Encabezado del menú móvil (favicon + botón cerrar) — solo visible con el drawer abierto */
.nav__drawer-head { display: none; }
.nav__drawer-head img { height: 32px; }
.nav__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--negro);
  display: flex;
}
.nav__close svg { width: 22px; height: 22px; }

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--blanco);
  overflow: hidden;
  padding: 90px 0;
  background: var(--negro);
}

/* Video de fondo del hero */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(8, 8, 10, 0.68), rgba(8, 8, 10, 0.74));
}

/* Resplandor animado — degradé vertical, solo el rojo de marca */
.hero__glow {
  position: absolute;
  inset: -15% -25%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(214, 46, 28, 0.65) 0%,
    rgba(214, 46, 28, 0.28) 40%,
    rgba(214, 46, 28, 0) 78%
  );
  filter: blur(70px);
  animation: heroGlow 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.75; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; }
}

.hero .container { position: relative; z-index: 3; perspective: 1200px; }

/* Layout de dos columnas: card de texto + placeholder de imagen */
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}

/* Panel "glass" (glassmorphism) sobre el resplandor */
.hero__glass {
  padding: 44px;
  background: linear-gradient(135deg, rgba(214, 46, 28, 0.24), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero p.lead { color: #ececec; font-size: 1.1rem; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero__content .eyebrow { color: #cfe0ff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }

/* Imagen destacada del hero — sin marco, misma lógica que .elegirnos__media */
.hero__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Entrada animada, escalonada por elemento (usar --d en style inline) */
.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; opacity: 1; transform: none; }
}

/* Título de página — sutil, sin banner: solo para SEO/accesibilidad (h1) */
.page-title { padding: 40px 0 4px; }
.page-title h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--negro);
  margin: 0;
}

.breadcrumb { color: #6b6b6b; font-size: 0.82rem; margin: 0 0 6px; }
.breadcrumb a { color: var(--rojo); font-weight: 700; }

/* Stats */
.section--stats { background: transparent; }

.stats-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.stats-head h2 { margin: 0; max-width: 520px; }
.stats-head p { max-width: 340px; margin: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.stat-card {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  padding: 30px 26px 32px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  clip-path: inherit;
  background: rgba(214, 46, 28, 0.1);
  transform: translate(9px, 9px);
  transition: transform 0.25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.stat-card:hover { transform: translateY(-4px); }
.stat-card:hover::before { transform: translate(13px, 13px); }
}

.stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(214, 46, 28, 0.12);
  color: var(--rojo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.stat-card__icon svg { width: 22px; height: 22px; }

.stat-card__value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--rojo);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 14px;
}
.stat-card__value .num { font-family: var(--font-num); }

.stat-card__label { font-size: 1rem; font-weight: 800; color: var(--negro); margin: 0 0 8px; }
.stat-card__desc { font-size: 0.85rem; color: #6b6b6b; margin: 0; }

.stat-card--highlight {
  background: linear-gradient(135deg, var(--azul), #00019e);
  border-color: rgba(255, 255, 255, 0.22);
}
.stat-card--highlight::before { background: rgba(0, 0, 0, 0.2); }
.stat-card--highlight .stat-card__icon { background: rgba(255, 255, 255, 0.18); color: var(--blanco); }
.stat-card--highlight .stat-card__value { color: var(--blanco); }
.stat-card--highlight .stat-card__label { color: var(--blanco); }
.stat-card--highlight .stat-card__desc { color: rgba(255, 255, 255, 0.78); }

/* Animación leve, disparada al entrar en viewport (ver js/stats-animate.js) */
.stat-anim {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.45s var(--ease-out), transform 0.5s cubic-bezier(0.16, 0.84, 0.44, 1);
  transition-delay: var(--d, 0s);
}
.stat-anim.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .stat-anim { opacity: 1; transform: none; transition: none; }
}

/* Cards de servicio — estilo glass, se apoyan en .bg-blobs para el color */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  padding: 36px 28px;
  text-align: left;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.72); }
}
.service-card img { width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%; }
.service-card ul { margin: 0 0 20px; padding-left: 20px; color: #4a4a4a; }
.service-card ul li { margin-bottom: 6px; }
.service-card__link { font-weight: 700; color: var(--rojo); display: inline-flex; align-items: center; gap: 6px; }

/* Por qué elegirnos */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--blanco);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature__icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; }

/* Galeria */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* Placeholder de reels/TikToks — cards glass, contenido pendiente */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.reel-card {
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1.5px dashed rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .reel-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.66); }
}
.reel-card__play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rojo);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(214, 46, 28, 0.4);
}
.reel-card__play svg { width: 20px; height: 20px; }
.reel-card__platform {
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul);
}
.reel-card__label { font-size: 0.85rem; color: #565656; margin: 0; }

/* CTA banda — la SECCIÓN queda blanca (fondo general); la card es azul o rojo sólido */
.cta-band {
  background: var(--azul);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--blanco);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}
.cta-band h2 { margin: 0; color: var(--blanco); }
.cta-band p { color: #dcdcff; margin: 6px 0 0; }

.cta-band--rojo { background: var(--rojo); }
.cta-band--rojo p { color: rgba(255, 255, 255, 0.85); }

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1c1c1c 0%, #131313 60%, #0d0d0d 100%);
  color: #b9b9b9;
  padding: 72px 0 28px;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rojo), var(--azul));
}
.footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 182, 0.22), rgba(0, 0, 182, 0) 70%);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 44px;
}
.footer__logo img { height: 42px; margin-bottom: 16px; }
.footer h4 {
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--rojo);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 12px; }
.footer a { position: relative; }
.footer nav a,
.footer__grid a {
  background-image: linear-gradient(var(--rojo), var(--rojo));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.2s ease, color 0.2s ease;
}
.footer a:hover { color: var(--blanco); background-size: 100% 1px; }

.footer__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__contact-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fc0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__contact-icon svg { width: 14px; height: 14px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: #8a8a8a;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--blanco); }

/* Formulario de contacto */
.form-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #d9d9d9;
  font-family: var(--font);
  font-size: 0.95rem;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 182, 0.25);
  border-color: var(--azul);
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}
.contact-info__icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--rojo);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

.map-frame {
  border: none;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Utilidades */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.badge-list { list-style: none; padding: 0; margin: 24px 0; }
.badge-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--negro);
}
.badge-list li::before {
  content: "\2192";
  width: auto;
  height: auto;
  color: var(--rojo);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  flex: none;
  animation: elegirnosArrow 1.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .badge-list li::before { animation: none; }
}
.rounded-photo { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Sección "Por qué elegirnos" — fondo rojo de marca */
.section--elegirnos {
  background: linear-gradient(150deg, #e2402c 0%, var(--rojo) 55%, var(--rojo-oscuro) 100%);
  color: var(--blanco);
}
.section--elegirnos .eyebrow { color: #9fc0ff; }
.section--elegirnos h2 { color: var(--blanco); }
.section--elegirnos p { color: rgba(255, 255, 255, 0.88); }
.section--elegirnos .badge-list li { color: var(--blanco); }
.section--elegirnos .badge-list li::before {
  content: "\2192";
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--blanco);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  animation: elegirnosArrow 1.6s ease-in-out infinite;
}
@keyframes elegirnosArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .section--elegirnos .badge-list li::before { animation: none; }
}
.section--elegirnos .btn--blue { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }

/* Sección Misión/Visión/Valores — fondo azul de marca, mismas cards glass de siempre */
.section--mvv {
  background: linear-gradient(150deg, #e2402c 0%, var(--rojo) 55%, var(--rojo-oscuro) 100%);
}

/* Card de imagen — sin marco/margen interno, imagen a borde completo. Base del tilt 3D */
.elegirnos__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.elegirnos__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tilt 3D genérico con el cursor (ver js/tilt.js) */
.js-tilt {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* Animación leve al entrar en pantalla (ver js/reveal.js) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s var(--ease-out), transform 0.5s cubic-bezier(0.16, 0.84, 0.44, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-head { align-items: flex-start; }
  .grid-3 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 220px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery > *:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .reels-grid { grid-template-columns: repeat(2, 1fr); }

  .nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--blanco);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 48px;
  }
  .nav__links { display: flex; flex-direction: column; gap: 22px; }
  .header__cta { gap: 12px; }
  .header__inner { flex-wrap: nowrap; gap: 12px; }
  .header__logo { flex-shrink: 0; }
  .header__right { flex-shrink: 0; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .hero__glass { padding: 28px; border-radius: 18px; }
  .header__logo img { height: 36px; }
  .btn--sm { padding: 8px 14px; font-size: 0.8rem; }
  .header__right { gap: 12px; }
}

/* Páginas legales (Privacidad, Términos) */
.legal-content { max-width: 820px; line-height: 1.7; }
.legal-content h2 { margin: 32px 0 10px; font-size: 1.35rem; }
.legal-content ul { padding-left: 22px; margin: 0 0 16px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--rojo); text-decoration: underline; }
.footer__bottom a { color: inherit; text-decoration: underline; }

/* Foco visible para navegación con teclado */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
}
.footer a:focus-visible { outline-color: var(--blanco); }
.hero a:focus-visible, .hero button:focus-visible, .cta-band a:focus-visible { outline-color: var(--blanco); }

/* Móvil: menos blur = menos carga de GPU con el mismo aspecto */
@media (max-width: 640px) {
  .bg-blob { filter: blur(60px); }
  .hero__glass, .stat-card, .service-card, .reel-card, .form-card, .contact-info__item {
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    backdrop-filter: blur(8px) saturate(150%);
  }
}
