/* Variables globales */
:root {
    --primary-color: #3498db;
    --primary-color-dark: #2980b9;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    --text-color-light: #7f8c8d;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --navbar-height: 80px;
}

/* Ocultar secciones de detalles por defecto */
.product-details {
    display: none;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff !important;
    overflow-x: hidden;
}

/* Optimización de imágenes */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    z-index: 1000;
    padding: 0 2rem;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 40px;
    transition: transform var(--transition-fast);
}

.brand-logo:hover {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-right: 1rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Menú móvil */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px; /* Inicia fuera de la pantalla */
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0px 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}
.mobile-menu.active {
    right: 0; /* Se desliza hacia adentro */
}
.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1rem 0 1rem;
}
.close-menu-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-color-light);
}
.mobile-menu-links {
    list-style: none;
    padding: 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.mobile-menu-links li a {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 1rem 0;
}
.mobile-menu-cta {
    text-decoration: none;
    background: var(--primary-color);
    color: var(--white) !important; /* Forzar color */
    padding: 1rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    margin-top: auto;
}
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
}
.page-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}

/* Estilos base para el menú móvil (oculto en escritorio) */
.mobile-menu-button {
    display: none; /* Oculto por defecto */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

.mobile-menu-container {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin: 20px 0;
}

.mobile-menu-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 600;
}

/* =====================
   CARRUSEL
   ===================== */
.carousel-container {
    transition: opacity 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    visibility: hidden;
}

.carousel-container.active {
    opacity: 1;
    position: relative;
    visibility: visible;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: auto;
    justify-content: flex-start;
    padding: 0;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all var(--transition-fast);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
    opacity: 1;
}

.carousel-button:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
}

.carousel-button.prev {
    left: 0.5rem;
    right: auto;
}

.carousel-button.next {
    right: 0.5rem;
    left: auto;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #001233 0%, #023e8a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: var(--navbar-height);
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.15) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300FFFF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 8rem;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - var(--navbar-height));
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
    text-align: left;
    max-width: 600px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .badge-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
}

.hero-highlight {
    position: relative;
    display: inline-block;
    color: #00ffff;
    -webkit-text-fill-color: #00ffff;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #00ffff, #001233);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.hero-highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 100%;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
    line-height: 1.8;
    text-align: left;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00ffff 0%, #001233 100%);
    color: #001233;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    font-size: 0.92rem;
    min-width: 160px;
    white-space: nowrap;
    text-align: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #001233 0%, #00ffff 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
    color: #00ffff;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    box-shadow: none;
    font-size: 0.92rem;
    min-width: 160px;
}

.btn-outline:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
}

.btn-icon {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(160px);
    opacity: 0;
    animation: fadeInRight 1s ease forwards 0.8s;
    height: 100%;
    min-height: 400px;
    width: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    display: block;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05) translateY(-10px) rotateY(10deg);
    filter: drop-shadow(0 30px 60px rgba(0, 255, 255, 0.4));
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    z-index: 2;
    animation: scrollDown 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-bottom: 0.5rem;
}

/* =====================
   STATS SECTION
   ===================== */
.stats {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.02) 0%, rgba(46, 204, 113, 0.02) 100%);
    z-index: 1;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 600px) {
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Efecto de partículas flotantes para stats */
.stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 204, 113, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
    animation: floatParticles 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatParticles {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1.2rem;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.08);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: statsSlideIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.stat-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
    backdrop-filter: blur(20px);
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.stat-item:hover .stat-number::after {
    width: 60%;
}

.stat-label {
    color: var(--text-color-light);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--primary-color);
}

@keyframes statsSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =====================
   FEATURES SECTION
   ===================== */
.features {
    padding: 6rem 0 8rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.03) 0%, rgba(46, 204, 113, 0.02) 50%, transparent 70%);
    animation: rotate 40s linear infinite;
}

.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(52,152,219,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: featuresHeaderSlideIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    animation: expandHeaderLine 0.6s ease 1s forwards;
}

@keyframes expandHeaderLine {
    from { width: 0; }
    to { width: 100px; }
}

.section-header h2 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: expandLine 0.6s ease 0.8s forwards;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 80px; }
}

.features-grid {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2.5rem;
    align-items: flex-start;
    margin: 3rem auto;
    width: 100%;
    padding: 1rem 0;
}

.feature-item {
    background: transparent;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: featureItemSlideIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.3s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.5s; }
.feature-item:nth-child(4) { animation-delay: 0.6s; }
.feature-item:nth-child(5) { animation-delay: 0.7s; }
.feature-item:nth-child(6) { animation-delay: 0.8s; }

.feature-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
}

.feature-item:hover::before {
    width: 300px;
    height: 300px;
}

.feature-item:hover {
    transform: translateY(-15px) scale(1.05);
}

.feature-item.active {
    transform: translateY(-15px) scale(1.05);
}

.feature-item.active .feature-circle {
    animation: activePulse 2s ease-in-out infinite;
}

.feature-item.active h3 {
    color: var(--primary-color);
    font-weight: 800;
    transform: scale(1.1);
}

.feature-item.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    animation: drawLineEnhanced 0.4s ease-out;
}

@keyframes drawLineEnhanced {
    from { 
        width: 0;
        opacity: 0;
    }
    to { 
        width: 50px;
        opacity: 1;
    }
}

@keyframes featuresHeaderSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes featureItemSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-circle {
    width: 180px;
    height: 180px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid transparent;
    background-clip: padding-box;
}

.feature-circle::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover .feature-circle::after {
    opacity: 1;
}

.feature-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.25);
}

.feature-circle img {
    width: 150px;
    height: 150px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.feature-item:hover .feature-circle img {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 8px 16px rgba(52, 152, 219, 0.3));
}

.feature-item h3 {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.feature-item:hover h3 {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* =====================
   PRODUCTS SECTION
   ===================== */
.products {
    padding: 0;
    /* Se elimina el fondo de color de esta sección */
    background: transparent;
    overflow: hidden;
    position: relative; /* Para el posicionamiento de los carruseles */
    min-height: 700px; /* Para evitar que la sección colapse durante la transición */
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}

.products-grid {
    position: relative;
    margin: 0;
}

.product-category {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 16px rgba(30, 64, 175, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
    min-height: 600px;
    max-height: 600px;
    margin: 0 auto;
    transition: box-shadow 0.3s, transform 0.3s;
    width: 100%;
    max-width: none;
    padding-bottom: 10px;
    flex: 0 0 calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
    min-width: calc((100% - 60px) / 3);
    margin: 0;
    scroll-snap-align: start;
}

.product-image {
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.product-info {
    padding: 1.5rem 1.5rem 0.8rem 1.5rem;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    justify-content: space-between;
    height: calc(100% - 220px);
}

.product-info h3 {
    font-size: 1.18rem;
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.product-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.7rem;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin: 0.7rem 0 1.2rem 0;
    text-align: center;
}

.spec {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spec span {
    color: #1a40af;
    font-weight: 700;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.1rem;
}

.spec label {
    color: #8a8a8a;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.discover-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    display: inline-block;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    display: block;
    width: 220px;
    min-width: 140px;
    max-width: 260px;
    margin: 1.8rem auto 1.2rem auto;
    padding: 1rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    text-align: center;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.25rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.15);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.discover-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;
}

.discover-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-color-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.25);
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    text-decoration: none;
}

.discover-btn:hover::before {
    left: 100%;
}

.discover-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.2);
}

.product-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.13);
}

.product-card:hover .product-image img {
    transform: scale(1.05) translateZ(0);
}

/* =====================
   ANIMACIONES
   ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3) rotate(15deg); opacity: 0.7; }
}

@keyframes scrollDown {
    0% {
        transform: translateY(0) translateX(-50%);
        opacity: 0;
    }
    50% {
        transform: translateY(10px) translateX(-50%);
        opacity: 1;
    }
    100% {
        transform: translateY(20px) translateX(-50%);
        opacity: 0;
    }
}

.feature-transition {
    animation: featureTransition 0.5s ease-out;
}

/* =====================
   BENEFITS SECTION
   ===================== */
.benefits {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.benefit-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-color-light);
    line-height: 1.6;
    font-size: 1rem;
}

.benefit-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: benefitFadeIn 0.8s ease forwards;
}

@keyframes benefitFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh !important;
    height: auto !important;
    background: linear-gradient(135deg, #001233 0%, #023e8a 100%) !important;
    overflow: visible !important;
    padding: 0 !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.contact-background {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    z-index: 0 !important;
    pointer-events: none;
}

.contact-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    animation: contactParticles 20s ease-in-out infinite;
}

.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    animation: contactGlow 10s ease-in-out infinite;
}

@keyframes contactParticles {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes contactGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.contact-left,
.contact-form-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: rgba(255,255,255,0.7); /* Blanco no tan intenso */
}

.contact-highlight {
    background: linear-gradient(135deg, #00ffff, #001233);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    /* No hay efecto hover para que no parezca interactivo */
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    min-width: 0;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    width: 100%;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    min-width: 0;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, var(--primary-color));
    transition: width var(--transition-fast);
}

.form-group input:focus ~ .input-focus-border,
.form-group textarea:focus ~ .input-focus-border {
    width: 100%;
}

.submit-button {
    background: linear-gradient(135deg, #00ffff 0%, var(--primary-color) 100%);
    color: #001233;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-sm);
}

.submit-button:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.submit-button:disabled::before {
    transform: scaleX(0);
}

.button-text {
    position: relative;
    z-index: 1;
}

/* =====================
   FOOTER
   ===================== */
.footer {
    background: linear-gradient(135deg, #001233 0%, #000 100%);
    color: var(--white);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.5), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-fast);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.social-icon-img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* =====================
   CONTACT FOOTER (para detalles de productos)
   ===================== */
.contact-footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: 2rem;
}

.contact-footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.95rem;
}

.contact-info .icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

/* =====================
   PRODUCT DETAILS SECTIONS
   ===================== */

/* Mostrar secciones de detalles cuando estén activas */
.product-details.active {
    display: block !important;
}

.product-details {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff !important;
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
    display: none;
}

.details-container {
    max-width: 1500px;
    margin: 0 auto;
    background: transparent;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-details-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-color-light);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    line-height: 1;
    padding: 0;
}

.close-details-btn:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.details-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    min-height: 0;
    padding-top: 0.5rem;
}

.product-badge {
    margin-bottom: 1rem;
}

.highlights {
    margin-bottom: 1.2rem;
}

.highlights-grid {
    margin-top: 0.7rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.2rem;
    align-items: stretch;
}

.action-buttons .btn {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
    border-radius: 10px;
    min-width: 160px;
    max-width: 220px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Estilos unificados para todos los detalles de productos */
.product-title-group {
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 2.25rem; /* 36px */
    font-weight: 800; /* Extra bold */
    color: #1f2937; /* A strong, dark cool gray */
    line-height: 1.2;
    margin: 0;
    /* Remove gradient and shadow */
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.product-model {
    font-size: 0.8rem; /* 13px */
    color: #3b82f6; /* Blue 500 */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    background-color: transparent;
    border: 2px solid #bfdbfe; /* Blue 200 */
    border-radius: var(--border-radius-md); /* 8px */
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.details-gallery {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 0;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 0 0 1rem 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    background: #f7f7f7;
}

.main-image img {
    border-radius: 18px;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: auto;
    background: #f7f7f7;
}

.details-info {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    padding: 0;
}

.prev-image,
.next-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    z-index: 10;
}

.prev-image {
    left: 1rem;
}

.next-image {
    right: 1rem;
}

.prev-image:hover,
.next-image:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.image-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.thumbnail-gallery {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* 8px */
    background: linear-gradient(135deg, #f857a6, #ff5858);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(255, 88, 88, 0.35);
    transition: all var(--transition-fast);
}

.product-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 88, 88, 0.45);
}

.product-badge::before {
    content: none;
}

.calculator-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
    margin: 0.5rem 0;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.calculator-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.calculator-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.highlights h3,
.description h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.25rem;
}

.highlights h3::after,
.description h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem; /* 12px */
    background: transparent;
    padding: 0;
    border: none;
}

.highlight-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem; /* 8px */
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.5rem 1rem; /* 8px 16px */
    border-radius: 2rem; /* pill shape */
    transition: all var(--transition-fast);
    /* Se eliminan los estilos de tarjeta anteriores */
    border-left: none;
    box-shadow: none;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background-color: #e9ecef;
}

.highlight-dot {
    display: none;
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--text-color-light);
    font-weight: 500;
}

.highlight-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.description p {
    color: var(--text-color-light);
    line-height: 1.7;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.2rem;
    align-items: stretch;
}

.action-buttons .btn {
    padding: 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.action-buttons .btn .icon {
    transition: transform 0.3s ease;
}

.action-buttons .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.action-buttons .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.action-buttons .btn:hover .icon {
    transform: scale(1.1) rotate(-3deg);
}

.action-buttons .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-25deg);
    transition: left .8s cubic-bezier(0.23, 1, 0.32, 1);
}

.action-buttons .btn:hover::after {
    left: 140%;
}

.download-btn,
.call-btn,
.email-btn {
    background: linear-gradient(135deg, #00b8b8, #2980b9);
    color: var(--white);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #27ae60, #1EAC52);
}

.download-btn:hover,
.call-btn:hover,
.email-btn:hover {
    filter: brightness(1.1);
}

.whatsapp-btn:hover {
    filter: brightness(1.15);
}

.download-btn::before,
.whatsapp-btn::before,
.call-btn::before,
.email-btn::before {
    content: none;
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.download-btn:hover .icon, .whatsapp-btn:hover .icon, .call-btn:hover .icon, .email-btn:hover .icon {
    /* La animación ya está en .action-buttons .btn:hover .icon */
}

.badge-icon {
    font-size: 1.1rem;
    animation: sparkle 1.5s infinite;
}

.model-icon {
    font-size: 1.1rem;
}

.calculator-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.calculator-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}
.calculator-header h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.calculator-details {
    display: grid;
    gap: 1rem;
}

.detail-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}
.section-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.btn-text {
    transition: color var(--transition-fast);
}

/* ============================
   ESTILOS DE ESPECIFICACIONES
   ============================ */

.specifications,
.equipment {
    padding: 2.5rem;
    margin-top: 2rem;
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.specifications h3,
.equipment h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color-dark);
    display: inline-block;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.specs-grid > div {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border-left: 4px solid var(--secondary-color);
}

.specs-grid > div:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.spec-label {
    font-weight: 500;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.spec-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* ==========================
   ESTILOS DE EQUIPAMIENTO
   ========================== */

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.equipment-grid > div {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.equipment-grid > div:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(10px);
}

.equipment-dot {
    display: none; /* Ocultamos el punto original */
}

.equipment-grid > div::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color var(--transition-fast);
}

.equipment-grid > div:hover::before {
    color: var(--white);
}

/* Mejoras en la responsividad de las animaciones */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        animation-delay: 0.1s !important;
    }
    
    .stat-item:nth-child(3) { animation-delay: 0.2s !important; }
    .stat-item:nth-child(4) { animation-delay: 0.3s !important; }
    
    .features-grid {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .feature-item {
        animation-delay: 0.2s !important;
    }
    
    .feature-item:nth-child(2) { animation-delay: 0.3s !important; }
    .feature-item:nth-child(3) { animation-delay: 0.4s !important; }
    .feature-item:nth-child(4) { animation-delay: 0.5s !important; }
    .feature-item:nth-child(5) { animation-delay: 0.6s !important; }
    .feature-item:nth-child(6) { animation-delay: 0.7s !important; }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        animation-delay: 0.1s !important;
    }
    
    .stat-item:nth-child(2) { animation-delay: 0.2s !important; }
    .stat-item:nth-child(3) { animation-delay: 0.3s !important; }
    .stat-item:nth-child(4) { animation-delay: 0.4s !important; }
}

@keyframes activePulse {
    0%, 100% { 
        /* Se elimina el cambio de color de fondo */
        box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3);
        transform: scale(1.1) rotate(5deg);
    }
    50% { 
        /* Se elimina el cambio de color de fondo */
        box-shadow: 0 20px 45px rgba(52, 152, 219, 0.4);
        transform: scale(1.15) rotate(5deg);
    }
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Efecto de ondas para features */
.feature-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
    opacity: 0;
}

.feature-item:hover::after {
    width: 400px;
    height: 400px;
    opacity: 1;
}

.feature-item.active .feature-circle {
    /* Se mantiene el pulso, pero sin cambiar el color de fondo */
    animation: activePulse 2s ease-in-out infinite;
}

.feature-item.active h3 {
    color: var(--primary-color);
    font-weight: 800;
    transform: scale(1.1);
}

/* Se mueve la línea para que aparezca solo debajo del texto */
.feature-item.active h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: drawLineEnhanced 0.4s ease-out;
}

/* Se elimina la línea anterior que estaba debajo del círculo */
.feature-item.active::after {
    display: none;
}

/* --- Media Queries para Responsividad --- */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .nav-content, .features-container, .products-container, .benefits-container, .contact-container, .footer-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 0; /* Sin espacio, ya que la imagen no estará */
    }
    .hero-content {
        align-items: center;
        order: 1; /* Aseguramos que el contenido sea el primer y único elemento */
    }
    .hero-visual {
        display: none; /* Ocultamos la imagen en móviles */
    }
    .hero h1 {
        font-size: clamp(3rem, 10vw, 4rem);
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        margin: 0 auto;
        max-width: 500px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }
}

/* Móviles y Tablets pequeñas (max-width: 768px) */
@media (max-width: 768px) {
    /* --- GENERAL --- */
    section {
        padding: 3rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    /* --- NAV --- */
    .nav-links, .nav-cta {
        display: none;
    }
    .mobile-menu-button {
        display: block;
    }
    body.mobile-menu-active {
        overflow: hidden;
    }

    /* --- HERO --- */
    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 1rem;
    }

    /* --- STATS --- */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.8rem; }


    /* --- FEATURES --- */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .feature-circle {
        width: 100px;
        height: 100px;
    }
    .feature-circle img {
        width: 60px;
        height: 60px;
    }
    .feature-item h3 {
        font-size: 0.9rem;
    }

    /* --- PRODUCTS --- */
    .carousel-container {
        padding: 0;
    }

    .carousel-button {
        background-color: rgba(255, 255, 255, 0.7);
        width: 40px;
        height: 40px;
    }
    .carousel-button.prev { left: 1rem; }
    .carousel-button.next { right: 1rem; }
    
    .carousel-track {
        padding: 0 0.5rem;
    }
    .product-card {
        padding: 1.5rem;
        min-width: 280px;
        margin: 0 0.5rem;
    }
    .product-image {
        height: 200px;
    }
    .product-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .product-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    .product-specs {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    .spec {
        padding: 0.5rem;
        text-align: center;
    }
    .spec span {
        font-size: 0.9rem;
        font-weight: 600;
    }
    .spec label {
        font-size: 0.75rem;
    }
    .discover-btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    /* --- BENEFITS --- */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .benefit-card {
        padding: 2rem;
        text-align: center;
    }
    .benefit-icon {
        margin: 0 auto 1rem;
    }
    .benefit-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    .benefit-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* --- CONTACT --- */
    .contact-container {
        gap: 2rem;
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .contact-left {
        order: 1;
        text-align: center;
    }
    .contact-title {
        font-size: 1.8rem;
    }
    .contact-subtitle {
        font-size: 0.95rem;
    }
    .contact-details {
        gap: 1rem;
    }
    .contact-item {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .contact-item-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .contact-form-section {
        order: 2;
        width: 100%;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    .submit-button {
        padding: 0.875rem;
        font-size: 1rem;
    }

    /* --- FOOTER --- */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-brand, .social-icons {
        justify-content: center;
    }
    .contact-info {
        align-items: center;
    }

    /* --- MENU --- */
    .mobile-menu-links a { 
        font-size: 1.25rem; 
        padding: 1.25rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    .mobile-menu-links a:hover {
        background: rgba(52, 152, 219, 0.1);
        padding-left: 1rem;
    }
    .mobile-menu-links a:last-child {
        border-bottom: none;
    }
    .mobile-menu-cta { 
        font-size: 1rem; 
        padding: 1rem 1.5rem;
        margin-top: 1rem;
        background: var(--primary-color);
        color: var(--white);
        border-radius: var(--border-radius-md);
        text-align: center;
        display: block;
    }
    .mobile-menu-cta:hover {
        background: var(--primary-color-dark);
        transform: translateY(-2px);
    }

    .hero-buttons {
        flex-direction: row !important;
        justify-content: center;
        align-items: stretch;
        gap: 0.7rem;
        max-width: 100%;
        width: 100%;
        margin: 0 auto 1.5rem auto;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        font-size: 0.98rem;
        min-width: 0;
        flex: 1 1 0;
        margin: 0;
        padding: 0.9rem 0.3rem;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: normal;
        text-align: center;
        box-sizing: border-box;
    }
    .hero-buttons .btn-icon {
        margin-right: 0.5rem;
        font-size: 1.2rem;
        display: inline-block;
        vertical-align: middle;
    }
}

/* Móviles (max-width: 480px) */
@media (max-width: 480px) {
    /* --- GENERAL --- */
    section {
        padding: 2.5rem 1rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }

    /* --- HERO --- */
    .hero {
        padding-top: 80px;
    }
    .hero h1 {
        font-size: 2rem;
    }

    /* --- STATS --- */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stat-item {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    .stat-number { line-height: 1; }
    .stat-label { text-align: left; }
    

    /* --- PRODUCTS --- */
    .carousel-wrapper {
        display: flex;
        justify-content: flex-start;
        width: 100vw;
        overflow: hidden;
        scroll-snap-type: none;
        -webkit-overflow-scrolling: auto;
        padding: 0;
    }
    .carousel-wrapper::-webkit-scrollbar {
        display: none;
    }
    .carousel-track {
        padding: 0 1rem;
    }
    .product-card {
        scroll-snap-align: center;
        width: 85%;
        flex-shrink: 0;
    }
    .carousel-button {
        display: none;
    }
    .product-specs {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    .spec {
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(127, 140, 141, 0.1);
    }
    .spec:last-child {
        border-bottom: none;
    }

    /* --- BENEFITS --- */
    .benefits-grid {
        gap: 1rem;
    }
    .benefit-card {
        padding: 1.5rem;
    }
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    .benefit-card p {
        font-size: 0.9rem;
    }

    /* --- CONTACT --- */
    .contact-container {
        gap: 2rem;
    }
    .contact-title {
        font-size: 1.8rem;
    }
    .contact-subtitle {
        font-size: 0.95rem;
    }
    .contact-details {
        gap: 1rem;
    }
    .contact-item {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .contact-item-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    .submit-button {
        padding: 0.875rem;
        font-size: 1rem;
    }

    /* --- DETAILS --- */
    .details-content {
        grid-template-columns: 1fr;
    }
    .details-gallery { 
        order: -1; 
    }
    .main-image {
        height: 250px;
    }
    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    .details-info {
        padding: 1.5rem;
    }
    .product-name {
        font-size: 1.5rem;
    }
    .product-model {
        font-size: 1rem;
    }
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .highlight-item {
        padding: 1rem;
    }
    .specifications {
        margin-top: 2rem;
    }
    .specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .action-buttons { 
        flex-direction: column; 
        gap: 1rem;
    }
    .action-buttons .btn { 
        width: 100%; 
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Ajustes para el carrusel en JS */
.is-grabbing {
    cursor: grabbing;
    user-select: none;
}

/* =================================
   ESTILOS PARA EL MENÚ MÓVIL Y RESPONSIVE
   ================================= */

/* --- Estilos base del Menú (Oculto en escritorio) --- */
.mobile-menu-button { display: none; }
.mobile-menu { display: none; }
.page-overlay { display: none; }

/* --- Media Queries (Móvil primero) --- */
@media (max-width: 1024px) {

    /* --- BARRA DE NAVEGACIÓN --- */
    .nav-content {
        justify-content: space-between;
    }
    .nav-links, .nav-cta {
        display: none;
    }
    .mobile-menu-button {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1002;
    }
    .hamburger-line {
        display: block;
        width: 25px;
        height: 2px;
        margin: 5px auto;
        background-color: var(--text-color);
        transition: all 0.3s ease-in-out;
    }
    .mobile-menu-button.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-button.active .hamburger-line:nth-child(2) { opacity: 0; }
    .mobile-menu-button.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    
    /* --- Contenedor del Menú --- */
    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%; /* Inicia fuera */
        width: 280px;
        height: 100%;
        background: var(--white);
        box-shadow: -5px 0px 15px rgba(0,0,0,0.1);
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        padding: 1.5rem;
    }
    .mobile-menu.active {
        right: 0;
    }
    .mobile-menu-header {
        display: flex;
        justify-content: flex-end;
    }
    .close-menu-btn {
        background: none;
        border: none;
        font-size: 2.5rem;
        cursor: pointer;
        color: var(--text-color-light);
    }
    .mobile-menu-links {
        list-style: none;
        padding: 0;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .mobile-menu-links li a {
        display: block;
        text-decoration: none;
        color: var(--text-color);
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1rem 0;
    }
    .mobile-menu-cta {
        text-decoration: none;
        background: var(--primary-color);
        color: var(--white) !important;
        padding: 0.8rem 1rem;
        border-radius: var(--border-radius-md);
        text-align: center;
        margin-top: auto;
    }
    
    /* --- Overlay --- */
    .page-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease;
    }
    .page-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    body.mobile-menu-active {
        overflow: hidden;
    }
    
    /* --- SECCIÓN HERO (MÓVIL) --- */
    .hero {
        padding: 5rem 1.5rem 4rem;
        min-height: auto;
        text-align: center;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-content {
        align-items: center;
        order: 2;
    }
    .hero-visual {
        order: 1;
    }
    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
        line-height: 1.2;
    }
    .hero p {
        font-size: 0.95rem;
        max-width: 95%;
        margin: 1rem auto 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        gap: 1rem;
    }
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .hero-image-wrapper img {
        width: 100%;
        max-width: 350px;
    }
    .floating-elements, .hero-scroll-indicator {
        display: none;
    }
}

/* Móviles muy pequeños (max-width: 360px) */
@media (max-width: 360px) {
    /* --- GENERAL --- */
    section {
        padding: 2rem 0.75rem;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }

    /* --- HERO --- */
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .hero-buttons {
        max-width: 280px;
    }
    .btn-primary {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* --- STATS --- */
    .stat-item {
        padding: 0.75rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }

    /* --- FEATURES --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-circle {
        width: 80px;
        height: 80px;
    }
    .feature-circle img {
        width: 50px;
        height: 50px;
    }

    /* --- PRODUCTS --- */
    .product-card {
        min-width: 250px;
        padding: 1rem;
    }
    .product-image {
        height: 180px;
    }
    .product-specs {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* --- BENEFITS --- */
    .benefit-card {
        padding: 1rem;
    }
    .benefit-card h3 {
        font-size: 1rem;
    }
    .benefit-card p {
        font-size: 0.85rem;
    }

    /* --- CONTACT --- */
    .contact-title {
        font-size: 1.6rem;
    }
    .contact-subtitle {
        font-size: 0.9rem;
    }
    .contact-form {
        padding: 1rem;
    }
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    .submit-button {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    /* --- DETAILS --- */
    .main-image {
        height: 200px;
    }
    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-name {
        font-size: 1.3rem;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Mejoras para experiencia táctil en móviles */
@media (max-width: 768px) {
    /* Aumentar áreas de toque para mejor accesibilidad */
    .btn-primary,
    .discover-btn,
    .submit-button,
    .carousel-button {
        min-height: 44px; /* Tamaño mínimo recomendado para toque */
    }
    
    /* Mejorar feedback táctil */
    .btn-primary:active,
    .discover-btn:active,
    .submit-button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Mejorar navegación del carrusel */
    .carousel-wrapper {
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
        scroll-behavior: smooth;
    }
    
    /* Mejorar formularios en móviles */
    .form-group input:focus,
    .form-group textarea:focus {
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    /* Mejorar botones de navegación */
    .carousel-button {
        min-width: 44px;
        min-height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    
    /* Mejorar cards de productos */
    .product-card {
        touch-action: pan-y; /* Permite scroll vertical pero no horizontal */
    }
    
    /* Mejorar navegación de detalles */
    .close-details-btn {
        min-width: 44px;
        min-height: 44px;
        font-size: 1.5rem;
    }
}

/* Mejoras adicionales para móviles */
@media (max-width: 768px) {
    /* Mejorar legibilidad del texto */
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* Mejorar contraste en elementos importantes */
    .hero h1 {
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
    .hero p {
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }
    
    /* Mejorar visibilidad de botones */
    .btn-primary {
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    }
    
    .btn-primary:active {
        box-shadow: 0 2px 6px rgba(52, 152, 219, 0.4);
    }
    
    /* Mejorar contraste en cards */
    .product-card {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .benefit-card {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    /* Mejorar navegación del carrusel */
    .carousel-button {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Mejorar formulario de contacto */
    .contact-form {
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Mejorar menú móvil */
    .mobile-menu {
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Mejorar indicadores de scroll */
    .hero-scroll-indicator {
        opacity: 0.8;
    }
    
    /* Mejorar animaciones para mejor rendimiento */
    .floating-elements {
        will-change: transform;
    }
    
    .floating-element {
        will-change: transform;
    }
}

/* Mejoras de accesibilidad para móviles */
@media (max-width: 768px) {
    /* Asegurar contraste mínimo */
    .hero h1,
    .hero p,
    .section-header h2,
    .benefit-card h3,
    .product-info h3 {
        color: var(--text-color);
    }
    
    /* Mejorar contraste en elementos de navegación */
    .nav-links a,
    .mobile-menu-links a {
        color: var(--text-color);
        font-weight: 500;
    }
    
    /* Asegurar tamaños mínimos para toque */
    .btn-primary,
    .discover-btn,
    .submit-button,
    .carousel-button,
    .close-details-btn,
    .mobile-menu-button {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Mejorar contraste en formularios */
    .form-group input,
    .form-group textarea {
        color: var(--text-color);
        background: var(--white);
        border: 2px solid rgba(52, 152, 219, 0.2);
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }
    
    /* Mejorar contraste en botones de acción */
    .action-buttons .btn {
        color: var(--white);
        background: var(--primary-color);
        border: none;
    }
    
    .action-buttons .btn:hover {
        background: var(--primary-color-dark);
    }
    
    /* Mejorar contraste en estadísticas */
    .stat-number {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .stat-label {
        color: var(--text-color);
        font-weight: 500;
    }
    
    /* Mejorar contraste en especificaciones */
    .spec span {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .spec label {
        color: var(--text-color-light);
        font-weight: 500;
    }
    
    /* Mejorar contraste en iconos */
    .benefit-icon img,
    .contact-icon {
        filter: brightness(0.8) contrast(1.2);
    }
    
    /* Mejorar contraste en elementos flotantes */
    .floating-element {
        opacity: 0.8;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
}

@media (max-width: 768px) {
    .hero p {
        color: #fff !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    }
}

@media (max-width: 768px) {
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        white-space: nowrap;
        font-size: 0.93rem;
        min-width: 130px;
        flex: 1 1 0;
        margin: 0;
        padding: 0.9rem 0.3rem;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.95rem;
        padding: 0.5rem 1.1rem;
        margin-bottom: 1.2rem;
    }
    .hero-badge .badge-icon {
        font-size: 0.9rem;
        margin-right: 0.4rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        align-items: flex-start !important;
        text-align: left !important;
        margin-left: 0;
        margin-right: 0;
        max-width: 95vw;
    }
    .hero-badge {
        margin-left: 0;
        margin-right: 0;
        display: inline-flex;
    }
    .hero h1 {
        text-align: left !important;
        margin-bottom: 1.5rem;
        font-size: 2.1rem;
        line-height: 1.15;
        max-width: 95vw;
    }
    .hero p {
        text-align: left !important;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 2.2rem;
        max-width: 95vw;
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 0.5rem !important;
        padding-bottom: 0.7rem !important;
        min-height: unset;
    }
    .hero-content {
        margin-top: 0 !important;
    }
    .hero-badge {
        margin-top: 0.1rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        align-items: stretch;
        gap: 0.7rem;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto 1.5rem auto;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        font-size: 0.97rem;
        min-width: 150px;
        max-width: 100%;
        flex: 1 1 0;
        margin: 0;
        padding: 0.9rem 0.7rem;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: normal;
        text-align: center;
        box-sizing: border-box;
        line-height: 1.2;
    }
    .hero-buttons .btn-icon {
        margin-right: 0.5rem;
        font-size: 1.2rem;
        display: inline-block;
        vertical-align: middle;
    }
}

.hero-buttons .btn-primary {
    color: #f2f2f2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

@media (max-width: 900px) {
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
  .benefits-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 100%;
  }
  .benefit-icon {
    display: none !important;
  }
  .benefit-card {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30,64,175,0.07);
    background: #fff;
    padding: 0 !important;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
  }
  .benefit-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1em;
    font-weight: 700;
    color: #1a90ff;
    margin: 0;
    padding: 18px 28px 10px 18px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    user-select: none;
    min-height: 32px;
  }
  .benefit-card h3::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 1rem;
    transition: transform 0.2s;
  }
  .benefit-card.active h3::after {
    content: '-';
    transform: rotate(180deg);
  }
  .benefit-card p {
    display: none;
    padding: 0 0.5rem 1rem 0.5rem;
    font-size: 0.97rem;
    color: var(--text-color-light);
    line-height: 1.5;
  }
  .benefit-card.active p {
    display: block;
  }
}

@media (max-width: 600px) {
  .carousel-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100vw;
    overflow: hidden;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
    padding: 0;
  }
  .carousel-track {
    display: flex;
    gap: 4vw;
    width: auto;
    justify-content: flex-start;
    padding: 0;
  }
  .product-card {
    min-width: 88vw;
    max-width: 88vw;
    width: 88vw;
    margin: 0;
    box-sizing: border-box;
    scroll-snap-align: center;
    font-size: 0.93rem;
    padding: 1.1rem 0.7rem 1.2rem 0.7rem;
    box-shadow: 0 2px 12px rgba(30,64,175,0.07);
  }
  .product-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
  }
  .product-info p {
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
  }
  .product-specs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.1rem;
    width: 100%;
    margin: 0.5rem 0 1rem 0;
    border: none;
  }
  .spec {
    flex: 1 1 0;
    padding: 0 0.1rem;
    border: none;
    text-align: center;
  }
  .spec span {
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.1rem;
  }
  .spec label {
    font-size: 0.62rem;
    letter-spacing: 0.5px;
  }
  .discover-btn {
    width: 100%;
    padding: 0.7rem 0;
    font-size: 0.98rem;
    margin: 1.2rem auto 0.5rem auto;
    border-radius: 16px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }
  .footer-container {
    padding: 0 0.7rem;
    gap: 1rem;
  }
  .footer-logo {
    height: 32px;
    max-width: 90px;
  }
  .social-icons {
    gap: 0.5rem;
  }
  .social-icon {
    width: 32px;
    height: 32px;
  }

  .social-icon-img {
    width: 16px;
    height: 16px;
  }
  .footer {
    font-size: 0.85rem;
  }
  .footer-container,
  .footer-brand,
  .footer-logo,
  .social-icons,
  .social-icon,
  .social-icon-img {
    margin-bottom: 0.3rem;
  }
  .footer p, .footer span, .footer {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 0.7rem;
    width: 100%;
    gap: 0;
  }
  .footer-center-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: auto;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding-bottom: 0.2rem;
  }
  .footer-container {
    padding-bottom: 0;
  }
  .footer > div[style] {
    margin-top: 0.7rem !important;
    padding-top: 0.7rem !important;
  }
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-center-group {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
    .mobile-menu {
        width: 320px;
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    }
    .mobile-menu-links {
        padding: 0;
        margin-top: 1.5rem;
        gap: 0.2rem;
    }
    .mobile-menu-links li {
        margin: 0.2rem 0;
        text-align: left;
    }
    .mobile-menu-links li a {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-color);
        padding: 0.5rem 0 0.2rem 0.5rem;
        border-bottom: none;
        background: none;
        transition: color 0.2s;
    }
    .mobile-menu-links li a.mobile-menu-cta {
        font-size: 1rem;
        font-weight: 600;
        background: var(--primary-color);
        color: var(--white) !important;
        border-radius: var(--border-radius-md);
        margin-top: 1.5rem;
        padding: 0.9rem 1rem;
        text-align: center;
        display: block;
    }
    .mobile-menu-links li:not(:first-child) a {
        color: var(--text-color-light);
        font-weight: 500;
    }
}

/* --- CONTACT OPTIMIZADO MOVIL --- */
.contact-item {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 0 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}
.contact-label {
    display: none !important;
}
.contact-item-icon {
    margin: 0 !important;
    margin-right: 0.7rem !important;
    margin-bottom: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}
.contact-item-content {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 500;
}

/* --- CONTACT OPTIMIZADO MOVIL AJUSTE FINAL --- */
.contact-details {
    gap: 0.5rem !important;
}
.contact-item {
    gap: 0.5rem !important;
    padding: 0.3rem 0 !important;
}
.contact-item-icon {
    margin-right: 0.4rem !important;
    width: 32px !important;
    height: 32px !important;
}
.contact-item-content {
    font-size: 0.82rem !important;
    font-weight: 400 !important;
}

.contact-details .contact-item-content {
    font-size: 0.58rem !important;
    font-weight: 400 !important;
}

/* --- FORMULARIO DE CONTACTO OPTIMIZADO MOVIL --- */
.contact-form {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-group {
    width: 92%;
    margin: 0.7rem 0;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: #fff !important;
    color: var(--text-color) !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: var(--border-radius-md) !important;
    box-shadow: none !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    margin: 0;
}
.form-group label {
    display: block;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.7); /* Blanco no tan intenso */
    margin-bottom: 0.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.submit-button .button-text {
    color: #222831 !important; /* Gris oscuro */
}

@media (max-width: 600px) {
  .contact-form-section {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
  }
  .contact-background {
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
}

@media (max-width: 600px) {
  .form-group {
    margin: 0.15rem 0 !important;
    width: 99%;
  }
  .form-group input,
  .form-group textarea {
    padding: 0.6rem !important;
    font-size: 0.93rem !important;
  }
}

@media (max-width: 600px) {
  .contact {
    min-height: 150vh !important;
  }
}

@media (max-width: 600px) {
  .contact-subtitle {
    font-size: 0.93rem !important;
  }
  .form-group label,
  .form-group input,
  .form-group textarea {
    font-size: 0.93rem !important;
  }
}

@media (max-width: 600px) {
  .contact-item-content {
    font-size: 0.93rem !important;
    font-weight: 400 !important;
  }
}

@media (max-width: 600px) {
  .contact-item-content,
  .contact-value {
    font-size: 0.93rem !important;
    font-weight: 400 !important;
  }
}

@media (max-width: 600px) {
  .form-group label,
  .form-group input,
  .form-group textarea {
    font-size: 0.85rem !important;
  }
  .form-group input,
  .form-group textarea {
    padding: 0.5rem !important;
  }
}

@media (max-width: 600px) {
  .carousel-button {
    display: flex;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1.5rem !important;
    z-index: 100 !important;
    background: #fff !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
  }
  .carousel-button.prev { left: 0.5rem !important; right: auto !important; }
  .carousel-button.next { right: 0.5rem !important; left: auto !important; }
}

.carousel-button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  background: #f5f5f5 !important;
  border-color: #ddd !important;
  color: #999 !important;
  pointer-events: none !important;
}

@media (max-width: 600px) {
  .products-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .carousel-wrapper {
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .carousel-track {
    width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 30px !important;
  }
  .product-card {
    min-width: 80vw !important;
    max-width: 80vw !important;
    width: 80vw !important;
    margin: 0 !important;
    scroll-snap-align: center !important;
  }
}

@media (max-width: 600px) {
  .products {
    padding-bottom: 0.5rem !important;
    min-height: unset !important;
    background: transparent !important;
  }
  .products-container {
    padding-bottom: 0 !important;
  }
  .carousel-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
    min-height: unset !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .product-info {
    padding: 1rem 1rem 0.5rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .product-specs {
    width: 100% !important;
    margin: 0.5rem 0 0.5rem 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 0.1rem !important;
  }
  .discover-btn {
    width: 100% !important;
    margin: 1rem 0 0.5rem 0 !important;
    align-self: stretch !important;
  }
}

@media (max-width: 600px) {
  .discover-btn {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: 90% !important;
    max-width: 260px !important;
    min-width: 140px !important;
    border-radius: 16px !important;
  }
}

/* =================================
   ESTILOS ESPECÍFICOS PARA MÓVIL - FEATURES
   ================================= */

/* Estilos para móviles que ocultan círculos e imágenes de categorías */
@media (max-width: 768px) {
    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.1rem !important;
        padding: 1.2rem 0 !important;
        justify-items: center !important;
        align-items: center !important;
        background: none !important;
        box-shadow: none !important;
    }
    .feature-item {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 999px !important;
        padding: 0.5rem 0.2rem !important;
        min-width: unset !important;
        text-align: center !important;
        transition: color 0.2s, background 0.2s;
        color: var(--primary-color) !important;
        font-weight: 600 !important;
        font-size: 1.05rem !important;
        cursor: pointer !important;
        margin: 0 !important;
        outline: none !important;
        position: relative !important;
        z-index: 1;
    }
    .feature-item.active {
        background: rgba(52, 152, 219, 0.13) !important; /* celeste transparente */
        color: var(--primary-color) !important;
        border-radius: 999px !important;
        font-weight: 700 !important;
        box-shadow: none !important;
        padding: 0.5rem 0.2rem !important;
    }
    .feature-item h3 {
        background: none !important;
        color: inherit !important;
        font-weight: inherit !important;
        font-size: inherit !important;
        margin: 0 !important;
        padding: 0.2rem 0.7rem !important;
        border-radius: 999px !important;
        transition: color 0.2s, background 0.2s;
    }
    .feature-item.active h3 {
        color: var(--primary-color) !important;
        background: none !important;
        font-weight: 700 !important;
    }
    .feature-circle, .feature-circle img {
        display: none !important;
    }
    .feature-item::before,
    .feature-item::after,
    .feature-item.active h3::after {
        display: none !important;
        content: none !important;
    }
}

/* Animación para dibujar la línea */
@keyframes drawLineEnhanced {
    from { width: 0; }
    to { width: 70%; }
}

/* Animación de pulso para botones activos */
@keyframes activePulse {
    0%, 100% { 
        box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3);
        transform: scale(1.1) rotate(5deg);
    }
    50% { 
        box-shadow: 0 20px 45px rgba(52, 152, 219, 0.4);
        transform: scale(1.15) rotate(5deg);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 0.7rem 0 0.7rem 0 !important;
        background: transparent !important;
        min-height: unset !important;
        box-shadow: none !important;
    }
    .features-grid {
        padding: 0.2rem 0 !important;
    }
}

@media (max-width: 768px) {
  .details-content {
    gap: 1rem !important;
  }
  .details-info {
    padding-top: 0.7rem !important;
    padding-bottom: 1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.product-badge {
    padding: 0.12rem 0.38rem !important;
    font-size: 0.62rem !important;
    border-radius: 12px !important;
}

.product-model {
    font-size: 0.7rem !important;
    padding: 0.18rem 0.5rem !important;
    border-width: 1.5px !important;
    border-radius: 6px !important;
    gap: 0.3rem !important;
}

@media (max-width: 768px) {
  .product-model {
    margin-bottom: 0.1rem !important;
  }
  .highlights {
    margin-top: 0.2rem !important;
  }
  .highlights h3 {
    margin-top: 0 !important;
    margin-bottom: 0.7rem !important;
  }
}

@media (max-width: 768px) {
  .highlight-item {
    font-size: 0.85rem !important;
    padding: 0.3rem 0.7rem !important;
    border-radius: 1.1rem !important;
    gap: 0.3rem !important;
  }
  .highlight-label, .highlight-value {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 768px) {
  .description p {
    font-size: 0.93rem !important;
  }
}

@media (max-width: 768px) {
  .action-buttons .btn {
    padding: 0.38rem 0.3rem !important;
    font-size: 0.81rem !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 768px) {
  .action-buttons .btn {
    background: initial !important;
  }
}

@media (max-width: 768px) {
  .download-btn {
    background: linear-gradient(135deg, #00b8b8, #2980b9) !important;
    color: #fff !important;
  }
  .whatsapp-btn {
    background: linear-gradient(135deg, #27ae60, #1EAC52) !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .action-buttons .download-btn,
  .action-buttons .btn.download-btn {
    background: linear-gradient(135deg, #00b8b8, #2980b9) !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .action-buttons .whatsapp-btn,
  .action-buttons .btn.whatsapp-btn {
    background: linear-gradient(135deg, #27ae60, #1EAC52) !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

@media (max-width: 768px) {
  .action-buttons .btn {
    flex-direction: row !important;
    gap: 0.12rem !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
  .action-buttons .btn .icon {
    margin-right: 0.08rem !important;
    margin-left: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
}

@media (max-width: 768px) {
  .action-buttons .btn {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }
}

@media (max-width: 768px) {
  .specifications h3,
  .equipment h3 {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .specs-grid > div {
    padding: 0.45rem !important;
    font-size: 0.85rem !important;
    min-height: 70px !important;
  }
  .spec-label {
    font-size: 0.68rem !important;
  }
  .spec-value {
    font-size: 0.89rem !important;
  }
}

@media (max-width: 768px) {
  .specs-grid > div {
    min-height: 90px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .specs-grid > div {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .specs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.7rem !important;
  }
}

@media (max-width: 768px) {
  .specs-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .specs-grid > div {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  .equipment-grid {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .equipment-grid > div {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .contact-footer {
    padding: 1.3rem 1.1rem !important;
    margin-top: 1.1rem !important;
    border-radius: 14px !important;
  }
  .contact-footer h3 {
    font-size: 1.01rem !important;
    margin-bottom: 0.55rem !important;
    font-weight: 600 !important;
  }
  .contact-footer p {
    font-size: 0.87rem !important;
    margin-bottom: 0.6rem !important;
    line-height: 1.32 !important;
    color: rgba(255,255,255,0.92) !important;
  }
  .contact-info {
    gap: 0.6rem !important;
  }
  .contact-info div {
    font-size: 0.81rem !important;
    gap: 0.15rem !important;
  }
  .contact-info .icon {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Elimina estilos grandes del código base y colócalos solo en la media query de escritorio */
@media (min-width: 1025px) {
  .details-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    min-height: 320px;
    padding-top: 1.2rem;
  }
  .details-gallery {
    width: 800px;
    min-width: 600px;
    max-width: 100%;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 2.2rem;
  }
  .main-image {
    width: 100%;
    height: 480px;
    border-radius: 32px;
    margin: 0 0 1.5rem 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    background: #f7f7f7;
  }
  .main-image img {
    border-radius: 32px;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    background: #f7f7f7;
  }
  .details-info {
    flex: 0 1 480px;
    min-width: 350px;
    max-width: 520px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    padding: 0 0.5rem 0 0;
  }
  .product-badge {
    margin-bottom: 1.2rem;
  }
  .action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .highlights h3,
  .description h3 {
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
  }
  .action-buttons {
    flex-direction: row !important;
    gap: 0.4rem !important;
    justify-content: center !important;
    align-items: stretch !important;
  }
  .action-buttons .btn {
    font-size: 0.85rem !important;
    padding: 0.6rem 0.5rem !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border-radius: 8px !important;
  }
  .specs-grid > div:hover,
  .equipment-grid > div:hover {
    transform: none !important;
    box-shadow: none !important;
    background: var(--white) !important;
    color: inherit !important;
  }
  .main-image {
    margin-top: 0 !important;
  }
}

/* WHATSAPP MODAL */
.whatsapp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

.whatsapp-modal.show {
    display: flex;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.whatsapp-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.whatsapp-modal-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 32px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.whatsapp-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.whatsapp-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.whatsapp-modal-close {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: #128C7E;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    line-height: 1;
    padding: 0;
}

.whatsapp-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.whatsapp-modal-body {
    background: #fff;
    padding: 30px 20px 30px 20px;
    box-shadow: none;
}

.whatsapp-modal-description {
    color: #222;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), transparent);
    transition: left 0.5s ease;
}

.whatsapp-option:hover::before {
    left: 100%;
}

.whatsapp-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.05) 100%);
}

.whatsapp-option-icon {
    width: 44px;
    height: 44px;
    background: #25D366;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
}

.whatsapp-option-icon .icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
    display: block;
    margin: 0 auto;
}

.whatsapp-option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.whatsapp-option-number {
    color: #222;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.whatsapp-option-label {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.whatsapp-option-arrow {
    color: #25D366;
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.whatsapp-option:hover .whatsapp-option-arrow {
    transform: translateX(5px);
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .whatsapp-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .whatsapp-modal-header {
        padding: 20px 25px;
    }
    
    .whatsapp-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .whatsapp-modal-body {
        padding: 25px 20px;
    }
    
    .whatsapp-option {
        padding: 15px;
    }
    
    .whatsapp-option-icon {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .whatsapp-option-number {
        font-size: 1rem;
    }
    
    .whatsapp-option-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .whatsapp-modal-description {
        font-size: 0.9rem;
    }
    
    .whatsapp-option {
        padding: 12px;
    }
    
    .whatsapp-option-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .whatsapp-option-icon .icon {
        width: 20px;
        height: 20px;
    }
}

/* =====================
   ESTILOS PARA MENSAJES DE FORMULARIO
   ===================== */

.form-status {
    position: static;
    margin-top: 1rem;
    margin-bottom: 0;
    border-radius: var(--border-radius-md);
    max-width: 100%;
    width: 100%;
    min-width: 0;
    z-index: 1;
    box-shadow: var(--shadow-md);
    padding: 1rem 1.5rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(0);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-status.success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.form-status.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.form-status.info {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

@media (max-width: 768px) {
    .contact {
        min-height: 250vh;
    }
}

@media (max-width: 768px) {
    .contact {
        min-height: unset;
        height: auto;
        padding-bottom: 1.5rem;
    }
    .contact-container {
        position: static;
        top: unset;
        left: unset;
        transform: none;
        width: 100%;
    }
}

/* Acordeón de beneficios solo en móviles */
@media (max-width: 768px) {
  .benefit-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s, opacity 0.35s;
    padding: 0 0;
    opacity: 0;
  }
  .benefit-card.active .benefit-content {
    max-height: 200px; /* Ajusta según el contenido */
    padding: 12px 0 8px 0;
    opacity: 1;
  }
  .benefit-card h3 {
    cursor: pointer;
    position: relative;
    padding-right: 32px;
    user-select: none;
  }
  .benefit-card h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5em;
    color: #1a90ff;
    transition: transform 0.3s, content 0.3s;
  }
  .benefit-card.active h3::after {
    content: '-';
    transform: rotate(180deg);
  }
}

/* Escritorio: el contenido siempre visible */
@media (min-width: 769px) {
  .benefit-content {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    padding: 0 !important;
  }
  .benefit-card h3::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .benefits-container {
    padding: 0 8px;
  }
  .benefit-card {
    margin-bottom: 16px;
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
    background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s;
    overflow: hidden;
    border: 1.5px solid #e0e7ef;
  }
  .benefit-card.active {
    box-shadow: 0 4px 24px 0 rgba(26,144,255,0.10);
    border-color: #1a90ff;
  }
  .benefit-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1em;
    font-weight: 700;
    color: #1a90ff;
    margin: 0;
    padding: 18px 18px 10px 18px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    user-select: none;
  }
  .benefit-card h3::after {
    content: '+';
    font-size: 1.5em;
    color: #1a90ff;
    margin-left: 8px;
    transition: transform 0.3s, content 0.3s;
    line-height: 1;
  }
  .benefit-card.active h3::after {
    content: '-';
    transform: rotate(180deg);
  }
  .benefit-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.35s, opacity 0.35s;
    padding: 0 18px;
    opacity: 0;
    font-size: 1em;
    color: #222;
  }
  .benefit-card.active .benefit-content {
    max-height: 200px; /* Ajusta según el contenido */
    padding: 0 18px 16px 18px;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .benefit-card h3 {
    position: relative;
    padding: 18px 18px 10px 18px;
    margin: 0;
    font-size: 1.1em;
    font-weight: 700;
    color: #1a90ff;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    user-select: none;
    min-height: 32px;
    display: block;
  }
  .icon-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.5em;
    color: #1a90ff;
    background: transparent;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .benefit-card h3::after,
  .benefit-card.active h3::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
    height: 0 !important;
  }
  /* Si hay alguna regla para .benefit-card.active::before que muestre una línea, desactívala también */
  .benefit-card.active::before {
    display: none !important;
    content: none !important;
    background: none !important;
    height: 0 !important;
  }
}

@media (max-width: 768px) {
  .benefit-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 18px;
    transition:
      max-height 0.4s cubic-bezier(0.4,0,0.2,1),
      opacity 0.3s,
      padding 0.3s;
  }
  .benefit-card.active .benefit-content {
    max-height: 500px; /* Ajusta según el contenido máximo esperado */
    opacity: 1;
    padding: 0 18px 16px 18px;
    transition:
      max-height 0.5s cubic-bezier(0.4,0,0.2,1),
      opacity 0.3s,
      padding 0.3s;
  }
}

@media (max-width: 480px) {
  .whatsapp-modal-header h3 {
    font-size: 1rem;
    line-height: 1.2;
    padding: 0 8px;
    margin: 0;
    text-align: center;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .whatsapp-modal-header h3 {
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .contact {
    min-height: unset !important;
    height: auto !important;
    padding-bottom: 2rem !important;
  }
  .contact-container {
    position: static !important;
    transform: none !important;
    top: unset !important;
    left: unset !important;
    width: 100% !important;
    padding-bottom: 2rem !important;
    min-height: unset !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  #formStatus {
    transition: min-height 0.3s, padding 0.3s;
  }
}

@media (max-width: 768px) {
  .contact {
    background: linear-gradient(135deg, #001233 0%, #023e8a 100%);
    padding-bottom: 0 !important;
    min-height: unset !important;
    height: auto !important;
  }
  .contact-container {
    background: none !important;
    border-radius: 18px 18px 0 0;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 2rem 1rem 1rem 1rem;
  }
}

@media (max-width: 1100px) {
  .contact-container {
    grid-template-columns: 0.9fr minmax(320px, 1.3fr);
    max-width: 98vw;
    padding: 2rem 2vw;
    gap: 2rem;
  }
}

.contact-form-section,
.contact-form {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
/* Ajuste solo para la sección de contacto en escritorios medianos/pequeños */
@media (max-width: 1300px) {
  .contact-container {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.7fr);
    max-width: 99vw;
    padding: 1.5rem 1vw;
    gap: 1.2rem;
  }
  .contact-form-section,
  .contact-form {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 260px !important;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

@media (max-width: 1300px) {
  .contact {
    min-height: unset !important;
    height: auto !important;
    overflow: visible !important;
  }
  .contact-container {
    min-height: unset !important;
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .contact-form-section {
    min-height: unset !important;
    height: auto !important;
    overflow: visible !important;
  }
}

@media (max-width: 1024px) {
  /* SOLO estilos compactos aquí */
  .contact-form-section .form-group input,
  .contact-form-section .form-group textarea {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.95rem !important;
    min-height: 36px !important;
  }
  .contact-form-section .form-group textarea {
    min-height: 70px !important;
    font-size: 0.95rem !important;
  }
  .contact-form-section .form-group label {
    font-size: 0.92rem !important;
    margin-bottom: 0.2rem !important;
  }
  .contact-form-section .submit-button {
    padding: 0.7rem 1.2rem !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    min-height: 36px !important;
  }
  .contact-form-section .button-text {
    font-size: 1rem !important;
  }
  .contact-form-section .form-group {
    margin-bottom: 0.7rem !important;
  }
}

@media (min-width: 1025px) {
  /* SOLO estilos grandes aquí */
  .contact-form-section .form-group input,
  .contact-form-section .form-group textarea {
    padding: 1rem 1.5rem !important;
    font-size: 1.15rem !important;
    min-height: 48px !important;
  }
  .contact-form-section .form-group textarea {
    min-height: 120px !important;
    font-size: 1.15rem !important;
  }
  .contact-form-section .form-group label {
    font-size: 1.08rem !important;
    margin-bottom: 0.4rem !important;
  }
  .contact-form-section .submit-button {
    padding: 1rem 2rem !important;
    font-size: 1.15rem !important;
    border-radius: 10px !important;
    min-height: 48px !important;
  }
  .contact-form-section .button-text {
    font-size: 1.15rem !important;
  }
  .contact-form-section .form-group {
    margin-bottom: 1.2rem !important;
  }
}

@media (max-width: 1440px) {
  .contact-form-section .form-group input,
  .contact-form-section .form-group textarea {
    padding: 1rem 1.5rem !important;
    font-size: 1.15rem !important;
    min-height: 48px !important;
  }
  .contact-form-section .form-group textarea {
    min-height: 120px !important;
    font-size: 1.15rem !important;
  }
  .contact-form-section .form-group label {
    font-size: 1.08rem !important;
    margin-bottom: 0.4rem !important;
  }
  .contact-form-section .submit-button {
    padding: 1rem 2rem !important;
    font-size: 1.15rem !important;
    border-radius: 10px !important;
    min-height: 48px !important;
  }
  .contact-form-section .button-text {
    font-size: 1.15rem !important;
  }
  .contact-form-section .form-group {
    margin-bottom: 1.2rem !important;
  }
  .contact-form-section {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
  }
  .hero-content {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    max-width: 520px !important;
  }
  .hero-content h1 {
    font-size: 3.2rem !important;
    margin-bottom: 1.1rem !important;
  }
  .hero-content p {
    font-size: 1.05rem !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-badge {
    margin-bottom: 0.7rem !important;
    font-size: 1.05rem !important;
    padding: 0.5rem 1.1rem !important;
  }
  .hero-buttons {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 0.7rem !important;
  }
}

