/* CONFIGURACIÓN GENERAL PROFESIONAL */
:root {
    --primary-blue: #0A58CA;
    --primary-blue-hover: #084298;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --green-accent: #10B981;
    --red-accent: #EF4444;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* LAYOUT GRIDS (RESPONSIVE ADAPTATIVO PC/MÓVIL) */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.text-center {
    text-align: center;
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-light {
    background-color: var(--bg-light);
}

.w-100 {
    width: 100%;
}

/* LÍNEAS DE DISEÑO */
.line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    margin: 15px 0;
    border-radius: 2px;
}

.line.center {
    margin: 15px auto;
}

/* NAVBAR PROFESIONAL */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 20px;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-phone a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* HERO SECTION PRESTIGIO */
.hero {
    min-height: 85vh;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.75)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    padding: 120px 20px 60px 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.badge {
    background-color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 40px;
}

/* BOTONES */
.btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-blue);
}

.btn-white:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
}

/* EFECTOS GLASSMORPHISM */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.glass-premium {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-lg);
}

/* CONTADORES (STATS) */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.stats-grid {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.icon-blue {
    color: var(--primary-blue);
}

.icon-green {
    color: var(--green-accent);
}

.icon-gold {
    color: #D97706;
}

/* SECCIONES INFORMATIVAS LARGAS */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* TARJETAS DE VENTAJAS / MATERIALES */
.card {
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.card-white {
    background: var(--bg-white);
}

.border-left-green {
    border-left: 5px solid var(--green-accent);
}

.border-left-red {
    border-left: 5px solid var(--red-accent);
}

.card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.card ul {
    list-style: none;
}

.card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 5px;
}

.text-green {
    color: var(--green-accent);
}

.text-red {
    color: var(--red-accent);
}

.mechanic-card {
    padding: 30px;
    background: var(--bg-white);
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.mechanic-card:hover {
    box-shadow: var(--shadow-lg);
}

.mechanic-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.mechanic-card h3 {
    margin-bottom: 10px;
}

/* TARJETAS DE SERVICIOS */
.service-card {
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* SECCIÓN PRECIOS */
.price-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: scale(1.02);
}

.price-card.featured {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(145deg, #0A58CA, #043987);
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-accent);
    color: var(--bg-white);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 10px;
    text-transform: uppercase;
}

.price-card h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.price-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-card.featured .price-desc {
    color: #93C5FD;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.price-card.featured .price-value {
    color: var(--bg-white);
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.price-card ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.price-card ul li::before {
    content: "✓ ";
    color: var(--green-accent);
    font-weight: bold;
    margin-right: 5px;
}

.price-card.featured ul li::before {
    color: var(--bg-white);
}

/* GALERÍA EFECTO GRID 20 TRABAJOS */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 180px;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* TESTIMONIOS */
.testimonial-card {
    padding: 30px;
    border-radius: 12px;
}

.stars {
    color: #F59E0B;
    margin-bottom: 10px;
}

.testimonial-card h5 {
    margin-top: 15px;
    color: var(--text-light);
}

/* FORMULARIOS Y MAPA */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 1rem;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.15);
}

.contact-info-panel h3,
.contact-form-panel h3 {
    margin-bottom: 20px;
}

.contact-info-panel p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.map-container {
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* PIE DE PÁGINA Y CRÉDITOS EXCLUSIVOS */
.footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 40px 20px;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: #334155;
    margin: 25px 0;
}

.developer-credits {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-block;
    max-width: 600px;
    width: 100%;
}

.dev-name {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.dev-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

/* BACKDROP Y VENTANA MODAL (SISTEMA DE CAPAS INTERACTIVO) */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-box {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

/* RESPONSIVE MEDIA QUERIES (MÓVIL ADAPTATIVO ADELANTADO) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid #E2E8F0;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-phone {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .container {
        padding: 50px 20px;
    }
}

/* ANIMACIONES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* VARIABLES PARA MODO OSCURO */
body.dark-theme {
    --bg-white: #0F172A;
    --bg-light: #1E293B;
    --text-dark: #F1F5F9;
    --text-light: #94A3B8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* BOTÓN SELECTOR DE MODO */
.theme-switch-container {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.theme-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary-blue);
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
}

body.dark-theme .theme-btn {
    color: #F59E0B;
}

/* 4. EFECTO PARALLAX AVANZADO */
.calculator-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-attachment: fixed;
    /* Parallax Nativo */
    background-size: cover;
    padding: 20px 0;
}

.relative-z {
    position: relative;
    z-index: 5;
}

/* 2. CALCULADORA INTERACTIVA */
.calc-box {
    max-width: 550px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    color: var(--text-dark);
}

.calc-group {
    margin-bottom: 20px;
    text-align: left;
}

.calc-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.calc-group select,
.calc-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
}

.calc-result {
    background: rgba(10, 88, 202, 0.08);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px dashed var(--primary-blue);
}

.calc-total {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 10px 0;
}

.calc-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 3. MÓDULO ANTES Y DESPUÉS (SLIDER) */
.slider-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before-img {
    width: 50%;
    /* Se controla dinámicamente con JS */
    overflow: hidden;
    border-right: 2px solid #fff;
}

.slider-bar {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border: 3px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-button::before,
.slider-button::after {
    content: '';
    position: absolute;
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    top: 40%;
}

.slider-button::before {
    transform: rotate(135deg);
    left: 10px;
}

.slider-button::after {
    transform: rotate(-45deg);
    right: 10px;
}

/* 1. BOTÓN FLOTANTE WHATSAPP CON PULSO */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
}

.whatsapp-floating::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.7;
    z-index: -1;
    animation: pulseWhatsApp 2s infinite;
}

@keyframes pulseWhatsApp {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Ajustes Responsive rápidos */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }

    .calculator-section {
        background-attachment: scroll;
    }

    /* Desactiva parallax pesado en móviles */
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* --- MICRO-INTERACCIÓN 2: BARRA DE LECTURA --- */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, #0a58ca, #00c6ff);
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* --- RECURSO TÉCNICO 5: PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0F172A;
    /* Color oscuro premium acorde al tema */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
    position: relative;
    text-align: center;
}

.preloader-logo {
    width: 120px;
    height: auto;
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #0a58ca;
    border-radius: 50%;
    margin: 20px auto 0;
    animation: spin 1s linear infinite;
}

@keyframes pulseLogo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* --- CONVERSIÓN 4 & MICRO-INTERACCIÓN 4: IMPACTO Y TABLA --- */
.trust-comparative-section {
    padding: 60px 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.impact-card {
    background: var(--bg-light, #1E293B);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.impact-card i {
    font-size: 2.5rem;
    color: #0a58ca;
    margin-bottom: 15px;
}

.impact-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-dark, #fff);
}

/* Tabla Comparativa */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: rgba(10, 88, 202, 0.1);
    color: var(--text-dark);
}

.comparison-table .highlight-col {
    background: rgba(10, 88, 202, 0.15);
    font-weight: bold;
}

.check-yes {
    color: #25D366;
    font-weight: 600;
}

.check-no {
    color: #EF4444;
    opacity: 0.8;
}

/* --- RECURSO TÉCNICO 1: FORMULARIO MULTI-PASO --- */
.multistep-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 35px;
    border-radius: 16px;
}

.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.step-dot {
    width: 35px;
    height: 35px;
    background: #94A3B8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.step-dot.active {
    background: #0a58ca;
    box-shadow: 0 0 10px rgba(10, 88, 202, 0.4);
}

.step-line {
    flex-grow: 1;
    height: 3px;
    background: #94A3B8;
    margin: 0 -5px;
    z-index: 1;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* --- CONVERSIÓN 5: EXIT INTENT POPUP --- */
.exit-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.exit-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.exit-modal-box {
    max-width: 500px;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    margin: 20px;
}

.close-exit-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
}

.exit-icon {
    font-size: 3.5rem;
    color: #0a58ca;
    margin-bottom: 20px;
}

.exit-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- CORRECCIÓN DE LA BARRA BLANCA --- */
.navbar {
    height: auto !important;
    /* Quita cualquier altura forzada */
}

.nav-container {
    padding: 5px 20px !important;
    /* Reduce drásticamente el espacio vertical */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- BOTÓN DE CAMBIO DE TEMA FLOTANTE CORREGIDO --- */
#theme-toggle,
.theme-btn,
[id*="theme"] {
    position: fixed !important;
    bottom: 30px !important;
    /* <--- BAJADO HASTA LA PARTE INFERIOR */
    left: 30px !important;
    /* Separación limpia desde el borde izquierdo */
    top: auto !important;
    /* Resetea la posición superior para que no se quede arriba */
    width: 50px;
    height: 50px;
    background-color: #0a58ca !important;
    /* Azul premium corporativo */
    color: #ffffff !important;
    border-radius: 50% !important;
    /* Completamente circular */
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999 !important;
    /* Por encima de todo el contenido */
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Efecto al pasar el cursor por encima */
#theme-toggle:hover,
.theme-btn:hover {
    transform: scale(1.1);
    background-color: #084298 !important;
}

/* --- ESTILOS DE LA PANTALLA FLOTANTE GLASS --- */
.credit-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Fondo oscuro translúcido */
    z-index: 10005;
    /* Por encima de cualquier otro modal */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.credit-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Efecto Glassmorphism Puro */
.credit-modal-box {
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 24px;
    position: relative;
    margin: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.credit-modal-backdrop.active .credit-modal-box {
    transform: scale(1);
}

.close-credit-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.2s;
}

.close-credit-btn:hover {
    color: #ffffff;
}

.credit-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.5);
}

.credit-modal-box h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.credit-modal-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Botón Minimalista Estilo TikTok */
.btn-tiktok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: #000000;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-tiktok:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: #000000;
}

/* ========================================================
   ESTILOS DE LA IDEA 3: GARANTÍA DE AISLAMIENTO INTERACTIVA
   ======================================================== */
.isolation-section {
    padding: 80px 0;
    background: transparent;
}

.isolation-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 88, 202, 0.1);
    border: 1px solid rgba(10, 88, 202, 0.2);
    color: #0a58ca;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title-premium {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark, #fff);
    margin-bottom: 15px;
}

.section-subtitle-premium {
    font-size: 1.05rem;
    color: #64748B;
    max-width: 700px;
    margin-bottom: 40px;
}

.isolation-display {
    padding: 40px;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.bar-container {
    margin-bottom: 25px;
}

.bar-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark, #fff);
    font-size: 0.95rem;
}

.bar-label i {
    color: #0a58ca;
}

.progress-bar-bg {
    width: 100%;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 7px;
    transition: width 0.4s ease-out;
}

.brick-bar {
    background: linear-gradient(90deg, #EF4444, #B91C1C);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.adnel-bar {
    background: linear-gradient(90deg, #10B981, #059669);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.noise-selector-box {
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.noise-selector-box label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark, #fff);
    display: block;
    margin-bottom: 15px;
}

.premium-range {
    -webkit-appearance: none;
    width: 100%;
    max-width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    outline: none;
    margin: 15px 0;
}

.premium-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #0a58ca;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(10, 88, 202, 0.5);
    transition: transform 0.1s;
}

.premium-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.noise-tip {
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 10px;
}

/* ========================================================
   ESTILOS DE LA IDEA 4: PREGUNTAS FRECUENTES INTELIGENTES
   ======================================================== */
.faq-section {
    padding: 80px 0;
    background: transparent;
}

.faq-search-container {
    max-width: 650px;
    margin: 30px auto 40px;
    position: relative;
}

.faq-search-container input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark, #fff);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.faq-search-container input:focus {
    border-color: #0a58ca;
    box-shadow: 0 0 15px rgba(10, 88, 202, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.faq-search-container .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: 1.1rem;
}

.faq-accordion {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark, #fff);
    cursor: pointer;
}

.faq-question .arrow-icon {
    color: #64748B;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question .arrow-icon {
    transform: rotate(180deg);
    color: #0a58ca;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
    padding: 0 25px 22px;
}

.faq-answer p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

/* ========================================================
   ESTILOS DE LA IDEA 1: ACCIÓN DE DESCARGA DE PDF
   ======================================================== */
.pdf-budget-section {
    padding: 60px 0;
}

.pdf-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.pdf-icon-envelope {
    font-size: 3rem;
    color: #EF4444;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(239, 68, 68, 0.3));
}

.pdf-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark, #fff);
}

.pdf-box p {
    font-size: 0.95rem;
    color: #64748B;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-pdf-premium {
    background: linear-gradient(135deg, #0a58ca, #04419c);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(10, 88, 202, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-pdf-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 88, 202, 0.5);
}

.btn-pdf-premium:active {
    transform: translateY(0);
}

/* ========================================================
   ESTILOS DE LA IDEA 2: CARRUSEL RESPONSIVO Y TÁCTIL
   ======================================================== */
.reviews-section {
    padding: 80px 0;
    overflow: hidden;
}

.reviews-carousel-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 10px;
}

.reviews-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.review-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #F59E0B;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark, #fff);
    margin-bottom: 25px;
    font-style: italic;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    font-size: 0.9rem;
}

.reviewer-name {
    font-weight: 700;
    color: var(--text-dark, #fff);
}

.reviewer-geo {
    color: #0a58ca;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #0a58ca;
    width: 24px;
    border-radius: 4px;
}

/* ========================================================
   ESTILOS DE LA IDEA 3: LÍNEA DE TIEMPO PREMIUM ANIMADA
   ======================================================== */
.process-section {
    padding: 80px 0;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 0;
}

/* Línea vertical base */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* Línea de progreso que se llena dinámicamente con JS */
.timeline-progress-line {
    position: absolute;
    left: 30px;
    top: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(to bottom, #0a58ca, #00f2fe);
    border-radius: 2px;
    transition: height 0.1s ease-out;
    z-index: 2;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: 17px;
    top: 15px;
    width: 30px;
    height: 30px;
    background: #1e293b;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-size: 0.75rem;
    color: #64748B;
    transition: all 0.4s ease;
}

.timeline-item.visible .timeline-dot {
    border-color: #0a58ca;
    background: #0a58ca;
    color: #fff;
    box-shadow: 0 0 10px rgba(10, 88, 202, 0.5);
}

.timeline-content {
    padding: 25px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(10, 88, 202, 0.15);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark, #fff);
}

.timeline-content p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

/* ========================================================
   ESTILOS DE LA IDEA 5: SIMULADOR DE ILUMINACIÓN PREMUM
   ======================================================== */
.lighting-section {
    padding: 80px 0;
}

.lighting-simulator {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 25px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ambient-preview-box {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #000;
}

.ambient-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* Capa de destello superpuesta para simular focos empotrados */
.light-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
}

.ambient-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lighting-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-light-selector {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-dark, #fff);
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-light-selector:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-light-selector.active {
    background: #0a58ca;
    border-color: #0a58ca;
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 88, 202, 0.4);
}

/* Adaptación responsiva estricta para pantallas móviles */
@media (max-width: 768px) {

    .timeline-container::before,
    .timeline-progress-line {
        left: 20px;
    }

    .timeline-dot {
        left: 7px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .ambient-preview-box {
        height: 260px;
    }

    .btn-light-selector {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================================
   ESTILOS DE LA IDEA 1: CALCULADORA DE AHORRO ENERGÉTICO
   ======================================================== */
.energy-calculator-section {
    padding: 80px 0;
}

.calculator-card {
    max-width: 650px;
    margin: 40px auto 0;
    padding: 40px 35px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.range-display-box {
    margin-bottom: 10px;
}

.range-value-large {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0a58ca;
}

.range-unit {
    font-size: 1.5rem;
    color: var(--text-dark, #fff);
    font-weight: 700;
}

.savings-results-grid {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.savings-box {
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.savings-label {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.savings-value-green {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10B981;
}

.savings-value-blue {
    font-size: 1.8rem;
    font-weight: 800;
    color: #00f2fe;
}

.calc-disclaimer {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 25px;
}

/* ========================================================
   ESTILOS DE LA IDEA 4: GALERÍA DE TARJETAS PARALLAX SUAVE
   ======================================================== */
.parallax-gallery-section {
    padding: 80px 0;
    overflow: hidden;
}

.parallax-gallery-grid {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto 0;
    align-items: flex-start;
}

.parallax-card {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.parallax-card:hover img {
    transform: scale(1.05);
}

/* Desalineación inicial intencionada en ordenadores */
.parallax-gallery-grid .parallax-card:nth-child(2) {
    margin-top: 40px;
}

.parallax-gallery-grid .parallax-card:nth-child(3) {
    margin-top: -20px;
}

.card-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    z-index: 2;
}

.card-overlay-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.card-overlay-text p {
    font-size: 0.85rem;
    color: #94A3B8;
    margin: 0;
    line-height: 1.4;
}

/* ========================================================
   ESTILOS DE LA IDEA 3: BOTÓN FLOTANTE PREMIUM MINIMALIST
   ======================================================= */
.premium-sticky-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0a58ca, #04419c);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(10, 88, 202, 0.4);
    z-index: 10000;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.premium-sticky-contact:hover {
    transform: scale(1.08);
}

/* Animaciones de ondas de pulso concéntricas */
.sticky-pulse-glow,
.sticky-pulse-glow-secondary {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: transparent;
    border: 2px solid #0a58ca;
    border-radius: 50%;
    opacity: 0;
    animation: stickyPulse 2.5s infinite cubic-bezier(0.25, 0, 0, 1);
    pointer-events: none;
}

.sticky-pulse-glow-secondary {
    animation-delay: 1.25s;
}

@keyframes stickyPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Ajustes responsivos móviles */
@media (max-width: 768px) {
    .savings-results-grid {
        flex-direction: column;
        gap: 15px;
    }

    .parallax-gallery-grid {
        flex-direction: column;
        gap: 40px;
        padding: 0 10px;
    }

    .parallax-card {
        width: 100%;
        height: 300px;
        margin-top: 0 !important;
    }

    .premium-sticky-contact {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.15rem;
    }
}

/* ========================================================
   ESTILOS DE LA IDEA 1: CONTENEDOR Y PERFIL METÁLICO 3D
   ======================================================== */
.interactive-3d-section {
    padding: 80px 0;
}

.engineering-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.engineering-card {
    flex: 1;
    padding: 35px 25px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0a58ca;
    margin-bottom: 5px;
}

.tech-instruction {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 30px;
}

/* Entorno de renderizado 3D */
.scene-3d {
    width: 100%;
    height: 250px;
    perspective: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
}

.object-3d {
    width: 45px;
    height: 180px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(35deg);
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Caras del prisma de acero galvanizado (Efecto Metalizado Premium) */
.face {
    position: absolute;
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.85), rgba(148, 163, 184, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.5);
}

.front {
    width: 45px;
    height: 180px;
    transform: translateZ(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.front span {
    font-size: 0.55rem;
    font-weight: 900;
    color: #475569;
    letter-spacing: 1px;
    transform: rotate(-90deg);
    display: block;
    white-space: nowrap;
}

.back {
    width: 45px;
    height: 180px;
    transform: rotateY(180deg) translateZ(20px);
}

.left {
    width: 40px;
    height: 180px;
    left: 2.5px;
    transform: rotateY(-90deg) translateZ(22.5px);
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.9), rgba(100, 116, 139, 0.95));
}

.right {
    width: 40px;
    height: 180px;
    left: 2.5px;
    transform: rotateY(90deg) translateZ(22.5px);
}

.top {
    width: 45px;
    height: 40px;
    top: 70px;
    transform: rotateX(90deg) translateZ(90px);
}

.bottom {
    width: 45px;
    height: 40px;
    top: 70px;
    transform: rotateX(-90deg) translateZ(90px);
}

/* ========================================================
   ESTILOS DE LA IDEA 4: SIMULADOR FÍSICO DE ONDAS
   ======================================================== */
.wave-simulation-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
    justify-content: center;
}

.btn-emit {
    background: #0a58ca;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(10, 88, 202, 0.3);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-emit:hover {
    transform: scale(1.03);
    background: #084298;
}

.simulation-field {
    position: relative;
    width: 100%;
    height: 150px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.audio-source {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    margin-left: 20px;
    position: relative;
    z-index: 5;
    box-shadow: 0 0 10px #ef4444;
}

.pladur-barrier {
    position: absolute;
    left: 55%;
    width: 24px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-left: 2px solid #0a58ca;
    border-right: 2px solid #0a58ca;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.pladur-barrier span {
    font-size: 0.6rem;
    font-weight: 800;
    color: #0a58ca;
    transform: rotate(-90deg);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Ondas dinámicas */
.acoustic-wave {
    position: absolute;
    left: 26px;
    width: 2px;
    height: 2px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    opacity: 0.8;
    animation: moveWave 2s linear forwards;
    pointer-events: none;
}

@keyframes moveWave {
    0% {
        transform: scale(1);
        opacity: 0.8;
        border-color: #ef4444;
    }

    53% {
        border-color: #ef4444;
    }

    /* Al cruzar la barrera (55%), la onda cambia radicalmente a verde y se reduce la vibración */
    55% {
        border-color: #10b981;
        opacity: 0.3;
        transform: scale(45);
    }

    100% {
        transform: scale(80);
        opacity: 0;
        border-color: #10b981;
    }
}

/* ========================================================
   ESTILOS DE LA IDEA 2: SIMULADOR DE RETORNO FINANCIERO
   ======================================================== */
.amortization-section {
    padding: 60px 0;
}

.amortization-wrapper {
    padding: 45px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.amortization-grid {
    display: flex;
    gap: 40px;
    margin-top: 35px;
    align-items: center;
}

.controls-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group-premium {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group-premium label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark, #fff);
}

.input-group-premium label span {
    color: #0a58ca;
    font-weight: 800;
}

.results-column {
    flex: 0.8;
    width: 100%;
}

.financial-card-result {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fin-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 15px;
}

.counter-box {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    color: #10b981;
    font-weight: 900;
    margin-bottom: 10px;
}

.counter-box .currency {
    font-size: 1.8rem;
    margin-right: 2px;
}

.counter-number {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

.fin-status-text {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 500;
}

/* Ajustes responsivos para el telemóvil */
@media (max-width: 768px) {

    .engineering-grid,
    .amortization-grid {
        flex-direction: column;
        gap: 30px;
    }

    .pladur-barrier {
        left: 50%;
    }

    @keyframes moveWave {
        0% {
            transform: scale(1);
            opacity: 0.8;
            border-color: #ef4444;
        }

        48% {
            border-color: #ef4444;
        }

        50% {
            border-color: #10b981;
            opacity: 0.3;
            transform: scale(40);
        }

        100% {
            transform: scale(70);
            opacity: 0;
            border-color: #10b981;
        }
    }
}

/* ========================================================
   ESTILOS IDEAS 5 y 3: PLANO BENTO E ILUMINACIÓN
   ======================================================== */
.bento-grid-planner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 25px;
    margin-top: 40px;
}

.bento-card {
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.room-canvas {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed #334155;
    border-radius: 16px;
    position: relative;
    margin-top: 15px;
    cursor: pointer;
    overflow: hidden;
}

.room-label,
.room-sub-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748B;
    transition: all 0.3s;
}

.room-label {
    left: 20%;
}

.room-sub-label {
    right: 15%;
    opacity: 0;
}

.dynamic-wall {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    background: #0a58ca;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dynamic-wall span {
    font-size: 0.6rem;
    font-weight: 900;
    color: #fff;
    transform: rotate(-90deg);
    white-space: nowrap;
    opacity: 0;
}

/* Clases activas por JS */
.room-canvas.divided .dynamic-wall {
    width: 20px;
    left: calc(50% - 10px);
}

.room-canvas.divided .dynamic-wall span {
    opacity: 1;
}

.room-canvas.divided .room-sub-label {
    opacity: 1;
}

.space-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #94A3B8;
}

.foseado-preview-box {
    width: 100%;
    height: 120px;
    background: #0b0f19;
    border-radius: 14px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.ceiling-profile {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #1e293b;
    border-bottom: 2px solid #334155;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.led-glow-effect {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 15px;
    background: #0a58ca;
    filter: blur(10px);
    opacity: 0.3;
    transition: opacity 0.1s linear;
}

/* ========================================================
   ESTILOS IDEAS 1 y 7: FÍSICA, HUMEDAD Y POLVO
   ======================================================== */
.physics-comparison-section {
    padding: 80px 0;
}

.physics-grid {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    position: relative;
}

.physics-card {
    flex: 1;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.tag-danger {
    color: #ef4444;
}

.tag-success {
    color: #10b981;
}

.humidity-simulation {
    height: 140px;
    margin-top: 25px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 20px;
}

.brick-wall-profile {
    width: 50px;
    height: 100%;
    background: linear-gradient(0deg, #7c2d12 20%, #9a3412 80%);
    border-radius: 6px;
    position: relative;
}

.adnel-wall-profile {
    width: 30px;
    height: 100%;
    background: #475569;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vapor-barrier-line {
    width: 4px;
    height: 100%;
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
    font-size: 0;
}

.water-drop {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    animation: dripEffect 2s infinite ease-in;
}

@keyframes dripEffect {
    0% {
        transform: translateY(0) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: translateY(40px) rotate(45deg);
        opacity: 0;
    }
}

.humidity-status {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ef4444;
}

.status-clean {
    color: #10b981;
}

/* Partículas flotantes de polvo de yeso */
.dust-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    animation: floatDust 1.5s ease-out forwards;
    z-index: 100;
}

@keyframes floatDust {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-50px) scale(0.2);
        opacity: 0;
    }
}

/* ========================================================
   ESTILOS IDEA 4: FILTRO ACÚSTICO DE AUDIO REAL
   ======================================================== */
.audio-filter-section {
    padding: 60px 0;
}

.audio-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 45px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.audio-controls-interface {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-audio-action {
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    -webkit-tap-highlight-color: transparent;
}

#btnPlayNoise {
    background: #1e293b;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-filter-inactive {
    background: rgba(10, 88, 202, 0.1);
    color: #0a58ca;
    border: 1px solid rgba(10, 88, 202, 0.2);
}

.btn-filter-active {
    background: #10b981 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-audio-action:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.audio-wave-visualizer {
    display: flex;
    justify-content: center;
    gap: 6px;
    height: 40px;
    margin-top: 30px;
    align-items: center;
}

.visualizer-bar {
    width: 4px;
    height: 10px;
    background: #64748B;
    border-radius: 2px;
    transition: height 0.1s ease;
}

.visualizer-bar.playing {
    animation: bounceBar 0.5s ease infinite alternate;
}

@keyframes bounceBar {
    0% {
        height: 8px;
    }

    100% {
        height: 35px;
    }
}

@media (max-width: 768px) {

    .bento-grid-planner,
    .physics-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .audio-controls-interface {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========================================================
   ESTILOS DE LA IDEA 1: ESCÁNER DE RAYOS X
   ======================================================== */
.xray-scanner-section {
    padding: 80px 0;
}

.xray-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 350px;
    margin: 40px auto 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    cursor: crosshair;
}

.xray-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Capa Trasera: Estructura interna técnica */
.xray-back {
    background: #0f172a;
    z-index: 1;
}

.internal-structure-mock {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.stud-metal {
    width: 15px;
    height: 100%;
    background: linear-gradient(90deg, #64748b, #cbd5e1, #475569);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(0, 0, 0, 0.4);
}

.insulation-wool {
    flex-grow: 1;
    background: repeating-linear-gradient(45deg, #b45309, #b45309 10px, #d97706 10px, #d97706 20px);
    color: rgba(255, 255, 255, 0.15);
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
}

/* Capa Frontal: Acabado fino pintado */
.xray-front {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    z-index: 2;
    will-change: clip-path;
}

.finished-wall-mock {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 50px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

.premium-paint-surface h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.premium-paint-surface p {
    color: #94A3B8;
    font-size: 0.95rem;
    margin: 0;
}

/* Lente de guía visual */
.xray-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px dashed #0a58ca;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    transform: translate(-50%, -50%);
    top: -500px;
    left: -500px;
    box-shadow: 0 0 20px rgba(10, 88, 202, 0.2);
    background: rgba(10, 88, 202, 0.03);
}

/* ========================================================
   ESTILOS IDEAS 3 y 5: LABORATORIO FÍSICO BENTO
   ======================================================== */
.environmental-lab-section {
    padding: 60px 0;
}

.lab-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.lab-card {
    padding: 35px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

/* Estilos Térmicos (Idea 5) */
.season-toggle-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-season {
    flex: 1;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.btn-season.active {
    background: #0a58ca;
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 88, 202, 0.3);
}

.thermal-simulation-display {
    display: flex;
    height: 130px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    overflow: hidden;
    align-items: center;
    margin-top: auto;
}

.thermal-flow-external {
    width: 30%;
    height: 100%;
    transition: background 0.5s ease;
    position: relative;
}

.thermal-flow-external.winter {
    background: rgba(56, 189, 248, 0.2);
    box-shadow: inset -10px 0 20px rgba(56, 189, 248, 0.1);
}

.thermal-flow-external.summer {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: inset -10px 0 20px rgba(239, 68, 68, 0.1);
}

.thermal-barrier-adnel {
    width: 30%;
    height: 100%;
    background: #334155;
    border-left: 2px solid #00f2fe;
    border-right: 2px solid #10b981;
    font-size: 0.65rem;
    font-weight: 900;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
}

.thermal-flow-internal {
    width: 40%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.temp-label {
    font-size: 0.7rem;
    color: #64748B;
    text-transform: uppercase;
}

.temp-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
}

/* Estilos de Impacto Acústico (Idea 3) */
.impact-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-impact-trigger {
    flex: 1;
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: #1e293b;
    color: #fff;
}

.btn-premium-blue {
    background: #0a58ca !important;
}

.btn-impact-trigger:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.ceiling-impact-box {
    position: relative;
    height: 130px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    overflow: hidden;
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.floor-top {
    background: #334155;
    height: 25px;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.ceiling-structure {
    background: rgba(255, 255, 255, 0.03);
    border-top: 3px solid #475569;
    height: 35px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748B;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.ceiling-structure.adnel-system {
    border-top-color: #0a58ca;
    background: rgba(10, 88, 202, 0.05);
    color: #0a58ca;
}

.silentblock-icon {
    position: absolute;
    top: -7px;
    left: 20%;
    width: 14px;
    height: 6px;
    background: #94a3b8;
    display: none;
    border-radius: 2px;
}

.ceiling-structure.adnel-system .silentblock-icon {
    display: block;
    background: #00f2fe;
    box-shadow: 0 0 5px #00f2fe;
}

/* Ondas expansivas cinemáticas */
.shockwave {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.shockwave.red-wave {
    border: 2px solid #ef4444;
    animation: expandShockwave 0.8s ease-out forwards;
}

.shockwave.blue-wave {
    border: 2px solid #00f2fe;
    animation: expandShockwaveMitigated 0.8s ease-out forwards;
}

@keyframes expandShockwave {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    100% {
        width: 300px;
        height: 120px;
        opacity: 0;
    }
}

@keyframes expandShockwaveMitigated {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    35% {
        opacity: 0.4;
        width: 40px;
        height: 20px;
    }

    100% {
        width: 50px;
        height: 25px;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .lab-bento-grid {
        grid-template-columns: 1fr;
    }

    .impact-controls,
    .season-toggle-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .xray-wrapper {
        height: 260px;
    }
}