/* ================================================================
   AURA MKT — Versión B · Brutalismo Premium
   Entorno Online by Entorno.online
   Estética: Brutalist Premium Editorial
   Paleta: Blanco crudo · Negro intenso · Rojo ladrillo · Tipografía condensada industrial
================================================================ */

/* ----------------------------------------------------------------
   1. VARIABLES — Design Tokens Brutalistas
---------------------------------------------------------------- */
:root {
  /* Paleta principal */
  --white:       #f5f2ed;     /* blanco crudo, no puro */
  --off-white:   #ece8e1;
  --black:       #0a0a0a;
  --black-2:     #141414;
  --black-3:     #1e1e1e;
  --red:         #df4c35;     /* rojo ladrillo autoritario */
  --red-dark:    #821a0a;
  --yellow:      #cf9943;     /* amarillo señal como acento secundario */
  --gray:        #5a5a5a;
  --gray-light:  #999;
  --border:      #0a0a0a;

  /* Glassmorphism — aplicado de forma táctica y subversiva */
  --glass-bg:      rgba(10, 10, 10, 0.55);
  --glass-border:  rgba(245, 242, 237, 0.15);
  --glass-shadow:  0 4px 0 var(--black);
  --blur-strength: blur(12px);

  /* Tipografía brutalista */
  --font-display: 'Barlow Condensed', 'Impact', sans-serif;
  --font-body:    'DM Sans', 'Google Sans', sans-serif;

  /* Sombras offset sólidas (cero blur = brutalismo puro) */
  --shadow-sm:   3px 3px 0 var(--black);
  --shadow-md:   5px 5px 0 var(--black);
  --shadow-lg:   7px 7px 0 var(--black);
  --shadow-xl:   10px 10px 0 var(--black);

  /* Bordes gruesos */
  --border-thin:   1.5px;
  --border-base:   2px;
  --border-thick:  3px;
  --border-heavy:  5px;

  /* Espaciado compacto (mobile first) */
  --space-xs:  6px;
  --space-sm:  12px;
  --space-md:  20px;
  --space-lg:  36px;
  --space-xl:  56px;

  /* Radios — brutalismo prefiere 0 o muy poco */
  --radius-none: 0;
  --radius-sm:   2px;
  --radius-md:   4px;

  /* Transiciones */
  --t-snap:   0.12s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 58px;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  cursor: none; /* cursor personalizado */
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Selección */
::selection { background: var(--red); color: var(--white); }

/* Scrollbar brutalista */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--black); }

/* ----------------------------------------------------------------
   3. CURSOR PERSONALIZADO (desktop)
---------------------------------------------------------------- */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s;
}

.cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid var(--black);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.2s, height 0.2s, border-color 0.15s;
}

.cursor-ring.hovered {
  width: 48px;
  height: 48px;
  border-color: var(--red);
}

/* Ocultar cursor custom en móvil */
@media (max-width: 767px) {
  .cursor-dot, .cursor-ring { display: none; }
  html { cursor: auto; }
}

/* ----------------------------------------------------------------
   4. GRANO / TEXTURA
---------------------------------------------------------------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ----------------------------------------------------------------
   5. UTILIDADES
---------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 14px;
}

.section {
  padding: var(--space-xl) 0;
  border-bottom: var(--border-thick) solid var(--black);
}

/* Encabezados brutalistas con número de índice */
.section-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  padding-bottom: 20px;
  border-bottom: var(--border-thick) solid var(--black);
}

.sh-index {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.85;
  color: var(--off-white);
  -webkit-text-stroke: var(--border-base) var(--black);
  flex-shrink: 0;
  user-select: none;
}

.sh-content { flex: 1; }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--black);
}

.section-title em {
  font-style: italic;
  color: var(--red);
}

/* Botones */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: var(--border-thick) solid var(--black);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-snap), box-shadow var(--t-snap), background var(--t-snap);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
  background: var(--red);
  border-color: var(--red);
  outline: none;
}

.btn-primary.btn-xl {
  font-size: 17px;
  padding: 15px 28px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: var(--border-thick) solid var(--white);
  cursor: pointer;
  transition: background var(--t-snap), color var(--t-snap), transform var(--t-snap), box-shadow var(--t-snap);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--white);
  color: var(--black);
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(255,255,255,0.3);
  outline: none;
}

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

/* ----------------------------------------------------------------
   6. HEADER
---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--black);
  border-bottom: var(--border-heavy) solid var(--red);
  transition: border-color var(--yellow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 14px;
  max-width: 1160px;
  margin: 0 auto;
  gap: 12px;
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--white);
  flex-shrink: 0;
}

.logo-bracket { color: var(--red); }
.logo-accent { color: var(--red); }

/* Ticker desktop */
.header-ticker {
  display: none;
  flex: 1;
  overflow: hidden;
  border-left: var(--border-base) solid rgba(255,255,255,0.15);
  border-right: var(--border-base) solid rgba(255,255,255,0.15);
  padding: 0 12px;
  height: 100%;
  align-items: center;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray-light);
  animation: tickerMove 22s linear infinite;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Nav desktop — oculto en móvil */
.nav-menu {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  padding: 6px 10px;
  transition: color var(--t-snap);
}

.nav-menu a:hover { color: var(--white); }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 16px !important;
  border: var(--border-base) solid var(--red);
  font-size: 12px !important;
  transition: background var(--t-snap), box-shadow var(--t-snap), transform var(--t-snap) !important;
  box-shadow: 3px 3px 0 var(--red-dark);
}

.nav-cta:hover {
  background: var(--white) !important;
  color: var(--red) !important;
  border-color: var(--white) !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--red-dark) !important;
}

/* Hamburguesa */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
}

.ham-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  transition: transform var(--t-base), opacity var(--t-base), background var(--t-snap);
}

.nav-hamburger.open .ham-line:first-child {
  transform: translateY(8.5px) rotate(45deg);
  background: var(--red);
}
.nav-hamburger.open .ham-line:last-child {
  transform: translateY(-8.5px) rotate(-45deg);
  background: var(--red);
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--black);
  border-bottom: var(--border-heavy) solid var(--red);
  padding: 16px 14px 24px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base), opacity var(--t-base);
  z-index: 850;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mob-link {
  display: block;
  padding: 13px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--t-snap), padding-left var(--t-snap);
}

.mob-link:hover { color: var(--white); padding-left: 10px; }

.mob-cta {
  margin-top: 14px;
  display: block;
  text-align: center;
  padding: 14px !important;
  background: var(--red);
  color: var(--white) !important;
  border: var(--border-base) solid var(--red);
  border-bottom: var(--border-base) solid var(--red) !important;
  box-shadow: var(--shadow-md);
}

.mob-meta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 2px;
}

.mob-meta span {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.06em;
  font-family: var(--font-display);
}

/* ----------------------------------------------------------------
   7. HERO
---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

/* Video fondo */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25; /* muy opaco — el texto manda en brutalismo */
  filter: grayscale(0.6) contrast(1.1);
}

/* Overlay: bloques de color en lugar de gradiente suave */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(10,10,10,0.48) 0%,
      rgba(10,10,10,0.48) 100%);
}

/* Marco de esquinas brutalistas */
.hero-frame {
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
}

.hf-tl, .hf-tr, .hf-bl, .hf-br {
  position: absolute;
  width: 30px;
  height: 30px;
}

.hf-tl {
  top: 0; left: 0;
  border-top: var(--border-heavy) solid var(--red);
  border-left: var(--border-heavy) solid var(--red);
}
.hf-tr {
  top: 0; right: 0;
  border-top: var(--border-heavy) solid var(--red);
  border-right: var(--border-heavy) solid var(--red);
}
.hf-bl {
  bottom: 0; left: 0;
  border-bottom: var(--border-heavy) solid var(--red);
  border-left: var(--border-heavy) solid var(--red);
}
.hf-br {
  bottom: 0; right: 0;
  border-bottom: var(--border-heavy) solid var(--red);
  border-right: var(--border-heavy) solid var(--red);
}

/* Número enorme de fondo */
.hero-bg-number {
  position: absolute;
  bottom: -30px;
  right: -20px;
  font-family: var(--font-display);
  font-size: clamp(8rem, 25vw, 18rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  line-height: 1;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 14px;
  padding-top: calc(var(--header-h) + 24px);
  max-width: 900px;
}

.hero-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gray-light);
}

.tag-dot { color: var(--red); font-size: 8px; }

/* Título héroe: tipografía condensada gigante, stacked */
.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  margin-bottom: 24px;
  gap: 0;
}

.ht-line {
  font-size: clamp(3.8rem, 14vw, 10rem);
  color: var(--white);
  letter-spacing: -0.02em;
  display: block;
}

.ht-line-1 { animation: slideInLeft 0.7s cubic-bezier(0.34,1.56,0.64,1) both; }
.ht-line-2 {
  animation: slideInLeft 0.7s 0.08s cubic-bezier(0.34,1.56,0.64,1) both;
  color: var(--red);
}
.ht-line-3 { animation: slideInLeft 0.7s 0.16s cubic-bezier(0.34,1.56,0.64,1) both; }
.ht-line-4 { animation: slideInLeft 0.7s 0.24s cubic-bezier(0.34,1.56,0.64,1) both; }

/* Palabra en cursiva, contraste con condensada */
.ht-italic {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 7vw, 5rem);
  color: var(--yellow);
  letter-spacing: 0.04em;
  display: block;
  animation: slideInLeft 0.7s 0.12s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-sub-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-sub {
  font-size: 14px;
  color: rgba(245,242,237,0.6);
  line-height: 1.65;
  max-width: 340px;
  border-left: 3px solid var(--red);
  padding-left: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Stat badge brutalista
   Móvil: inline dentro del flujo, debajo del subtítulo
   Desktop: absoluto esquina inferior derecha */
.hero-stat {
  position: relative;
  z-index: 4;
  background: var(--red);
  border: var(--border-thick) solid var(--white);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  margin-top: 4px;
}

/* En desktop volvemos al absoluto clásico — ver breakpoint 768px */

.hs-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.hs-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-top: 3px;
}

/* Scroll indicator — icono dedo animado */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* SVG del dedo */
.scroll-finger {
  width: 22px;
  height: 36px;
  color: rgba(245,242,237,0.55);
  animation: fingerBounce 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* Punto dentro del dedo que simula el gesto */
.scroll-dot {
  animation: dotScroll 1.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes fingerBounce {
  0%, 100% { transform: translateY(0);   opacity: 0.55; }
  40%       { transform: translateY(6px); opacity: 1;    }
  70%       { transform: translateY(3px); opacity: 0.8;  }
}

@keyframes dotScroll {
  0%        { transform: translateY(0);  opacity: 1;   }
  40%       { transform: translateY(7px); opacity: 0.3; }
  41%       { transform: translateY(0);  opacity: 0;   }
  42%       { transform: translateY(0);  opacity: 1;   }
  100%      { transform: translateY(0);  opacity: 1;   }
}

/* Label SCROLL */
.si-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(245,242,237,0.35);
  writing-mode: vertical-rl;
  margin-top: 2px;
}

/* ----------------------------------------------------------------
   8. SERVICIOS
---------------------------------------------------------------- */
.servicios {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.service-card {
  border: var(--border-base) solid var(--black);
  border-top: none;
  padding: 20px 18px;
  background: var(--white);
  position: relative;
  cursor: pointer;
  transition: background var(--t-snap), transform var(--t-snap), box-shadow var(--t-snap);
}

/* Primera card — tiene borde superior */
.service-card:first-child { border-top: var(--border-base) solid var(--black); }

.service-card::before {
  /* Número pequeño decorativo */
  content: attr(data-num);
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-light);
  letter-spacing: 0.1em;
}

.service-card:hover {
  background: var(--black);
  z-index: 1;
}

.service-card:hover h3 { color: var(--white); }
.service-card:hover p { color: rgba(245,242,237,0.6); }
.service-card:hover .sc-link { color: var(--red); }
.service-card:hover .sc-icon { color: var(--red); }

/* Card destacada */
.service-card--featured {
  background: var(--red);
  border-color: var(--red-dark);
}

.service-card--featured h3,
.service-card--featured .sc-link,
.service-card--featured p,
.service-card--featured .sc-icon,
.service-card--featured::before {
  color: var(--white) !important;
}

.service-card--featured:hover { background: var(--red-dark); }

.sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sc-num { display: none; } /* oculto — visible como ::before */

.sc-icon {
  font-size: 20px;
  color: var(--gray-light);
  transition: color var(--t-snap);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: color var(--t-snap);
}

.service-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 14px;
  transition: color var(--t-snap);
}

.sc-link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--black);
  transition: color var(--t-snap), letter-spacing var(--t-snap);
}

.sc-link:hover { letter-spacing: 0.18em; }

/* ----------------------------------------------------------------
   9. BENEFICIOS
---------------------------------------------------------------- */
.beneficios {
  background: var(--off-white);
}

.beneficios-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Visual wrapper */
.beneficios-visual {
  position: relative;
}

/* ----------------------------------------------------------------
   SLIDER DE IMÁGENES — Beneficios (formato vertical 4:5 Facebook post)
---------------------------------------------------------------- */
.bv-slider {
  position: relative;
  width: 100%;
  border: var(--border-thick) solid var(--black);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  background: var(--black);
}

/* Track deslizable */
.bv-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Cada slide: formato vertical 4:5 (Facebook post) */
.bv-slide {
  flex: 0 0 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}

.bv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.bv-slider:hover .bv-slide img {
  filter: grayscale(0) contrast(1.08);
}

/* Caption sobre la imagen */
.bv-slide-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(10,10,10,0.75) 0%, transparent 100%);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
}

/* Flechas */
.bv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 34px;
  height: 34px;
  background: var(--black);
  color: var(--white);
  border: var(--border-base) solid var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-snap), color var(--t-snap), transform var(--t-snap) var(--t-spring), box-shadow var(--t-snap);
  box-shadow: var(--shadow-sm);
}

.bv-arrow--prev { left: 10px; }
.bv-arrow--next { right: 10px; }

.bv-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-md);
}

/* Dots */
.bv-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.bv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245,242,237,0.35);
  border: 1.5px solid rgba(245,242,237,0.5);
  cursor: pointer;
  padding: 0;
  transition: background var(--t-snap), transform var(--t-snap), border-color var(--t-snap);
}

.bv-dot.active {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.3);
}

/* Cita en bloque */
.bv-quote {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: var(--border-heavy) solid var(--red);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
}

/* Lista */
.beneficios-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.beneficio-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: var(--border-thin) solid rgba(10,10,10,0.15);
}

.beneficio-item:first-child { border-top: var(--border-thin) solid rgba(10,10,10,0.15); }

.bi-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
  flex-shrink: 0;
  min-width: 34px;
  line-height: 1;
  margin-top: 2px;
}

.bi-body h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  color: var(--black);
}

.bi-body p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* Banda de métricas */
.metricas-band {
  margin-top: 36px;
  border: var(--border-thick) solid var(--black);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.metrica-item {
  flex: 1 1 50%;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: var(--border-thin) solid rgba(10,10,10,0.12);
  background: var(--white);
  transition: background var(--t-snap);
}

.metrica-item:hover { background: var(--black); }
.metrica-item:hover .mi-num { color: var(--red); }
.metrica-item:hover .mi-label { color: var(--gray-light); }

.mi-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  transition: color var(--t-snap);
}

.mi-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-top: 5px;
  transition: color var(--t-snap);
}

.metrica-sep { display: none; }

/* ----------------------------------------------------------------
   10. TESTIMONIALES
---------------------------------------------------------------- */
.testimoniales {
  background: var(--black);
  color: var(--white);
}

.testimoniales .section-header { border-color: rgba(245,242,237,0.15); }
.testimoniales .sh-index { color: var(--black-3); -webkit-text-stroke-color: rgba(245,242,237,0.12); }
.testimoniales .section-eyebrow { color: var(--red); }
.testimoniales .section-title { color: var(--white); }

.testimoniales-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.testi-card {
  padding: 24px 18px;
  border: var(--border-base) solid rgba(245,242,237,0.12);
  border-top: none;
  position: relative;
  overflow: hidden;
  transition: background var(--t-base), border-color var(--t-base);
}

.testi-card:first-child { border-top: var(--border-base) solid rgba(245,242,237,0.12); }

.testi-card:hover { background: var(--black-2); border-color: rgba(245,242,237,0.2); }

.testi-card--accent {
  background: var(--red);
  border-color: var(--red-dark);
}

.testi-card--accent:hover { background: var(--red-dark); }

.testi-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(245,242,237,0.85);
  margin-bottom: 18px;
  padding-right: 32px; /* espacio para la comilla decorativa */
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border: var(--border-base) solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.testi-info { flex: 1; }

.testi-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}

.testi-info span {
  display: block;
  font-size: 12px;
  color: rgba(245,242,237,0.5);
  margin-top: 2px;
}

/* Comilla decorativa gigante */
.testi-mark {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  user-select: none;
}

/* ----------------------------------------------------------------
   11. UBICACIÓN
---------------------------------------------------------------- */
.ubicacion {
  background: var(--white);
}

.ubicacion-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--border-thick) solid var(--black);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.ubicacion-info {
  padding: 24px 18px;
  background: var(--black);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ubi-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ubi-item:last-of-type { border-bottom: none; }

.ubi-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
}

.ubi-val {
  font-size: 14px;
  color: var(--white);
  line-height: 1.5;
}

.ubi-link {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  display: inline;
  transition: color var(--t-snap), border-color var(--t-snap);
}
.ubi-link:hover { color: var(--red); border-color: var(--red); }

.ubi-btn {
  align-self: flex-start;
  margin-top: 4px;
}

.map-wrap {
  aspect-ratio: 4/3;
  min-height: 260px;
  border-top: var(--border-thick) solid var(--black);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.1);
}

/* ----------------------------------------------------------------
   12. CTA — Oferta
---------------------------------------------------------------- */
.cta-section {
  background: var(--yellow);
  border-bottom: var(--border-heavy) solid var(--black);
}

.cta-block {
  border: var(--border-heavy) solid var(--black);
  box-shadow: var(--shadow-xl);
  padding: 32px 20px;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}

/* Texto de fondo enorme */
.cta-bg-text {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(10,10,10,0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-tag {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--black);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.cta-title em {
  font-style: italic;
  color: var(--red);
}

.cta-desc {
  font-size: 14px;
  color: rgba(10,10,10,0.7);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 480px;
}

.cta-desc strong { color: var(--black); }

.cta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.cta-list li {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
}

.cta-fine {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(10,10,10,0.5);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------------
   13. HUB DE ACCIÓN
---------------------------------------------------------------- */
.hub-section {
  background: var(--off-white);
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--border-thick) solid var(--black);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px;
  border: var(--border-thin) solid rgba(10,10,10,0.15);
  background: var(--white);
  transition: background var(--t-snap), transform var(--t-snap);
  position: relative;
}

.hub-card:hover { background: var(--black); }
.hub-card:hover h3 { color: var(--white); }
.hub-card:hover p { color: rgba(245,242,237,0.5); }
.hub-card:hover .hc-arrow { opacity: 1; }

.hc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.hc-icon {
  font-size: 22px;
  transition: color var(--t-snap);
}

.hc-arrow {
  font-size: 18px;
  font-weight: 900;
  color: var(--gray-light);
  opacity: 0.4;
  transition: opacity var(--t-snap), color var(--t-snap);
}

.hub-card:hover .hc-arrow { color: var(--white); opacity: 1; }

/* Colores de icono */
.hub-wa .hc-icon { color: #25d366; }
.hub-ig .hc-icon { color: #e1306c; }
.hub-li .hc-icon { color: #0077b5; }
.hub-tt .hc-icon { color: #69c9d0; }
.hub-em .hc-icon { color: var(--red); }
.hub-ph .hc-icon { color: var(--black); }
.hub-card:hover .hc-icon { color: var(--white) !important; }

.hub-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--black);
  transition: color var(--t-snap);
}

.hub-card p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
  transition: color var(--t-snap);
}

/* ----------------------------------------------------------------
   14. FOOTER
---------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  border-top: var(--border-heavy) solid var(--red);
}

.footer-top {
  border-bottom: var(--border-base) solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-top-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray);
}

.footer-bottom {
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}

.footer-bottom a {
  color: var(--red);
  transition: color var(--t-snap);
}
.footer-bottom a:hover { color: var(--white); }

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.footer-socials a {
  font-size: 18px;
  color: var(--gray);
  transition: color var(--t-snap), transform var(--t-snap);
}

.footer-socials a:hover { color: var(--red); transform: translateY(-3px); }

/* ----------------------------------------------------------------
   15. CHATBOT — Brutalista
---------------------------------------------------------------- */

/* Burbuja hint */
.chat-hint {
  position: fixed;
  bottom: 82px;
  right: 74px;
  z-index: 1000;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 10px 12px;
  border: var(--border-thick) solid var(--black);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 110px);
  animation: hintPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

.chat-hint.hidden { display: none; }

@keyframes hintPop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.hint-x {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--black);
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--t-snap);
}
.hint-x:hover { color: var(--red); }

/* FAB brutalista */
.chat-fab {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1001;
  width: 52px;
  height: 52px;
  background-image: url('/img/st.jpg');
background-size: cover;
background-position: center;
  color: var(--white);
  font-size: 20px;
  border: var(--border-thick) solid var(--black);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-snap), box-shadow var(--t-snap), background var(--t-snap);
}

.chat-fab:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
  background: var(--black);
  border-color: var(--red);
}

/* Modal chat */
.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  animation: chatIn 0.3s cubic-bezier(0.4,0,0.2,1) both;
}

.chat-modal[hidden] { display: none; }

@keyframes chatIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header del chat */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--black);
  border-bottom: var(--border-heavy) solid var(--red);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  background: var(--red);
  border: var(--border-base) solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}

.chat-header strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}

.chat-header span {
  display: block;
  font-size: 11px;
  color: #4caf50;
  margin-top: 1px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.chat-close-btn {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border: var(--border-thin) solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-snap);
}
.chat-close-btn:hover { background: var(--red); border-color: var(--red); }

/* Mensajes */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--off-white);
}

.msg-bubble {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  animation: msgIn 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes msgIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.msg-bot {
  background: var(--white);
  color: var(--black);
  border: var(--border-base) solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  align-self: flex-start;
  font-family: var(--font-body);
}

.msg-user {
  background: var(--red);
  color: var(--white);
  border: var(--border-base) solid var(--red-dark);
  box-shadow: 3px 3px 0 var(--red-dark);
  align-self: flex-end;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Typing */
.msg-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
}

.msg-typing span {
  width: 7px;
  height: 7px;
  background: var(--black);
  animation: typing 1.2s ease-in-out infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Botones rápidos */
.chat-quick-btns {
  padding: 12px 14px;
  background: var(--white);
  border-top: var(--border-base) solid var(--black);
  flex-shrink: 0;
}

.quick-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-bottom: 8px;
}

.quick-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: var(--off-white);
  border: var(--border-base) solid var(--black);
  box-shadow: 2px 2px 0 var(--black);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
  transition: background var(--t-snap), transform var(--t-snap), box-shadow var(--t-snap);
}

.quick-btn:last-child { margin-bottom: 0; }

.quick-btn:hover {
  background: var(--black);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--red);
}

.quick-btn:hover i { color: var(--red); }

.quick-btn i {
  color: var(--gray);
  font-size: 14px;
  flex-shrink: 0;
  transition: color var(--t-snap);
}

/* Input */
.chat-input-area {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: var(--border-thick) solid var(--black);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--white);
  border: none;
  border-right: var(--border-thick) solid var(--black);
  padding: 13px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
  outline: none;
  text-transform: uppercase;
}

.chat-input::placeholder { color: var(--gray-light); }
.chat-input:focus { background: var(--yellow); }

.chat-send {
  width: 52px;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-snap);
}

.chat-send:hover { background: var(--black); }

/* ----------------------------------------------------------------
   16. SCROLL REVEAL
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   17. BREAKPOINTS — TABLET (≥ 768px)
================================================================ */
@media (min-width: 768px) {

  :root { --header-h: 64px; }

  .section { padding: var(--space-xl) 0; }

  /* Nav */
  .nav-menu { display: flex; }
  .nav-hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .header-ticker { display: flex; }

  /* Hero stat — vuelve a absoluto en desktop */
  .hero-stat {
    position: absolute;
    bottom: 36px;
    right: 28px;
    margin-top: 0;
    align-self: auto;
    padding: 12px 16px;
  }

  /* Servicios */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card { border-top: none; border-left: none; }
  .service-card:nth-child(odd) { border-left: var(--border-base) solid var(--black); }
  .service-card:nth-child(1),
  .service-card:nth-child(2) { border-top: var(--border-base) solid var(--black); }

  /* Beneficios */
  .beneficios-layout { flex-direction: row; align-items: flex-start; }
  .beneficios-visual { flex: 0 0 42%; }
  .beneficios-content { flex: 1; }

  /* Metricas */
  .metrica-item { flex: 1 1 25%; }

  /* Testimoniales */
  .testimoniales-grid { grid-template-columns: repeat(2, 1fr); }

  /* Ubicación */
  .ubicacion-layout { flex-direction: row; }
  .ubicacion-info { flex: 0 0 280px; }
  .map-wrap {
    flex: 1;
    aspect-ratio: unset;
    min-height: 340px;
    border-top: none;
    border-left: var(--border-thick) solid var(--black);
  }

  /* Hub */
  .hub-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-top-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }

  /* Chat — panel en lugar de fullscreen */
  .chat-modal {
    inset: auto;
    bottom: 80px;
    right: 18px;
    width: 370px;
    height: 580px;
    border: var(--border-thick) solid var(--black);
    box-shadow: var(--shadow-xl);
    animation: chatInPanel 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  }

  @keyframes chatInPanel {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
}

/* ================================================================
   18. BREAKPOINTS — DESKTOP (≥ 1024px)
================================================================ */
@media (min-width: 1024px) {

  /* Servicios */
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .service-card { border-left: none; border-top: none; }
  .service-card:nth-child(3n+1) { border-left: var(--border-base) solid var(--black); }
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3) { border-top: var(--border-base) solid var(--black); }

  /* Testimoniales */
  .testimoniales-grid { grid-template-columns: repeat(3, 1fr); }

  /* Metricas — fila horizontal */
  .metrica-item { flex: 1 1 auto; }
}

/* ================================================================
   19. ACCESIBILIDAD
================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
}
