/* ===== VARIABLES CSS ===== */
:root {
    /* Colores principales - Hiopos Red */
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    
    /* Colores neutros */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Colores de estado */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;
    --font-size-8xl: 6rem;
    
    /* Espaciado */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Bordes */
    --border-radius-sm: 0.375rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transiciones */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== UTILIDADES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BOTONES MODERNOS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.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 var(--transition-slow);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-large {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    padding: var(--spacing-4) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 32px;
    width: auto;
}

.nav-cta .btn {
    font-size: var(--font-size-sm);
    padding: var(--spacing-2) var(--spacing-4);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #fef2f2 0%, var(--white) 50%, #fef2f2 100%);
    padding-top: 100px;
    padding-bottom: var(--spacing-24);
    position: relative;
    overflow: hidden;
}

.hero-section::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="50" cy="50" r="1" fill="%23f1f5f9" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-6);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    margin-bottom: var(--spacing-8);
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: var(--spacing-16) 0;
    background: linear-gradient(135deg, var(--white) 0%, #fef2f2 50%, var(--white) 100%);
    border-top: 1px solid rgba(220, 38, 38, 0.1);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-8);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-6);
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== BENEFITS SECTION - DISEÑO TIPOGRÁFICO ===== */
.benefits-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, var(--white) 0%, #fef2f2 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section::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 200 200"><defs><pattern id="lines" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20h40M20 0v40" stroke="%23dc2626" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23lines)"/></svg>');
    opacity: 0.3;
}

.benefits-header {
    text-align: center;
    margin-bottom: var(--spacing-20);
    position: relative;
    z-index: 2;
}

.benefits-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.benefits-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.benefits-typography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-12);
    position: relative;
    z-index: 2;
}

.benefit-typography-item {
    position: relative;
    padding: var(--spacing-8);
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.benefit-typography-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(220, 38, 38, 0.02) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.benefit-typography-item:hover::before {
    opacity: 1;
}

.benefit-typography-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.15);
}

.benefit-number-large {
    font-size: var(--font-size-8xl);
    font-weight: 900;
    color: rgba(220, 38, 38, 0.1);
    line-height: 0.7;
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
    z-index: 1;
    transition: all var(--transition-normal);
}

.benefit-typography-item:hover .benefit-number-large {
    color: rgba(220, 38, 38, 0.2);
    transform: scale(1.1);
}

.benefit-content-wrapper {
    position: relative;
    z-index: 2;
    padding-top: var(--spacing-8);
}

.benefit-title-typography {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    margin: 0 0 var(--spacing-2) 0;
    letter-spacing: 0.01em;
    transition: all var(--transition-normal);
}

.benefit-title-sub {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--gray-700);
    display: block;
    margin-bottom: var(--spacing-4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.benefit-description-typography {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Colores unificados para todos los beneficios */
.benefit-roi .benefit-title-typography,
.benefit-implementation .benefit-title-typography,
.benefit-scalability .benefit-title-typography,
.benefit-billing .benefit-title-typography,
.benefit-apis .benefit-title-typography {
    color: var(--primary-color);
}

/* Animaciones tipográficas */
.benefit-typography-item {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-normal);
}

.benefit-typography-item.animate-in {
    animation: typographySlideIn 0.8s ease-out forwards;
}

.benefit-typography-item:nth-child(1).animate-in { animation-delay: 0.1s; }
.benefit-typography-item:nth-child(2).animate-in { animation-delay: 0.2s; }
.benefit-typography-item:nth-child(3).animate-in { animation-delay: 0.3s; }
.benefit-typography-item:nth-child(4).animate-in { animation-delay: 0.4s; }
.benefit-typography-item:nth-child(5).animate-in { animation-delay: 0.5s; }

@keyframes typographySlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== FEATURES SECTION - PILARES REDISEÑADOS ===== */
.features-section {
    padding: var(--spacing-24) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(220, 38, 38, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

.pillars-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-20);
    position: relative;
}

.pillar-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    min-height: 300px;
    position: relative;
}

.pillar-left {
    text-align: left;
}

.pillar-right {
    text-align: right;
}

.pillar-right .pillar-content {
    order: 2;
}

.pillar-right .pillar-visual {
    order: 1;
}

.pillar-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
    position: relative;
    z-index: 2;
}

.pillar-number {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    color: rgba(220, 38, 38, 0.1);
    line-height: 0.8;
    margin-bottom: var(--spacing-4);
    position: relative;
}

.pillar-number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.pillar-right .pillar-number::after {
    left: auto;
    right: 0;
}

.pillar-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.pillar-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.pillar-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-3);
}

.pillar-right .pillar-benefits {
    justify-content: flex-end;
}

.benefit-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--border-radius-xl);
    font-size: var(--font-size-sm);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    transition: all var(--transition-normal);
}

.benefit-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.pillar-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition-normal);
}

.visual-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    transition: all var(--transition-normal);
}

.visual-circle:hover::before {
    opacity: 0.2;
    transform: scale(1.1);
}

.visual-circle-1 {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 3px solid rgba(220, 38, 38, 0.2);
}

.visual-circle-2 {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 3px solid rgba(59, 130, 246, 0.2);
}

.visual-circle-3 {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 3px solid rgba(34, 197, 94, 0.2);
}

.visual-circle-4 {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
    border: 3px solid rgba(245, 158, 11, 0.2);
}

.circle-content {
    font-size: 4rem;
    filter: grayscale(0.3);
    transition: all var(--transition-normal);
}

.visual-circle:hover .circle-content {
    transform: scale(1.1);
    filter: grayscale(0);
}

/* Líneas conectoras entre pilares */
.pillar-item::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    opacity: 0.3;
}

.pillar-item:last-child::after {
    display: none;
}

/* Animaciones específicas para pilares - MEJORADAS */
.pillar-item {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-normal);
}

/* Animación suave al aparecer en scroll */
.pillar-item.animate-in {
    animation: slideInUpSmooth 0.6s ease-out forwards;
}

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

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

/* Asegurar que los elementos sean visibles por defecto */
.pillar-item {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== EXPANSION SECTION - SLIDER SIMPLE ===== */
.expansion-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.expansion-section::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%2364758b" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}

.slider-container {
    position: relative;
    z-index: 2;
    padding: var(--spacing-4) 0;
    max-width: 100%;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: var(--spacing-4) 0;
    margin: 0 auto;
    max-width: 1400px;
}

.slider-track {
    display: flex;
    gap: var(--spacing-8);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: 0 var(--spacing-4);
}

.expansion-slider-card {
    background: linear-gradient(145deg, #ffffff 0%, #fef9f9 100%);
    padding: var(--spacing-12);
    border-radius: 24px;
    box-shadow: 
        0 20px 60px -15px rgba(220, 38, 38, 0.2),
        0 10px 30px -10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(220, 38, 38, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
    backdrop-filter: blur(10px);
}

.expansion-slider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        #ff6b6b 50%, 
        var(--accent-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px 24px 0 0;
}

.expansion-slider-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

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

.expansion-slider-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.expansion-slider-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 30px 80px -20px rgba(220, 38, 38, 0.35),
        0 15px 40px -15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 1);
    border-color: rgba(220, 38, 38, 0.3);
    background: linear-gradient(145deg, #ffffff 0%, #fff5f5 100%);
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-5);
    line-height: 1.3;
    position: relative;
    z-index: 2;
    letter-spacing: -0.03em;
    transition: color 0.3s ease;
}

.card-title::before {
    content: '→';
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expansion-slider-card:hover .card-title {
    color: var(--primary-color);
}

.expansion-slider-card:hover .card-title::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.card-description {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin: 0;
    flex-grow: 1;
    font-weight: 400;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.expansion-slider-card:hover .card-description {
    color: var(--gray-700);
}

/* Controles del Slider */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-8);
    margin-top: var(--spacing-10);
}

.slider-btn {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #fef9f9);
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 20px rgba(220, 38, 38, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

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

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 12px 30px rgba(220, 38, 38, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.slider-btn:hover {
    color: var(--white);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    border-color: var(--gray-300);
    color: var(--gray-400);
}

.slider-btn:disabled:hover {
    transform: none;
    box-shadow: 
        0 8px 20px rgba(220, 38, 38, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.08);
}

.slider-dots {
    display: flex;
    gap: var(--spacing-3);
    padding: var(--spacing-2) var(--spacing-4);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.slider-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.slider-dot.active::before {
    opacity: 1;
    transform: scale(1);
}

.slider-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* ===== MODULES SECTION ===== */
.modules-section {
    padding: var(--spacing-24) 0;
    background: var(--white);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-16);
}

.module-card {
    background: var(--gray-50);
    padding: var(--spacing-6);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.module-card:hover {
    border-color: var(--primary-color);
    background: var(--white);
}

.module-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-2);
}

.module-description {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.testimonials {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: var(--spacing-12);
    border-radius: var(--border-radius-2xl);
    text-align: center;
    color: var(--white);
}

.testimonial-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-6);
    opacity: 0.9;
}

.guarantee {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.guarantee-text {
    font-weight: 600;
    font-size: var(--font-size-base);
}

/* ===== CONTACT SECTION - FORMULARIO MODERNO ===== */
.contact-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::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="contact-dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-dots)"/></svg>');
    opacity: 0.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Header de Contacto */
.contact-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: var(--spacing-2);
}

/* Información de Contacto */
.contact-info {
    color: var(--white);
}

.contact-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-8);
    font-weight: 300;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-text {
    font-size: var(--font-size-base);
    color: var(--white);
    font-weight: 500;
}

/* Formulario Moderno */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-8);
    border-radius: var(--border-radius-2xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-group {
    margin-bottom: var(--spacing-6);
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-2);
    transition: all var(--transition-normal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    font-family: inherit;
    background: var(--white);
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

/* Botón del Formulario */
.contact-form .btn {
    width: 100%;
    padding: var(--spacing-5) var(--spacing-8);
    font-size: var(--font-size-lg);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form .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;
}

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

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
}

.contact-form .btn:active {
    transform: translateY(-1px);
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Mensaje de Privacidad */
.form-privacy {
    margin-top: var(--spacing-6);
    text-align: center;
}

.form-privacy p {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    line-height: 1.5;
}

/* Mensajes del Formulario */
.form-message {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-6);
    animation: slideInDown 0.3s ease-out;
}

.form-message-success {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message-error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.message-icon {
    font-size: var(--font-size-xl);
    font-weight: 700;
    flex-shrink: 0;
}

.message-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-1);
}

/* ===== ANIMACIONES DEL FORMULARIO ===== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

.form-group.focused label {
    color: var(--primary-color);
    transform: translateY(-2px);
    transition: all var(--transition-fast);
}

.form-group.typing input,
.form-group.typing textarea {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-6);
    right: var(--spacing-6);
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-fast);
    z-index: 1000;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20ba5a;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-16) 0 var(--spacing-8);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-8);
}

.footer-brand {
    text-align: center;
    max-width: 400px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: var(--spacing-4);
    filter: brightness(0) invert(1);
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--spacing-8);
    text-align: center;
    color: var(--gray-400);
}

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

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.5s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.5s ease-out forwards;
}

/* Asegurar que todos los elementos sean visibles por defecto */
.stat-item,
.benefit-card,
.pillar-item,
.expansion-card,
.module-card,
.testimonials,
.contact-form {
    opacity: 1;
    transform: translateY(0);
}

/* Elementos sin animación para usuarios que prefieren movimiento reducido */
.no-animation {
    animation: none !important;
    transition: none !important;
}

.no-animation * {
    animation: none !important;
    transition: none !important;
}

/* ===== ESTADOS DE CARGA ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== UTILIDADES DE ESPACIADO ===== */
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-6 { margin-bottom: var(--spacing-6); }
.mb-8 { margin-bottom: var(--spacing-8); }
.mb-12 { margin-bottom: var(--spacing-12); }
.mb-16 { margin-bottom: var(--spacing-16); }

.mt-4 { margin-top: var(--spacing-4); }
.mt-6 { margin-top: var(--spacing-6); }
.mt-8 { margin-top: var(--spacing-8); }
.mt-12 { margin-top: var(--spacing-12); }
.mt-16 { margin-top: var(--spacing-16); }

/* ===== UTILIDADES DE TEXTO ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }
/* ===== RESPONSIVE DESIGN ===== */

/* ===== TABLET (768px - 1024px) ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-6);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-6);
    }
    
    .expansion-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-6);
    }
    
    .contact-content {
        gap: var(--spacing-12);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }
}

/* ===== MOBILE LARGE (481px - 768px) ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-4);
    }
    
    /* Navbar */
    .navbar {
        padding: var(--spacing-3) 0;
    }
    
    .nav-cta .btn {
        font-size: var(--font-size-xs);
        padding: var(--spacing-2) var(--spacing-3);
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 80px;
        padding-bottom: var(--spacing-16);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-12);
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-4);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-6);
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections */
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
    }
    
    .stats-section,
    .benefits-section,
    .features-section,
    .expansion-section,
    .modules-section,
    .contact-section {
        padding: var(--spacing-16) 0;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-4);
    }
    
    .stat-item {
        padding: var(--spacing-4);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
    }
    
    /* Benefits - Diseño Tipográfico */
    .benefits-title {
        font-size: var(--font-size-3xl);
    }
    
    .benefits-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .benefits-typography-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .benefit-typography-item {
        padding: var(--spacing-6);
    }
    
    .benefit-number-large {
        font-size: var(--font-size-6xl);
    }
    
    .benefit-title-typography {
        font-size: var(--font-size-2xl);
    }
    
    .benefit-title-sub {
        font-size: var(--font-size-base);
    }
    
    .benefit-description-typography {
        font-size: var(--font-size-sm);
    }
    
    
    /* Features - Pilares */
    .pillar-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
        min-height: auto;
    }
    
    .pillar-right .pillar-content,
    .pillar-right .pillar-visual {
        order: unset;
    }
    
    .pillar-right .pillar-benefits {
        justify-content: center;
    }
    
    /* Centrar todos los badges en móvil */
    .pillar-benefits {
        justify-content: center !important;
    }
    
    .pillar-right .pillar-number::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    /* Asegurar orden consistente en móvil: contenido primero, visual después */
    .pillar-item .pillar-content {
        order: 1;
    }
    
    .pillar-item .pillar-visual {
        order: 2;
    }
    
    .pillar-title {
        font-size: var(--font-size-2xl);
    }
    
    .pillar-description {
        font-size: var(--font-size-base);
    }
    
    .visual-circle {
        width: 150px;
        height: 150px;
    }
    
    .circle-content {
        font-size: 3rem;
    }
    
    .pillar-number {
        font-size: var(--font-size-5xl);
    }
    
    /* Expansion - Slider Tablet */
    .slider-wrapper {
        padding: var(--spacing-3) var(--spacing-4);
        max-width: 100%;
    }
    
    .slider-track {
        gap: var(--spacing-6);
        padding: 0 var(--spacing-2);
    }
    
    .expansion-slider-card {
        padding: var(--spacing-8);
        min-height: 280px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-description {
        font-size: 1rem;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .slider-controls {
        gap: var(--spacing-6);
        margin-top: var(--spacing-8);
    }
    
    /* Modules */
    .modules-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
    
    .testimonials {
        padding: var(--spacing-8);
    }
    
    .testimonial-title {
        font-size: var(--font-size-2xl);
    }
    
    .testimonial-text {
        font-size: var(--font-size-base);
    }
    
    /* Contact - Formulario Tablet */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .contact-header {
        text-align: center;
        order: 1;
    }
    
    .contact-info {
        text-align: center;
        order: 2;
    }
    
    .contact-form {
        order: 3;
        padding: var(--spacing-6);
    }
    
    .contact-title {
        font-size: var(--font-size-3xl);
    }
    
    .contact-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .benefit-item {
        justify-content: center;
    }
    
    .contact-form .btn {
        padding: var(--spacing-4) var(--spacing-6);
        font-size: var(--font-size-base);
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-12) 0 var(--spacing-6);
    }
    
    .footer-content {
        margin-bottom: var(--spacing-6);
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-description {
        font-size: var(--font-size-sm);
    }
}

/* ===== MOBILE SMALL (320px - 480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-3);
    }
    
    /* Typography */
    .hero-title {
        font-size: var(--font-size-2xl);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-sm);
    }
    
    /* Buttons */
    .btn {
        padding: var(--spacing-2) var(--spacing-4);
        font-size: var(--font-size-sm);
    }
    
    .btn-large {
        padding: var(--spacing-3) var(--spacing-6);
        font-size: var(--font-size-base);
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-3);
    }
    
    .stat-item {
        padding: var(--spacing-3);
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .stat-label {
        font-size: var(--font-size-sm);
    }
    
    /* Benefits - Mobile Tipográfico */
    .benefits-title {
        font-size: var(--font-size-2xl);
    }
    
    .benefits-subtitle {
        font-size: var(--font-size-base);
    }
    
    .benefit-typography-item {
        padding: var(--spacing-4);
    }
    
    .benefit-number-large {
        font-size: var(--font-size-5xl);
    }
    
    .benefit-title-typography {
        font-size: var(--font-size-xl);
    }
    
    .benefit-title-sub {
        font-size: var(--font-size-sm);
    }
    
    .benefit-description-typography {
        font-size: var(--font-size-xs);
    }
    
    /* Expansion - Slider Mobile */
    .slider-wrapper {
        padding: var(--spacing-2) 0;
        max-width: 100%;
    }
    
    .slider-track {
        gap: var(--spacing-4);
        padding: 0 var(--spacing-4);
    }
    
    .expansion-slider-card {
        padding: var(--spacing-6);
        min-height: 260px;
    }
    
    .card-title {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-3);
    }
    
    .card-title::before {
        left: -24px;
        font-size: 1.2rem;
    }
    
    .card-description {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .slider-btn {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        transform: scale(1.2);
    }
    
    .slider-controls {
        margin-top: var(--spacing-6);
        gap: var(--spacing-4);
    }
    
    .slider-dots {
        padding: var(--spacing-1) var(--spacing-3);
    }
    
    
    /* Features - Pilares Mobile */
    .pillar-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
        text-align: center;
        min-height: auto;
    }
    
    /* Asegurar orden consistente en móvil pequeño: contenido primero, visual después */
    .pillar-item .pillar-content {
        order: 1;
    }
    
    .pillar-item .pillar-visual {
        order: 2;
    }
    
    /* Centrar todos los badges en móvil pequeño también */
    .pillar-benefits {
        justify-content: center !important;
    }
    
    .pillar-title {
        font-size: var(--font-size-xl);
    }
    
    .pillar-description {
        font-size: var(--font-size-sm);
    }
    
    .visual-circle {
        width: 120px;
        height: 120px;
    }
    
    .circle-content {
        font-size: 2.5rem;
    }
    
    .pillar-number {
        font-size: var(--font-size-4xl);
    }
    
    .benefit-tag {
        font-size: var(--font-size-xs);
        padding: var(--spacing-1) var(--spacing-3);
    }
    
    /* Contact Form - Móvil */
    .contact-content {
        gap: var(--spacing-6);
    }
    
    .contact-header {
        order: 1;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 3;
        padding: var(--spacing-4);
    }
    
    .contact-title {
        font-size: var(--font-size-2xl);
    }
    
    .contact-subtitle {
        font-size: var(--font-size-base);
    }
    
    .benefit-item {
        padding: var(--spacing-2);
    }
    
    .benefit-text {
        font-size: var(--font-size-sm);
    }
    
    .form-group {
        margin-bottom: var(--spacing-4);
    }
    
    .form-group input,
    .form-group textarea {
        padding: var(--spacing-3);
        font-size: var(--font-size-sm);
    }
    
    .contact-form .btn {
        padding: var(--spacing-4);
        font-size: var(--font-size-sm);
    }
    
    /* Testimonials */
    .testimonials {
        padding: var(--spacing-6);
    }
    
    .testimonial-title {
        font-size: var(--font-size-xl);
    }
    
    .testimonial-text {
        font-size: var(--font-size-sm);
    }
    
    /* Footer */
    .footer-description {
        font-size: var(--font-size-xs);
    }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding-top: 60px;
        padding-bottom: var(--spacing-12);
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-8);
        text-align: left;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .hero-cta .btn {
        width: auto;
        max-width: none;
    }
    
    /* Asegurar orden consistente en landscape móvil también */
    .pillar-item .pillar-content {
        order: 1;
    }
    
    .pillar-item .pillar-visual {
        order: 2;
    }
    
    /* Centrar badges en landscape móvil también */
    .pillar-benefits {
        justify-content: center !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .hero-cta,
    .contact-form,
    .footer {
        display: none;
    }
    
    .hero-section {
        padding-top: 0;
        background: white;
    }
    
    .hero-title,
    .section-title {
        color: black;
    }
    
    .feature-card,
    .expansion-card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
    
    .feature-card,
    .expansion-card {
        border: 2px solid #000;
    }
    
    .form-group input,
    .form-group textarea {
        border: 2px solid #000;
    }
}

/* ===== UTILITIES FOR RESPONSIVE ===== */
.hidden-mobile {
    display: block;
}

.hidden-desktop {
    display: none;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
    
    .hidden-desktop {
        display: block;
    }
}

/* ===== WHATSAPP FLOAT RESPONSIVE ===== */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: var(--spacing-5);
        right: var(--spacing-5);
    }
    
    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: var(--spacing-4);
        right: var(--spacing-4);
    }
    
    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== CONTAINER QUERIES (FUTURE-PROOF) ===== */
@supports (container-type: inline-size) {
    .feature-card {
        container-type: inline-size;
    }
    
    @container (max-width: 300px) {
        .feature-title {
            font-size: var(--font-size-base);
        }
        
        .feature-description {
            font-size: var(--font-size-sm);
        }
    }
}
