/* ==========================================================================
   FRONTEX IMPORT - HOJA DE ESTILOS COMPLETA (DISEÑO PREMIUM ACTUALIZADO)
   ========================================================================== */

:root {
    --bg-dark-navbar: #0f172a;  /* Azul oscuro profundo para el Navbar */
    --bg-light-sections: #f8fafc;/* Gris ultra claro para secciones secundarias */
    --bg-white: #ffffff;        /* Blanco puro para tarjetas y fondo general */
    --top-bar-color: #3b82f6;   /* Azul Eléctrico Corporativo (aclarado) para la barra de avisos */
    --primary: #10b981;         /* Verde esmeralda para los acentos y checks */
    --text-main: #0f172a;       /* Texto oscuro principal (súper legible) */
    --text-muted: #64748b;      /* Texto secundario gris elegante */
    --border-color: #e2e8f0;    /* Bordes limpios y sutiles */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.06);
}

/* REGLAS GENERALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    overflow-x: hidden;
}

/* 1. BARRA DE AVISO (AZUL ELÉCTRICO) */
.top-announcement {
    background-color: var(--top-bar-color);
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 2. NAVBAR SUPERIOR OSCURO */
header {
    background-color: var(--bg-dark-navbar);
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1320px;
    margin: 0 auto;
    padding: 26px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img { height: 52px; width: auto; }
.logo span { color: var(--primary); }
.logo small { font-size: 0.7rem; color: #94a3b8; font-weight: 500; display: block; margin-top: -2px; }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-size: 1.02rem; font-weight: 500; transition: 0.2s ease; }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background-color: var(--primary);
    color: var(--bg-dark-navbar);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.2s ease;
}
.btn-nav:hover { background-color: #059669; color: #ffffff; }

/* REDES SOCIALES EN EL NAVBAR */
.nav-socials { display: flex; align-items: center; gap: 10px; }
.nav-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-socials a:hover { background-color: var(--primary); color: #0f172a; transform: translateY(-2px); }

.nav-socials-mobile { display: none; }

/* BOTÓN FLOTANTE DE WHATSAPP (fijo, visible en toda la página) */
.whatsapp-float-wrapper {
    position: fixed;
    bottom: 26px;
    right: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
}

.whatsapp-float-tip {
    background-color: #ffffff;
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    position: relative;
    animation: tipBounce 2.6s ease-in-out infinite;
}
.whatsapp-float-tip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: translateY(-50%) rotate(45deg);
}
@keyframes tipBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.whatsapp-float {
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
    animation: whatsappPulse 2.4s ease-in-out infinite;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}
@media (max-width: 768px) {
    .whatsapp-float-wrapper { bottom: 18px; right: 18px; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; }
    .whatsapp-float-tip { display: none; } /* en móvil no hay espacio horizontal suficiente */
}

/* Botón "Abrir Casillero" duplicado: uno para escritorio, otro dentro del menú móvil */
.nav-cta-mobile { display: none; }

/* HAMBURGUESA (oculto en escritorio) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 3. SECCIÓN HERO */
.hero {
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-slides { position: absolute; inset: 0; z-index: -2; }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide-bg.active { opacity: 1; }

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
}
.hero-slide-bg[data-tint="navy"]::after    { background: linear-gradient(135deg, rgba(15,23,42,0.55), rgba(15,23,42,0.25)); }
.hero-slide-bg[data-tint="emerald"]::after { background: linear-gradient(135deg, rgba(6,78,59,0.55), rgba(15,23,42,0.3)); }
.hero-slide-bg[data-tint="amber"]::after   { background: linear-gradient(135deg, rgba(30,41,59,0.6), rgba(120,53,15,0.28)); }

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(248, 250, 252, 0.7) 0%, rgba(248, 250, 252, 0.1) 20%, rgba(248, 250, 252, 0.1) 80%, rgba(248, 250, 252, 0.7) 100%),
                linear-gradient(to bottom, rgba(248, 250, 252, 0.1) 0%, rgba(248, 250, 252, 0.6) 100%);
    z-index: -1;
}

/* FLECHAS DE NAVEGACIÓN DEL HERO (bordes, estilo carrusel) */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.hero-arrow:hover { background-color: rgba(15, 23, 42, 0.6); }
.hero-arrow:active { transform: translateY(-50%) scale(0.92); }
.hero-arrow-left { left: 18px; }
.hero-arrow-right { right: 18px; }

/* PUNTOS INDICADORES */
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.hero-dot.active { background-color: var(--primary); transform: scale(1.25); }

@media (max-width: 768px) {
    .hero-arrow { width: 38px; height: 38px; font-size: 0.85rem; }
    .hero-arrow-left { left: 8px; }
    .hero-arrow-right { right: 8px; }
}

.hero-container {
    max-width: 850px;
    margin: 0 auto;
    background-color: rgba(15, 23, 42, 0.96); 
    padding: 55px 45px;
    border-radius: 24px;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
    position: relative;
    z-index: 2;
}

.hero-logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 70vw;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}

.hero h1 { font-size: 3.4rem; font-weight: 800; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 25px; color: #ffffff; transition: opacity 0.35s ease; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.hero p { transition: opacity 0.35s ease; }
.hero p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; line-height: 1.6; min-height: 3.2em; }
.hero-features-minimal { display: flex; justify-content: center; gap: 30px; margin-bottom: 45px; font-size: 0.95rem; color: #e2e8f0; font-weight: 600; flex-wrap: wrap; }
.hero-features-minimal i { color: var(--primary); margin-right: 8px; }
.cta-box { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }

.hero .price-badge {
    background-color: #1e293b;
    border: 1px solid #334155;
    padding: 12px 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    text-align: left;
    box-shadow: var(--shadow-sm);
}
.hero .price-badge .price { font-size: 2.2rem; font-weight: 800; color: #ffffff; margin-right: 12px; }
.hero .price-badge .unit { font-size: 0.85rem; color: #94a3b8; line-height: 1.3; font-weight: 600; }

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    padding: 20px 38px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.15);
    transition: 0.2s ease;
}
.btn-whatsapp:hover { background-color: #1ebd58; transform: translateY(-2px); }

/* 4. SECCIONES DE TEXTO COMÚN */
.container-text { max-width: 700px; margin: 0 auto 50px auto; text-align: center; }
.container-text h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.container-text p { color: var(--text-muted); font-size: 1.1rem; }

/* 5. PASOS DEL SERVICIO (CORREGIDO CON BORDES INTERACTIVOS AL PASAR EL MOUSE) */
/* 5. PASOS DEL SERVICIO (CORREGIDO PARA AJUSTE PERFECTO DE LAS 3 COLUMNAS) */
.steps-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 90px 20px;
    position: relative;
}

.proceso-side-photo {
    position: absolute;
    left: -260px;
    bottom: 20px;
    width: 280px;
    z-index: 0;
    filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.18));
}

@media (max-width: 1750px) {
    .proceso-side-photo { display: none; } /* evita que se encime con el contenido en pantallas más angostas */
}

/* El grid divide el espacio en 3 columnas iguales automáticamente */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fuerza 3 columnas perfectas en PC */
    gap: 30px;
}

/* Tarjeta base idéntica para los 3 pasos */
.step-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 45px 35px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%; /* Hace que las tres tengan exactamente la misma altura */
}

/* Efecto hover interactivo: cambia a azul el borde de la tarjeta sobre la que estés */
.step-card:hover {
    border-color: var(--top-bar-color); 
    background-color: rgba(37, 99, 235, 0.01); 
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
    transform: translateY(-5px);
}

.step-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: #f1f5f9;  
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
    z-index: 0;
}

.step-card h3 { 
    font-size: 1.35rem; 
    margin-bottom: 15px; 
    font-weight: 700; 
    position: relative; 
    z-index: 1; 
}

.step-card p { 
    color: var(--text-muted); 
    font-size: 0.98rem; 
    line-height: 1.6; 
    position: relative; 
    z-index: 1; 
}

/* Responsive para celulares y tablets */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr; /* En pantallas pequeñas se apilan verticalmente */
    }
}

/* Todos los cuadros empiezan con diseño limpio e idéntico */
.step-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 45px 35px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    z-index: 1;
}

/* EFECTO HOVER: Cuando pasas el mouse por encima, el borde cambia a azul */
.step-card:hover {
    border-color: var(--top-bar-color); /* Vuelve el borde azul */
    background-color: rgba(37, 99, 235, 0.02); /* Sutil fondo azulado */
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05);
}

.step-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: #f1f5f9;  
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
    z-index: 0;
}

.step-icon img, .guia-icon img, .faq-icon img {
    width: 68%;
    height: 68%;
    object-fit: contain;
}

.step-icon {
    font-size: 1.6rem;
    color: var(--top-bar-color);
    background-color: rgba(59, 130, 246, 0.1);
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.step-card h3 { font-size: 1.35rem; margin-bottom: 15px; font-weight: 700; position: relative; z-index: 1; }
.step-card p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.6; position: relative; z-index: 1; }

/* ICONOS FLOTANTES (animación reutilizable) */
@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.icon-float { animation: floatIcon 3.2s ease-in-out infinite; }
.icon-float-delay1 { animation-delay: 0.5s; }
.icon-float-delay2 { animation-delay: 1s; }

/* REVEAL AL HACER SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay1.visible { transition-delay: 0.1s; }
.reveal-delay2.visible { transition-delay: 0.2s; }
.reveal-delay3.visible { transition-delay: 0.3s; }

/* RUTA ANIMADA (avión viajando, detalle temático de logística) */
.ruta-animada {
    position: relative;
    max-width: 900px;
    margin: 0 auto 10px auto;
    height: 30px;
}
.ruta-linea {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-image: linear-gradient(to right, #cbd5e1 60%, transparent 0%);
    background-size: 14px 2px;
    background-repeat: repeat-x;
    transform: translateY(-50%);
}
.ruta-avion {
    position: absolute;
    top: 50%;
    left: 0;
    color: var(--top-bar-color);
    font-size: 1.3rem;
    transform: translateY(-50%);
    animation: rutaVuelo 6s linear infinite;
}
@keyframes rutaVuelo {
    0%   { left: 0%;   opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { left: 96%;  opacity: 0; }
}

/* 5b. GUÍA DE COMPRA (datos de envío / pago / después de comprar) */
.guia-compra {
    max-width: 1200px;
    margin: 50px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.guia-compra-3 { grid-template-columns: repeat(3, 1fr); }
.guia-card {
    background-color: var(--bg-dark-navbar);
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 32px;
    color: #e2e8f0;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.guia-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.guia-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background-color: rgba(16, 185, 129, 0.12);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.guia-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #ffffff; }
.guia-card p { font-size: 0.95rem; line-height: 1.6; color: #cbd5e1; }
.guia-card strong { color: #ffffff; }

@media (max-width: 900px) {
    .guia-compra-3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .guia-compra { grid-template-columns: 1fr; }
}

/* 6. TABLA COMPARATIVA */
.transparency-section { max-width: 950px; margin: 0 auto; padding: 60px 20px; }
.table-container { background-color: var(--bg-white); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; text-align: left; min-width: 640px; }
th, td { padding: 20px 26px; border-bottom: 1px solid var(--border-color); font-size: 0.98rem; }
th { background-color: #f8fafc; color: var(--text-main); font-weight: 700; }
.highlight-th { color: #ffffff; background-color: var(--bg-dark-navbar); }
.highlight-td { color: #1e40af; font-weight: 600; background-color: #f0f6ff; }

@media (max-width: 768px) {
    th, td { padding: 14px 16px; font-size: 0.85rem; }
    table { min-width: 560px; }
    .transparency-section { padding: 45px 16px; }
}

/* 7. CALCULADORA DE FLETE ESTIMADO */
.calculadora-seccion {
    background-color: var(--bg-light-sections);
    padding: 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.calc-container { max-width: 550px; margin: 0 auto; text-align: center; }

/* Efecto Ken Burns: zoom lento en bucle para que la foto no se vea estática */
@keyframes kenBurns {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.09); }
    100% { transform: scale(1); }
}

/* ICONOS DECORATIVOS EN ZONAS BLANCAS */
.deco-icon {
    position: absolute;
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
}

/* Variante para colocar sobre fotografías: opacidad alta + sombra para que se lea bien */
.deco-icon-solid {
    position: absolute;
    opacity: 0.95;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

/* GLOBOS DE TEXTO CON SUGERENCIAS (flotantes, solo en pantallas anchas) */
.tip-bubble {
    position: absolute;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
    max-width: 190px;
    line-height: 1.4;
    z-index: 2;
    animation: driftBubble 6.5s ease-in-out infinite;
}
.tip-bubble::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 24px;
    width: 14px;
    height: 14px;
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transform: rotate(45deg);
}
@keyframes driftBubble {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@media (max-width: 1150px) {
    .tip-bubble, .deco-icon, .deco-icon-solid { display: none; } /* evita que se encimen con el contenido en pantallas angostas */
}

/* LAYOUT FULL-BLEED: foto pegada al borde izquierdo real + calculadora centrada en el espacio restante */
.calc-flex-layout {
    display: flex;
    align-items: stretch;
    min-height: 560px;
}

.calc-side-photo-wrapper {
    flex: 0 0 46%;
    max-width: 720px;
    width: 100%;
    align-self: stretch;
    overflow: hidden;
    border-right: 24px solid var(--bg-dark-navbar);
}

.calc-side-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: kenBurns 10s ease-in-out infinite;
}

.calc-right-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 70px 40px 70px 60px;
}

@media (max-width: 1000px) {
    .calc-flex-layout { flex-direction: column; min-height: 0; }
    .calc-side-photo-wrapper {
        flex-basis: auto;
        max-width: 100%;
        height: 260px;
        border-right: none;
        border-bottom: 12px solid var(--bg-dark-navbar);
    }
    .calc-right-area { padding: 50px 20px; justify-content: center; }
}

.calculadora-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: left;
    box-shadow: var(--shadow-md);
}

.calc-label { display: block; font-weight: 700; color: #0f172a; font-size: 1.05rem; margin-bottom: 12px; }

.input-group { position: relative; display: flex; align-items: center; width: 100%; }

input[type="number"] {
    width: 100%;
    padding: 22px 90px 22px 24px;
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
    outline: none;
    text-align: left;
    box-sizing: border-box;
    
    /* ELIMINA LAS FLECHAS EN CHROME, SAFARI, EDGE Y OPERA */
    -webkit-appearance: none;
    appearance: none;
}
input[type="number"]:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }

/* ELIMINA LAS FLECHAS EN FIREFOX */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

.input-unit { 
    position: absolute; 
    right: 56px; 
    font-weight: 800; 
    color: var(--text-muted); 
    font-size: 1.1rem;
    pointer-events: none; /* Hace que el clic pase a través del texto al input */
}

.calc-input-icon {
    position: absolute;
    right: 22px;
    font-size: 1.2rem;
    color: var(--primary);
    pointer-events: none;
}

.resultado-box {
    background: var(--bg-dark-navbar);
    border-radius: 16px;
    padding: 22px 24px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    box-sizing: border-box;
    min-height: 76px;
}
#resultado { font-size: 2.2rem; font-weight: 800; color: var(--primary); transition: opacity 0.15s ease; }
.calc-decor-icon { font-size: 2.4rem; color: rgba(255, 255, 255, 0.15); }

/* 8. PREGUNTAS FRECUENTES (GRID DE TARJETAS CON ICONOS) */
.faq-seccion { max-width: 1250px; margin: 0 auto; padding: 80px 20px; position: relative; overflow: hidden; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.faq-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-card:hover { border-color: var(--top-bar-color); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.faq-icon {
    font-size: 1.3rem;
    color: var(--top-bar-color);
    background-color: rgba(59, 130, 246, 0.1);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.faq-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; color: var(--text-main); }
.faq-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; }

/* FOOTER */
footer { border-top: 1px solid var(--border-color); background-color: #1e293b; padding: 50px 20px; text-align: center; color: #94a3b8; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; }
footer p:first-of-type { color: #ffffff; font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .faq-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .btn-nav-desktop { display: none; }
    .nav-socials-desktop { display: none; }
    .nav-socials-mobile {
        display: flex;
        justify-content: center;
        gap: 16px;
        padding: 18px 24px;
        border-top: 1px solid #1e293b;
    }
    .nav-socials-mobile a { width: 38px; height: 38px; font-size: 1rem; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-dark-navbar);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #1e293b;
    }
    .nav-links.nav-open { max-height: 420px; }
    .nav-links > a {
        padding: 16px 24px;
        border-top: 1px solid #1e293b;
    }
    .nav-cta-mobile {
        display: block;
        text-align: center;
        margin: 12px 24px 20px 24px;
        border-top: none;
    }

    .hero { padding: 60px 15px; background-attachment: scroll; }
    .hero-container { padding: 35px 20px; border-radius: 16px; }
    .hero h1 { font-size: 2.2rem; }
    .cta-box { flex-direction: column; width: 100%; }
    .price-badge, .btn-whatsapp { width: 100%; justify-content: center; }
    .resultado-box { flex-direction: column; gap: 15px; text-align: center; }
    .hero-features-minimal { flex-direction: column; gap: 12px; align-items: center; }
    .faq-grid { grid-template-columns: 1fr; }

    /* Navbar más compacto para que no se apriete en pantallas chicas */
    .navbar { padding: 16px 16px; gap: 10px; }
    .logo { font-size: 1.15rem; gap: 8px; }
    .logo-img { height: 38px; }
    .top-announcement { font-size: 0.75rem; padding: 8px 10px; }

    /* Franja del hero-badge y guía de compra un poco más compactas */
    .guia-card { padding: 24px; }
    .step-card { padding: 32px 24px; }
    .stat-card { padding: 20px 14px; }
    .nosotros-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 1rem; }
    .nosotros-eyebrow { font-size: 0.78rem; }
    .price-badge .price { font-size: 1.7rem; }
    .calc-label { font-size: 0.95rem; }
    input[type="number"] { font-size: 1.2rem; padding: 18px 70px 18px 18px; }
    #resultado { font-size: 1.7rem; }
    .logo { font-size: 1rem; }
    .logo-img { height: 32px; }
}

/* ==========================================================================
   PÁGINA "NOSOTROS"
   ========================================================================== */

.nosotros-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark-navbar);
    padding: 100px 20px;
    text-align: center;
}
.nosotros-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 55px;
    align-items: center;
    text-align: left;
}
.nosotros-hero-photo-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    height: 360px;
}
.nosotros-hero-photo { width: 100%; height: 100%; object-fit: cover; animation: kenBurns 11s ease-in-out infinite; }
.nosotros-hero-content { position: relative; z-index: 1; }

@media (max-width: 900px) {
    .nosotros-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .nosotros-hero-photo-wrapper { height: 240px; }
}
.nosotros-eyebrow {
    display: inline-block;
    background: rgba(16, 185, 129, 0.14);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 22px;
}
.nosotros-hero h1 { font-size: 2.9rem; font-weight: 800; line-height: 1.2; color: #ffffff; margin-bottom: 22px; letter-spacing: -1px; }
.nosotros-hero p { font-size: 1.1rem; color: #cbd5e1; line-height: 1.65; }

.nosotros-seccion { max-width: 1200px; margin: 0 auto; padding: 90px 20px; }
.nosotros-seccion-dark { max-width: 100%; background-color: var(--bg-dark-navbar); padding: 90px 20px; }

.nosotros-mision-bg {
    position: relative;
    background-image: linear-gradient(135deg, rgba(15,23,42,0.93), rgba(15,23,42,0.82)), url('assets/nosotros-mision.jpg');
    background-size: cover;
    background-position: center;
}

.nosotros-equipo-banda {
    position: relative;
    max-width: 100%;
    height: 380px;
    overflow: hidden;
}
.nosotros-equipo-banda img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nosotros-equipo-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.1) 55%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 34px;
}
.nosotros-equipo-caption span {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    max-width: 600px;
    line-height: 1.4;
}
@media (max-width: 700px) {
    .nosotros-equipo-banda { height: 260px; }
    .nosotros-equipo-caption span { font-size: 0.95rem; }
}

.section-tag { display: inline-block; color: var(--top-bar-color); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

.nosotros-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.nosotros-texto h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 20px; line-height: 1.25; }
.nosotros-texto p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 18px; }

.nosotros-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card {
    background-color: var(--bg-light-sections);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
}
.stat-number { display: block; font-size: 2.1rem; font-weight: 800; color: var(--top-bar-color); margin-bottom: 8px; }
.stat-number small { font-size: 1rem; font-weight: 700; color: var(--text-muted); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; line-height: 1.4; }

.mv-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 38px;
}
.mv-card .step-icon { background-color: rgba(16, 185, 129, 0.12); color: var(--primary); }
.mv-card h3 { color: #ffffff; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.mv-card p { color: #cbd5e1; font-size: 0.98rem; line-height: 1.65; }

.valores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.valor-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.valor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.valor-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.valor-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.nosotros-cta { padding: 90px 20px; }
.nosotros-cta-box {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--bg-dark-navbar);
    border-radius: 24px;
    padding: 55px 40px;
}
.nosotros-cta-box h2 { color: #ffffff; font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.nosotros-cta-box p { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 28px; }

@media (max-width: 900px) {
    .nosotros-grid { grid-template-columns: 1fr; gap: 40px; }
    .mv-grid { grid-template-columns: 1fr; }
    .valores-grid { grid-template-columns: 1fr; }
    .nosotros-hero h1 { font-size: 2.1rem; }
    .nosotros-hero { padding: 70px 20px; }
    .nosotros-cta { padding: 60px 16px; }
    .nosotros-cta-box { padding: 40px 24px; border-radius: 18px; }
    .nosotros-cta-box h2 { font-size: 1.5rem; }
    .mv-card { padding: 28px 22px; }
    .valor-card { padding: 28px 22px; }
    .nosotros-seccion { padding: 60px 20px; }
    .nosotros-seccion-dark { padding: 60px 20px; }
    .nosotros-texto h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .nosotros-hero h1 { font-size: 1.7rem; }
    .nosotros-eyebrow { font-size: 0.78rem; padding: 5px 12px; }
    .stat-number { font-size: 1.6rem; }
}