/* Reset y variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fallback para navegadores que no soportan backdrop-filter (Instagram WebView, etc.) */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .header {
        background: #ffffff !important;
    }
    
    .nav-menu {
        background: #ffffff !important;
    }
    
    .hero-badge,
    .floating-element,
    .product-card-premium,
    [class*="backdrop"] {
        background: rgba(255, 255, 255, 0.95) !important;
    }
}

:root {
    /* Colores principales - Paleta profesional mejorada */
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary-color: #0891b2;
    --secondary-light: #06b6d4;
    --accent-color: #0ea5e9;
    --accent-light: #38bdf8;
    
    /* Gradientes profesionales */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #0891b2 50%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #0ea5e9 100%);
    
    /* Colores neutros refinados */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --background: #ffffff;
    --background-light: #f8fafc;
    --background-lighter: #f1f5f9;
    --background-dark: #0f172a;
    --background-card: #ffffff;
    
    /* Sombras profesionales */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-colored: 0 10px 30px rgba(30, 64, 175, 0.3);
    
    /* Tipografía profesional */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;
    
    /* Bordes */
    --border-radius: 0.5rem;
    --border-radius-md: 0.625rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    
    /* Transiciones */
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estilos base */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
}

/* Header y Navegación */
.header {
    background: #ffffff;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    overflow: visible;
    height: 70px;
    box-sizing: border-box;
    /* Prevenir problemas de rendering en WebView */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Forzar capa de composición separada */
    will-change: transform;
}

.header.scrolled {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)),
        url('../assets/Products/Retail/media.webp');
    box-shadow: var(--shadow-md);
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: none;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: none;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: none;
}

.logo {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: auto;
    padding-bottom: 10px; 
}

.company-name {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    font-size: var(--font-size-sm);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(30, 64, 175, 0.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Sección Hero */
.hero {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background: 
        linear-gradient(135deg, 
            rgba(15, 23, 42, 0.92) 0%, 
            rgba(30, 41, 59, 0.85) 25%, 
            rgba(51, 65, 85, 0.75) 50%, 
            rgba(14, 165, 233, 0.88) 100%
        ),
        url('../assets/Products/Retail/media.webp');
    background-size: cover;
    background-position: center;
    /* Cambiar a scroll para compatibilidad con WebViews */
    background-attachment: scroll;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(147, 197, 253, 0.18) 0%, transparent 50%);
    position: absolute;
    top: 0;
    left: 0;
    animation: floatParticles 15s ease-in-out infinite;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

@keyframes floatParticles {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-30px) scale(1.05);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
    animation: slideInFromLeft 1s ease-out;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

.title-line-small {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    animation: slideInFromLeft 1s ease-out 0.3s both;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 25px;
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.feature-pill i {
    color: #10b981;
    font-size: var(--font-size-sm);
}

.trust-urgency {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-sm);
    animation: bounce 2s infinite;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.hero-title {
    font-size: var(--font-size-5xl);
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-weight: var(--font-weight-bold);
}

.title-line {
    display: block;
    animation: slideInFromLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    animation-fill-mode: forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0s;
}

.title-line:nth-child(2) {
    animation-delay: 0.15s;
    margin-top: var(--spacing-md);
}

.title-line.highlight {
    color: var(--accent-light);
    font-weight: var(--font-weight-bold);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 90%;
    animation: slideInFromLeft 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    animation: slideInFromLeft 1s ease-out 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #06b6d4;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-stat .stat-text {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: #fff;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.hero-buttons .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.hero-buttons .btn:hover::after {
    width: 400px;
    height: 400px;
}

.hero-buttons .btn i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.hero-buttons .btn span {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn:hover {
    background: linear-gradient(135deg, #00bcd4 0%, #006d7a 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.5);
}

.hero-buttons .btn:active {
    transform: translateY(-2px) scale(1);
}

.hero-trust {
    animation: slideInFromLeft 1s ease-out 1s both;
}

.trust-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-xs);
    font-weight: 500;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    animation: slideInFromRight 1s ease-out 0.5s both;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-xl);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.hero-main-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(59, 130, 246, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.water-drop {
    font-size: 4rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.scroll-arrow {
    font-size: var(--font-size-lg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Secciones generales */
section {
    padding: var(--spacing-4xl) 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

section:first-of-type {
    padding-top: calc(var(--spacing-4xl) + 20px);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Sección Sobre Nosotros */
.about {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.about-text h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.feature i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Sección Proyectos */
.projects {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: var(--spacing-3xl) 0;
}

.projects-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

/* Nota: Secciones de proyectos (tab-btn, project-card, etc.) eliminadas - no utilizadas */

.projects-cta h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.projects-cta p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.stat {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Sección Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md), 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin-bottom: var(--spacing-lg);
}

.service-icon i {
    font-size: var(--font-size-2xl);
    color: white;
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: center;
    display: inline-block;
    padding-left: 0;
}

.service-card li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--spacing-lg);
    text-align: left;
    display: block;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Sección Productos */
.products {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: var(--spacing-4xl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-4xl);
}

.product-card {
    background: white;
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.product-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.product-badge {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    animation: pulse 2s infinite;
}

.product-image {
    background: var(--gradient-primary);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.product-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: var(--transition);
    background: white;
    padding: var(--spacing-md);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(8, 145, 178, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-photo {
    transform: scale(1.1);
}

.product-icon {
    color: white;
    font-size: 4rem;
    z-index: 3;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-flow {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.hot-cold-indicator {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    position: absolute;
    right: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
}

.hot-cold-indicator .hot {
    background: #ef4444;
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
}

.hot-cold-indicator .cold {
    background: #3b82f6;
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
}

.product-content {
    padding: var(--spacing-2xl);
}

.product-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.product-specs {
    background: var(--background-lighter);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-xl);
    border-left: 4px solid var(--primary-color);
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-item i {
    color: var(--primary-color);
    width: 16px;
    flex-shrink: 0;
}

.pricing-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.pricing-option {
    background: var(--background-lighter);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
}

.pricing-option.recommended {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(8, 145, 178, 0.05));
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.pricing-header h4 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.pricing-badge {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.price {
    margin-bottom: var(--spacing-lg);
}

.price-amount {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.price-period {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

.price-note {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.pricing-features i.fa-check {
    color: #10b981;
}

.pricing-features i.fa-times {
    color: #ef4444;
}

.product-actions {
    display: flex;
    gap: var(--spacing-md);
}

.product-actions .btn {
    flex: 1;
}

.products-comparison {
    background: white;
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.products-comparison h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.comparison-item {
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    background: var(--background-lighter);
    transition: var(--transition);
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.comparison-icon {
    background: var(--gradient-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: white;
    font-size: var(--font-size-xl);
}

.comparison-item h4 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.comparison-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Sección Modalidades de Pago */
.payment-modes {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--spacing-4xl) 0;
}

.payment-comparison {
    max-width: 1200px;
    margin: 0 auto;
}

.results-title {
    text-align: center;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-3xl);
    margin-top: var(--spacing-2xl);
}

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-4xl);
}

.payment-card {
    background: white;
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    border: 3px solid transparent;
}

.payment-card.recommended {
    border-color: var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.02), rgba(8, 145, 178, 0.02));
}

.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.payment-card.recommended:hover {
    transform: scale(1.05) translateY(-8px);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.card-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: white;
    font-size: var(--font-size-2xl);
}

.subscription-card .payment-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.purchase-card .payment-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.card-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.payment-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

.price-display {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: var(--background-lighter);
    border-radius: var(--border-radius-lg);
}

.price-from {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1;
}

.subscription-card .price-amount {
    color: #10b981;
}

.purchase-card .price-amount {
    color: #f59e0b;
}

.price-period {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    display: block;
    margin-top: var(--spacing-xs);
}

.benefits-list {
    margin-bottom: var(--spacing-2xl);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    background: var(--background-lighter);
}

.benefit-item i {
    margin-top: 2px;
    font-size: var(--font-size-lg);
}

.benefit-item i.fa-check-circle {
    color: #10b981;
}

.benefit-item.limited i.fa-times-circle {
    color: #ef4444;
}

.benefit-item.limited i.fa-exclamation-triangle {
    color: #f59e0b;
}

.benefit-item div {
    flex: 1;
}

.benefit-item strong {
    display: block;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.benefit-item span {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.savings-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 2px solid #10b981;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: #065f46;
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.cost-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border: 2px solid #f59e0b;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: #92400e;
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.full-width {
    width: 100%;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

/* Análisis de costos */
.cost-analysis {
    background: white;
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-3xl);
}

.cost-analysis h3 {
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
}

.cost-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.cost-column {
    background: var(--background-lighter);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.cost-header {
    padding: var(--spacing-lg);
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.cost-header.subscription {
    background: linear-gradient(135deg, #10b981, #059669);
}

.cost-header.purchase {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.cost-header h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.cost-items {
    padding: var(--spacing-lg);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item.included span:last-child {
    color: #10b981;
    font-weight: var(--font-weight-semibold);
}

.cost-item.additional span:last-child {
    color: #ef4444;
    font-weight: var(--font-weight-semibold);
}

.cost-total {
    background: var(--background-light);
    margin: var(--spacing-lg) -var(--spacing-lg) -var(--spacing-lg);
    padding: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
}

.cost-total.subscription {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-top-color: #10b981;
}

.cost-total.purchase {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border-top-color: #f59e0b;
}

.savings-summary-title {
    text-align: center;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-xl);
    margin-top: var(--spacing-4xl);
}

.savings-summary {
    text-align: center;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
    border-radius: var(--border-radius-lg);
    border: 2px solid #10b981;
}

.savings-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    color: #065f46;
    margin-bottom: var(--spacing-md);
}

.savings-amount i {
    font-size: var(--font-size-2xl);
    color: #10b981;
}

.payment-cta {
    text-align: center;
    background: white;
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
}

.payment-cta h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.payment-cta p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

/* Responsive */
@media (max-width: 768px) {
    .comparison-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .payment-card.recommended {
        transform: none;
    }
    
    .payment-card.recommended:hover {
        transform: translateY(-8px);
    }
    
    .cost-breakdown {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Galería de Productos */
.products-gallery {
    margin-top: var(--spacing-4xl);
    padding: var(--spacing-3xl);
    background: white;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
}

.products-gallery h3 {
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
    background: white;
    padding: var(--spacing-sm);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: var(--spacing-xl);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info h4 {
    color: white;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
}

/* Responsive gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Sección Testimonios */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--spacing-3xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

/* Para pantallas grandes, mantener 2 columnas (2 filas de 2 reseñas) */
@media (min-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.testimonial-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: var(--spacing-xl);
}

.quote-icon {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    opacity: 0.7;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.author-title {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.rating {
    display: flex;
    gap: 2px;
}

.rating i {
    color: #fbbf24;
    font-size: var(--font-size-sm);
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.stat-icon i {
    color: white;
    font-size: var(--font-size-xl);
}

.stat-item .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Estilos para carga de reseñas de Google */
.reviews-loading,
.reviews-error {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
    margin: var(--spacing-2xl) 0;
}

.reviews-loading i,
.reviews-error i {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.reviews-loading p,
.reviews-error p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

.reviews-error i {
    color: #ef4444;
}

/* Estilos estilo Google Maps para reseñas */
.google-review-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.google-review-card::before {
    display: none;
}

.google-review-card:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-2px);
}

.google-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.google-review-author {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.google-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.google-avatar-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4, #34a853);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.google-author-info {
    flex: 1;
    min-width: 0;
}

.google-author-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.google-review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.google-rating {
    display: flex;
    gap: 2px;
}

.google-rating i {
    font-size: 12px;
    color: #fbbc04;
}

.google-rating i.filled {
    color: #fbbc04;
}

.google-rating i:not(.filled) {
    color: #dadce0;
}

.google-review-date {
    font-size: 12px;
    color: #5f6368;
}

.google-logo {
    height: 16px;
    width: auto;
    opacity: 0.8;
    flex-shrink: 0;
}

.google-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #3c4043;
    margin-bottom: 12px;
    flex: 1;
    position: relative;
}

.google-review-text p {
    margin: 0;
    word-break: break-word;
}

.google-review-text.collapsed {
    max-height: 4.8em; /* 3 líneas aproximadamente */
    overflow: hidden;
}

.google-review-text.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.6em;
    background: linear-gradient(to bottom, transparent, white);
}

.review-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #1a73e8;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 0;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.review-read-more:hover {
    color: #1557b0;
    text-decoration: underline;
}

.review-read-more i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.review-read-more.expanded i {
    transform: rotate(180deg);
}

/* Enlace de reseña de Google */
.google-review-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.google-review-link:hover .google-review-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.google-review-footer {
    padding-top: 12px;
    border-top: 1px solid #e8eaed;
    margin-top: 12px;
}

.view-on-google {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1a73e8;
    font-weight: 500;
    transition: color 0.2s ease;
}

.google-review-link:hover .view-on-google {
    color: #1557b0;
    text-decoration: underline;
}

.view-on-google i {
    font-size: 11px;
}

/* Llamada a la acción para dejar reseña */
.leave-review-cta {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: white;
    border-radius: var(--border-radius-xl);
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.leave-review-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.leave-review-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-colored);
}

.leave-review-icon i {
    font-size: 28px;
    color: white;
}

.leave-review-text {
    flex: 1;
    min-width: 250px;
}

.leave-review-text h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.leave-review-text p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.btn-leave-review {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: var(--transition);
    box-shadow: var(--shadow-colored);
    white-space: nowrap;
}

.btn-leave-review:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    filter: brightness(1.1);
}

.btn-leave-review i {
    font-size: 16px;
    color: #fbbf24;
}

/* Sección Certificaciones */
.certifications {
    background: white;
    padding: var(--spacing-3xl) 0;
    border-top: 1px solid #e5e7eb;
}

.certifications-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.cert-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.cert-card:hover::before {
    opacity: 0.05;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.cert-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.cert-icon i {
    color: white;
    font-size: var(--font-size-2xl);
}

.cert-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

.cert-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.cert-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.partners-section,
.guarantees-section {
    text-align: center;
}

.partners-title,
.guarantees-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.partners-title::after,
.guarantees-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.partner-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.partner-logo {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.partner-logo i {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
}

.partner-card h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.partner-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* ============================================
   SECCIÓN FAQ (PREGUNTAS FRECUENTES)
   ============================================ */
.faq-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
}

.faq-category {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.faq-category:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--background-lighter);
}

.faq-category-title i {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(8, 145, 178, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item {
    border-bottom: 1px solid var(--background-lighter);
    transition: var(--transition);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    transition: var(--transition);
    gap: var(--spacing-md);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question span {
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: var(--font-size-base);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 0 0 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 0 var(--spacing-lg) 0;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--font-size-base);
    margin: 0;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    display: inline-block;
    margin-top: var(--spacing-sm);
}

/* CTA al final del FAQ */
.faq-cta {
    margin-top: var(--spacing-4xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-2xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.faq-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.faq-cta-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    color: white;
    position: relative;
    z-index: 2;
}

.faq-cta-content i {
    font-size: 3rem;
    opacity: 0.9;
}

.faq-cta-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
}

.faq-cta-content p {
    font-size: var(--font-size-base);
    opacity: 0.9;
    margin: 0;
}

.faq-cta .btn {
    background: white;
    color: var(--primary-color);
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.faq-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.faq-cta .btn i {
    font-size: var(--font-size-xl);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}


.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.guarantee-item {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.guarantee-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.guarantee-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.guarantee-icon i {
    color: white;
    font-size: var(--font-size-lg);
}

.guarantee-item h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.guarantee-item p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Sección Instagram */
.instagram-section {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.instagram-cta {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    margin: var(--spacing-2xl) auto 0;
    max-width: 500px;
}

.instagram-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.instagram-icon i {
    font-size: 40px;
    color: white;
}

.instagram-cta h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.instagram-cta p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.btn-instagram {
    background: white;
    color: #833ab4;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f9fafb;
}

.btn-instagram i {
    font-size: var(--font-size-lg);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.instagram-feed-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-4xl);
    color: var(--text-light);
}

.instagram-feed-placeholder i {
    font-size: 60px;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
}

.instagram-post:hover {
    transform: scale(1.05);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-post-info {
    color: white;
    display: flex;
    gap: var(--spacing-lg);
    font-size: var(--font-size-sm);
}

.instagram-post-info i {
    margin-right: var(--spacing-xs);
}

@media (max-width: 1024px) {
    .instagram-content {
        grid-template-columns: 1fr;
    }
    
    .instagram-cta {
        position: static;
    }
    
    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .instagram-feed {
        grid-template-columns: 1fr;
    }
}

/* Sección Contacto */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-item i {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    width: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Botón WhatsApp */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-sm);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20b954, #0f7a6b);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: var(--font-size-lg);
    margin: 0;
    width: auto;
}

/* Enlaces de Email */
.email-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: var(--font-weight-medium);
}

.email-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Email en footer */
.footer-contact .email-link {
    color: var(--text-light);
}

.footer-contact .email-link:hover {
    color: white;
    text-decoration: underline;
}

/* Widget WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: var(--transition);
    animation: pulse 4s ease-in-out infinite;
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
}

.whatsapp-float-btn:hover {
    background: linear-gradient(135deg, #20b954, #0f7a6b);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive WhatsApp widget */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        margin: 0;
        padding: 0;
    }
    
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

.contact-form-container h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Validation States */
.form-group.focused input,
.form-group.focused select,
.form-group.focused textarea {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group.valid input,
.form-group.valid select,
.form-group.valid textarea {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.02);
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.02);
}

.form-group input.error {
    border-color: #ef4444;
    animation: shake 0.5s ease;
}

/* Field Feedback Messages */
.field-feedback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.field-feedback.field-error {
    color: #ef4444;
}

.field-feedback.field-success {
    color: #10b981;
}

/* Form Status Messages */
.form-status-message {
    animation: slideInUp 0.5s ease;
}

/* Animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Submit Button States */
.contact-form button[type="submit"] {
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.contact-form button[type="submit"]:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-section:first-child p {
    max-width: 250px;
    text-align: left;
    line-height: 1.4;
}

.footer-logo span {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.footer-section h4 {
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: #d1d5db;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-xl) 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: var(--spacing-md) 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .trust-elements {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* Nota: Secciones de chat widget y trust elements eliminadas - no utilizadas */

/* Botón Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.scroll-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Animaciones Avanzadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05); 
        box-shadow: 0 0 0 20px rgba(30, 64, 175, 0);
    }
}

@keyframes chatPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: var(--shadow-colored);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    40% { 
        transform: translateX(-50%) translateY(-10px); 
    }
    60% { 
        transform: translateX(-50%) translateY(-5px); 
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-360deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatParticles {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

/* Clases de animación */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

.rotate-in {
    animation: rotateIn 0.8s ease-out;
}

/* Estados activos del menú */
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(30, 64, 175, 0.05);
}

/* Elementos con animación continua */
.floating-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 3s ease-in-out infinite;
}

.shimmer-effect {
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Microinteracciones profesionales */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hover-effect:hover::after {
    width: 300px;
    height: 300px;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animaciones adicionales para nuevos elementos */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(30, 64, 175, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(30, 64, 175, 0.6);
    }
}

/* ========================================
   SECCIÓN PRODUCTOS PREMIUM
   ======================================== */

/* Selector de productos */
.products-selector {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
    display: flex;
    justify-content: center;
    padding: 0 var(--spacing-lg);
}

.selector-tabs {
    display: inline-flex;
    flex-direction: row;
    background: #e5e7eb;
    border-radius: 14px;
    padding: 4px;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    gap: 0;
    isolation: isolate;
    flex-wrap: nowrap;
}

.selector-tabs::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    right: 50%;
    background: white;
    border-radius: 11px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Estado empresarial - mover slider a la derecha */
.selector-tabs.empresarial-active::before {
    left: 50%;
    right: 4px;
}

.selector-tab {
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    padding: 11px 32px;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #9ca3af;
    min-width: 150px;
    flex: 1 1 auto;
    flex-shrink: 0;
    justify-content: center;
    z-index: 1;
    border-radius: 11px;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.selector-tab.active {
    color: #111827;
}

.selector-tab:hover:not(.active) {
    color: #6b7280;
}

.selector-tab i {
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
}

.selector-tab.active i {
    transform: scale(1.08);
}

.selector-tab span {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
}

.selector-tab:active {
    transform: scale(0.98);
}

/* Sección de productos */
.product-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.product-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Tarjeta de producto premium */
.product-card-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    margin-bottom: var(--spacing-4xl);
}

.product-badge-premium {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    animation: glow 2s ease-in-out infinite alternate;
}

.product-badge-premium.corporate {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
    }
}

/* Hero del producto */
.product-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-4xl);
    padding: var(--spacing-4xl);
    align-items: center;
}

.product-image-premium {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05);
}

/* Imagen principal más grande */
.main-product-image {
    position: relative;
    height: 480px;
    width: 100%;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    cursor: pointer;
    touch-action: manipulation;
}

.product-photo-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    opacity: 0;
    transform: scale(0.95);
    position: absolute;
    top: 0;
    left: 0;
}

.product-photo-main.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.product-photo-main:not(.active) {
    pointer-events: none;
}

.product-photo-main:hover {
    transform: scale(1.02);
}

/* Video container en galería */
.product-photo-main.video-container {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 0;
}

.product-photo-main.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Galería de miniaturas */
.product-gallery-thumbs {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    justify-content: center;
    overflow-x: auto;
}

.thumb-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.thumb-item.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.thumb-item:hover:not(.active) {
    transform: scale(1.05);
    border-color: rgba(var(--primary-color-rgb), 0.5);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumb-item:hover img {
    transform: scale(1.1);
}

.thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: var(--spacing-xs);
    text-align: center;
    font-size: 0.7rem;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Controles de navegación */
.image-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    pointer-events: none;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Botones de navegación específicos */
.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Overlays técnicos mejorados */
.product-tech-overlay {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: 5;
}

.tech-indicator {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.tech-indicator.corporate {
    background: rgba(14, 165, 233, 0.9);
}

.efficiency-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    text-align: center;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.efficiency-number {
    display: block;
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.efficiency-text {
    display: block;
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin-top: 2px;
}

.temperature-display {
    display: flex;
    gap: var(--spacing-sm);
}

.temp-indicator {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 60px;
    justify-content: center;
}

.temp-indicator.hot {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.temp-indicator.cold {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.capacity-indicator {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Contenido del producto */
.product-content-premium {
    padding: var(--spacing-lg) 0;
}

.product-category {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.product-title-premium {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.product-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    font-style: italic;
}

/* Grid de características */
.product-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.feature-highlight {
    background: rgba(255, 255, 255, 0.5);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.feature-highlight:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* Especificaciones técnicas */
.technical-specs {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    margin: var(--spacing-xl) var(--spacing-4xl) 0;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.specs-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.specs-title i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.spec-group {
    background: rgba(255, 255, 255, 0.5);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.spec-group:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.7);
}

.spec-group h5 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.spec-group h5::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.spec-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.spec-item {
    display: grid;
    grid-template-columns: minmax(200px, 40%) 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    align-items: start;
}

.spec-label {
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    text-align: left;
}

.spec-value {
    color: var(--text-color);
    font-weight: var(--font-weight-bold);
    text-align: left;
    word-wrap: break-word;
}

/* Comparativa de precios premium */
.pricing-comparison-premium {
    background: linear-gradient(135deg, #fafbfc, #f3f4f6);
    margin: var(--spacing-4xl) var(--spacing-4xl) 0;
    padding: var(--spacing-4xl) var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
}

.pricing-header-main {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-header-main h4 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.pricing-header-main p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.price-guarantee-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    padding: var(--spacing-xl) calc(var(--spacing-xl) * 1.5);
    border-radius: 12px;
    font-size: 0.95rem;
    margin-top: var(--spacing-2xl);
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #e8eaed;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.price-guarantee-badge:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.price-guarantee-badge i {
    font-size: 2.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.price-guarantee-badge span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-guarantee-badge .badge-title {
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.price-guarantee-badge .badge-subtitle {
    font-weight: normal;
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.5;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    align-items: start;
    width: 100%;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.pricing-card.recommended-premium {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.pricing-card.recommended-premium:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-ribbon {
    position: absolute;
    top: var(--spacing-lg);
    right: -var(--spacing-md);
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transform: rotate(8deg);
    box-shadow: var(--shadow-md);
}

.pricing-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.pricing-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
}

.pricing-icon i {
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-header h5 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    margin: 0;
}

.pricing-amount-container {
    text-align: center;
    margin: var(--spacing-lg) 0 var(--spacing-xl) 0;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: 2px;
    line-height: 1;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.price {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 0.9;
}

.period {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.value-proposition {
    text-align: center;
    margin: 0;
    padding: 0;
    background: none;
}

.value-proposition p {
    color: var(--text-secondary);
    font-weight: var(--font-weight-normal);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.2;
}

.pricing-features {
    margin-bottom: var(--spacing-xl);
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item.included i {
    color: #10b981;
}

.feature-item.limited i {
    color: #f59e0b;
}

.feature-item.limited .fa-times-circle {
    color: #ef4444;
}

.feature-item span {
    font-size: var(--font-size-sm);
    color: var(--text-color);
}

.feature-item.limited span {
    color: var(--text-color);
}

.savings-highlight, .cost-highlight, .cost-warning {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-top: auto;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    min-height: 60px;
}

.savings-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cost-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.1));
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.cost-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Botones premium */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-outline-premium {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    text-decoration: none;
}

.btn-outline-premium:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sección de garantías */
.guarantees-section {
    margin-top: var(--spacing-4xl);
    padding: var(--spacing-4xl) var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border-radius: var(--border-radius-xl);
}

.guarantees-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.guarantees-header h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.guarantees-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.guarantee-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.guarantee-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto var(--spacing-lg);
}

.guarantee-card h4 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.guarantee-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.guarantee-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .product-image-premium {
        height: 450px;
    }
    
    .main-product-image {
        height: 350px;
    }
    
    .product-gallery-thumbs {
        gap: var(--spacing-xs);
        padding: var(--spacing-sm);
    }
    
    .thumb-item {
        width: 60px;
        height: 60px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-navigation {
        padding: 0 var(--spacing-sm);
    }
    
    .product-tech-overlay {
        top: var(--spacing-sm);
        left: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .tech-indicator, .efficiency-badge, .capacity-indicator {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
        min-width: auto;
    }
    
    .efficiency-number {
        font-size: 1.4rem;
    }
    
    .temp-indicator {
        min-width: 50px;
        padding: var(--spacing-xs);
    }
    
    .product-title-premium {
        font-size: 2rem;
    }
    
    .product-features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantees-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .technical-specs {
        margin: var(--spacing-lg) var(--spacing-lg) 0;
        padding: var(--spacing-lg);
    }
    
    .specs-grid {
        gap: var(--spacing-lg);
    }
    
    .spec-group {
        padding: var(--spacing-lg);
    }
    
    /* Selector Tabs - Mantener horizontal en tablet */
    .selector-tabs {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: auto;
        max-width: none;
        margin: 0;
    }
    
    .selector-tab {
        flex-shrink: 0;
        min-width: 140px;
    }
    
    .pricing-card.recommended-premium {
        transform: none;
    }
    
    .pricing-card.recommended-premium:hover {
        transform: translateY(-8px);
    }
}

/* ========================================
   GALERÍA DE PRODUCTOS MEJORADA
   ======================================== */

/* Contenedor principal de la galería mejorada */
.product-gallery-enhanced {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Header de la galería */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid rgba(var(--primary-color-rgb), 0.2);
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-counter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.current-slide {
    font-size: 1.1rem;
}

.total-slides {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Galería de miniaturas mejorada */
.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.thumb-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.thumb-item.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(var(--primary-color-rgb), 0.4);
    z-index: 2;
}

.thumb-item:hover:not(.active) {
    transform: scale(1.02);
    border-color: rgba(var(--primary-color-rgb), 0.5);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.thumb-item:hover img {
    transform: scale(1.1);
}

/* Overlay mejorado de las miniaturas */
.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.6) 50%, 
        transparent 100%
    );
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: var(--spacing-sm);
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.thumb-item:hover .thumb-overlay,
.thumb-item.active .thumb-overlay {
    opacity: 1;
}

.thumb-icon {
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-full);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.thumb-overlay span {
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Barra de progreso de la galería */
.gallery-progress {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(var(--primary-color-rgb), 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 14.28%; /* 1/7 para la primera imagen */
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Imagen principal mejorada */
.main-product-image {
    position: relative;
    height: 480px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    touch-action: manipulation;
}

.product-photo-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    position: absolute;
    top: 0;
    left: 0;
}

.product-photo-main.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.product-photo-main:hover {
    transform: scale(1.02) translateY(0);
}

/* Responsive para la galería mejorada */
@media (max-width: 768px) {
    .product-gallery-enhanced {
        padding: var(--spacing-md);
        margin-top: var(--spacing-sm);
    }
    
    .gallery-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .gallery-title {
        font-size: 1rem;
    }
    
    .gallery-counter {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }
    
    .product-gallery-thumbs {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .thumb-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .thumb-overlay span {
        font-size: 0.6rem;
    }
    
    .main-product-image {
        height: 400px;
    }
    
    .progress-bar {
        height: 4px;
    }
}

@media (max-width: 480px) {
    .product-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-counter {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .technical-specs {
        margin: var(--spacing-md) var(--spacing-md) 0;
        padding: var(--spacing-md);
    }
    
    .spec-group {
        padding: var(--spacing-md);
    }
    
    .spec-group h5 {
        font-size: 1rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm) 0;
    }
    
    .spec-label,
    .spec-value {
        font-size: 0.9rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== PRODUCT THUMBNAILS STYLES ===== */

/* Fila de miniaturas de productos */
.product-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    background: var(--background-card);
    box-shadow: var(--shadow-sm);
}

.thumbnail-item:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(30, 64, 175, 0.3);
    box-shadow: var(--shadow-md);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(30, 64, 175, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover::after {
    opacity: 1;
}

.thumbnail-item.active::after {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2) 0%, rgba(8, 145, 178, 0.2) 100%);
    opacity: 1;
}

/* Miniatura de video */
.thumbnail-item.video-thumb {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: white;
}

.thumbnail-item.video-thumb i {
    font-size: 1.8rem;
    color: white;
}

.thumbnail-item.video-thumb span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.thumbnail-item.video-thumb:hover {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.thumbnail-item.video-thumb.active {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.5);
}

/* Ajustes responsivos para thumbnails */
@media (max-width: 768px) {
    .product-thumbnails {
        gap: var(--spacing-xs);
        margin-top: var(--spacing-sm);
        padding: var(--spacing-xs);
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .product-thumbnails {
        justify-content: flex-start;
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
    
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
}

/* Mejoras para la imagen principal cuando se usan thumbnails */
.main-product-image {
    margin-bottom: 0;
    cursor: pointer; /* Indicar que es clickeable */
}

.main-product-image img.active {
    cursor: pointer; /* Cursor pointer para la imagen activa */
}

.product-image-premium {
    background: var(--glass-bg);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-lg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
}

/* ===== IMAGE MODAL/LIGHTBOX STYLES ===== */

/* Modal overlay */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Modal content container */
.modal-content {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

/* Modal image */
.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-2xl);
    transition: opacity 0.3s ease;
}

/* Modal video container */
.modal-video-container {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.modal-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-lg);
}

/* Close button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
    background: rgba(14, 165, 233, 1);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

/* Modal navigation buttons */
.modal-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-nav-button:hover {
    background: rgba(14, 165, 233, 1);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.modal-nav-button.prev {
    left: 20px;
}

.modal-nav-button.next {
    right: 20px;
}

/* Image info overlay */
.modal-info {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-info h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.modal-info p {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    margin: 0;
}

/* Image counter */
.modal-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    background: rgba(14, 165, 233, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    border: 2px solid rgba(255, 255, 255, 0.8);
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Zoom hint */
.modal-zoom-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-xs);
    opacity: 0;
    animation: fadeInOut 3s ease-in-out;
    pointer-events: none;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95vw;
        height: 85vh;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .modal-nav-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .modal-counter {
        top: 15px;
        left: 15px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .modal-nav-button.prev {
        left: 10px;
    }
    
    .modal-nav-button.next {
        right: 10px;
    }
    
    .modal-info {
        bottom: -60px;
        padding: var(--spacing-sm);
    }
    
    .modal-counter {
        top: -50px;
        font-size: 0.8rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 98vw;
        max-height: 98vh;
    }
    
    .modal-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .modal-nav-button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .modal-info {
        bottom: -50px;
    }
    
    .modal-info h4 {
        font-size: 1rem;
    }
    
    .modal-info p {
        font-size: 0.8rem;
    }
}

/* ===== DOCUMENTATION SECTION STYLES ===== */

/* Sección de documentación */
.documentation-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--glass-bg);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.documentation-section h5 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid rgba(30, 64, 175, 0.1);
}

.documentation-section h5 i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Grid de documentos */
.documentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Item de documento */
.doc-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.doc-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.9);
}

/* Ícono del documento */
.doc-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
}

/* Contenido del documento */
.doc-content {
    flex: 1;
    min-width: 0;
}

.doc-content h6 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.doc-content p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.doc-size {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    background: rgba(30, 64, 175, 0.1);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-full);
    display: inline-block;
}

/* Botón de descarga */
.doc-download {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-lg);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.doc-download:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.doc-download:active {
    transform: scale(0.95);
}

/* Nota informativa */
.doc-note {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.doc-note i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

.doc-note span {
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.doc-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    display: inline;
}

.doc-note a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Estados de descarga */
.doc-download.downloading {
    background: var(--secondary-color);
    cursor: not-allowed;
}

.doc-download.downloading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive adjustments para documentation */
@media (max-width: 768px) {
    .documentation-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .doc-item {
        padding: var(--spacing-sm);
    }
    
    .doc-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .doc-download {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .documentation-section {
        padding: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }
    
    .documentation-section h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .doc-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .doc-content {
        order: 1;
    }
    
    .doc-download {
        order: 2;
        align-self: center;
    }
    
    .doc-icon {
        order: 0;
        align-self: center;
    }
    
    .documentation-section {
        padding: var(--spacing-md);
    }
    
    .doc-note {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }
}

/* ===== COLLAPSIBLE SPECIFICATIONS ===== */
.spec-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: var(--spacing-sm);
    margin: 0;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    user-select: none;
}

.spec-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(64, 169, 255, 0.5);
    transform: translateY(-2px);
}

.spec-toggle.active {
    background: rgba(64, 169, 255, 0.15);
    border-color: rgba(64, 169, 255, 0.4);
    color: var(--primary-color);
}

.spec-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    opacity: 0.7;
}

.spec-toggle.active .spec-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--primary-color);
}

.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 var(--spacing-sm);
    opacity: 0;
}

.collapsible.expanded {
    max-height: 1500px !important;
    padding: var(--spacing-sm);
    opacity: 1;
    transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease 0.1s;
}

.specs-container {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.specs-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.spec-group {
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.02);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.spec-group:last-child {
    margin-bottom: 0;
}

.spec-group:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ===== RESPONSIVE COLLAPSIBLE STYLES ===== */
@media (max-width: 768px) {
    .spec-toggle {
        padding: var(--spacing-sm) var(--spacing-xs);
        font-size: 1rem;
    }
    
    .collapsible.expanded {
        max-height: 1200px !important;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .spec-arrow {
        font-size: 0.7rem;
    }
    
    .specs-container {
        padding: var(--spacing-sm);
        margin: var(--spacing-sm) 0;
    }
}

@media (max-width: 480px) {
    .spec-toggle {
        padding: var(--spacing-xs);
        font-size: 0.9rem;
    }
    
    .collapsible.expanded {
        max-height: 1000px !important;
        padding: var(--spacing-xs);
    }
    
    .spec-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .specs-container {
        padding: var(--spacing-xs);
        margin: var(--spacing-xs) 0;
    }
}

/* ===== DOCUMENTATION SIMPLE LAYOUT ===== */
.documentation-simple {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.doc-item-simple {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.doc-item-simple:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(64, 169, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.doc-item-simple .doc-icon {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: var(--border-radius);
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(64, 169, 255, 0.3);
}

.doc-item-simple .doc-content {
    flex: 1;
    text-align: left;
}

.doc-item-simple .doc-content h6 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.doc-item-simple .doc-content p {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.doc-item-simple .doc-size {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.doc-item-simple .doc-download {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(64, 169, 255, 0.1);
    border: 1px solid rgba(64, 169, 255, 0.3);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.doc-item-simple .doc-download:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(64, 169, 255, 0.4);
}

/* Responsive para documentation simple */
@media (max-width: 768px) {
    .documentation-simple {
        gap: var(--spacing-sm);
    }
    
    .doc-item-simple {
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
        max-width: 100%;
    }
    
    .doc-item-simple .doc-icon {
        min-width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .doc-item-simple .doc-download {
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .doc-item-simple {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .doc-item-simple .doc-content {
        text-align: center;
    }
    
    .doc-item-simple .doc-download {
        align-self: center;
    }
}

/* Estilos específicos para iconos de WhatsApp */
.btn i.fab.fa-whatsapp {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    margin-right: 8px;
}

.btn i.fab.fa-whatsapp:before {
    content: "\f232" !important;
}

/* ============================================
   CALCULADORA DE AHORRO
   ============================================ */

.savings-calculator {
    padding: var(--spacing-4xl) 0;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.calculator-container {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

/* Contenido de la calculadora */
.calculator-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
}

/* Inputs del usuario */
.calculator-inputs {
    display: grid;
    gap: var(--spacing-xl);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.input-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.input-group label i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    background: var(--background-lighter);
    border-radius: var(--border-radius-full);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: none;
    transition: transform var(--transition-base);
}

.input-group input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.input-value {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    text-align: center;
    min-width: 80px;
    box-shadow: var(--shadow-sm);
}

.input-note {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

/* Explicación del cálculo */
.calculation-explanation {
    background: var(--background-lighter);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.calculation-explanation p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.calculation-explanation i {
    color: var(--primary-color);
    margin-right: var(--spacing-xs);
}

.calculation-explanation strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.calculation-explanation .note {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-style: italic;
}

.calculation-explanation .highlight-cost {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Tarjetas de comparación */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.comparison-card {
    background: white;
    border: 2px solid var(--background-lighter);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transition: all var(--transition-base);
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.comparison-card.bottled-water {
    border-color: #ef4444;
}

.comparison-card.bottled-water .card-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.comparison-card.beosmotic {
    border-color: var(--primary-light);
}

.comparison-card.beosmotic .card-icon {
    background: var(--gradient-primary);
}

.comparison-card.beosmotic-purchase {
    border-color: var(--secondary-light);
}

.comparison-card.beosmotic-purchase .card-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.comparison-card.recommended {
    border-width: 3px;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-colored);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.card-icon i {
    font-size: var(--font-size-2xl);
    color: white;
}

.comparison-card h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.plan-type {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--background-lighter);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item .period {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.cost-item .amount {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.cost-item .amount.highlight {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

.card-note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #ef4444;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

.card-note i {
    color: #ef4444;
    margin-right: var(--spacing-xs);
}

.card-note-positive {
    background: rgba(34, 197, 94, 0.08);
    border-left-color: #22c55e;
}

.card-note-positive i {
    color: #22c55e;
}

.card-note-info {
    background: rgba(14, 165, 233, 0.08);
    border-left-color: #0ea5e9;
}

.card-note-info i {
    color: #0ea5e9;
}

/* Botón desplegable de desglose */
.breakdown-toggle {
    width: 100%;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--background-lighter);
    border: 1px solid var(--secondary-light);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-base);
}

.breakdown-toggle:hover {
    background: white;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.breakdown-toggle .toggle-icon {
    margin-left: auto;
    transition: transform var(--transition-base);
}

/* Desglose detallado */
.purchase-breakdown {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--background-lighter);
    border-radius: var(--border-radius-md);
    border: 1px solid #e2e8f0;
}

.purchase-breakdown h4 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.purchase-breakdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.purchase-breakdown li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    border-bottom: 1px solid #e2e8f0;
}

.purchase-breakdown li:last-child {
    border-bottom: none;
}

.purchase-breakdown li.breakdown-total {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 2px solid var(--secondary-color);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.breakdown-amount {
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
}

.breakdown-note {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid #e2e8f0;
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.breakdown-note i {
    color: #f59e0b;
    font-size: var(--font-size-xs);
}

/* Resumen de ahorro */
.savings-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(min-content, auto);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* La tarjeta de beneficios ocupa las 2 columnas */
.summary-card-benefits {
    grid-column: 1 / -1;
}

.summary-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-colored);
    transition: all var(--transition-base);
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.4);
}

.summary-card.pulse {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon i {
    font-size: var(--font-size-2xl);
}

.summary-content {
    flex: 1;
}

.summary-content h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.savings-amount {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.savings-percentage {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    opacity: 0.9;
}

.eco-impact {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    opacity: 0.9;
}

/* Tarjeta de beneficios adicionales */
.summary-card-benefits {
    background: linear-gradient(135deg, #0ea5e9 0%, #0891b2 50%, #1e40af 100%);
    flex-direction: column;
    padding: var(--spacing-lg) var(--spacing-xl);
    justify-content: center;
}

.summary-card-benefits h4 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
    margin-top: 0;
}

.benefits-list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: var(--spacing-lg);
    margin-top: 0;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    text-align: center;
    flex: 1;
    max-width: 280px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.benefit-item i {
    font-size: var(--font-size-2xl);
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.95;
    transition: transform 0.3s ease;
}

.benefit-item:hover i {
    transform: scale(1.1);
}

.benefit-item strong {
    font-weight: var(--font-weight-bold);
}

.benefit-item span {
    color: white;
}

/* CTA de la calculadora */
.calculator-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--background-lighter);
    border-radius: var(--border-radius-lg);
}

.calculator-cta .btn {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.cta-note {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

/* Responsive para la calculadora */
@media (max-width: 1200px) {
    .savings-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-card-benefits {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .calculator-container {
        padding: var(--spacing-lg);
    }
    
    .comparison-cards {
        grid-template-columns: 1fr;
    }
    
    .savings-summary {
        grid-template-columns: 1fr;
    }
    
    .summary-card {
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-list {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .benefit-item {
        max-width: 100%;
    }
}

/* Páginas Legales */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--background-light);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.legal-content .last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semi-bold);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--accent-color);
    padding-left: var(--spacing-md);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.legal-content p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.legal-content ul {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
}

.legal-content li {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.legal-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semi-bold);
}

/* Responsive para páginas legales */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 80px;
    }
    
    .legal-content {
        margin: var(--spacing-sm);
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .legal-content h1 {
        font-size: var(--font-size-2xl);
    }
    
    .legal-content h2 {
        font-size: var(--font-size-lg);
    }
}

/* ============================================
   Cookie Consent Banner & Settings
   ============================================ */

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: var(--spacing-lg) var(--spacing-xl);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--primary-color);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    flex: 1;
}

.cookie-consent-text > i {
    font-size: var(--font-size-3xl);
    color: var(--primary-color);
    margin-top: var(--spacing-xs);
    flex-shrink: 0;
}

.cookie-consent-text h4 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

.cookie-consent-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.cookie-consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: var(--font-weight-medium);
}

.cookie-consent-text a:hover {
    color: var(--accent-color);
}

.cookie-consent-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn i {
    font-size: var(--font-size-sm);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.cookie-btn-reject {
    background: white;
    color: var(--text-secondary);
    border: 2px solid #e5e7eb;
}

.cookie-btn-reject:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: var(--text-primary);
}

.cookie-btn-settings {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-btn-settings:hover {
    background: var(--primary-color);
    color: white;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: var(--spacing-lg);
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-settings-modal.show .cookie-settings-content {
    transform: scale(1);
}

.cookie-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl);
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.cookie-settings-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.cookie-settings-header i {
    color: var(--primary-color);
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-settings-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.cookie-settings-body {
    padding: var(--spacing-xl);
}

.cookie-settings-description {
    margin: 0 0 var(--spacing-xl) 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.cookie-category-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
}

.cookie-category-title i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.cookie-category-title h4 {
    margin: 0;
    font-size: var(--font-size-md);
    color: var(--text-primary);
}

.cookie-required {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    background: white;
    padding: 2px 8px;
    border-radius: var(--border-radius-sm);
    margin-left: var(--spacing-xs);
}

.cookie-category-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    border-radius: 24px;
    transition: 0.3s;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background: #94a3b8;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: var(--spacing-xl);
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
    background: #f8fafc;
}

/* Responsive Design for Cookie Consent */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: var(--spacing-md);
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }

    .cookie-consent-text {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .cookie-consent-text > i {
        font-size: var(--font-size-2xl);
    }

    .cookie-consent-buttons {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-settings-modal {
        padding: var(--spacing-sm);
    }

    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: var(--spacing-md);
    }

    .cookie-settings-header h3 {
        font-size: var(--font-size-lg);
    }

    .cookie-category {
        padding: var(--spacing-md);
    }

    .cookie-settings-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-consent-text h4 {
        font-size: var(--font-size-md);
    }

    .cookie-consent-text p {
        font-size: var(--font-size-xs);
    }

    .cookie-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-xs);
    }

    .cookie-category-title {
        flex-wrap: wrap;
    }

    .cookie-required {
        width: 100%;
        margin-left: 0;
        margin-top: var(--spacing-xs);
    }
}

/* ============================================
   VALUE BANNER SECTION
   ============================================ */

.value-banner {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.value-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.value-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.value-banner-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.value-banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

.value-banner-icon i {
    font-size: 40px;
    color: white;
}

.value-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    margin-bottom: 40px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.value-banner-title .highlight-text {
    color: #fbbf24;
    font-weight: 800;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.value-banner-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    border-radius: 2px;
}

.btn-value-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #1d4ed8;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid transparent;
}

.btn-value-banner:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #fbbf24;
    color: #1e40af;
    border-color: white;
}

.btn-value-banner i {
    transition: transform 0.3s ease;
}

.btn-value-banner:hover i {
    transform: translateX(5px);
}

/* Animaciones */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .value-banner {
        padding: 60px 0;
    }

    .value-banner-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .value-banner-icon i {
        font-size: 30px;
    }

    .value-banner-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .btn-value-banner {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .value-banner::before,
    .value-banner::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .value-banner {
        padding: 40px 0;
    }

    .value-banner-title {
        font-size: 1.4rem;
    }

    .value-banner-title .highlight-text {
        display: inline;
    }

    .btn-value-banner {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   EFECTO TYPEWRITER HERO
   =================================== */

.typewriter-container {
    display: inline-block;
    min-height: 1.2em;
}

#typewriter-text {
    display: inline;
}

#typewriter-text span {
    display: inline;
    margin-right: 0.3em;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1em;
}

#typewriter-text span.word-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#typewriter-text span.word-quality {
    font-weight: 900;
    font-size: 1.15em;
    background: linear-gradient(135deg, 
        #06b6d4 0%, 
        #22d3ee 33%,
        #38bdf8 66%,
        #60a5fa 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
}

.typewriter-cursor {
    display: inline-block;
    margin-left: 6px;
    animation: blink 0.8s step-end infinite;
    font-weight: 400;
    font-size: 1.05em;
    color: #22d3ee;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
    transition: opacity 0.5s ease-out;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Animación para el botón CTA del hero */
.hero-cta-hidden {
    opacity: 0 !important;
    transform: translateY(30px) scale(0.95) !important;
    pointer-events: none;
}

#hero-cta {
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#hero-cta.show-cta {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto;
    animation: pulseButton 2s ease-in-out 1;
}

@keyframes pulseButton {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 188, 212, 0.5);
    }
}

/* Efecto hover mejorado */
#hero-cta.show-cta .btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

#hero-cta.show-cta .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#hero-cta.show-cta .btn:hover::before {
    width: 300px;
    height: 300px;
}

#hero-cta.show-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 188, 212, 0.4);
}

#hero-cta.show-cta .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.3);
}

/* ========== ESTILOS DE VALIDACIÓN DE FORMULARIO ========== */

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    outline: none;
}

/* Estados de validación */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success:focus,
.form-group select.success:focus,
.form-group textarea.success:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Mensajes de error y éxito */
.field-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

.field-error::before {
    content: '⚠️';
    font-size: 1rem;
}

.field-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

.field-success::before {
    content: '✔️';
    font-size: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Íconos de validación */
.form-group.has-validation {
    position: relative;
}

.form-group.has-validation input,
.form-group.has-validation select,
.form-group.has-validation textarea {
    padding-right: 3rem;
}

.validation-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.validation-icon.error {
    color: #ef4444;
}

.validation-icon.success {
    color: #10b981;
}

/* Mensaje de éxito del formulario */
.success-message {
    animation: slideDown 0.5s ease;
}

/* Botón de envío con estados */
.contact-form button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.contact-form button[type="submit"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-form button[type="submit"]:hover::after {
    width: 300px;
    height: 300px;
}
