/* ============================================================
   ElectriVentiladores — Hoja de estilos principal
   Estructura:
     1. Variables & Reset
     2. Loader
     3. Scroll Reveal
     4. WhatsApp flotante
     5. Navbar / Hero
     6. Sesgos diagonales
     7. Secciones (acerca, galería, servicios, beneficios, testimonios)
     8. Ubicación + Footer + Formulario
     9. Animaciones
    10. Responsive
   ============================================================ */

/* ============================================================
   FORMULARIO DE CONTACTO — feedback & honeypot
   ============================================================ */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    tab-index: -1;
}
.contact-form-feedback {
    min-height: 18px;
    font-size: 13px;
    line-height: 1.45;
    padding: 0 4px;
    margin: -4px 0 4px;
    color: rgba(255,255,255,0.7);
}
.contact-form-feedback.feedback-info    { color: #93c5fd; }
.contact-form-feedback.feedback-success { color: #86efac; }
.contact-form-feedback.feedback-error   { color: #fca5a5; }

.boton-enviar { border: 0; cursor: pointer; }
.boton-enviar:disabled { opacity: 0.65; cursor: progress; transform: none !important; }

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --primario:       #051534;
    --primario-medio: #0d47a1;
    --primario-claro: #1565c0;
    --acento:         #f97316;
    --acento-claro:   #fb923c;
    --fondo-claro:    #f0f4ff;
    --texto:          #1e293b;
    --texto-suave:    #64748b;
    --blanco:         #ffffff;
    --sombra:         0 4px 28px rgba(5,21,52,0.12);
    --sombra-hover:   0 12px 40px rgba(5,21,52,0.2);
    --radio:          14px;
    --transition:     all 0.35s cubic-bezier(0.4,0,0.2,1);
}

* { margin:0; padding:0; box-sizing:border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-size: 16px;
    color: var(--texto);
    background: var(--blanco);
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primario) 0%, var(--primario-medio) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}
.loader-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}
.loader-logo-img {
    height: 120px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}
.loader-bolt {
    color: var(--acento);
    font-size: 38px;
    display: inline-block;
    transform-origin: 50% 50%;
    animation: fanSpin 1.8s linear infinite, boltPulse 1.6s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 8px var(--acento));
}
@keyframes fanSpin {
    to { transform: rotate(360deg); }
}
@keyframes boltPulse {
    from { filter: drop-shadow(0 0 6px var(--acento)); }
    to   { filter: drop-shadow(0 0 18px var(--acento)); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}
/* El ícono fa-fan en logos también gira sutilmente al pasar el cursor */
.nav-logo i, .footer-logo i { transition: transform 0.6s ease; transform-origin: 50% 50%; }
.nav-logo:hover i, .footer-logo:hover i { transform: rotate(180deg); }
.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    overflow: hidden;
}
.loader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--acento), #fbbf24);
    border-radius: 2px;
    animation: loadFill 1.1s ease forwards;
}
@keyframes loadFill {
    from { width: 0; }
    to   { width: 100%; }
}

/* ============================================================
   SCROLL REVEAL — estados iniciales y visibles
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-card,
.reveal-hero {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(30px); }
.reveal-left  { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-card  { transform: translateY(24px); }
.reveal-hero  { transform: translateY(16px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-card.visible,
.reveal-hero.visible {
    opacity: 1;
    transform: translate(0);
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.whatsapp-flotante {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    z-index: 9000;
    animation: waPulse 2.4s infinite;
    transition: transform 0.3s ease;
}
.whatsapp-flotante:hover { transform: scale(1.12); }
.wa-tooltip {
    position: absolute;
    right: 72px;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1a1a1a;
    border-right: none;
}
.whatsapp-flotante:hover .wa-tooltip { opacity: 1; }
@keyframes waPulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50%      { box-shadow: 0 4px 32px rgba(37,211,102,0.85), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ============================================================
   NAVBAR (mobile-first, compacto)
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    z-index: 300;
    min-height: 56px;
    background: rgba(5, 21, 52, 0.72);
    transition: background 0.35s ease, padding 0.3s ease, min-height 0.3s ease;
    box-sizing: border-box;
}
.navbar.scrolled {
    background: rgba(5, 21, 52, 0.97);
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.3px;
    white-space: nowrap;
    transition: transform 0.3s ease;
}
.nav-logo:hover { transform: scale(1.08); }
.nav-logo i { color: var(--acento); font-size: 18px; }
.nav-logo .logo-img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}
.nav-logo:hover .logo-img { filter: brightness(1.1); }
@media screen and (min-width: 768px) {
    .navbar       { padding: 14px 4%; min-height: 68px; background: rgba(5, 21, 52, 0.55); }
    .navbar.scrolled { padding: 12px 4%; min-height: 60px; }
    .nav-logo     { font-size: 19px; gap: 0; }
    .nav-logo i   { font-size: 22px; }
    .nav-logo .logo-img { height: 48px; width: auto; max-width: 140px; }
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}
.nav-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    transition: color 0.2s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--acento);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-tel {
    background: var(--acento) !important;
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    transition: background 0.2s !important;
}
.nav-tel:hover { background: var(--acento-claro) !important; }
.nav-tel::after { display: none !important; }
.nav-toggle {
    display: flex;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,0.15); }
@media screen and (min-width: 960px) {
    .nav-toggle { display: none; }
}

/* Menú móvil */
.nav-mobile {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--primario);
    padding: 70px 6% 28px;
    z-index: 250;
    transform: translateY(-105%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.nav-mobile.open { transform: translateY(0); }
.nav-m-link {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s, padding-left 0.2s;
}
.nav-m-link:hover { color: #fff; padding-left: 8px; }
.nav-m-tel {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    border-bottom: none !important;
}

/* ============================================================
   HEADER / HERO
   ============================================================ */
header {
    width: 100%;
    min-height: 620px;
    min-height: 100svh;
    max-height: none;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Imagen de fondo real (tienda.jpg) */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    transition: transform 0.8s ease;
    filter: brightness(0.42) saturate(0.75);
}

/* Capa de gradiente encima de la imagen */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5,21,52,0.6) 0%, rgba(5,21,52,0.82) 60%, rgba(5,21,52,0.95) 100%),
        linear-gradient(160deg, rgba(5,21,52,0.5) 0%, rgba(13,71,161,0.4) 55%, rgba(249,115,22,0.15) 100%);
    z-index: 1;
}

/* Patrón de puntos sutil */
header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
    pointer-events: none;
}

header .textos {
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
    padding: 92px 20px 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 0;
}
@media screen and (min-width: 768px) {
    header .textos { padding: 130px 6% 170px; }
}
@media screen and (min-width: 1100px) {
    header .textos { padding: 160px 6% 200px; }
}
.badge-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(249,115,22,0.22);
    border: 1px solid rgba(249,115,22,0.55);
    color: #fdba74;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 18px;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    line-height: 1.35;
    text-align: center;
}
@media screen and (min-width: 480px) { .badge-hero { font-size: 11.5px; padding: 7px 18px; } }
@media screen and (min-width: 768px) { .badge-hero { font-size: 12px; padding: 7px 22px; letter-spacing: 1.5px; } }

header .titulo {
    font-size: clamp(30px, 9vw, 76px);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 14px;
    text-shadow: 0 4px 32px rgba(0,0,0,0.45);
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
header .titulo span { color: var(--acento); }
@media screen and (min-width: 480px) { header .titulo { font-size: clamp(36px, 8vw, 76px); margin-bottom: 16px; } }
@media screen and (min-width: 768px) { header .titulo { font-size: clamp(48px, 6.5vw, 80px); margin-bottom: 18px; } }

header .subtitulo {
    font-size: clamp(14px, 3.6vw, 18px);
    font-weight: 300;
    opacity: 0.92;
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 560px;
    word-break: break-word;
}
@media screen and (min-width: 768px) {
    header .subtitulo { font-size: clamp(16px, 2vw, 20px); line-height: 1.65; margin-bottom: 36px; max-width: 720px; }
}
.hero-botones {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 36px;
}
@media screen and (min-width: 560px) {
    .hero-botones { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: none; margin-bottom: 48px; }
}
.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}
@media screen and (min-width: 560px) {
    .boton { padding: 14px 28px; font-size: 15px; }
}
.boton-primario {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 24px rgba(37,211,102,0.4);
}
.boton-primario:hover {
    background: #1ea554;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.boton-secundario {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.55);
    /* backdrop-filter removed for compatibility */
}
.boton-secundario:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    transform: translateY(-3px);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 4px;
    box-sizing: border-box;
}
@media screen and (min-width: 560px) {
    .hero-stats { column-gap: 28px; max-width: 700px; }
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 0;
}
.stat-number-row {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}
.stat-num {
    font-size: clamp(26px, 8vw, 44px);
    font-weight: 800;
    color: var(--acento);
    line-height: 1;
}
.stat-plus {
    font-size: clamp(16px, 5vw, 28px);
    font-weight: 800;
    color: var(--acento);
    line-height: 1;
    margin-left: 2px;
    margin-top: 2px;
}
.stat-label {
    font-size: clamp(9.5px, 2.6vw, 12px);
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    max-width: 100%;
}
.stat-divider {
    display: none;
}
@media screen and (min-width: 768px) {
    .hero-stats {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 36px;
        flex-wrap: wrap;
    }
    .stat { flex: 0 1 auto; }
    .stat-divider {
        display: block;
        width: 1px;
        height: 40px;
        background: rgba(255,255,255,0.22);
    }
}
.hero-scroll-hint {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@media screen and (min-width: 768px) {
    .hero-scroll-hint { display: flex; bottom: 28px; }
}
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   DIVISORES SKEW (efecto original preservado)
   ============================================================ */
.sesgoabajo {
    z-index: 5;
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    background: #fff;
}
.sesgoarriba {
    z-index: 5;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    background: #fff;
}
@media screen and (min-width: 768px) {
    .sesgoabajo { height: 130px; }
    .sesgoarriba { height: 130px; }
}
@media screen and (min-width: 1100px) {
    .sesgoabajo { height: 180px; }
    .sesgoarriba { height: 180px; }
}

/* ============================================================
   CONTENEDOR
   ============================================================ */
.contenedor {
    width: 90%;
    max-width: 1120px;
    margin: auto;
    overflow: visible;
    padding: 72px 0;
}
.section-header { text-align: center; margin-bottom: 8px; }

/* ============================================================
   BADGES
   ============================================================ */
.badge-section {
    display: inline-block;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.3);
    color: var(--acento);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.badge-white {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

/* ============================================================
   SECCIÓN: SOBRE NOSOTROS — layout en dos columnas
   ============================================================ */
.acerca-de { background: var(--blanco); }
.acerca-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 56px;
}
.sobre-nosotros {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primario);
    margin-bottom: 10px;
}
.slogan {
    font-size: 17px;
    font-weight: 300;
    color: var(--texto-suave);
    margin-bottom: 24px;
    line-height: 1.6;
}
.parrafo {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
    color: var(--texto);
    margin-bottom: 16px;
    text-align: justify;
}
.parrafo strong { color: var(--primario); font-weight: 600; }
.acerca-botones {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.boton-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primario);
    border: 2px solid var(--primario);
    padding: 11px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.boton-outline:hover { background: var(--primario); color: #fff; transform: translateY(-2px); }
.boton-facebook {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1877f2;
    color: #fff;
    border: 2px solid #1877f2;
    padding: 11px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.boton-facebook:hover { background: #0d63d0; border-color: #0d63d0; transform: translateY(-2px); }

/* Marco de imagen con badge flotante */
.img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(5,21,52,0.2);
}
.img-frame img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.img-frame:hover img { transform: scale(1.04); }
.img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    /* backdrop-filter removed for compatibility */
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.img-badge i { font-size: 24px; color: #22c55e; }
.img-badge strong { display: block; font-size: 14px; color: var(--primario); font-weight: 700; }
.img-badge span { font-size: 12px; color: var(--texto-suave); }

/* Trust bar */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--fondo-claro);
    border-radius: 16px;
    padding: 24px 32px;
    flex-wrap: wrap;
    border: 1px solid rgba(5,21,52,0.07);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primario);
}
.trust-item i { color: var(--acento); font-size: 18px; }
.trust-sep {
    width: 1px;
    height: 32px;
    background: rgba(5,21,52,0.12);
}

/* ============================================================
   GALERÍA CON IMÁGENES REALES
   ============================================================ */
.galeria {
    width: 100%;
    height: 480px;
    overflow: hidden;
    display: flex;
    position: relative;
}
.imagenes {
    width: 20%;
    height: 480px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    transition: width 0.5s ease, flex 0.5s ease;
}
.imagenes:hover { width: 28%; }
.imagenes img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.7) saturate(0.9);
}
.imagenes:hover img {
    transform: scale(1.06);
    filter: brightness(0.85) saturate(1.1);
}
/* Overlay etiqueta en cada panel */
.img-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(5,21,52,0.85));
    padding: 32px 16px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.imagenes:hover .img-overlay { opacity: 1; }
/* Overlay central del panel del medio */
.encima {
    position: absolute;
    inset: 0;
    background: rgba(5,21,52,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    /* backdrop-filter removed for compatibility */
}
.encima h2 {
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}
.encima div {
    width: 44px;
    height: 4px;
    background: var(--acento);
    margin-top: 14px;
    border-radius: 2px;
}

/* ============================================================
   SERVICIOS DETALLADOS — cards con imagen real
   ============================================================ */
.servicios-detalle {
    background: var(--fondo-claro);
    text-align: center;
}
.cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}
.card {
    width: calc(33.33% - 18px);
    background: #fff;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    overflow: hidden;
    transition: var(--transition);
    text-align: left;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-hover);
}
/* Imagen real en la tarjeta */
.card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--fondo-claro);
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.06); }
/* Ícono con fondo cuando no hay imagen */
.card-img-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-icon-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    transition: transform 0.4s ease;
}
.card-azul-bg  { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--primario-claro); }
.card-naranja-bg { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: var(--acento); }
.card:hover .card-icon-bg { transform: scale(1.1) rotate(-3deg); }
/* Etiqueta flotante sobre la imagen */
.card-img-tag {
    position: absolute;
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.card-azul   { background: rgba(21,101,192,0.12); color: var(--primario-claro); }
.card-naranja { background: rgba(249,115,22,0.12); color: var(--acento); }
/* Etiqueta con fondo sólido encima de imágenes reales */
.card-img-wrap:not(.card-img-icon) .card-img-tag {
    background: var(--blanco);
    color: var(--primario-claro);
}
.card-img-wrap:not(.card-img-icon) .card-naranja { color: var(--acento); }
/* Cuerpo de la tarjeta */
.card-body { padding: 22px 22px 20px; }
.card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primario);
    margin-bottom: 8px;
}
.card p {
    font-size: 13.5px;
    color: var(--texto-suave);
    line-height: 1.7;
    margin-bottom: 16px;
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--acento);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.25s ease;
}
.card-link:hover { gap: 12px; }

/* ============================================================
   BENEFICIOS
   ============================================================ */
.beneficios { background: var(--blanco); }
.card-beneficio {
    text-align: center !important;
    padding: 36px 28px 32px !important;
    width: calc(33.33% - 18px) !important;
    overflow: visible;
}
.beneficio-icono {
    width: 82px;
    height: 82px;
    background: linear-gradient(135deg, var(--primario), var(--primario-claro));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 8px 28px rgba(5,21,52,0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover .beneficio-icono {
    transform: scale(1.15) rotate(6deg);
    box-shadow: 0 14px 36px rgba(5,21,52,0.35);
}
.card-beneficio h4 {
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: var(--primario);
    margin-bottom: 10px;
}
.card-beneficio p { text-align: center; font-size: 14px; }

/* ============================================================
   TESTIMONIOS (fondo parallax + skew)
   ============================================================ */
.fondo {
    position: relative;
    background: linear-gradient(140deg, #051534 0%, #0d47a1 55%, #1565c0 100%);
    overflow: hidden;
    padding: 80px 0;
}
.fondo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
}
.sesgoabajo-unico {
    z-index: 5;
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 80px;
    pointer-events: none;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    background: #051534;
}
@media screen and (min-width: 768px) {
    .sesgoabajo-unico { height: 150px; }
}
@media screen and (min-width: 1100px) {
    .sesgoabajo-unico { height: 200px; }
}
.titulo-patrocinadores {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 10px;
}
.subtitulo-patrocinadores {
    color: rgba(255,255,255,0.65);
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 48px;
    text-align: center;
}
.especial { margin-top: 24px; margin-bottom: 0; }
.clientes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
.testimonio-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    /* backdrop-filter removed for compatibility */
    border-radius: var(--radio);
    padding: 28px 24px;
    width: calc(33.33% - 12px);
    transition: var(--transition);
}
.testimonio-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}
.stars { font-size: 16px; margin-bottom: 14px; }
.testimonio-texto {
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 22px;
    text-align: left;
}
.testimonio-autor { display: flex; align-items: center; gap: 12px; }
.autor-avatar {
    width: 42px; height: 42px;
    background: rgba(249,115,22,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acento);
    font-size: 18px;
    flex-shrink: 0;
}
.testimonio-autor strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.testimonio-autor span  { display: block; color: rgba(255,255,255,0.5); font-size: 12px; }

/* ============================================================
   SECCIÓN UBICACIÓN
   ============================================================ */
.ubicacion {
    background: var(--blanco);
    text-align: center;
}
.ubicacion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
    align-items: stretch;
}
@media screen and (min-width: 900px) {
    .ubicacion-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 36px;
    }
}
.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}
.ubicacion-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--fondo-claro);
    border: 1px solid rgba(12, 20, 69, 0.06);
    border-radius: var(--radio);
    padding: 18px 20px;
    transition: var(--transition);
}
.ubicacion-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sombra);
    background: #fff;
    border-color: rgba(249, 115, 22, 0.25);
}
.ubicacion-icono {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primario), var(--primario-claro));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(12, 20, 69, 0.18);
}
.ubicacion-icono-verde { background: linear-gradient(135deg, #16a34a, #22c55e); box-shadow: 0 6px 18px rgba(34, 197, 94, 0.25); }
.ubicacion-icono-naranja { background: linear-gradient(135deg, #ea580c, var(--acento)); box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28); }

.ubicacion-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primario);
    margin: 2px 0 6px;
    line-height: 1.2;
}
.ubicacion-card p {
    font-size: 13.5px;
    color: var(--texto-suave);
    line-height: 1.55;
    margin: 0;
}

.ubicacion-acciones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.boton-mapa {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primario);
    color: #fff;
    padding: 13px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(12, 20, 69, 0.18);
}
.boton-mapa:hover {
    background: var(--primario-claro);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(21, 101, 192, 0.32);
}
.boton-mapa-wa {
    background: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}
.boton-mapa-wa:hover {
    background: #1ea554;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.ubicacion-mapa {
    position: relative;
    border-radius: var(--radio);
    overflow: hidden;
    min-height: 320px;
    height: 100%;
    box-shadow: 0 18px 50px rgba(12, 20, 69, 0.18);
    border: 1px solid rgba(12, 20, 69, 0.08);
}
.ubicacion-mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}
@media screen and (min-width: 900px) {
    .ubicacion-mapa { min-height: 460px; }
    .ubicacion-mapa iframe { min-height: 460px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #051534; color: #fff; overflow: visible; }
.footer-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.footer-info  { flex: 1; min-width: 240px; overflow-wrap: break-word; word-break: break-word; }
.footer-form  { flex: 1.4; min-width: 240px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    transition: transform 0.6s ease;
}
.footer-logo:hover { transform: scale(1.05); }
.footer-logo i { color: var(--acento); font-size: 26px; }
.footer-logo .footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}
.footer-logo:hover .footer-logo-img { filter: brightness(1.15); }
.footer-desc {
    color: rgba(255,255,255,0.58);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 26px;
}
.footer-contacto-datos { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.dato {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.5;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.dato i { color: var(--acento); margin-top: 3px; width: 16px; flex-shrink: 0; }
.dato a, .dato span {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
    flex: 1;
}
.dato a:hover { color: #fff; }
.footer-redes { display: flex; gap: 12px; }
.red-social {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}
.red-social:hover { transform: scale(1.15); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.red-whatsapp { background: #25d366; }
.red-facebook { background: #1877f2; }
.red-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.red-x { background: #000000; }
.red-phone    { background: var(--acento); }

.titulo-footer {
    color: #fff;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    margin-bottom: 6px;
    word-break: break-word;
}
.subtitulo-footer {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 24px;
    word-break: break-word;
}
form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus { border-color: rgba(249,115,22,0.6); background: rgba(255,255,255,0.09); }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.35); }
textarea {
    width: 100%; min-width: 100%; max-width: 100%;
    min-height: 120px; max-height: 180px;
    background: rgba(255,255,255,0.06);
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.boton-enviar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 26px;
    background: #25d366;
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.boton-enviar:hover {
    background: #1ea554;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-bottom-contacto {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 12px;
}
.footer-bottom-contacto .sep { opacity: 0.5; }
.footer-bottom strong { color: rgba(255,255,255,0.7); }
.footer-bottom a { color: var(--acento); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

.footer-credits {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.3px;
}
.footer-credits a {
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
}
.footer-credits a:hover { color: var(--acento); }
.footer-credits strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* ============================================================
   MARCAS CARRUSEL
   ============================================================ */
.marcas-carrusel {
    background: linear-gradient(135deg, #0a0e27 0%, #151f3f 50%, #1a2847 100%);
    padding: 64px 0;
    border-top: 1px solid rgba(249, 115, 22, 0.2);
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    overflow: hidden;
    position: relative;
}

.marcas-carrusel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 30%, rgba(249, 115, 22, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(249, 115, 22, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.marcas-titulo {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.marcas-titulo .badge-section {
    display: inline-block;
    margin-bottom: 12px;
}

.marcas-titulo h3 {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.marcas-titulo p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.marcas-contenedor {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.marcas-track {
    display: flex;
    gap: 48px;
    animation: scroll-marcas 28s linear infinite;
    width: fit-content;
    padding: 24px 0;
}

.marca-item {
    flex: 0 0 auto;
    min-width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 16px;
    backdrop-filter: blur(12px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.marca-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.marca-item:hover::before {
    opacity: 1;
}

.marca-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(249, 115, 22, 0.8);
    transform: translateY(-8px) scale(1.08);
    box-shadow:
        0 24px 56px rgba(249, 115, 22, 0.35),
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.marca-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.marca-logo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter:
        brightness(1.1)
        contrast(1.15)
        saturate(1.1)
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.35s ease;
}

.marca-item:hover .marca-logo img {
    filter:
        brightness(1.3)
        contrast(1.3)
        saturate(1.25)
        drop-shadow(0 10px 24px rgba(249, 115, 22, 0.4));
}

@keyframes scroll-marcas {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 7 - 48px * 7));
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 960px) {
    .acerca-grid           { grid-template-columns: 1fr; gap: 36px; }
    .acerca-imagen         { order: -1; }
    .img-frame img         { height: 300px; }
    .sobre-nosotros        { font-size: clamp(24px, 4vw, 34px); }
    .titulo-patrocinadores { font-size: clamp(24px, 4vw, 32px); }
    .card                  { width: calc(50% - 12px); }
    .card-beneficio        { width: calc(50% - 12px) !important; }
    .testimonio-card       { width: calc(50% - 8px); margin-bottom: 16px; }
    .footer-grid           { gap: 32px; }
    .nav-links             { display: none; }
    .nav-toggle            { display: flex; }
    .nav-mobile            { display: flex; }
    .trust-sep             { display: none; }
    .trust-item            { width: 45%; justify-content: center; }
    .marca-item            { min-width: 160px; height: 100px; }
    .marcas-carrusel       { padding: 48px 0; }
    @keyframes scroll-marcas {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-160px * 7 - 48px * 7)); }
    }
}

@media screen and (max-width: 640px) {
    .none                { display: none; }
    .imagenes            { flex-grow: 1; width: auto; height: 300px; }
    .galeria             { height: 300px; }
    .card                { width: 100%; }
    .card-beneficio      { width: 100% !important; }
    .testimonio-card     { width: 100%; }
    .fondo               { padding: 60px 0; }
    .sobre-nosotros      { font-size: clamp(22px, 5vw, 28px); }
    .titulo-patrocinadores { font-size: clamp(20px, 5vw, 26px); }
    .footer-grid         { flex-direction: column; gap: 18px; }
    .whatsapp-flotante   { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 24px; }
    .especial            { display: none; }
    .trust-item          { width: 100%; }
    .acerca-grid         { margin-bottom: 32px; }
    .marcas-carrusel      { padding: 40px 0; }
    .marcas-titulo h3    { font-size: 22px; }
    .marcas-titulo p     { font-size: 13px; }
    .marca-item          { min-width: 140px; height: 90px; gap: 24px; border-radius: 12px; }
    .marca-logo img      { max-height: 80%; }
    @keyframes scroll-marcas {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-140px * 7 - 24px * 7)); }
    }
}

@media screen and (max-width: 380px) {
    .slogan              { font-size: 14px; }
    .subtitulo-patrocinadores { font-size: 14px; }
    .footer-grid         { gap: 14px; }
}
