:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #dc2626;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(29, 78, 216, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(29, 78, 216, 0);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.8s ease forwards;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Mejorar rendimiento del scroll */
* {
    -webkit-overflow-scrolling: touch;
}

/* Optimización para hardware acceleration - Removido de body para no interferir con fixed header */

/* Suavizar scroll en contenedores - aplicado solo donde es necesario */
.hero, section {
    backface-visibility: hidden;
}

/* Prevenir saltos durante scroll - Movido a la definición principal del header */

/* Optimizar animaciones durante scroll */
.price-card, .product-card, .info-item, .benefit-item {
    will-change: auto;
    transform: translate3d(0, 0, 0);
}

/* Scroll suave en iOS Safari */
@supports (-webkit-overflow-scrolling: touch) {
    html {
        -webkit-overflow-scrolling: touch;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 0;
    margin: 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(26, 26, 26, 0.6);
    background-color: rgba(26, 26, 26, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    height: 70px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    background: transparent;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 2rem;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a:active,
.nav-menu a:visited:hover,
.nav-menu a:visited:focus,
.nav-menu a:visited:active {
    color: #999B99;
    outline: none;
    transform: translateY(-1px);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a:visited {
    color: var(--white);
}


.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 80px 0 80px;
    padding-top: 150px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('img/fondo-banner-alarm.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse 500px 400px at center, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 30%, transparent 60%);
    animation: flashlight 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes flashlight {
    0%, 100% {
        transform: translateX(-50%) rotate(-5deg);
        opacity: 0.6;
    }
    25% {
        transform: translateX(0%) rotate(2deg);
        opacity: 0.9;
    }
    50% {
        transform: translateX(50%) rotate(-1deg);
        opacity: 1;
    }
    75% {
        transform: translateX(25%) rotate(3deg);
        opacity: 0.7;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-highlight {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::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;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--white);
}

.product-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.color-toggle {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-toggle {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-toggle.active {
    background: var(--primary-color);
    color: var(--white);
}

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

.toggle-text {
    font-weight: 600;
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) rotate(-1deg) scale(1.03);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.product-card:nth-child(even):hover {
    transform: translateY(-10px) rotate(1deg) scale(1.03);
}

.product-image {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
}

.product-features li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.ajax-features {
    margin-top: 4rem;
    text-align: center;
}

.ajax-tech h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.spec-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.spec-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.stat-item:hover {
    background: rgba(30, 64, 175, 0.05);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.certifications h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.certifications ul {
    list-style: none;
}

.certifications li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.certifications li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: relative;
    overflow: hidden;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    position: relative;
    z-index: 1;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder svg {
    width: 150px;
    height: 150px;
    color: var(--white);
    opacity: 0.5;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.info-item:hover {
    background: rgba(30, 64, 175, 0.03);
    transform: translateX(5px);
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(-5deg);
    color: var(--secondary-color);
}

.info-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.1);
    background: rgba(255, 255, 255, 1);
}

.captcha-group {
    background: rgba(30, 64, 175, 0.05);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(30, 64, 175, 0.1);
    margin-bottom: 1rem;
}

.captcha-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    flex-wrap: wrap;
}

/* Captcha - Solución simple y directa */
.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.captcha-question input[type="number"] {
    width: 80px !important;
    height: 45px;
    padding: 8px 12px;
    border: 2px solid rgba(30, 64, 175, 0.2);
    border-radius: 8px;
    background: rgba(30, 64, 175, 0.05);
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin: 0 !important;
    display: inline-block !important;
    box-sizing: border-box;
}

.captcha-question input[type="number"]:focus {
    border-color: var(--primary-color);
    background: rgba(30, 64, 175, 0.1);
    outline: none;
}

.btn-block {
    width: 100%;
}

/* Estilo específico para el botón del formulario de contacto */
.contact-form .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 12px 24px;
    min-height: 48px;
    box-sizing: border-box;
}

.contact-form .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Kit Offer Section */
.kit-offer {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.kit-offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.kit-image {
    text-align: center;
}

.kit-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.kit-img:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.kit-details {
    padding: 1rem 0;
}

.kit-badge {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kit-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.kit-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.kit-features {
    margin-bottom: 2.5rem;
}

.kit-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.kit-features .feature-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.kit-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.price-option {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Destacar la tarjeta con Internet FIBWI (mejor precio) */
.price-option:first-child {
    border-color: #10b981;
    background: linear-gradient(to bottom, #f0fdf4, white);
    padding-top: 2.5rem;
}

.price-option:first-child::after {
    content: 'RECOMENDADO';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 3px 12px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

.price-option::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 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-option:hover::before {
    transform: scaleX(1);
}

.price-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.price-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.price-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.price::after {
    content: '/mes';
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.price-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.kit-actions {
    display: flex;
    gap: 1rem;
}

.kit-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

/* Kit Cameras Section */
.kit-cameras {
    padding: 80px 0;
    background: var(--white);
}

.kit-offer-content.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.kit-offer-content.reverse > * {
    direction: ltr;
}

.kit-badge.cameras {
    background: var(--primary-color);
    color: var(--white);
}

.kit-pricing.single {
    display: block;
    margin-bottom: 2.5rem;
}

.price-option.highlighted {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(30, 64, 175, 0.1) 100%);
    position: relative;
    padding-top: 2.5rem;
}

.price-option.highlighted::after {
    content: 'MEJOR VALOR';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 3px 16px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

.price.monthly {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Kit WiFi Section */
.kit-wifi {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
}

.kit-badge.wifi {
    background: #00bcd4;
    color: var(--white);
}

.price-option.premium {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(16, 185, 129, 0.08) 100%);
    position: relative;
    overflow: visible;
    padding-top: 2.5rem;
}

.price-option.premium::before {
    content: '★ PREMIUM ★';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    z-index: 2;
}

.price-option.premium .price {
    color: #10b981;
}

.price-option.premium:hover {
    border-color: #10b981;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

/* Responsive para kit offer */
@media (max-width: 768px) {
    .kit-offer-content,
    .kit-offer-content.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        direction: ltr;
    }
    
    .kit-title {
        font-size: 2rem;
    }
    
    .kit-pricing {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .price-option {
        padding: 1.5rem;
    }
    
    .price-option:first-child {
        padding-top: 2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .price-header h3 {
        font-size: 1.2rem;
    }
    
    .kit-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .kit-actions .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Legal Content Styles */
.legal-content {
    padding: 120px 0 80px;
    background: var(--bg-light);
    min-height: 80vh;
}

.legal-article {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.legal-article h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-article h2 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-article section {
    margin-bottom: 2rem;
}

.legal-article p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-article ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-article li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-article strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive para páginas legales */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .legal-article {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-article h1 {
        font-size: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

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

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-ministry {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ministry-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.ministry-img {
    height: 60px;
    width: auto;
}

.ministry-text {
    color: #9ca3af;
    font-size: 0.9rem;
    max-width: 200px;
    text-align: left;
}

.collaborators {
    text-align: center;
}

.collaborators-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.collaborators-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.collaborator-img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.collaborator-img:hover {
    opacity: 1;
}

/* Filtro para convertir fibwiFire a blanco */
img[src*="fibwiFire"] {
    filter: brightness(0) invert(1);
}

.ajax-logo {
    height: 35px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #9ca3af;
}

/* Responsive Design para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.5rem 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-wrapper .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .nav-wrapper .language-selector {
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .nav-wrapper .mobile-toggle {
        order: 3;
        flex-shrink: 0;
    }
    
    .nav-wrapper .nav-menu {
        order: 4;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }
    
    .language-selector {
        width: auto !important;
        margin: 0 !important;
    }
    
    .lang-current {
        width: auto !important;
        justify-content: center;
        min-width: 60px;
    }
    
    .lang-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        margin-top: 0;
        width: 90%;
        max-width: 300px;
    }

    .logo-img {
        height: 35px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-highlight {
        font-size: 1.1rem;
        margin-top: 0.25rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        gap: 0.75rem;
    }

    .hero-features {
        gap: 1.5rem;
        margin-bottom: 0;
    }

    .feature-item {
        font-size: 0.875rem;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: space-around;
    }
    
    .about-image {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-img {
        display: block;
        margin: 0 auto;
        max-width: 90%;
        width: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-ministry {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .ministry-logo {
        flex-direction: column;
        gap: 0.5rem;
        justify-content: center;
    }

    .ministry-img {
        height: 50px;
    }

    .ministry-text {
        text-align: center;
        max-width: 100%;
    }

    .collaborators-logos {
        gap: 1rem;
    }

    .collaborator-img {
        height: 40px;
    }

    .ajax-logo {
        height: 30px;
    }
    
    .tech-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Mejoras móviles adicionales */
    .nav-menu {
        border-radius: 0 0 12px 12px;
    }

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .section-header {
        padding: 0 1rem;
    }
    
    .contact-form {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .info-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 12px;
        background: rgba(30, 64, 175, 0.05);
    }
    
    .form-buttons {
        margin-top: 2rem;
    }
    
    .form-buttons .btn,
    .form-buttons .btn-secondary {
        padding: 15px 20px !important;
        font-size: 1rem !important;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Media query para pantallas muy pequeñas */
@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .hero-highlight {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    /* Formularios en pantallas muy pequeñas */
    .contact-form,
    .quote-form {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    /* Captcha en pantallas pequeñas */
    .captcha-question {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    /* Botones en pantallas pequeñas */
    .btn,
    .btn-primary,
    .btn-secondary {
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
    }
    
    /* Kit actions centrados en pantallas pequeñas */
    .kit-actions {
        align-items: center !important;
        text-align: center !important;
    }
    
    .kit-actions .btn {
        margin: 0 auto !important;
        display: block !important;
        max-width: 250px !important;
    }
    
    /* Navegación más compacta */
    .nav-menu a {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    /* Secciones más compactas */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Imagen about centrada en pantallas muy pequeñas */
    .about-image {
        text-align: center;
        padding: 0 1rem;
    }
    
    .about-img {
        margin: 0 auto !important;
        display: block !important;
        max-width: 95% !important;
    }
}

    .feature-item {
        font-size: 0.8rem;
    }

    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Quote Page Styles */
.quote-page {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    min-height: 100vh;
}

.quote-header {
    text-align: center;
    margin-bottom: 50px;
}

.quote-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.quote-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
}

.benefit-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.kits-preview h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.kits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.kit-preview {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.kit-preview h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.kit-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.kit-preview p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.quote-form-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: fit-content;
}

.quote-form {
    padding: 30px;
}

.quote-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.checkbox-group,
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    display: none;
}

.checkmark,
.radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    background: white;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.checkmark {
    border-radius: 3px;
}

.radio-mark {
    border-radius: 50%;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark,
.radio-item input[type="radio"]:checked + .radio-mark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.radio-item input[type="radio"]:checked + .radio-mark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.privacy-notice {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 20px;
}

.privacy-notice .checkbox-item {
    align-items: flex-start;
    line-height: 1.5;
    gap: 12px;
}

.privacy-notice a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
    box-sizing: border-box;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Específico para igualar altura de botones en formulario de contacto */
.form-buttons .btn,
.form-buttons .btn-secondary {
    padding: 14px 20px !important;
    min-height: 52px !important;
    width: 180px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

/* Ícono del botón secundario */
.form-buttons .btn-secondary svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    min-height: 48px;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary svg {
    width: 18px;
    height: 18px;
}

/* Los estilos base del captcha ya están optimizados para fondos claros */

/* Quote Page Mobile Responsive */
@media (max-width: 768px) {
    .quote-page {
        padding: 100px 0 40px;
    }
    
    .quote-header h1 {
        font-size: 2rem;
    }
    
    .quote-header p {
        font-size: 1rem;
    }
    
    .quote-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quote-form {
        padding: 20px;
    }
    
    .benefits-grid {
        gap: 15px;
    }
    
    .benefit-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-bottom: 10px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
        max-width: 280px;
    }
    
    /* Captcha responsive */
    .captcha-question {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .captcha-question span {
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .captcha-question input[type="number"] {
        width: 80px !important;
        flex-shrink: 0;
    }
    
    /* Optimizar imágenes para evitar temblor en móvil */
    .about-img {
        transform: none !important;
        -webkit-transform: none !important;
        will-change: auto !important;
        position: static !important;
        isolation: isolate;
    }
}

/* ========== OPTIMIZACIONES MÓVILES ========== */

/* Mejoras táctiles para móviles */
@media (hover: none) and (pointer: coarse) {
    /* Elementos táctiles más grandes */
    .btn, .btn-primary, .btn-secondary {
        min-height: 48px;
        padding: 12px 20px;
    }
    
    .nav-menu a {
        min-height: 44px;
        padding: 12px 16px;
    }
    
    /* Eliminar hover effects en táctil */
    .btn:hover,
    .nav-menu a:hover,
    .info-item:hover,
    .product-card:hover {
        transform: none;
    }
    
    /* Feedback táctil */
    .btn:active,
    .nav-menu a:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Scroll suave universal */
* {
    -webkit-overflow-scrolling: touch;
}

/* Fix para zoom en inputs en iOS */
input, select, textarea {
    font-size: 16px !important;
}

@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* ========== MICROINTERACCIONES SUAVES ========== */

/* Smooth Scroll - configurado arriba con optimizaciones */

/* Navigation Microinteractions */
.nav-menu a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    width: 100%;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    margin-left: auto !important;
}

/* Desktop: keep original order */
@media (min-width: 769px) {
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 3rem;
    }
    
    .nav-wrapper .logo {
        order: 1;
    }
    
    .nav-wrapper .nav-menu {
        order: 2;
    }
    
    .nav-wrapper .language-selector {
        order: 3;
    }
    
    .nav-wrapper .mobile-toggle {
        order: 4;
    }
}

.lang-current {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    z-index: 1000;
    overflow: hidden;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: white;
    text-align: left;
    cursor: pointer;
    display: block;
    transition: background 0.3s;
    font-size: 14px;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

.arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

/* Button Ripple Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Hero Feature Items Animation */
.feature-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.feature-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form Input Microinteractions */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Info Items Animation */
.info-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-item:hover .info-icon {
    transform: rotate(10deg) scale(1.1);
    color: var(--secondary-color);
}

.info-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Price Cards Animation */
.price-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.price-card:hover .price-amount {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.price-amount {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stats Counter Animation */
.stat-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.stat-number {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Links Animation */
.footer-content a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-content a:hover::after {
    width: 100%;
}

.footer-content a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Social Media Icons Animation */
.social-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: translateY(-3px) rotate(5deg) scale(1.2);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Loading States for Interactive Elements */
.btn:active {
    transform: translateY(1px) scale(0.98);
}

/* Form Error State Animation */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    animation: shake 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Card Hover Shadow Enhancement */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Image Hover Effects */
img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
    transform: scale(1.02);
}

/* Benefit Item Hover Animation */
.benefit-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--secondary-color);
}

.benefit-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}