/* ========================================= */
/* SISTEMA DE DISEÑO - Casas Prefabricadas Canarias */
/* ========================================= */

:root {
    --primary: 205 65% 35%;    /* Azul Océano */
    --accent: 155 55% 38%;     /* Verde Sostenible */
    --background: 40 33% 98%;  /* Arena */
    --foreground: 220 25% 15%;
    --secondary: 210 20% 98%;
}

/* ========================================= */
/* RESET Y ESTILOS BASE */
/* ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, .brand-title { 
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

/* ========================================= */
/* HEADER Y NAVEGACIÓN */
/* ========================================= */

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.header-fixed.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo-box {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(205 70% 45%));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-box:hover {
    transform: rotate(-5deg);
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-sub {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: #475569;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.nav-link.active {
    color: hsl(var(--primary));
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
    border-radius: 2px;
}

/* ========================================= */
/* BOTONES */
/* ========================================= */

.btn-cta {
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(160 50% 45%));
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
    background: linear-gradient(135deg, hsl(155 60% 40%), hsl(160 55% 50%));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: white;
    color: #0f172a;
    transform: translateY(-2px);
}

/* ========================================= */
/* HERO SECTIONS */
/* ========================================= */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.badge-floating {
    display: inline-flex;
    align-items: center;
    background: rgba(72, 187, 120, 0.15);
    backdrop-filter: blur(10px);
    color: #2ed573;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

/* ========================================= */
/* CARDS MEJORADAS - COLORIDAS COMO TENERIFE */
/* ========================================= */

.info-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info-card:hover .info-card-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Colores específicos para cada card */
.card-intermediacion .info-card-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.card-analisis .info-card-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.card-asesoramiento .info-card-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.card-compromiso .info-card-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

/* CARDS GENERALES PARA TENERIFE/GRAN CANARIA */
.info-card-alt {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.info-card-alt:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.info-card-icon-alt {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(205 70% 45%));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* TYPE ICONS */
.type-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* ========================================= */
/* ISLAND CARDS */
/* ========================================= */

.island-card {
    position: relative;
    height: 400px;
    border-radius: 1.5rem;
    overflow: hidden;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.island-card:hover {
    transform: translateY(-8px);
}

.island-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.7;
}

.island-card:hover img {
    transform: scale(1.05);
}

.island-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

/* ========================================= */
/* STEP CARDS */
/* ========================================= */

.step-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 1rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(205 70% 45%));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 15px rgba(30, 64, 175, 0.3);
    position: relative;
    z-index: 1;
}

/* STEP CARDS ALTERNATIVOS (TENERIFE/GRAN CANARIA) */
.step-card-alt {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.step-number-alt {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(205 70% 45%));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

/* ========================================= */
/* ASPECTOS CLAVE / VENTAJAS */
/* ========================================= */

.aspect-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.aspect-card:hover {
    border-color: hsl(var(--primary));
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
    transform: translateY(-5px);
}

.ventaja-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border-left: 4px solid hsl(var(--accent));
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* ========================================= */
/* PRICE CARD */
/* ========================================= */

.price-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
}

/* ========================================= */
/* FAQ */
/* ========================================= */

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
}

.faq-item[open] {
    padding-bottom: 1.5rem;
}

.faq-question {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #1e293b;
}

.faq-question:hover {
    color: hsl(var(--primary));
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question i {
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding-top: 1rem;
    color: #64748b;
    line-height: 1.7;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================= */
/* FORMULARIO FORMSPREE */
/* ========================================= */

.form-container {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: hsl(var(--accent));
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
    color: #1e293b;
}

/* Formulario alternativo para Tenerife/Gran Canaria */
.form-input-alt {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
}

.form-input-alt:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* ========================================= */
/* MENÚ MÓVIL COMPLETAMENTE REDISEÑADO */
/* ========================================= */

.mobile-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    backdrop-filter: blur(4px);
}

.mobile-menu-container.open {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-container.open .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.mobile-menu-close:hover {
    background: #e2e8f0;
}

.mobile-menu-nav {
    padding: 1.5rem;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item:hover {
    color: hsl(var(--primary));
}

.mobile-menu-item.active {
    color: hsl(var(--primary));
    font-weight: 600;
}

.mobile-menu-icon {
    width: 24px;
    margin-right: 0.75rem;
    color: #94a3b8;
}

.mobile-menu-item.active .mobile-menu-icon {
    color: hsl(var(--primary));
}

.mobile-menu-cta {
    margin: 1.5rem;
    margin-top: 2rem;
}

.mobile-menu-footer {
    padding: 1.5rem;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
}

/* ========================================= */
/* PÁGINA DE AGRADECIMIENTO (THANK YOU) */
/* ========================================= */

.thank-you-container {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #e2e8f0;
    animation: fadeInUp 0.8s ease-out;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(160 50% 45%));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.thank-you-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.thank-you-container p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.highlight-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #bbf7d0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.highlight-box strong {
    color: #059669;
    font-weight: 700;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(205 70% 45%));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    border: none;
    cursor: pointer;
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
    background: linear-gradient(135deg, hsl(205 70% 40%), hsl(205 75% 50%));
}

.btn-back i {
    transition: transform 0.3s ease;
}

.btn-back:hover i {
    transform: translateX(-3px);
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
}

.contact-info a {
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ========================================= */
/* ANIMACIONES */
/* ========================================= */

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* ========================================= */
/* UTILIDADES */
/* ========================================= */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section-padding {
    padding: 6rem 0;
}

.text-primary {
    color: hsl(var(--primary));
}

/* ========================================= */
/* COLORES UTILITARIOS */
/* ========================================= */

/* COLORES DE FONDO PARA TARJETAS DE TIPO */
.bg-amber-100 { background-color: #fef3c7; }
.text-amber-600 { color: #d97706; }

.bg-blue-100 { background-color: #dbeafe; }
.text-blue-600 { color: #2563eb; }

.bg-green-100 { background-color: #d1fae5; }
.text-green-600 { color: #059669; }

.bg-purple-100 { background-color: #e9d5ff; }
.text-purple-600 { color: #7c3aed; }

.bg-red-100 { background-color: #fee2e2; }
.text-red-600 { color: #dc2626; }

.bg-indigo-100 { background-color: #e0e7ff; }
.text-indigo-600 { color: #4f46e5; }

.bg-gray-100 { background-color: #f3f4f6; }
.text-gray-600 { color: #4b5563; }

.bg-yellow-100 { background-color: #fef3c7; }
.text-yellow-600 { color: #d97706; }

/* COLORES UTILITARIOS PARA FONDOS DE SECCIÓN */
.bg-white { background-color: white; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-900 { background-color: #0f172a; }
.from-slate-900 { --tw-gradient-from: #0f172a; }
.to-slate-800 { --tw-gradient-to: #1e293b; }

/* UTILIDADES DE TEXTO */
.text-white { color: white; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 768px) {
    .section-padding { 
        padding: 4rem 0; 
    }
    
    .hero-section { 
        min-height: 70vh; 
    }
    
    .logo-box {
        width: 40px;
        height: 40px;
    }
    
    .brand-title {
        font-size: 1.15rem;
    }
    
    .brand-sub {
        font-size: 0.7rem;
    }
    
    .faq-item {
        padding: 1.25rem 0;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .info-card,
    .info-card-alt,
    .step-card,
    .step-card-alt,
    .ventaja-card,
    .aspect-card {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .btn-cta,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* MEJORAS PARA BOTONES EN MÓVIL */
    .btn-cta-mobile {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .island-card {
        height: 350px;
    }
    
    .island-content {
        padding: 1.5rem;
    }
    
    /* Página de agradecimiento responsive */
    .thank-you-container {
        padding: 2rem 1.5rem;
    }
    
    .thank-you-container h1 {
        font-size: 2rem;
    }
    
    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .island-card {
        height: 300px;
    }
}

/* ========================================= */
/* MEJORAS ESPECÍFICAS PARA DISPOSITIVOS */
/* ========================================= */

/* Oculta scrollbar en navegadores Webkit pero mantiene funcionalidad */
.mobile-menu-content::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.mobile-menu-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

/* Prevenir zoom en inputs en iOS */
@media screen and (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important; /* Evita zoom automático en iOS */
    }
}

/* Mejora de rendimiento para animaciones */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}