/* ================================================================== */
/* TotalFix Landing Page - Estilos Optimizados */
/* ================================================================== */

:root {
    /* Colores TotalFix */
    --color-primary: #2563eb; /* Azul TotalFix */
    --color-secondary: #1e40af; /* Azul oscuro */
    --color-accent: #10b981; /* Verde éxito */
    --color-warning: #f59e0b; /* Amarillo advertencia */
    --color-text-light: #f3f4f6; /* gray-100 */
    --color-text-dark: #1f2937; /* gray-800 */
    --color-bg-light: #ffffff;
    --color-bg-dark: #0f172a; /* slate-900 */
    --max-width: 1280px;
    --header-height: 64px;
    
    /* Sombras y efectos */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transiciones */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Modo Oscuro por defecto (preferencia del sistema) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-text: var(--color-text-light);
        --color-bg: var(--color-bg-dark);
        --color-card-bg: #1e293b; /* slate-800 */
        --color-border: #334155; /* slate-700 */
        --color-form-bg: #1e293b; 
    }
}

/* Modo Claro por defecto */
@media (prefers-color-scheme: light) {
    :root {
        --color-text: var(--color-text-dark);
        --color-bg: var(--color-bg-light);
        --color-card-bg: #f9fafb; /* gray-50 */
        --color-border: #e5e7eb; /* gray-200 */
        --color-form-bg: var(--color-bg-light); 
    }
}

/* ================================================================== */
/* Base & Reset */
/* ================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: justify;
    text-justify: inter-word;
}

/* ================================================================== */
/* Layout & Utilities */
/* ================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 1rem; /* 64px */
}
@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 1rem; /* 96px */
    }
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}
@media (min-width: 768px) {
     h2 {
        font-size: 3rem;
    }
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.font-semibold { font-weight: 600; }
.mt-4 { margin-top: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.grid-cols-1 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ================================================================== */
/* Buttons & CTAs */
/* ================================================================== */

/* Botón Premium para Demostración */
.btn-demo-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 25px rgba(37, 99, 235, 0.4),
        0 4px 12px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 320px;
    cursor: pointer;
    z-index: 1;
}

.btn-demo-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

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

.btn-demo-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(37, 99, 235, 0.6),
        0 8px 20px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
}

.btn-demo-premium:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.btn-demo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.btn-demo-premium:hover .btn-demo-text {
    transform: translateX(2px);
}


.btn-demo-arrow {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.btn-demo-premium:hover .btn-demo-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.btn-demo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-demo-premium:hover .btn-demo-glow {
    width: 300px;
    height: 300px;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

/* Animaciones para el botón premium */

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

/* Responsive para el botón premium */
@media (max-width: 768px) {
    .btn-demo-premium {
        min-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .btn-demo-text {
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .btn-demo-premium {
        min-width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-demo-text {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .btn-demo-arrow {
        transform: rotate(90deg);
    }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

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

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: #1d4ed8; /* Slightly darker blue */
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-secondary:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ================================================================== */
/* Header */
/* ================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    height: var(--header-height);
    transition: all var(--transition-normal);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 0.75rem;
}

/* Ajustes responsive para header */
@media (max-width: 1023px) {
    .header-content {
        gap: 0.5rem;
        padding: 0 0.75rem;
    }
}

.nav-menu {
    display: none;
}
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        gap: 1.5rem;
    }
}
.nav-menu a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}
.nav-menu a:hover, .nav-menu a:focus-visible {
    color: var(--color-primary);
}

/* Ocultar botón "Solicitar diagnóstico" en móvil */
.nav-cta-desktop {
    display: none;
}
@media (min-width: 1024px) {
    .nav-cta-desktop {
        display: inline-flex;
    }
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    min-width: 150px;
}

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

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

.btn-whatsapp-header:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp-header svg {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.btn-whatsapp-header:hover svg {
    transform: scale(1.1);
}

/* Responsive para botón WhatsApp header */
@media (max-width: 640px) {
    .btn-whatsapp-header {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        gap: 0.375rem;
        min-width: auto;
    }
    
    .btn-whatsapp-header svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .btn-whatsapp-header {
        font-size: 0.75rem;
        padding: 0.375rem 0.7rem;
    }
}

/* Botón WhatsApp Hero */
.btn-whatsapp-hero {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

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

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

.btn-whatsapp-hero:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp-hero svg {
    transition: transform var(--transition-normal);
}

.btn-whatsapp-hero:hover svg {
    transform: scale(1.1);
}

/* ================================================================== */
/* Hero Section */
/* ================================================================== */
#hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(255, 255, 255, 0) 100%), var(--color-bg);
}
@media (prefers-color-scheme: dark) {
     #hero {
        background: linear-gradient(180deg, var(--color-bg) 0%, rgba(15, 23, 42, 0) 100%), var(--color-bg);
    }
}
@media (min-width: 768px) {
    #hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
        padding-top: calc(var(--header-height) + 4rem);
        padding-bottom: 6rem;
        text-align: left;
    }
     .hero-content {
        text-align: left !important;
    }
}

#hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}
@media (min-width: 768px) {
    #hero h1 {
        font-size: 3.5rem;
    }
}
@media (min-width: 1280px) {
    #hero h1 {
        font-size: 4rem;
    }
}

.hero-highlight {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 1rem 0 1.5rem 0;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}
@media (max-width: 768px) {
    .hero-highlight {
        font-size: 1.25rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #6b7280; /* Neutral gray */
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-align: justify;
    line-height: 1.8;
    text-justify: inter-word;
}
@media (prefers-color-scheme: dark) {
     .hero-subtitle {
        color: #9ca3af;
    }
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    display: table;
    width: 100%;
    border-collapse: collapse;
}
.hero-bullets li {
    display: table-row;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 0;
}
.hero-bullets li svg {
    color: var(--color-accent);
    display: table-cell;
    vertical-align: top;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    width: 20px;
    text-align: center;
}
.hero-bullets li strong {
    display: table-cell;
    vertical-align: top;
    color: var(--color-primary);
    font-weight: 600;
    padding-right: 1rem;
    white-space: nowrap;
    width: 200px;
    text-align: left;
}
.hero-bullets li span {
    display: table-cell;
    vertical-align: top;
    text-align: left;
    line-height: 1.8;
    width: auto;
    padding-left: 0;
}


.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}
@media (min-width: 640px) {
    .hero-ctas {
        flex-direction: row;
    }
}

.mockup-container {
    margin-top: 3rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}
@media (prefers-color-scheme: dark) {
    .mockup-container {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    }
}
@media (min-width: 768px) {
    .mockup-container {
        margin-top: 0;
    }
}
.mockup-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================================================== */
/* Cards & Features */
/* ================================================================== */
.card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all var(--transition-normal);
    cursor: default;
    position: relative;
    overflow: hidden;
    text-align: justify;
    line-height: 1.8;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}
.card:hover::before {
    transform: scaleX(1);
}
@media (prefers-color-scheme: dark) {
    .card:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
}
.card-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: transform var(--transition-normal);
}
.card:hover .card-icon {
    transform: scale(1.1);
}
.card h3 {
    margin-top: 0;
    font-size: 1.25rem;
    min-height: 3rem; /* Better alignment */
}

/* ================================================================== */
/* How It Works (Timeline) */
/* ================================================================== */
.timeline-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}
@media (min-width: 768px) {
    .timeline-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 2rem 0;
    }
}

.timeline-step {
    position: relative;
    padding: 1.5rem 1rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}
.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

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

.timeline-number {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-text-light);
    font-size: 1.5rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 3px solid var(--color-bg);
    z-index: 10;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.timeline-step:hover .timeline-number {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

@media (min-width: 768px) {
    .timeline-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 25px;
        left: calc(50% + 25px);
        right: calc(-50% + 25px);
        height: 4px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
        z-index: 1;
        border-radius: 2px;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
        animation: timelineLineGlow 3s ease-in-out infinite alternate;
        transition: all var(--transition-normal);
    }
    
    .timeline-step:hover::after {
        height: 6px;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.6);
        transform: translateY(-1px);
    }
    
    /* Asegurar que el último paso no tenga línea */
    .timeline-step:last-child::after {
        display: none;
    }
}

/* ================================================================== */
/* Videos Demostrativos */
/* ================================================================== */

/* Espaciado adicional entre videos y botón */
.videos-grid {
    margin-bottom: 3rem;
}

/* Espaciado del contenedor del botón */
.text-center.mt-16 {
    margin-top: 4rem !important;
    padding-top: 2rem;
}
.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.video-container {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}
.video-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.video-container:hover::before {
    transform: scaleX(1);
}

.video-header {
    margin-bottom: 1rem;
}
.video-header h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.video-header p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (prefers-color-scheme: dark) {
    .video-header p {
        color: #9ca3af;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambiado de cover a contain para ajustar a ventana sin recortes */
    border-radius: 0.5rem;
}

/* Estilos para modo fullscreen - asegurar que el video no se corte */
.video-wrapper video:fullscreen,
.video-wrapper video:-webkit-full-screen,
.video-wrapper video:-moz-full-screen,
.video-wrapper video:-ms-fullscreen {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
}

/* Estilos cuando el video está en fullscreen */
video:fullscreen,
video:-webkit-full-screen,
video:-moz-full-screen,
video:-ms-fullscreen {
    object-fit: contain !important;
    background-color: #000;
}

.video-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}
.video-duration {
    color: #6b7280;
    font-weight: 500;
}
.video-tag {
    background-color: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}
@media (prefers-color-scheme: dark) {
    .video-duration {
        color: #9ca3af;
    }
}

/* ================================================================== */
/* Testimonials */
/* ================================================================== */
.testimonial-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    font-style: italic;
    transition: transform var(--transition-normal);
    animation: fadeInUp 0.6s ease-out;
    text-align: justify;
    line-height: 1.8;
}
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:hover {
    transform: translateY(-5px);
}
.testimonial-author {
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-primary);
}
.testimonial-author span {
    display: block;
    font-weight: 400;
    font-size: 0.9rem;
    color: #6b7280;
}
@media (prefers-color-scheme: dark) {
     .testimonial-author span {
        color: #9ca3af;
    }
}
.logo-placeholder {
    width: 100%;
    height: 50px;
    background-color: var(--color-border);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.8rem;
    transition: transform var(--transition-normal);
}
.logo-placeholder:hover {
    transform: scale(1.05);
}
@media (prefers-color-scheme: dark) {
    .logo-placeholder {
        background-color: #374151;
        color: var(--color-text-light);
    }
}

/* ================================================================== */
/* Pricing */
/* ================================================================== */
.pricing-grid-centered {
    max-width: 800px;
    margin: 0 auto;
    justify-items: center;
}
#planes {
     background-color: var(--color-secondary);
     color: var(--color-text-light);
}
#planes h2, #planes p { color: var(--color-text-light); }
.pricing-card {
    background-color: #1f2937; /* gray-800 */
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}
.pricing-card:hover {
    transform: translateY(-5px);
}
.pricing-card:hover::before {
    transform: scaleX(1);
}
.pricing-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
}
.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}
.pricing-features li svg {
    color: var(--color-accent);
    margin-right: 0.5rem;
    flex-shrink: 0;
}
.pricing-card .btn {
    margin-top: auto;
    width: 100%;
}
.badge-bonificado {
    background-color: var(--color-accent);
    color: #111827;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

/* ================================================================== */
/* FAQ (Accordion) */
/* ================================================================== */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-fast);
}
.faq-item:hover {
    background-color: rgba(37, 99, 235, 0.05);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    text-align: left;
    transition: color var(--transition-fast);
}
.faq-question:hover, .faq-question:focus-visible {
    color: var(--color-primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 0.5rem;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}
.faq-answer p {
     /* Reset margin for better flow inside accordion */
    margin-bottom: 0.5rem;
    text-align: justify;
    line-height: 1.8;
}
.faq-answer.open {
    max-height: 500px; /* Suficientemente grande para el contenido */
    padding-bottom: 1rem;
}
.faq-icon {
    transition: transform var(--transition-normal);
}
.faq-icon.rotate {
    transform: rotate(45deg);
}

/* ================================================================== */
/* Formulario */
/* ================================================================== */
.form-container {
     max-width: 700px; 
     margin: 0 auto; 
     padding: 2rem; 
     border: 1px solid var(--color-border); 
     border-radius: 1rem; 
     background-color: var(--color-form-bg);
     box-shadow: var(--shadow-lg);
}
@media (prefers-color-scheme: dark) {
    .form-container {
         border-color: #374151;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input:not([type="checkbox"]), .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
@media (prefers-color-scheme: dark) {
    .form-group input:not([type="checkbox"]), .form-group select, .form-group textarea {
        background-color: var(--color-bg-dark); /* Darker input background */
        border-color: #374151; /* gray-700 */
        color: var(--color-text-light);
    }
     .form-group select {
        /* Better appearance for select in dark mode */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.checkbox-group:hover {
    color: var(--color-primary);
}
.checkbox-group input {
    margin-right: 0.5rem;
}
.checkbox-group a {
    font-weight: normal;
}

#form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
    font-weight: 600;
    animation: fadeInUp 0.3s ease-out;
}
.msg-success {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}
.msg-error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444; /* red-500 */
    border: 1px solid #ef4444;
}

/* ================================================================== */
/* Footer */
/* ================================================================== */
.footer {
    background-color: var(--color-secondary);
    color: #ffffff;
    padding: 4rem 1rem 2rem;
    font-size: 12px;
}
.footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.footer a:hover {
    color: var(--color-accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    border-bottom: 1px solid #374151;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 2rem;
}
.footer-description {
    margin-top: 1rem;
    line-height: 1.8;
    color: #ffffff;
    font-size: 12px;
    text-align: justify;
}

/* Footer Contact */
.footer-contact {
    margin-bottom: 2rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}
.contact-icon {
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.contact-item strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 0.25rem;
}
.contact-item p {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
}
.contact-item a {
    color: #ffffff;
    font-weight: 500;
}

/* Footer Links */
.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}
.footer-links ul {
    list-style: none;
}
.footer-links ul li {
    margin-bottom: 0.75rem;
}
.footer-links ul li a {
    color: #ffffff;
    font-size: 12px;
    transition: color var(--transition-fast);
}
.footer-links ul li a:hover {
    color: var(--color-accent);
    padding-left: 0.25rem;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
    color: #ffffff;
    font-size: 12px;
}

/* ================================================================== */
/* Fixed WhatsApp Button */
/* ================================================================== */
.whatsapp-fixed {
    position: fixed !important;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999 !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    animation: whatsappPulse 3s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    text-decoration: none;
}

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

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

.whatsapp-fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-fixed svg {
    fill: white;
    width: 30px;
    height: 30px;
    transition: transform var(--transition-normal);
}

.whatsapp-fixed:hover svg {
    transform: scale(1.1);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* ================================================================== */
/* Animaciones del Diagrama de Flujo */
/* ================================================================== */
@keyframes dibujarLinea {
    0% {
        stroke-dasharray: 0 1000;
        stroke-dashoffset: 0;
        opacity: 0;
        filter: drop-shadow(0 0 0 rgba(96, 165, 250, 0));
    }
    20% {
        opacity: 0.6;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    }
    80% {
        opacity: 0.9;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
    }
    100% {
        stroke-dasharray: 1000 0;
        stroke-dashoffset: 0;
        opacity: 1;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
    }
}

@keyframes aparecerElemento {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(20px);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-5px);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    }
}

.flow-step {
    animation: aparecerElemento 0.6s ease-out forwards;
    opacity: 0;
}

.flow-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dibujarLinea 1.5s ease-out forwards;
    opacity: 0;
}

/* ================================================================== */
/* Diagrama de Flujo Mejorado */
/* ================================================================== */
.mockup-container {
    padding: 3rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-radius: 1.5rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid #475569;
    position: relative;
    overflow: hidden;
}

.mockup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.mockup-svg {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

/* Animaciones mejoradas para círculos */
.flow-step {
    animation: aparecerElemento 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flow-step:hover {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3)) brightness(1.05);
    transform: scale(1.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Líneas con efecto de brillo suave */
.flow-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dibujarLinea 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flow-line:hover {
    stroke: #60a5fa;
    stroke-width: 4;
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.4));
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animación de pulso para círculos activos */
@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 6px 12px rgba(96, 165, 250, 0.4));
    }
}

@keyframes timelineLineGlow {
    0% {
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
        opacity: 0.8;
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.6);
        background: linear-gradient(90deg, #1d4ed8, #059669);
        opacity: 1;
    }
    100% {
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
        opacity: 0.8;
    }
}

.flow-step.active {
    animation: pulseGlow 2s infinite;
}

/* Responsive para el diagrama */
@media (max-width: 768px) {
    .mockup-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .mockup-svg {
        transform: scale(0.8);
        transform-origin: center;
    }
    
    /* Ajustar texto en móviles */
    .mockup-svg text {
        font-size: 9px !important;
    }
}

@media (max-width: 480px) {
    .mockup-container {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .mockup-svg {
        transform: scale(0.6);
    }
    
    /* Texto más pequeño en móviles pequeños */
    .mockup-svg text {
        font-size: 8px !important;
    }
}

/* Asegurar que el diagrama se vea bien en todos los dispositivos */
@media (max-width: 1024px) {
    .mockup-container {
        max-width: 100%;
        overflow: hidden;
    }
}

/* ================================================================== */
/* Logo Styles */
/* ================================================================== */
.logo-header {
    transition: all var(--transition-fast);
    filter: brightness(1);
    background: transparent;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.logo-header:hover {
    opacity: 0.9;
    filter: brightness(1.05);
    transform: scale(1.02);
    background: rgba(37, 99, 235, 0.1);
}

.logo-footer {
    transition: opacity var(--transition-fast);
    filter: brightness(1);
    background: transparent;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.logo-footer:hover {
    opacity: 0.9;
    filter: brightness(1.05);
    background: rgba(37, 99, 235, 0.1);
}

/* Responsive para logos */
@media (max-width: 768px) {
    .logo-header {
        height: 40px !important;
        max-width: 160px !important;
    }
    
    .logo-footer {
        height: 35px !important;
        max-width: 150px !important;
    }
}

@media (max-width: 480px) {
    .logo-header {
        height: 36px !important;
        max-width: 140px !important;
    }
}

/* ================================================================== */
/* Sección de Integraciones */
/* ================================================================== */
.integraciones-grid {
    justify-items: center;
    align-items: center;
}

.integracion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.integracion-item svg {
    display: block;
    margin: 0 auto;
}

.integracion-item h4 {
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

.integracion-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15) !important;
}

@media (max-width: 768px) {
    .integraciones-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .integracion-item h4 {
        font-size: 0.95rem !important;
    }
    
    .integracion-item {
        padding: 1rem !important;
    }
    
    .integracion-item svg {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ================================================================== */
/* Responsive Design */
/* ================================================================== */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section-padding {
        padding: 3rem 0.75rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .btn {
        min-width: 120px;
        padding: 0.625rem 1.25rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .timeline-container {
        gap: 1.5rem;
    }
    
    .jotform-features {
        gap: 0.5rem;
    }
    
    .jotform-feature-tag {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}

/* ================================================================== */
/* Timeline Responsive */
/* ================================================================== */
@media (max-width: 768px) {
    .timeline-container {
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .timeline-step {
        padding: 1.25rem 0.75rem;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-step {
        padding: 1rem 0.5rem;
    }
    
    .timeline-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

/* ================================================================== */
/* Modal de Políticas de Privacidad */
/* ================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: var(--color-bg-light);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    animation: slideIn 0.3s ease-out;
}

@media (prefers-color-scheme: dark) {
    .modal-content {
        background-color: var(--color-bg-dark);
        border-color: #374151;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background-color: inherit;
    z-index: 1;
}

.modal-header h3 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text);
    transition: color var(--transition-fast);
    padding: 0.25rem;
    border-radius: 0.25rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-primary);
    background-color: rgba(37, 99, 235, 0.1);
}

.modal-body {
    padding: 1.5rem;
    line-height: 1.6;
    text-align: justify;
}

.modal-body h4 {
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.modal-body ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.modal-body strong {
    color: var(--color-primary);
    font-weight: 600;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    text-align: right;
    position: sticky;
    bottom: 0;
    background-color: inherit;
}

/* Animaciones del modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive para el modal */
@media (max-width: 768px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        max-height: 90vh;
        border-radius: 0.75rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-height: 95vh;
        border-radius: 0.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.125rem;
    }
    
    .modal-body h4 {
        font-size: 1rem;
    }
}

/* ================================================================== */
/* Print Styles */
/* ================================================================== */
@media print {
    .header,
    .whatsapp-fixed,
    .btn,
    .hero-ctas,
    .modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-padding {
        padding: 1rem 0;
    }
}

/* ================================================================== */
/* Redes Sociales - Sección de Contacto */
/* ================================================================== */
.redes-sociales-contacto {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.redes-sociales-contacto h3 {
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 600;
}

.redes-sociales-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.red-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: var(--color-card-bg);
    border: 2px solid var(--color-primary);
    border-radius: 0.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.red-social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.red-social-facebook:hover {
    border-color: #1877F2;
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.red-social-instagram:hover {
    border-color: #E1306C;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1), rgba(225, 48, 108, 0.1), rgba(252, 175, 69, 0.1));
    color: #E1306C;
}

.red-social-link svg {
    transition: transform var(--transition-normal);
}

.red-social-link:hover svg {
    transform: scale(1.2) rotate(5deg);
}

/* ================================================================== */
/* Redes Sociales - Footer */
/* ================================================================== */
.footer-redes-sociales {
    margin-top: 2rem;
}

.footer-redes-sociales h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-redes-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-red-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.footer-red-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-red-social-facebook:hover {
    border-color: #1877F2;
    background: rgba(24, 119, 242, 0.3);
    color: #ffffff;
}

.footer-red-social-instagram:hover {
    border-color: #E1306C;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.3), rgba(225, 48, 108, 0.3), rgba(252, 175, 69, 0.3));
    color: #ffffff;
}

.footer-red-social svg {
    transition: transform var(--transition-normal);
}

.footer-red-social:hover svg {
    transform: scale(1.15) rotate(-5deg);
}
