/* ============================================
   ARMAR INGENIERIA BIOMEDICA S.A.S
  

/* -------- VARIABLES MODO CLARO -------- */
:root {
  --rojo:          #d71920;
  --rojo-oscuro:   #a8121a;
  --negro:         #111111;
  --gris-claro:    #f4f4f4;
  --radio:         14px;
  --fuente-titulo: 'Inter', sans-serif;
  --fuente-cuerpo: 'Inter', sans-serif;
  --bg:            #f4f4f4;
  --bg-card:       #ffffff;
  --bg-section:    #ffffff;
  --texto:         #2a2a2a;
  --texto-suave:   #555555;
  --borde:         rgba(0,0,0,0.08);
}

/* -------- VARIABLES MODO OSCURO -------- */
[data-theme="dark"] {
  --bg:          #0f0f0f;
  --bg-card:     #1a1a1a;
  --bg-section:  #141414;
  --texto:       #e8e8e8;
  --texto-suave: #999999;
  --borde:       rgba(255,255,255,0.08);
  --gris-claro:  #1a1a1a;
  --negro:       #f0f0f0;
}

/* -------- RESET Y BASE -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--fuente-cuerpo);
  margin: 0;
  background-color: var(--bg);
  color: var(--texto);
  line-height: 1.7;
  transition: background-color 0.3s, color 0.3s;
}

/* -------- YOUTUBE FACADE -------- */
.yt-facade { cursor: pointer; position: relative; background: #000; }
.yt-facade img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.yt-facade:hover img { opacity: 0.85; }
.yt-facade-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); transition: transform 0.2s; }
.yt-facade:hover .yt-facade-play { transform: translate(-50%, -50%) scale(1.1); }

/* -------- BARRA DE PROGRESO SCROLL -------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--rojo), #ff6b6b); z-index: 99999; transition: width 0.1s linear; box-shadow: 0 0 8px rgba(215,25,32,0.6); }


/* -------- BOTÓN FLOTANTE WHATSAPP -------- */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 998; background: #25D366; color: white; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.5); transition: transform 0.2s; animation: pulse-green 2.5s infinite; }
.whatsapp-float:hover { transform: scale(1.1); animation: none; }
@keyframes pulse-green { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.9); } }

/* -------- BOTÓN FLOTANTE LLAMAR — oculto -------- */
.call-float { display: none; }

/* -------- BOTÓN VOLVER ARRIBA -------- */
.btn-top { position: fixed; bottom: 100px; right: 28px; z-index: 997; background: var(--negro); color: #ffffff; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; width: 40px; height: 40px; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s, background 0.2s, border-color 0.2s; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.btn-top.visible { opacity: 1; transform: translateY(0); }
.btn-top:hover { background: var(--rojo); border-color: var(--rojo); }

/* -------- HEADER -------- */
header { background: var(--bg-card); border-bottom: 1px solid rgba(215,25,32,0.2); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 var(--borde); transition: background 0.3s; backdrop-filter: blur(12px); }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 24px 10px 16px; max-width: 100%; gap: 12px; }
.logo-container { display: flex; align-items: center; gap: 14px; }
.logo-container img { height: 40px; width: auto; }
.logo-titulo { font-family: var(--fuente-titulo); font-size: 13px; font-weight: 700; color: var(--texto); margin: 0; letter-spacing: 0.06em; line-height: 1.3; text-transform: uppercase; }

.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* -------- TOGGLE MODO OSCURO -------- */
.theme-toggle { background: var(--gris-claro); border: 1px solid var(--borde); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 17px; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
.theme-toggle:hover { transform: rotate(20deg); }

/* -------- HAMBURGUESA -------- */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--texto); border-radius: 4px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* -------- NAVEGACIÓN -------- */
nav { display: flex; gap: 8px; }
nav a { font-family: var(--fuente-titulo); text-decoration: none; color: var(--texto-suave); font-weight: 500; font-size: 13px; padding: 7px 14px; border-radius: 8px; letter-spacing: 0.01em; transition: background 0.2s, color 0.2s; }
nav a:hover { background: rgba(215,25,32,0.08); color: var(--rojo); }

/* -------- ANIMACIONES SCROLL -------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.cards .card:nth-child(1) { transition-delay: 0.05s; }
.cards .card:nth-child(2) { transition-delay: 0.15s; }
.cards .card:nth-child(3) { transition-delay: 0.25s; }
.equipos-grid .equipo-item:nth-child(1) { transition-delay: 0.05s; }
.equipos-grid .equipo-item:nth-child(2) { transition-delay: 0.10s; }
.equipos-grid .equipo-item:nth-child(3) { transition-delay: 0.15s; }
.equipos-grid .equipo-item:nth-child(4) { transition-delay: 0.20s; }
.equipos-grid .equipo-item:nth-child(5) { transition-delay: 0.25s; }
.equipos-grid .equipo-item:nth-child(6) { transition-delay: 0.30s; }
.equipos-grid .equipo-item:nth-child(7) { transition-delay: 0.35s; }
.equipos-grid .equipo-item:nth-child(8) { transition-delay: 0.40s; }

/* -------- HERO -------- */
.hero { background: linear-gradient(rgba(0,0,0,0.38), rgba(0,0,0,0.52)), url('./Fondo/Fondo.avif') center/cover no-repeat scroll; padding: 100px 64px; position: relative; overflow: hidden; min-height: 92svh; display: flex; align-items: center; justify-content: space-between; gap: 48px; max-width: 100%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(ellipse at 15% 60%, rgba(215,25,32,0.10) 0%, transparent 55%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 580px; flex: 1; min-width: 0; }
.hero-tag { font-family: var(--fuente-titulo); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.80); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; background: rgba(215,25,32,0.15); border: 1px solid rgba(215,25,32,0.30); padding: 5px 14px; border-radius: 20px; }
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rojo); display: inline-block; flex-shrink: 0; }
.hero-title { font-family: var(--fuente-titulo); font-size: clamp(34px, 4.5vw, 58px); font-weight: 800; color: #ffffff; -webkit-text-fill-color: #ffffff; margin: 0 0 22px; line-height: 1.10; letter-spacing: -0.03em; }
.hero-title em { color: var(--rojo); -webkit-text-fill-color: var(--rojo); font-style: normal; }
.hero-title .letra { display: inline-block; opacity: 0; transform: translateY(20px); animation: letraEntrada 0.5s forwards; }
@keyframes letraEntrada { to { opacity: 1; transform: translateY(0); } }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.70); margin: 0 0 40px; line-height: 1.8; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-btns .btn--rojo { padding: 15px 32px; font-size: 13px; }
.hero-btns .btn--outline { padding: 13px 28px; font-size: 13px; border-color: rgba(255,255,255,0.28); color: rgba(255,255,255,0.85); }
.hero-btns .btn--outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.07); color: #ffffff; }

/* -------- HERO VISUAL (panel derecho) -------- */
.hero-visual { position: relative; z-index: 1; flex-shrink: 0; width: 320px; }
.hero-card { background: rgba(0,0,0,0.52); border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; padding: 28px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.hero-card-label { font-family: var(--fuente-titulo); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); display: block; margin-bottom: 20px; }
.hero-card-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 13px; }
.hero-card-list li { display: flex; align-items: flex-start; gap: 12px; font-family: var(--fuente-titulo); font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.82); line-height: 1.4; }
.hero-card-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(215,25,32,0.25); border: 1px solid rgba(215,25,32,0.45); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; color: var(--rojo); font-size: 10px; font-weight: 800; }
.hero-card-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 20px; }
.hero-card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-card-badge { font-family: var(--fuente-titulo); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.50); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: 6px; padding: 5px 10px; }
@media (max-width: 1100px) {
  .hero { flex-direction: column; align-items: flex-start; padding: 80px 40px; gap: 32px; }
  .hero-visual { width: 100%; max-width: 480px; }
}
@media (max-width: 768px) {
  .hero { padding: 72px 24px 56px; }
  .hero-content { max-width: 100%; }
  .hero-visual { max-width: 100%; }
  .hero-card { padding: 22px 20px; }
}
@media (max-width: 480px) {
  .hero-card-list li { font-size: 13px; }
}

/* -------- BOTONES -------- */
.btn { display: inline-block; font-family: var(--fuente-titulo); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; padding: 14px 28px; border-radius: 10px; border: none; cursor: pointer; margin: 6px 6px 6px 0; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.btn--rojo { background: var(--rojo); color: #ffffff; }
.btn--rojo:hover { background: var(--rojo-oscuro); }
.btn--rojo-outline { background: transparent; color: #ffffff; border: 2px solid var(--rojo); }
.btn--rojo-outline:hover { background: var(--rojo); }
.btn--outline { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.4); }
.btn--outline:hover { border-color: #ffffff; background: rgba(255,255,255,0.08); }
.btn--whatsapp { background: #25D366; color: #ffffff; display: block; margin-bottom: 10px; text-align: center; }
.btn--whatsapp:hover { background: #1ebe5d; }
.btn--llamar { background: var(--rojo); color: #ffffff; display: block; text-align: center; }
.btn--llamar:hover { background: var(--rojo-oscuro); }
.btn--instagram { background: #e1306c; color: #ffffff; }
.btn--instagram:hover { background: #c72a5c; }
.btn--facebook { background: #1877f2; color: #ffffff; }
.btn--facebook:hover { background: #125fcc; }
.btn--full { width: 100%; text-align: center; margin: 0; }

/* -------- ESTADÍSTICAS -------- */
.stats { background: var(--rojo); padding: 50px 24px; }
.stats-container { display: flex; justify-content: center; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.stat-item { text-align: center; padding: 20px 40px; flex: 1; min-width: 160px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--fuente-titulo); font-size: clamp(38px, 5vw, 56px); font-weight: 800; color: #ffffff; line-height: 1; }
.stat-plus { font-family: var(--fuente-titulo); font-size: 28px; font-weight: 800; color: rgba(255,255,255,0.7); vertical-align: super; }
.stat-item p { font-family: var(--fuente-titulo); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin: 8px 0 0; }

/* -------- BANNER MOTIVACIONAL -------- */
.banner-frase { background: #0d0d0d; padding: 36px 24px; overflow: hidden; }
.banner-frase-contenido { display: flex; align-items: center; justify-content: center; gap: 24px; max-width: 900px; margin: 0 auto; flex-wrap: wrap; }
.banner-frase p { font-family: var(--fuente-titulo); font-size: clamp(16px, 2.5vw, 22px); font-weight: 700; color: #ffffff; margin: 0; text-align: center; letter-spacing: 0.02em; font-style: italic; line-height: 1.5; }
.banner-icono { width: 40px; height: 40px; border-radius: 10px; background: rgba(215,25,32,0.15); border: 1px solid rgba(215,25,32,0.3); display: flex; align-items: center; justify-content: center; color: var(--rojo); animation: latido 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* -------- ENCABEZADOS DE SECCIÓN -------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { font-family: var(--fuente-titulo); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rojo); display: block; margin-bottom: 14px; }
.section-tag--light { color: rgba(255,255,255,0.5); }
.section-header::after { content: ''; display: block; width: 28px; height: 2px; background: var(--rojo); border-radius: 2px; margin: 16px auto 0; opacity: 0.5; }
h2 { font-family: var(--fuente-titulo); font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin: 0; letter-spacing: -0.02em; color: var(--texto); line-height: 1.15; }
.h2--light { color: #ffffff; }

/* -------- EMPRESA -------- */
.empresa { padding: 104px 24px; max-width: 1200px; margin: 0 auto; }
.empresa-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; }
.empresa-box { background: var(--bg-card); padding: 32px 28px; width: 300px; border-radius: var(--radio); box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.07); border: 1px solid var(--borde); border-top: 2px solid var(--rojo); transition: transform 0.25s, box-shadow 0.25s; }
.empresa-box:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.13); }
.box-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(215,25,32,0.07); border: 1px solid rgba(215,25,32,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--rojo); flex-shrink: 0; }
.empresa-box h3 { font-family: var(--fuente-titulo); color: var(--rojo); font-size: 16px; font-weight: 700; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.empresa-box p { font-size: 15px; color: var(--texto-suave); margin: 0; }
.valores { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.valores li { font-size: 15px; color: var(--texto-suave); padding-left: 20px; position: relative; }
.valores li::before { content: '✓'; position: absolute; left: 0; color: var(--rojo); font-weight: 700; }

/* -------- CONTADOR POR CIUDAD -------- */
.ciudades { background: var(--negro); padding: 80px 24px; }
.ciudades .section-header h2 { color: #ffffff; -webkit-text-fill-color: #ffffff; }
.ciudades .section-tag { color: rgba(255,255,255,0.5); }
.ciudades-grid { display: flex; justify-content: center; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; }
.ciudad-item { flex: 1; min-width: 180px; text-align: center; padding: 32px 24px; border-right: 1px solid rgba(255,255,255,0.1); transition: background 0.3s; }
.ciudad-item:last-child { border-right: none; }
.ciudad-item:hover { background: rgba(215,25,32,0.08); }
.ciudad-num-wrap { display: flex; align-items: flex-start; justify-content: center; gap: 2px; margin-bottom: 10px; }
.ciudad-num { font-family: var(--fuente-titulo); font-size: clamp(42px, 5vw, 62px); font-weight: 800; color: var(--rojo); line-height: 1; }
.ciudad-plus { font-family: var(--fuente-titulo); font-size: 24px; font-weight: 800; color: var(--rojo); margin-top: 6px; }
.ciudad-nombre { font-family: var(--fuente-titulo); font-size: 14px; font-weight: 700; color: #ffffff; margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.ciudad-sub { font-family: var(--fuente-titulo); font-size: 11px; color: rgba(255,255,255,0.4); margin: 0; letter-spacing: 0.06em; text-transform: uppercase; }

/* -------- SERVICIOS -------- */
.servicios { background: var(--bg-section); padding: 112px 24px 96px; text-align: center; }
.cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; max-width: 1200px; margin: 0 auto; }
.card { background: var(--bg-card); padding: 32px 28px; width: 320px; border-radius: var(--radio); box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.07); border: 1px solid var(--borde); border-top: 2px solid var(--rojo); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; text-align: left; cursor: pointer; transform-style: preserve-3d; }
.card:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.12); border-color: rgba(215,25,32,0.3); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(215,25,32,0.07); border: 1px solid rgba(215,25,32,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--rojo); }
.card h3 { font-family: var(--fuente-titulo); color: var(--texto); font-size: 14px; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.card p { font-size: 14px; color: var(--texto-suave); margin: 0; }
.card-ver-mas { display: inline-block; margin-top: 14px; font-family: var(--fuente-titulo); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rojo); transition: letter-spacing 0.2s; }
.card:hover .card-ver-mas { letter-spacing: 0.14em; }

/* -------- EQUIPOS -------- */
.equipos { padding: 104px 24px; max-width: 1200px; margin: 0 auto; }
.equipos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.equipo-item { background: var(--bg-card); border-radius: var(--radio); padding: 28px 16px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06); border: 1px solid var(--borde); border-bottom: 2px solid rgba(215,25,32,0.3); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.equipo-item:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 10px 28px rgba(0,0,0,0.1); border-color: rgba(215,25,32,0.4); border-bottom-color: var(--rojo); }
.equipo-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(215,25,32,0.07); border: 1px solid rgba(215,25,32,0.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--rojo); }
.equipo-item p { font-family: var(--fuente-titulo); font-size: 12px; font-weight: 600; color: var(--texto-suave); margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.equipos-nota { text-align: center; margin-top: 28px; font-size: 14px; color: var(--texto-suave); font-family: var(--fuente-titulo); }
.equipos-nota a { color: var(--rojo); text-decoration: none; font-weight: 700; }
.equipos-nota a:hover { text-decoration: underline; }

/* -------- LÍNEA DE TIEMPO -------- */
.timeline { padding: 104px 24px; max-width: 900px; margin: 0 auto; background: var(--bg-section); }
.timeline-container { position: relative; padding-left: 40px; }
.timeline-container::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--rojo), transparent); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-punto { position: absolute; left: -36px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--rojo); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--rojo); transition: transform 0.3s; }
.timeline-item:hover .timeline-punto { transform: scale(1.4); }
.timeline-card { background: var(--bg-card); border-radius: var(--radio); padding: 24px 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.07); border: 1px solid var(--borde); border-left: 2px solid var(--rojo); transition: transform 0.25s, box-shadow 0.25s; }
.timeline-card:hover { transform: translateX(5px); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 12px 36px rgba(0,0,0,0.1); }
.timeline-year { font-family: var(--fuente-titulo); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: #ffffff; text-transform: uppercase; display: inline-block; background: var(--rojo); padding: 3px 12px; border-radius: 20px; margin-bottom: 10px; }
.timeline-card h3 { font-family: var(--fuente-titulo); font-size: 16px; font-weight: 700; color: var(--texto); margin: 0 0 8px; }
.timeline-card p { font-size: 14px; color: var(--texto-suave); margin: 0; line-height: 1.7; }

/* -------- GALERÍA -------- */
.galeria { padding: 88px 24px; max-width: 1200px; margin: 0 auto; content-visibility: auto; contain-intrinsic-size: 0 700px; }
.galeria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galeria-item { border-radius: var(--radio); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-card); box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.07); border: 1px solid var(--borde); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s; }
.galeria-item:hover { transform: scale(1.02); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.13); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* -------- TESTIMONIOS -------- */

/* -------- CASOS DE ÉXITO -------- */
.casos { padding: 104px 24px; max-width: 1100px; margin: 0 auto; content-visibility: auto; contain-intrinsic-size: 0 600px; }
.casos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.caso-card { background: var(--bg-card); border-radius: var(--radio); padding: 32px 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.07); border: 1px solid var(--borde); border-top: 2px solid var(--rojo); display: flex; flex-direction: column; gap: 0; transition: transform 0.25s, box-shadow 0.25s; }
.caso-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 14px 36px rgba(0,0,0,0.11); }
.caso-categoria { display: inline-block; font-family: var(--fuente-titulo); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rojo); background: rgba(215,25,32,0.07); border: 1px solid rgba(215,25,32,0.15); padding: 4px 10px; border-radius: 6px; margin-bottom: 16px; }
.caso-card h3 { font-family: var(--fuente-titulo); font-size: 16px; font-weight: 800; color: var(--texto); margin: 0 0 22px; line-height: 1.35; letter-spacing: -0.01em; }
.caso-bloque { margin-bottom: 14px; }
.caso-bloque-titulo { font-family: var(--fuente-titulo); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.caso-bloque-titulo::before { content: ''; display: inline-block; width: 14px; height: 1px; background: var(--borde); }
.caso-bloque p { font-size: 14px; color: var(--texto-suave); margin: 0; line-height: 1.7; }
.caso-resultado { background: rgba(215,25,32,0.05); border: 1px solid rgba(215,25,32,0.15); border-left: 3px solid var(--rojo); border-radius: 0 8px 8px 0; padding: 12px 16px; margin-top: auto; }
.caso-resultado p { font-size: 14px; font-weight: 600; color: var(--texto); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .casos-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }

/* -------- PORTAFOLIO VISUAL -------- */
.portafolio { display: none; }
.portafolio--visible { padding: 88px 24px; max-width: 1200px; margin: 0 auto; }
.portafolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portafolio-placeholder { aspect-ratio: 4/3; background: var(--bg-card); border: 2px dashed var(--borde); border-radius: var(--radio); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--texto-suave); transition: border-color 0.25s, background 0.25s; }
.portafolio-placeholder:hover { border-color: rgba(215,25,32,0.3); background: rgba(215,25,32,0.03); }
.portafolio-placeholder svg { opacity: 0.3; }
.portafolio-placeholder span { font-family: var(--fuente-titulo); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.4; }
.portafolio-nota { text-align: center; margin-top: 24px; font-family: var(--fuente-titulo); font-size: 12px; color: var(--texto-suave); opacity: 0.6; }
@media (max-width: 768px) { .portafolio-grid { grid-template-columns: repeat(2, 1fr); } .portafolio { padding: 64px 20px; } }
@media (max-width: 480px) { .portafolio-grid { grid-template-columns: 1fr; } .portafolio { padding: 56px 16px; } }

/* -------- CTA STICKY MÓVIL -------- */
.cta-sticky { display: none; }
@media (max-width: 768px) {
  .cta-sticky { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 989; background: var(--rojo); padding: 15px 24px; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 -2px 20px rgba(215,25,32,0.35); transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
  .cta-sticky a { color: #ffffff; font-family: var(--fuente-titulo); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 8px; }
  .cta-sticky--hidden { transform: translateY(100%); }
  body { padding-bottom: 56px; }
}

/* -------- FAQ -------- */
.faq { padding: 104px 24px; max-width: 800px; margin: 0 auto; content-visibility: auto; contain-intrinsic-size: 0 600px; }
.faq-container { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border-radius: var(--radio); box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06); border: 1px solid var(--borde); border-left: 2px solid transparent; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item.open { border-left-color: var(--rojo); box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.09); }
.faq-pregunta { width: 100%; background: none; border: none; padding: 20px 24px; text-align: left; font-family: var(--fuente-titulo); font-size: 15px; font-weight: 600; color: var(--texto); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 0.2s; }
.faq-item.open .faq-pregunta { color: var(--rojo); }
.faq-icono { font-size: 22px; font-weight: 300; color: var(--rojo); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icono { transform: rotate(45deg); }
.faq-respuesta { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-respuesta { max-height: 400px; }
.faq-respuesta p { padding: 0 24px 20px; margin: 0; font-size: 15px; color: var(--texto-suave); line-height: 1.75; }

/* -------- CONTACTO -------- */
.contacto { background: #0d0d0d; padding: 104px 24px; text-align: center; content-visibility: auto; contain-intrinsic-size: 0 800px; }
.contacto-layout { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; max-width: 900px; margin: 0 auto 60px; text-align: left; }
.contacto-info { min-width: 220px; flex: 1; }
.contacto-info p { font-family: var(--fuente-titulo); color: rgba(255,255,255,0.8); font-size: 15px; margin: 0 0 6px; letter-spacing: 0.02em; }
.contacto-label { font-size: 11px !important; font-weight: 700; letter-spacing: 0.15em !important; color: rgba(255,255,255,0.4) !important; margin-top: 16px !important; }
.redes { margin-top: 12px; }
.formulario { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radio); padding: 32px; flex: 2; min-width: 280px; }
.formulario h3 { font-family: var(--fuente-titulo); color: #ffffff; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-family: var(--fuente-titulo); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 12px 14px; color: #ffffff; font-family: var(--fuente-cuerpo); font-size: 15px; outline: none; transition: border-color 0.2s; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--rojo); }
.form-group select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.form-group select option, .form-group select optgroup { background: #1a1a1a; color: #ffffff; }
.form-group select option[value=""] { color: rgba(255,255,255,0.3); }
.form-aviso { font-family: var(--fuente-titulo); font-size: 13px; margin: 12px 0 0; min-height: 20px; }
.mapa-container { max-width: 900px; margin: 0 auto; text-align: left; }
.mapa-titulo { font-family: var(--fuente-titulo); color: rgba(255,255,255,0.8); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; }

/* -------- FOOTER -------- */
footer { background: #0a0a0a; padding: 32px 20px; text-align: center; }
.footer-contenido { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { height: 50px; width: auto; opacity: 0.7; filter: brightness(0) invert(1); }
footer p { color: rgba(255,255,255,0.35); font-family: var(--fuente-titulo); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.footer-politica { font-size: 10px !important; color: rgba(255,255,255,0.2) !important; letter-spacing: 0.04em !important; text-transform: none !important; }
.footer-link { background: none; border: none; padding: 0; color: rgba(255,255,255,0.45); font-family: var(--fuente-titulo); font-size: 10px; letter-spacing: 0.04em; cursor: pointer; text-decoration: underline; transition: color 0.2s; }
.footer-link:hover { color: var(--rojo); }

/* -------- BANNER COOKIES -------- */
.cookie-banner { position: fixed; bottom: -100%; left: 0; right: 0; z-index: 9990; background: #1a1a1a; border-top: 2px solid var(--rojo); padding: 16px 24px; transition: bottom 0.4s cubic-bezier(0.22,1,0.36,1); box-shadow: 0 -4px 24px rgba(0,0,0,0.4); }
.cookie-banner.visible { bottom: 0; }
.cookie-contenido { display: flex; align-items: center; gap: 16px; max-width: 1000px; margin: 0 auto; flex-wrap: wrap; }
.cookie-icono { font-size: 24px; flex-shrink: 0; }
.cookie-contenido p { font-family: var(--fuente-titulo); font-size: 12px; color: rgba(255,255,255,0.7); margin: 0; flex: 1; min-width: 200px; line-height: 1.6; }
.cookie-contenido strong { color: #ffffff; }
.cookie-link { background: none; border: none; padding: 0; color: var(--rojo); font-family: var(--fuente-titulo); font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn { font-family: var(--fuente-titulo); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 20px; border-radius: 8px; border: none; cursor: pointer; transition: transform 0.15s, opacity 0.15s; }
.cookie-btn--aceptar { background: var(--rojo); color: #ffffff; }
.cookie-btn--aceptar:hover { opacity: 0.85; }
.cookie-btn--rechazar { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.15); }
.cookie-btn--rechazar:hover { background: rgba(255,255,255,0.14); }

/* -------- MODALES LEGALES -------- */
.legal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 9000; backdrop-filter: blur(4px); }
.legal-overlay.activo { display: block; }
.legal-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 9001; background: var(--bg-card); border-radius: 16px; width: 94vw; max-width: 700px; max-height: 85vh; flex-direction: column; box-shadow: 0 24px 64px rgba(0,0,0,0.5); overflow: hidden; }
.legal-modal.activo { display: flex; animation: modalEntrada 0.3s ease; }
.legal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--borde); border-top: 4px solid var(--rojo); flex-shrink: 0; }
.legal-header h3 { font-family: var(--fuente-titulo); font-size: 15px; font-weight: 800; color: var(--texto); margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.legal-cuerpo { padding: 28px; overflow-y: auto; }
.legal-cuerpo h4 { font-family: var(--fuente-titulo); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rojo); margin: 24px 0 8px; }
.legal-cuerpo h4:first-of-type { margin-top: 0; }
.legal-cuerpo p { font-size: 14px; color: var(--texto-suave); line-height: 1.8; margin: 0 0 8px; }
.legal-cuerpo ul { padding-left: 20px; margin: 0 0 8px; display: flex; flex-direction: column; gap: 6px; }
.legal-cuerpo ul li { font-size: 14px; color: var(--texto-suave); line-height: 1.7; }
.legal-fecha { font-size: 12px !important; color: var(--texto-suave); font-style: italic; margin-bottom: 20px !important; }

/* -------- OVERLAY -------- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.72); z-index: 500; backdrop-filter: blur(6px); }
.modal-overlay.activo { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* -------- MODAL GRANDE -------- */
.modal-grande { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 600; background: var(--bg-card); border-radius: 24px; width: 95vw; max-width: 1100px; height: 90vh; overflow: hidden; flex-direction: column; box-shadow: 0 40px 100px rgba(0,0,0,0.5); }
.modal-grande.activo { display: flex; animation: modalEntrada 0.38s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes modalEntrada { from { transform: translate(-50%, -45%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
.modal-grande-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--borde); background: linear-gradient(135deg, var(--bg-card) 60%, rgba(215,25,32,0.05) 100%); flex-shrink: 0; border-top: 4px solid var(--rojo); border-radius: 24px 24px 0 0; }
.modal-grande-titulo { display: flex; align-items: center; gap: 14px; }
.modal-grande-icono { font-size: 24px; width: 50px; height: 50px; background: linear-gradient(135deg, rgba(215,25,32,0.13), rgba(215,25,32,0.05)); border: 1px solid rgba(215,25,32,0.22); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-grande-header h2 { font-family: var(--fuente-titulo); font-size: clamp(14px, 2vw, 19px); font-weight: 800; color: var(--texto); -webkit-text-fill-color: var(--texto); background: none; -webkit-background-clip: unset; background-clip: unset; margin: 0; line-height: 1.3; }
.modal-cerrar { background: var(--bg); border: 1px solid var(--borde); border-radius: 50%; width: 38px; height: 38px; font-size: 16px; cursor: pointer; color: var(--texto-suave); display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s, transform 0.25s; flex-shrink: 0; }
.modal-cerrar:hover { background: var(--rojo); color: #ffffff; transform: rotate(90deg); }
.modal-grande-cuerpo { display: flex; flex: 1 1 0; height: 0; min-height: 0; overflow: hidden; }
.modal-col-texto { flex: 1 1 0; min-width: 0; padding: 28px 32px; overflow-y: auto; border-right: 1px solid var(--borde); }
.modal-seccion { margin-bottom: 24px; }
.modal-seccion h4 { font-family: var(--fuente-titulo); font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rojo); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.modal-seccion h4::after { content: ''; flex: 1; height: 1px; background: var(--borde); }
.modal-seccion p { font-size: 14.5px; color: var(--texto-suave); line-height: 1.8; margin: 0 0 10px; text-align: left; }
.modal-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.modal-lista li { background: var(--bg); border: 1px solid var(--borde); border-left: 3px solid var(--rojo); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--texto-suave); line-height: 1.6; display: flex; align-items: flex-start; gap: 10px; transition: background 0.2s, transform 0.2s; }
.modal-lista li:hover { background: rgba(215,25,32,0.04); transform: translateX(4px); }
.modal-lista li::before { content: '\2713'; color: #ffffff; background: var(--rojo); font-weight: 800; font-size: 10px; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.modal-lista li strong { color: var(--texto); font-weight: 700; }
.modal-btn { display: block; text-align: center; margin-top: 24px; border-radius: 12px !important; }
.modal-col-fotos { width: 360px; flex-shrink: 0; overflow: hidden; background: #111; position: relative; }
.modal-col-fotos::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 55%); pointer-events: none; z-index: 1; }
.modal-foto-unica { width: 100%; height: 100%; }
.modal-foto-unica img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 7s ease; }
.modal-grande.activo .modal-foto-unica img { transform: scale(1.07); }

/* -------- RESPONSIVE -------- */
@media (max-width: 900px) { .equipos-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); flex-direction: column; padding: 16px 24px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); gap: 4px; border-top: 2px solid var(--rojo); }
  nav.open { display: flex; }
  nav a { padding: 12px 16px; font-size: 14px; }
  header { position: relative; }
  .navbar { flex-wrap: wrap; padding: 14px 20px; position: relative; }
  .hero { padding: 72px 24px 64px; min-height: 80svh; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; text-align: center; margin: 0; padding: 16px 28px; }
  .stat-item { flex: 1 1 40%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 20px; }
  .empresa { padding: 72px 20px; }
  .empresa-container, .cards { flex-direction: column; align-items: center; }
  .empresa-box, .card { width: 100%; max-width: 440px; }
  .porque { padding: 72px 20px; }
  .servicios { padding: 72px 20px 60px; }
  .equipos { padding: 72px 20px; }
  .timeline { padding: 72px 20px; }
  .galeria { padding: 64px 20px; }
  .faq { padding: 72px 20px; }
  .contacto { padding: 72px 20px; }
  .ciudades { padding: 64px 20px; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .equipos-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header { margin-bottom: 40px; }
  .contacto-layout { flex-direction: column; }
  .formulario { padding: 24px; }
  .modal-grande { width: 100vw; height: 100dvh; border-radius: 0; top: 0; left: 0; transform: none; }
  .modal-grande.activo { animation: modalEntradaMobile 0.32s ease both; }
  @keyframes modalEntradaMobile { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  .modal-grande-header { border-radius: 0; padding: 14px 16px; }
  .modal-grande-icono { width: 40px; height: 40px; font-size: 20px; border-radius: 10px; }
  .modal-grande-cuerpo { flex-direction: column; }
  .modal-col-texto { flex: 1 1 0; border-right: none; border-bottom: 1px solid var(--borde); padding: 20px 18px; }
  .modal-col-fotos { width: 100%; height: 200px; flex-shrink: 0; }
  .modal-lista li:hover { transform: none; }
  .ciudades-grid { flex-direction: column; align-items: center; }
  .ciudad-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; max-width: 300px; }
  .ciudad-item:last-child { border-bottom: none; }
  .timeline-container { padding-left: 28px; }
  .timeline-punto { left: -24px; }
}

@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .empresa { padding: 60px 16px; }
  .porque { padding: 60px 16px; }
  .servicios { padding: 60px 16px 48px; }
  .equipos { padding: 60px 16px; }
  .timeline { padding: 60px 16px; }
  .galeria { padding: 56px 16px; }
  .faq { padding: 60px 16px; }
  .contacto { padding: 60px 16px; }
  .ciudades { padding: 56px 16px; }
  .section-header { margin-bottom: 32px; }
  .btn { padding: 14px 22px; }
}

/* -------- CORRECCIONES MÓVIL -------- */
@media (hover: none) and (pointer: coarse) {
  .btn-top { bottom: 100px; right: 20px; }
}
.galeria-item--video { aspect-ratio: 16/9; background: #000; max-width: 860px; margin-left: auto; margin-right: auto; width: 100%; }
.galeria-item--video iframe { width: 100%; height: 100%; display: block; }

/* -------- HERO TRUST BAR -------- */
.hero-trust { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-trust-item { display: flex; flex-direction: column; gap: 4px; }
.hero-trust-item strong { font-family: var(--fuente-titulo); font-size: 20px; font-weight: 800; color: #ffffff; line-height: 1; letter-spacing: -0.01em; }
.hero-trust-item span { font-family: var(--fuente-titulo); font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-trust-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
@media (max-width: 480px) { .hero-trust { gap: 16px; } .hero-trust-sep { display: none; } .hero-trust-item strong { font-size: 18px; } }

/* -------- POR QUÉ ELEGIRNOS -------- */
.porque { background: var(--negro); padding: 100px 24px; }
.porque .section-header h2 { color: #ffffff; -webkit-text-fill-color: #ffffff; }
.porque .section-tag { color: rgba(255,255,255,0.5); }
.porque-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.porque-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radio); padding: 32px 24px; text-align: center; transition: background 0.25s, transform 0.25s; }
.porque-item:hover { background: rgba(215,25,32,0.08); transform: translateY(-4px); }
.porque-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(215,25,32,0.12); border: 1px solid rgba(215,25,32,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--rojo); transition: background 0.25s; }
.porque-item:hover .porque-icon { background: rgba(215,25,32,0.22); }
.porque-item h3 { font-family: var(--fuente-titulo); font-size: 13px; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 12px; }
.porque-item p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .porque-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .porque-grid { grid-template-columns: 1fr; } }

/* -------- WIZARD FORMULARIO -------- */
.wizard-progress { display: flex; align-items: center; margin-bottom: 28px; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.wizard-num { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.4); font-family: var(--fuente-titulo); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.wizard-label { font-family: var(--fuente-titulo); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); transition: color 0.3s; }
.wizard-step.active .wizard-num { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.wizard-step.active .wizard-label { color: rgba(255,255,255,0.8); }
.wizard-step.done .wizard-num { background: rgba(215,25,32,0.3); border-color: var(--rojo); color: var(--rojo); }
.wizard-step.done .wizard-label { color: rgba(255,255,255,0.5); }
.wizard-line { flex: 1; height: 2px; background: rgba(255,255,255,0.1); margin: 0 8px; margin-bottom: 14px; transition: background 0.3s; }
.wizard-line.done { background: var(--rojo); }
.wizard-panel { display: none; animation: fadeIn 0.3s ease; }
.wizard-panel.active { display: block; }
.wizard-panel h3 { font-family: var(--fuente-titulo); color: #ffffff; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 20px; }
.wizard-nav { display: flex; gap: 10px; margin-top: 4px; }
.wizard-nav .btn--outline { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); flex-shrink: 0; }
.wizard-nav .btn--outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.wizard-nav .btn--rojo { flex: 1; text-align: center; }

/* -------- CHAT WIDGET -------- */
.chat-widget { position: fixed; bottom: 28px; left: 28px; z-index: 998; }
.chat-toggle { width: 54px; height: 54px; border-radius: 50%; background: var(--rojo); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(215,25,32,0.5); transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.chat-toggle:hover { transform: scale(1.08); }
.chat-badge { position: absolute; top: -4px; right: -4px; background: #fff; color: var(--rojo); font-family: var(--fuente-titulo); font-size: 10px; font-weight: 800; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.chat-panel { position: absolute; bottom: 68px; left: 0; width: 280px; background: var(--bg-card); border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.3); overflow: hidden; display: none; animation: modalEntrada 0.3s ease; border: 1px solid var(--borde); }
.chat-panel.open { display: block; }
.chat-panel-header { background: var(--rojo); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-panel-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.25); color: #fff; font-family: var(--fuente-titulo); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-panel-info strong { display: block; color: #fff; font-family: var(--fuente-titulo); font-size: 13px; font-weight: 700; }
.chat-panel-info span { color: rgba(255,255,255,0.75); font-family: var(--fuente-titulo); font-size: 10px; }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 16px; cursor: pointer; padding: 4px; line-height: 1; transition: color 0.2s; }
.chat-close:hover { color: #fff; }
.chat-panel-body { padding: 16px; }
.chat-bubble { background: var(--gris-claro); border-radius: 0 12px 12px 12px; padding: 12px 14px; font-size: 14px; color: var(--texto); line-height: 1.6; }
.chat-panel-footer { padding: 0 16px 16px; }
@media (max-width: 480px) { .chat-widget { bottom: 20px; left: 16px; } .chat-panel { width: 260px; } }