/* ==========================================================================
   HOJA DE ESTILOS: style.css
   Estilo: Minimalista, Sofisticado, Moderno, Corporativo.
   Paleta: Blanco, Beige Orgánico, Gris Suave, Azul Eléctrico Moderno, Azul Fino
   ========================================================================== */

/* IMPORTACIÓN DE FUENTE SANS-SERIF DE ALTA GAMA */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --blanco: #d9e1ff;
    --beige: #F9F6F0;           /* Tono crema suave y sofisticado */
    --gris-fondo: #b1c5ed;      /* Gris claro limpio */
    --gris-texto: #c3c3c3;      /* Gris para descripciones legibles */
    --azul-moderno: #1E40AF;    /* Azul cobalto profundo, actual y seguro */
    --azul-fino: #132652;       /* Azul marino casi negro para textos principales y lujo */
    --borde: #E5E7EB;
    
    --fuente: 'Plus Jakarta Sans', sans-serif;
    --transicion: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fuente);
    scroll-behavior: smooth;
}

body {
    background-color: var(--blanco);
    color: var(--azul-fino);
    overflow-x: hidden;
}

/* ==========================================================================
   TOP BAR (BARRA SUPERIOR DE CONTACTO)
   ========================================================================== */
.top-header-bar {
    width: 100%;
    background-color: #051360; /* Tu azul intenso corporativo */
    padding: 5px 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end; /* Alinea todo el bloque a la derecha */
    border-bottom-left-radius: 12px;   /* Redondea la esquina inferior izquierda */
    border-bottom-right-radius: 12px;  /* Redondea la esquina inferior derecha */
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15); 
}

.top-bar-container {
    display: flex;
    align-items: center;
    gap: 5px; /* Espaciado idéntico y limpio entre elementos */
}

.top-bar-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px; 
    transition: all 0.2s ease-in-out;
}

.top-bar-link .icon {
    margin-right: 5px;
    font-size: 10px;
    opacity: 0.9;
}

.top-bar-container .divider {
    color: rgba(255, 255, 255, 0.3); /* Blanco semi-transparente muy sutil */
    font-size: 12px;
}

.top-bar-link:hover {
    color: #e0f2fe; /* Azul cielo suave */
    transform: translateY(-0.5px); /* Micro-movimiento moderno */
}

.top-bar-link.whatsapp-link:hover {
    color: #4ade80; /* Verde pastel tecnológico */
}

/* ==========================================================================
   HEADER ANTIGUO (Mantenido por compatibilidad de clases heredadas)
   ========================================================================== */
.header-aereo {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 15px 15px;
    box-shadow: 0 10px 30px rgba(42, 15, 192, 0.04);
    transition: all 0.4s var(--transicion);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 120px; 
    width: auto;
    margin-bottom: 1px; 
}

.brand-main {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--azul-fino);
}

.brand-sub {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--azul-moderno);
    margin-top: 2px;
}

.nav-principal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-principal a {
    text-decoration: none;
    color: var(--azul-fino);
    font-size: 14px;
    font-weight: 500;
    margin: 0 15px;
    display: inline-block;
    position: relative; 
    padding-bottom: 6px; 
    transition: color 0.3s ease;
}

.nav-principal a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px; 
    bottom: 0;
    left: 0;
    background-color: var(--azul-moderno);
    transition: width 0.3s ease; 
}

.nav-principal a:hover::after {
    width: 100%;
}

.btn-contacto {
    background-color: var(--azul-fino);
    color: var(--blanco) !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px !important;
    margin-left: 10px;
}

/* ==========================================================================
   SECCIÓN HERO BASE
   ========================================================================== */
.hero {
    position: relative;
    min-height: 50vh;
    background-color: var(--azul-fino);
    display: flex;
    align-items: center;
    padding: 0 5%;
    padding-top: 10px;
}

.hero-content {
    max-width: 150px;
}

.hero-tag {
    font-size: 12px;
    font-weight: 50;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--azul-moderno);
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 46px;
    font-weight: 100;
    line-height: 1.2;
    color: var(--azul-fino);
    margin-bottom: 25px;
}

/* ==========================================================================
   CINTA DE TEXTO DINÁMICO INFINITO
   ========================================================================== */
.cinta-container {
    width: 100%;
    max-width: 1000px; 
    margin: 90px auto 0 auto ;
    overflow: hidden; 
    background-color: var(--beige); 
    padding: 16px 0;
    border-radius: 30px; 
    border: 5px solid rgba(15, 23, 42, 0.05);
    white-space: nowrap; 
    position: relative; 
}

.cinta-container::before,
.cinta-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
./* ==========================================================================
   CINTA DINÁMICA: EFECTO MARQUEE INFINITO SIN CORTES
   ========================================================================== */
.cinta-container {
    width: 100%;
    overflow: hidden; /* Oculta de forma estricta lo que sale de los bordes */
    white-space: nowrap; 
    position: relative; 
    display: flex;
    align-items: center;
}

/* Capas de desvanecimiento elegante a los lados */
.cinta-container::before,
.cinta-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px; /* Un poco más ancho para mejorar el efecto difuminado */
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.cinta-container::before { 
    left: 0; 
    background: linear-gradient(to right, var(--azul-fino), transparent); 
}
.cinta-container::after { 
    right: 0; 
    background: linear-gradient(to left, var(--azul-fino), transparent); 
}

/* El riel que sostiene los textos */
.cinta-track {
    display: flex; /* Cambiado a flex para mantener los textos perfectamente alineados en línea */
    align-items: center;
    gap: 0; 
    padding-left: 0; /* ELIMINADO EL 100%: Evita el vacío inicial que rompía el loop */
    width: max-content; /* Fuerza al contenedor a estirarse todo lo necesario sin romper filas */
    
    /* Animación fluida: ajusta los segundos para controlar la velocidad general */
    animation: moverCinta 14s linear infinite !important; 
}

.cinta-frase {
    font-size: 14px;
    font-weight: 500;
    color: var(--azul-moderno); 
    letter-spacing: 0.5px;
    display: inline-block;
    flex-shrink: 0; /* Evita que el navegador encoja el texto en pantallas pequeñas */
}

.cinta-divider {
    color: var(--gris-texto);
    margin: 0 30px; /* Espaciado simétrico y elegante */
    font-size: 14px;
    display: inline-block;
    flex-shrink: 0;
}

/* Pausa elegante al pasar el mouse por encima */
.cinta-container:hover .cinta-track {
    animation-play-state: paused;
}

/* ==========================================================================
   KEYFRAMES MATEMÁTICAMENTE CORREGIDOS
   ========================================================================== */
@keyframes moverCinta {
    0% { 
        transform: translate3d(0, 0, 0); 
    }
    100% { 
        /* Se traslada exactamente hacia la izquierda el 50% de la tira (la copia idéntica del HTML).
           En ese microsegundo se reinicia a 0% de forma invisible creando la ilusión óptica infinita */
        transform: translate3d(-50%, 0, 0); 
    }
}

/* ==========================================================================
   SECCIÓN SELECCIÓN DE PRODUCTOS / SERVICIOS Y TARJETAS
   ========================================================================== */
.servicios {
    padding: 100px 5%;
    background-color: var(--azul-fino);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--azul-fino);  
    margin-bottom: 15px;
}

.section-title p {
    color: var(--azul-fino);  
    font-size: 15px;           
    margin-bottom: 20px;       
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #e6ecfc; 
    border-radius: 24px;
    padding: 30px;
    border: 2px solid #b89742; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: justify;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(184, 151, 66, 0.2); 
    border-color: #d1b358; 
}

.card.destacado {
    background-color: var(--azul-fino);
    color: var(--blanco);
    border: 2px solid #b89742; 
}

.card-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--azul-moderno);
    margin-bottom: 15px;
    display: block;
}

.card-tag.premium { color: #60a5fa; }
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 15px; }

.card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--azul-fino);
    margin-bottom: 30px;
    text-align: justify;
}
.card.destacado .card-desc { color: #94a3b8; }

.card-price { font-size: 36px; font-weight: 700; color: var(--azul-fino); margin-bottom: 30px; }
.card.destacado .card-price { color: var(--blanco); }
.card-price span { font-size: 13px; font-weight: 400; color: var(--azul-fino); }

/* Listas con Checkmark Unificado */
.card ul, .card-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0; 
}

.card ul li, .card-features li {
    font-size: 13px; 
    line-height: 1.5;
    color: var(--azul-fino);
    margin-bottom: 12px;
    position: relative;
    padding-left: 26px; 
    text-align: left;
    display: block; 
}
.card.destacado ul li, .card.destacado .card-features li { color: var(--blanco); }

.card ul li::before, .card-features li::before {
    content: "✓"; 
    position: absolute;
    left: 0;
    top: -2px; 
    color: var(--azul-moderno); 
    font-weight: 800; 
    font-size: 16px; 
}
.card.destacado ul li::before, .card.destacado .card-features li::before {
    content: "✓" !important;
    color: #ffffff !important; 
}
.card-features li span, .card ul li span { display: none !important; }

/* Botones y Acciones dentro de Tarjetas */
.acciones-cliente {
    display: flex;
    flex-direction: column;
    gap: 12px; 
    margin-top: auto; 
}

.btn-agenda {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: var(--gris-fondo);
    color: var(--azul-fino);
    padding: 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-agenda:hover { background-color: var(--azul-moderno); color: var(--blanco); transform: translateY(-2px); }
.btn-agenda.btn-destacado { background-color: var(--azul-moderno); color: var(--blanco); }
.btn-agenda.btn-destacado:hover { background-color: #2563eb; }

.btn-whatsapp-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    background-color: transparent;
    color: var(--azul-moderno);
    border: 1px solid rgba(30, 64, 175, 0.2);
    padding: 13px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-whatsapp-card:hover { background-color: rgba(30, 64, 175, 0.04); border-color: var(--azul-moderno); }
.btn-whatsapp-card.ws-destacado { color: #60a5fa; border-color: rgba(96, 165, 250, 0.3); }
.btn-whatsapp-card.ws-destacado:hover { background-color: rgba(255, 255, 255, 0.05); border-color: #60a5fa; }

/* ==========================================================================
   ESTRUCTURA DE PRECIOS ADICIONALES Y ANUNCIOS E-COMMERCE
   ========================================================================== */
.card-price-container { margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.price-main { font-size: 38px; font-weight: 700; color: var(--azul-fino); display: flex; align-items: baseline; gap: 4px; }
.card.destacado .price-main { color: var(--blanco); }
.price-main .currency { font-size: 14px; font-weight: 500; color: var(--azul-moderno); }
.price-main .period { font-size: 12px; font-weight: 500; color: var(--azul-fino); margin-left: 6px; text-transform: uppercase; letter-spacing: 0.5px; }

.addon-notice-container { width: 100%; max-width: 100%; margin-top: 20px; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; }
.price-maintenance-box { display: flex; align-items: center; gap: 12px; background-color: rgba(255, 255, 255, 0.05); border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 14px 16px; box-sizing: border-box; }
.badge-sugerido { background-color: #2563eb; color: #ffffff; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }
.maintenance-text { color: #ffffff; font-size: 14px; margin: 0; }

.nota-restricciones-box { background-color: rgba(255, 255, 255, 0.04); border-radius: 4px 12px 12px 4px; border-left: 4px solid #3b82f6; padding: 18px 20px; box-sizing: border-box; }
.nota-restricciones-box p { color: rgba(255, 255, 255, 0.7); font-size: 13.5px; line-height: 1.6; margin: 0; font-style: italic; }

.pricing-addon-notice {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-column: 1 / -1; 
    width: 100% !important; 
    max-width: 100% !important;
    clear: both; 
    margin: 50px 0 20px 0; 
    padding: 24px 30px;
    background-color: #cedef5; 
    border-left: 5px solid #0284c7; 
    border-top: 1px solid #e2e8f0;   
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); 
    gap: 20px;
    box-sizing: border-box; 
}
.addon-notice-icon { display: flex; align-items: center; justify-content: center; color: #0284c7; background-color: #f0f7ff; padding: 12px; border-radius: 50%; flex-shrink: 0; }
.addon-notice-text { flex: 1; text-align: left; }
.addon-notice-tag { display: inline-block; color: #0369a1; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.pricing-addon-notice p { font-size: 14.5px; color: #1e293b; line-height: 1.6; margin: 0; font-style: italic; }
.pricing-addon-notice p strong { color: #0284c7; font-style: normal; font-weight: 700; margin-right: 4px; }

/* ==========================================================================
   SECCIÓN SECCIÓN PORTAFOLIO Y CASOS
   ========================================================================== */
.portafolio { padding: 100px 5%; background-color: var(--beige); max-width: 1200px; margin: 0 auto; }
.portafolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.portfolio-item { background-color: var(--blanco); border-radius: 20px; overflow: hidden; border: 1px solid var(--borde); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); transition: transform 0.4s var(--transicion); }
.portfolio-item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06); }
.portfolio-info { padding: 30px; }
.portafolio-section-title h2 { text-align: center; color: var(--beige); margin-bottom: 60px; }
.portafolio-section-title p { text-align: center; color: var(--beige); font-size: 15px; margin-bottom: 20px; }
.portfolio-info h4 { font-size: 18px; font-weight: 600; color: var(--azul-fino); margin-bottom: 8px; }
.portfolio-info p { font-size: 14px; color: var(--azul-fino); margin-bottom: 20px; }
.referencia-caso { margin: 15px 0 20px 0; font-size: 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ref-label { color: var(--gris-texto); font-weight: 500; }
.ref-link { color: var(--azul-moderno); text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.ref-link:hover { color: #2563eb; text-decoration: underline; }

/* ==========================================================================
   SECCIÓN NUESTRO PROCESO
   ========================================================================== */
.proceso { padding: 100px 5%; background-color: var(--blanco); max-width: 1200px; margin: 0 auto; }
.proceso-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 40px; }
.step { position: relative; padding: 20px; }
.step-number { font-size: 54px; font-weight: 700; color: rgba(30, 64, 175, 0.08); line-height: 1; margin-bottom: 10px; }
.step h4 { font-size: 18px; font-weight: 600; color: var(--azul-fino); margin-bottom: 12px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--azul-fino); }

/* ==========================================================================
   SECCIÓN RESEÑAS DE GOOGLE (ESCRITORIO BASE)
   ========================================================================== */
.comentarios-google-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}
.reseñas-header { margin-bottom: 40px; max-width: 700px; }
.reseñas-header h2 { margin-bottom: 12px; }
.widget-wrapper { width: 100%; min-height: 250px; display: flex; justify-content: center; }

/* ==========================================================================
   SECCIÓN FOOTER (MAPA Y CAPA SUPERIOR PC)
   ========================================================================== */
.footer-full { position: relative; width: 100%; min-height: 500px; margin-top: 80px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mapa-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.mapa-background iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.1); }
.footer-overlay { position: relative; z-index: 2; width: 90%; max-width: 500px; text-align: center; }
.overlay-card { background: rgba(13, 28, 58, 0.95); backdrop-filter: blur(10px); padding: 40px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.logo-footer-centrado { margin-bottom: 25px; }
.logo-footer-centrado .brand-main { display: block; color: #ffffff; font-size: 20px; font-weight: 700; letter-spacing: 4px; }
.logo-footer-centrado .brand-sub { display: block; color: var(--blanco); font-size: 10px; letter-spacing: 3px; margin-top: 5px; }
.info-ubicacion .tag-ubicacion { font-size: 10px; color: var(--azul-moderno); font-weight: 700; letter-spacing: 2px; margin-bottom: 5px; }
.info-ubicacion .direccion-texto { color: #ffffff; font-size: 15px; margin-bottom: 25px; }
.footer-copyright-centrado p { font-size: 11px; color: rgba(255, 255, 255, 0.5); border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; }

/* ==========================================================================
   ESTILOS PREMIUM INTEGRADOS (NUEVO HEADER PREMIUM)
   ========================================================================== */
.header-premium-flotante {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1240px;
    box-sizing: border-box;
    background-color: rgba(11, 28, 58, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid #b89742;
    border-radius: 24px;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 999999;
}
.header-top-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 30px 10px 30px; box-sizing: border-box; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.header-bottom-row { padding: 10px 30px 18px 30px; box-sizing: border-box; display: flex; justify-content: flex-end; align-items: center; position: relative; }
.logo-img-premium { display: block; height: auto; max-height: 72px; }
.contact-and-lang-wrapper { display: flex; align-items: center; gap: 12px; }
.header-contact-link { color: rgba(255, 255, 255, 0.85) !important; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; transition: color 0.3s ease; }
.header-contact-link:hover { color: #b89742 !important; }
.header-divider-pipe { color: rgba(255, 255, 255, 0.2); font-size: 12px; margin: 0 4px; }
.icon-insta { font-size: 16px; margin-right: 4px; vertical-align: middle; }
.nav-lista-links { display: flex; align-items: center; gap: 32px; }
.nav-lista-links a { text-decoration: none; color: #ffffff !important; font-size: 14px; font-weight: 500; letter-spacing: 0.4px; transition: color 0.3s ease, border-color 0.3s ease; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav-lista-links a:hover { color: #b89742 !important; border-bottom: 2px solid #b89742; }
.btn-premium-packages { display: inline-flex; align-items: center; cursor: pointer; border: none; background-color: #b89742; color: #0b1c3a; padding: 8px 20px; font-size: 14px; font-weight: bold; border-radius: 30px; box-shadow: 0px 4px 15px rgba(184, 151, 66, 0.3); transition: all 0.3s ease; }
.btn-premium-packages:hover { transform: scale(1.05); box-shadow: 0px 6px 20px rgba(184, 151, 66, 0.5); }
.flecha-icon { display: inline-block; margin-left: 6px; transition: transform 0.3s; font-size: 10px; }

.dropdown-menu-planes {
    display: none;
    position: absolute;
    top: 100%;
    right: 30px;
    width: 250px;
    background-color: rgba(11, 28, 58, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid #b89742;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.7);
    z-index: 9999999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    box-sizing: border-box;
}
.dropdown-item { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: #ffffff; font-size: 14px; font-weight: 600; padding: 12px 16px; margin-bottom: 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.3s ease; }
.dropdown-item:hover { background-color: rgba(184, 151, 66, 0.15); border-color: #b89742; color: #b89742; }

/* ==========================================================================
   BLOQUE DEFINITIVO MEDIA QUERY: RESPONSIVO UNIFICADO Y CORREGIDO (MÓVILES)
   ========================================================================== */
@media (max-width: 768px) {
    /* --- SOLUCIÓN MUESTRA_2.JPEG: EVITAR ENCONTRONAZO Y PERMITIR EMPUJE NATURAL --- */
    .header-premium-flotante {
        position: absolute !important; /* Cambiado de fixed a absolute para que el flujo sea natural si se expande */
        width: 92% !important;
        top: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 16px !important;
        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4) !important;
    }

    /* Reducción drástica del espaciado interno del Nav en móviles */
    .header-top-row {
        flex-direction: column !important;
        gap: 6px !important;
        padding: 10px 15px 6px 15px !important;
        text-align: center;
    }

    .header-bottom-row {
        padding: 6px 15px 10px 15px !important;
        flex-direction: column !important;
        gap: 8px !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Ajuste minificado de elementos internos */
    .logo-img-premium {
        max-height: 45px !important; /* Más pequeño y sutil en móvil */
    }

    .contact-and-lang-wrapper {
        gap: 8px !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-contact-link {
        font-size: 11px !important;
    }

    .nav-lista-links {
        gap: 12px !important;
        justify-content: center;
        width: 100%;
    }

    .nav-lista-links a {
        font-size: 12px !important;
        padding-bottom: 2px !important;
    }

    .btn-premium-packages {
        padding: 6px 14px !important;
        font-size: 12px !important;
        width: auto !important; /* Evita que se vuelva un bloque gigante */
    }

    .dropdown-menu-planes {
        position: absolute !important;
        top: 100% !important;
        right: 50% !important;
        transform: translateX(50%) translateY(5px) !important;
        width: 220px !important;
    }

    /* --- AJUSTE DEL HERO: DA ESPACIO AL NAV Y EVITA EL MONTAJE DE TEXTO --- */
    .hero, #inicio, .seccion-hero {
        padding-top: 220px !important; /* Espacio prudente y elegante para que el texto baje */
        width: 90% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        border-radius: 20px !important;
    }

    /* Redimensionado tipográfico elegante */
    .hero h1, .seccion-hero h1, .titulo-principal {
        font-size: 26px !important; 
        line-height: 1.3 !important;
    }

    .hero p {
        font-size: 14px !important;
    }

    /* --- LOGO DE FONDO AJUSTADO DETRÁS DEL TEXTO CORRECTAMENTE --- */
    .logo-fondo, .isotipo-background, .bg-logo-fmdg { 
        display: block !important;
        position: absolute !important;
        top: 60% !important; 
        left: 50% !important;
        transform: translate(-50%, -50%) !important; 
        width: 70% !important; 
        max-width: 240px !important;
        opacity: 0.10 !important; 
        z-index: 1 !important; 
    }

    .hero h1, .hero p, .hero-content {
        position: relative !important;
        z-index: 2 !important;
    }

    /* --- CINTA DINÁMICA --- */
    .cinta-container {
        width: 100%;        
        margin: 40px auto 0 auto !important; /* Espacio controlado con lo de arriba */
        border: 3px solid rgba(15, 23, 42, 0.05); 
        padding: 10px 0;   
    }

    /* --- COMPORTAMIENTO DE LA BARRA SUPERIOR ANTIGUA (SI EXISTE) --- */
    .top-header-bar {
        justify-content: center; 
        padding: 6px 12px;       
    }

    .top-bar-container {
        gap: 8px;               
        flex-wrap: wrap;         
        justify-content: center;
    }

    .top-bar-link {
        font-size: 10px !important;  
    }
    
    .top-bar-container .divider {
        display: none; 
    }

    /* --- ADAPTACIÓN DE PRECIOS Y ADICIONALES --- */
    .price-maintenance-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important; 
        padding: 14px !important;           
        gap: 10px !important;               
    }

    .pricing-addon-notice { 
        flex-direction: column; 
        text-align: center; 
        padding: 20px; 
    }
    
    .addon-notice-text { 
        text-align: center; 
    }

    .portafolio-grid { 
        grid-template-columns: 1fr; 
    }

    .seccion-planes, .tarjeta-plan {
        background-color: rgba(255, 255, 255, 0.05) !important; 
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
    }
}