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

:root {
    --negro: #0a0a0a;
    --rojo: #c0392b;
    --rojo-hover: #e74c3c;
    --blanco: #f5f5f5;
    --gris: #2a2a2a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--negro);
    color: var(--blanco);
    overflow-x: hidden;
    cursor: none;
}

/* ==================== SPLASH SCREEN ==================== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--negro);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: splashFadeOut 0.5s ease 2s forwards;
}

@keyframes splashFadeOut {
    to {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        display: none;
    }
}

.splash-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 10rem;
    display: flex;
    gap: 1rem;
}

.logo-f, .logo-t {
    color: var(--rojo);
    opacity: 0;
    animation: logoAppear 0.6s ease forwards;
}

.logo-f {
    animation-delay: 0.3s;
}

.logo-t {
    animation-delay: 0.5s;
}

@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== PAGE REVEAL ==================== */
#page-reveal {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--rojo);
    z-index: 10000;
    animation: pageReveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 2.2s forwards;
    pointer-events: none;
}

@keyframes pageReveal {
    0% {
        left: -100%;
    }
    50% {
        left: 0;
    }
    100% {
        left: 100%;
        visibility: hidden;
    }
}

/* ==================== FLOATING WHATSAPP ==================== */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    cursor: none;
    animation: breathing 3s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

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

.whatsapp-float.vibrate {
    animation: vibrate 0.3s ease;
}

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

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 55px;
        height: 55px;
    }
}

/* ==================== BARRA DE PROGRESO ==================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--rojo);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ==================== CURSOR PERSONALIZADO ==================== */
#custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--rojo);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

#custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background-color: var(--rojo);
    border-radius: 50%;
    transition: all 0.2s ease;
}

#custom-cursor.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(192, 57, 43, 0.15);
    border-color: var(--rojo-hover);
}

#custom-cursor.hover::before {
    width: 8px;
    height: 8px;
    background-color: var(--rojo-hover);
}

#custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.2rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--blanco);
    letter-spacing: 3px;
    font-weight: 700;
}

.logo span {
    color: var(--rojo);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--blanco);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--negro);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--blanco);
    text-decoration: none;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.5s; }

.cta-btn {
    background-color: var(--rojo);
    color: var(--blanco);
    padding: 1rem 2.5rem;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.cta-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 ease;
}

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

.cta-btn:hover {
    background-color: var(--rojo-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(192, 57, 43, 0.6);
}

.cta-btn.magnetic {
    transition: transform 0.2s ease;
}

/* ==================== HERO SECTION - MEJORADO ==================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.6) 0%, rgba(10, 10, 10, 0.85) 50%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 1;
}

/* Capas de Parallax */
.hero-parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-layer-1 {
    background: radial-gradient(circle at 20% 50%, rgba(192, 57, 43, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-layer-2 {
    background: radial-gradient(circle at 80% 30%, rgba(192, 57, 43, 0.15) 0%, transparent 40%);
    z-index: 1;
}

.hero-layer-3 {
    background: radial-gradient(circle at 50% 80%, rgba(10, 10, 10, 0.3) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    padding: 0 2rem;
    text-align: left;
}

.hero-tagline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(8rem, 18vw, 22rem);
    line-height: 0.85;
    margin-bottom: 2rem;
    overflow: visible;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-tagline .line {
    display: block;
    overflow: visible;
    margin-left: -0.05em;
}

.hero-tagline .letter {
    display: inline-block;
    opacity: 1;
    transform: none;
    transform-origin: bottom;
}

.hero-tagline .letter.animate {
    animation: none;
    opacity: 1;
    transform: none;
}

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(150px) rotateX(-90deg);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.hero-tagline .space {
    display: inline-block;
    width: 0.25em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.6;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Contador en Vivo */
.hero-live-counter {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.4s forwards;
}

.live-indicator {
    width: 10px;
    height: 10px;
    background-color: #2ecc71;
    border-radius: 50%;
    animation: pulse-live 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
}

@keyframes pulse-live {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
}

.live-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blanco);
    opacity: 0.9;
}

#liveCount {
    color: var(--rojo);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.hero-stats {
    display: none;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease 1.6s forwards;
}

/* Botón Principal Mejorado */
.btn-primary {
    background-color: var(--rojo);
    color: var(--blanco);
    padding: 1.3rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary::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;
}

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

.btn-primary:hover {
    background-color: var(--rojo-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(192, 57, 43, 0.6);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-primary.magnetic {
    transition: transform 0.2s ease;
}

/* Efecto Pulse en CTA Principal */
.btn-pulse {
    animation: btn-pulse-animation 2s ease-in-out infinite;
}

@keyframes btn-pulse-animation {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(192, 57, 43, 0);
    }
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-secondary {
    background-color: transparent;
    color: var(--blanco);
    padding: 1.3rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--blanco);
    cursor: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--blanco);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--negro);
    transform: translateY(-4px);
}

.btn-secondary.magnetic {
    transition: transform 0.2s ease;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.hero-scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--blanco);
    opacity: 0.8;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    color: var(--rojo);
    animation: bounce 2s ease-in-out infinite;
}

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

/* ==================== BADGE DE PLAZAS LIMITADAS ==================== */
.limited-spots-badge {
    position: absolute;
    top: 100px;
    right: 5%;
    background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-hover) 100%);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 3;
    box-shadow: 0 10px 40px rgba(192, 57, 43, 0.4);
    animation: pulse-badge 3s ease-in-out infinite;
    opacity: 0;
    animation: fadeInBadge 1s ease 2s forwards, pulse-badge 3s ease-in-out 3s infinite;
}

@keyframes fadeInBadge {
    to {
        opacity: 1;
    }
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(192, 57, 43, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(192, 57, 43, 0.6);
    }
}

.badge-icon {
    width: 24px;
    height: 24px;
    color: var(--blanco);
    animation: rotate-icon 4s linear infinite;
}

@keyframes rotate-icon {
    0%, 90% {
        transform: rotate(0deg);
    }
    95% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blanco);
    letter-spacing: 0.5px;
}

.badge-text strong {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0.2rem;
}

/* ==================== OFERTA POR TIEMPO LIMITADO ==================== */
.limited-time-offer {
    max-width: 1000px;
    margin: 0 auto 4rem;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1) 0%, rgba(192, 57, 43, 0.05) 100%);
    border: 2px solid var(--rojo);
    border-radius: 10px;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.limited-time-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine-offer 3s ease-in-out infinite;
}

@keyframes shine-offer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

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

.offer-icon {
    width: 60px;
    height: 60px;
    background: var(--rojo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.offer-icon svg {
    width: 32px;
    height: 32px;
    color: var(--blanco);
    animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

.offer-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.offer-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.offer-badge {
    background: var(--rojo);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    flex-shrink: 0;
}

.offer-badge span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blanco);
}

/* ==================== NOTIFICACIONES SOCIALES ==================== */
.social-notifications {
    position: fixed;
    bottom: 120px;
    left: 30px;
    z-index: 998;
    max-width: 350px;
}

.social-notification {
    background: var(--gris);
    border-left: 4px solid var(--rojo);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    animation: slideInNotification 0.5s ease forwards;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-notification:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.social-notification.hiding {
    animation: slideOutNotification 0.5s ease forwards;
}

@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutNotification {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--blanco);
}

.notification-content {
    flex: 1;
}

.notification-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.notification-content .notification-name {
    font-weight: 700;
    color: var(--rojo);
}

.notification-content .notification-time {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.2rem;
    display: block;
}

.notification-icon {
    width: 20px;
    height: 20px;
    color: var(--rojo);
    flex-shrink: 0;
}

/* ==================== GARANTÍAS Y SEGURIDAD ==================== */
#garantias {
    padding: 3rem 5%;
}

.guarantees-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.guarantee-card {
    background: var(--negro);
    padding: 2rem 1.5rem;
    border: 2px solid rgba(192, 57, 43, 0.2);
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--rojo) 0%, var(--rojo-hover) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.guarantee-card:hover {
    border-color: var(--rojo);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(192, 57, 43, 0.3);
}

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

.guarantee-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.guarantee-card:hover .guarantee-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.5);
}

.guarantee-icon svg {
    width: 40px;
    height: 40px;
    color: var(--blanco);
}

.guarantee-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    color: var(--blanco);
}

.guarantee-card p {
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--rojo);
    color: var(--blanco);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.guarantee-card:hover .guarantee-badge {
    background: var(--rojo-hover);
    transform: scale(1.05);
}

.badge-lock {
    width: 16px;
    height: 16px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem;
    background: var(--negro);
    border-radius: 10px;
    border: 2px solid rgba(192, 57, 43, 0.2);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-badge svg {
    width: 48px;
    height: 48px;
    color: var(--rojo);
    transition: all 0.3s ease;
}

.trust-badge:hover svg {
    color: var(--rojo-hover);
    transform: scale(1.1);
}

.trust-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ==================== STATS BAR ==================== */
.stats-bar {
    background-color: var(--negro);
    padding: 2.5rem 5%;
    border-top: 2px solid var(--rojo);
    border-bottom: 2px solid var(--rojo);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60px;
    background-color: var(--rojo);
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--rojo);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 600;
}

/* ==================== MARQUEE ==================== */
.marquee-section {
    overflow: hidden;
    background-color: var(--blanco);
    padding: 1.5rem 0;
    position: relative;
}

.marquee-section.inverted {
    background-color: var(--rojo);
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

.marquee-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--negro);
    white-space: nowrap;
    padding: 0 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.marquee-section.inverted .marquee-text {
    color: var(--blanco);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==================== SECCIONES GENERALES ==================== */
section {
    padding: 3rem 5%;
    position: relative;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Asegurar visibilidad inmediata de elementos críticos después del splash screen */
/* Estos elementos deben ser visibles tan pronto como termine el splash (3.5s) */
.stats-bar .reveal,
#valor .reveal,
#sobre-fran .reveal {
    animation: revealFadeIn 0.8s ease 3.5s forwards;
}

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

/* ==================== PROPUESTA DE VALOR ==================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background-color: var(--gris);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--rojo);
    box-shadow: 0 15px 40px rgba(192, 57, 43, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--rojo);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.value-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* ==================== SOBRE FRAN - PROFESIONAL ==================== */
#sobre-fran {
    padding: 3rem 5%;
}

.about-container-pro {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.about-left {
    position: sticky;
    top: 120px;
}

.about-image-pro {
    width: 100%;
    background: linear-gradient(135deg, var(--gris) 0%, var(--negro) 100%);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image-pro img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 3px solid var(--rojo);
    display: block;
    margin: 0 auto;
    object-fit: cover;
    object-position: top center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background-color: var(--gris);
    padding: 2rem 1rem;
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--rojo);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.about-right {
    padding-top: 2rem;
}

.about-header {
    margin-bottom: 3rem;
}

.about-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rojo);
    margin-bottom: 1rem;
}

.about-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.about-subtitle {
    font-size: 1.2rem;
    opacity: 0.7;
    font-weight: 300;
}

.about-content-pro {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    padding-left: 2rem;
    border-left: 3px solid var(--rojo);
}

.about-features {
    display: grid;
    gap: 2rem;
}

.about-feature {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--gris);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateX(10px);
    background-color: rgba(42, 42, 42, 0.7);
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    color: var(--rojo);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-content h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.feature-content p {
    line-height: 1.6;
    opacity: 0.85;
}

.about-philosophy {
    background: linear-gradient(135deg, var(--rojo) 0%, #a02818 100%);
    padding: 3rem;
}

.about-philosophy h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.about-philosophy p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

.about-certifications h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--gris);
    border: 2px solid var(--rojo);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background-color: var(--rojo);
    transform: translateY(-3px);
}

.cert-icon {
    color: var(--rojo);
    font-weight: bold;
}

.cert-badge:hover .cert-icon {
    color: var(--blanco);
}

/* Estilos antiguos para compatibilidad */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    width: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, var(--gris) 0%, var(--negro) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--rojo);
    display: block;
}

.about-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--rojo);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.badge {
    background-color: var(--rojo);
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== MÉTODO / TIMELINE ==================== */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--gris);
}

.timeline-progress {
    position: absolute;
    left: 20px;
    top: 0;
    width: 3px;
    height: 0%;
    background-color: var(--rojo);
    transition: height 0.5s ease;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--rojo);
    border: 3px solid var(--negro);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.timeline-item p {
    line-height: 1.6;
    opacity: 0.9;
}

/* ==================== SERVICIOS / PRECIOS ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--gris);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    opacity: 1; /* Asegurar visibilidad */
    transform: none; /* Reset de transforms */
}

.pricing-card.featured {
    border-color: var(--rojo);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.07);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--rojo);
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.pricing-card > p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.features-list li:before {
    content: "✓ ";
    color: var(--rojo);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==================== TRANSFORMACIONES ==================== */
.transformations-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: var(--gris);
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.comparison-image.reveal-animation {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.comparison-image.reveal-animation.active {
    clip-path: inset(0 0 0 0);
}

.before-image {
    background-image: url('https://images.unsplash.com/photo-1583454110551-21f2fa2afe61?w=800&h=500&fit=crop');
}

.after-image {
    background-image: url('https://images.unsplash.com/photo-1605296867304-46d5465a13f1?w=800&h=500&fit=crop');
    clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--rojo);
    cursor: ew-resize;
    z-index: 10;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: var(--rojo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 1.5rem;
    cursor: ew-resize;
}

.transformation-info {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--gris);
}

.transformation-info h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ==================== TESTIMONIOS ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--gris);
    padding: 2.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid var(--rojo);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-hover) 100%);
    background-image: url('https://i.pravatar.cc/150?img=1');
    background-size: cover;
    border: 3px solid var(--rojo);
}

.testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-result {
    color: var(--rojo);
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-text {
    line-height: 1.7;
    opacity: 0.9;
    font-style: italic;
}

/* ==================== BLOG ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background-color: var(--gris);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.blog-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--gris) 0%, var(--negro) 100%);
    background-image: url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=600&h=400&fit=crop');
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    background-color: var(--rojo);
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    line-height: 1.3;
}

.blog-excerpt {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--rojo);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--rojo-hover);
}

/* ==================== CONTACTO MODERNO ==================== */
#contacto {
    padding: 3rem 5%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Columna Izquierda - Info */
.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info-header {
    margin-bottom: 4rem;
}

.contact-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rojo);
    margin-bottom: 1rem;
}

.contact-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.contact-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.8;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-benefit {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--gris);
    border: 2px solid var(--rojo);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rojo);
    padding: 10px;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-text h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.benefit-text p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.contact-social {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: var(--gris);
    color: var(--blanco);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.social-link-contact:hover {
    background-color: rgba(42, 42, 42, 0.7);
    border-left-color: var(--rojo);
    transform: translateX(5px);
}

.social-link-contact svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.social-link-contact span {
    font-weight: 600;
    letter-spacing: 1px;
}

/* Columna Derecha - Formulario */
.contact-form-wrapper {
    background-color: var(--gris);
    padding: 3rem;
    border-left: 4px solid var(--rojo);
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group-modern {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem;
    background-color: var(--negro);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--blanco);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--rojo);
}

.form-group-modern input:not(:placeholder-shown),
.form-group-modern input:focus,
.form-group-modern textarea:not(:placeholder-shown),
.form-group-modern textarea:focus {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.form-group-modern select:not([value=""]),
.form-group-modern select:focus {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.form-group-modern.has-select label {
    position: absolute;
    left: 1rem;
    top: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rojo);
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group-modern.has-select select {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.form-group-modern label {
    position: absolute;
    left: 1rem;
    top: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rojo);
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group-modern input,
.form-group-modern textarea {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.form-group-modern input:focus + label,
.form-group-modern textarea:focus + label {
    color: var(--rojo-hover);
}

.form-group-modern select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f5f5f5' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 1rem;
}

.form-error {
    color: var(--rojo);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group-modern.error input,
.form-group-modern.error textarea,
.form-group-modern.error select {
    border-color: var(--rojo);
}

.form-group-modern.error .form-error {
    display: block;
}

.form-success {
    background-color: rgba(46, 204, 113, 0.15);
    border: 2px solid #2ecc71;
    padding: 2rem;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #2ecc71;
}

.form-success svg {
    width: 30px;
    height: 30px;
    stroke: #2ecc71;
}

.form-success p {
    margin: 0;
    font-weight: 600;
}

.btn-submit {
    background-color: var(--rojo);
    color: var(--blanco);
    padding: 1.5rem 3rem;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

.btn-submit::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 ease;
}

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

.btn-submit:hover {
    background-color: var(--rojo-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(192, 57, 43, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-info {
        position: relative;
        top: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    #contacto {
        padding: 4rem 5%;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-benefits {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}

/* ==================== FOOTER ==================== */
footer {
    background-color: var(--negro);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--blanco);
    letter-spacing: 3px;
    font-weight: 700;
}

.footer-logo span {
    color: var(--rojo);
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 300px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--gris);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    transition: all 0.3s ease;
    padding: 10px;
}

.footer-social a svg {
    width: 100%;
    height: 100%;
}

.footer-social a:hover {
    background-color: var(--rojo);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    color: var(--blanco);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column ul li a {
    color: var(--blanco);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--rojo);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-legal p {
    opacity: 0.6;
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.footer-legal-links a {
    color: var(--blanco);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
}

.footer-legal-links a:hover {
    opacity: 1;
    color: var(--rojo);
}

.footer-legal-links .separator {
    opacity: 0.3;
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 5% 2rem;
    }
    
    .footer-main {
        gap: 2.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-brand {
        gap: 1rem;
    }
    
    .footer-logo {
        font-size: 2rem;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .footer-social {
        gap: 0.8rem;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-column ul {
        gap: 0.7rem;
    }
    
    .footer-column ul li a {
        font-size: 0.9rem;
    }
    
    .footer-legal {
        gap: 1.5rem;
    }
    
    .footer-legal p {
        font-size: 0.85rem;
    }
}

/* ==================== MEJORA 13: MICRO-INTERACCIONES ==================== */

/* 1. HOVER EFFECTS SUTILES EN ELEMENTOS INTERACTIVOS */

/* Botones con efecto de elevación suave */
button, .btn-primary, .btn-secondary, .cta-btn, .btn-submit {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button:hover, .btn-primary:hover, .btn-secondary:hover, .cta-btn:hover, .btn-submit:hover {
    filter: brightness(1.1);
}

/* Links con underline animado */
a:not(.btn-primary):not(.btn-secondary):not(.cta-btn):not(.social-link-contact):not(.footer-social a) {
    position: relative;
    transition: color 0.3s ease;
}

a:not(.btn-primary):not(.btn-secondary):not(.cta-btn):not(.social-link-contact):not(.footer-social a)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rojo);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:not(.btn-primary):not(.btn-secondary):not(.cta-btn):not(.social-link-contact):not(.footer-social a):hover::after {
    width: 100%;
}

/* Cards con efecto de brillo al hover */
.value-card, .pricing-card, .testimonial-card, .blog-card, .guarantee-card {
    position: relative;
    overflow: hidden;
}

.value-card::before, .pricing-card::before, .testimonial-card::before, .blog-card::before, .guarantee-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.value-card:hover::before, .pricing-card:hover::before, .testimonial-card:hover::before, .blog-card:hover::before, .guarantee-card:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Inputs con efecto de focus suave */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.2);
    transform: translateY(-2px);
}

/* Iconos con rotación suave */
.value-icon svg, .feature-icon svg, .benefit-icon svg, .guarantee-icon svg {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.value-card:hover .value-icon svg,
.about-feature:hover .feature-icon svg,
.contact-benefit:hover .benefit-icon svg,
.guarantee-card:hover .guarantee-icon svg {
    transform: scale(1.1) rotate(5deg);
}

/* Badges con efecto pulse suave */
.cert-badge, .guarantee-badge, .popular-badge, .offer-badge {
    transition: all 0.3s ease;
}

.cert-badge:hover, .guarantee-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.3);
}

/* Timeline items con efecto de expansión */
.timeline-item {
    transition: all 0.3s ease;
    padding: 1.5rem;
    margin-left: -1.5rem;
    border-radius: 8px;
}

.timeline-item:hover {
    background-color: rgba(42, 42, 42, 0.3);
    transform: translateX(10px);
}

/* FAQ items con transición suave */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(42, 42, 42, 0.5);
}

.faq-icon svg {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon svg {
    transform: rotate(45deg);
}

/* Social links con efecto de escala */
.footer-social a, .social-link-contact {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-social a:hover, .social-link-contact:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Stats con efecto de highlight */
.stat-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
}

.stat-item:hover {
    background-color: rgba(192, 57, 43, 0.1);
    transform: scale(1.05);
}

.stat-number {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--rojo-hover);
    text-shadow: 0 0 20px rgba(192, 57, 43, 0.5);
}

/* 2. SKELETON LOADING ANIMATIONS */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--gris) 0%,
        rgba(42, 42, 42, 0.5) 50%,
        var(--gris) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
}

.skeleton-card {
    padding: 2rem;
    background-color: var(--gris);
}

/* 3. TRANSICIONES SUAVES ENTRE SECCIONES */
section {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efecto de fade-in al hacer scroll */
section.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

section.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 4. RIPPLE EFFECT EN BOTONES */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/* 5. EASTER EGGS */

/* Logo animado al hacer clic */
.logo {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.logo.animate-logo {
    animation: logo-bounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes logo-bounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-10deg);
    }
    50% {
        transform: scale(0.9) rotate(10deg);
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
    }
}

/* Efecto de confetti al enviar formulario (preparado para JS) */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: var(--rojo);
    pointer-events: none;
    z-index: 10000;
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Efecto de shake en elementos con error */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease;
}

/* 6. SMOOTH SCROLL BEHAVIOR */
html {
    scroll-behavior: smooth;
}

/* Scroll snap para secciones (opcional) */
@media (min-width: 1024px) {
    body.snap-scroll {
        scroll-snap-type: y proximity;
    }
    
    body.snap-scroll section {
        scroll-snap-align: start;
    }
}

/* 7. LOADING STATES */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

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

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

/* 8. MICRO-ANIMACIONES EN NÚMEROS */
.number-change {
    display: inline-block;
    animation: number-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes number-pop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* 9. EFECTO DE GLOW EN HOVER */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.6),
                0 0 40px rgba(192, 57, 43, 0.4),
                0 0 60px rgba(192, 57, 43, 0.2);
}

/* 10. TRANSICIONES PARA REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Clase para conexiones lentas */
body.reduced-motion *,
body.reduced-motion *::before,
body.reduced-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* 11. EFECTO DE PARALLAX SUAVE EN IMÁGENES */
.parallax-image {
    transition: transform 0.3s ease-out;
}

/* 12. CURSOR INTERACTIVO MEJORADO */
body:not(.reduced-motion) #custom-cursor {
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

/* 13. EFECTO DE TYPING EN TEXTOS */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--rojo);
    }
}

.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--rojo);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* 14. EFECTO DE FLOAT SUAVE */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* 15. EFECTO DE PULSE EN ELEMENTOS IMPORTANTES */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* 16. EFECTO DE WAVE EN TEXTO */
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.wave-text span {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

/* 17. EFECTO DE SHINE EN BADGES */
.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 0.6s ease;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

/* 18. EFECTO DE BOUNCE SUAVE */
@keyframes bounce-soft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.bounce-soft {
    animation: bounce-soft 1s ease-in-out infinite;
}

/* 19. EFECTO DE SCALE EN HOVER PARA IMÁGENES */
.image-scale-hover {
    overflow: hidden;
}

.image-scale-hover img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-scale-hover:hover img {
    transform: scale(1.1);
}

/* 20. EFECTO DE GRADIENT SHIFT */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-shift {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* ==================== RESPONSIVE FOOTER ==================== */
@media (max-width: 480px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-legal-links .separator {
        display: none;
    }
    
    .footer-legal-links a {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    #custom-cursor {
        display: none;
    }
    
    /* Navbar */
    .navbar {
        padding: 1.5rem 5%;
    }
    
    .navbar.scrolled {
        padding: 1rem 5%;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .cta-btn {
        display: none;
    }
    
    /* Hero */
    .hero {
        padding-left: 5%;
        padding-right: 5%;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    /* Badge de Plazas Limitadas - Mobile */
    .limited-spots-badge {
        top: 80px;
        right: 5%;
        left: 5%;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        border-radius: 30px;
    }
    
    .badge-icon {
        width: 20px;
        height: 20px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .badge-text strong {
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: clamp(4.5rem, 15vw, 10rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        text-align: left;
        padding: 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    /* Contador en vivo - Mobile */
    .hero-live-counter {
        margin-bottom: 2rem;
        gap: 0.6rem;
    }
    
    .live-indicator {
        width: 8px;
        height: 8px;
    }
    
    .live-text {
        font-size: 0.85rem;
    }
    
    #liveCount {
        font-size: 1rem;
    }
    
    /* Scroll Indicator - Mobile */
    .hero-scroll-indicator {
        bottom: 2rem;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
    
    .scroll-arrow {
        width: 20px;
        height: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1.2rem 2rem;
        font-size: 0.95rem;
    }
    
    .btn-arrow {
        width: 16px;
        height: 16px;
    }
    
    /* Oferta por Tiempo Limitado - Mobile */
    .limited-time-offer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .offer-icon {
        margin: 0 auto;
    }
    
    .offer-content h3 {
        font-size: 1.5rem;
    }
    
    .offer-content p {
        font-size: 0.9rem;
    }
    
    .offer-badge {
        margin: 0 auto;
    }
    
    /* Notificaciones Sociales - Mobile */
    .social-notifications {
        bottom: 100px;
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .social-notification {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .notification-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Garantías y Seguridad - Mobile */
    #garantias {
        padding: 2.5rem 5%;
    }
    
    .guarantees-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guarantee-card {
        padding: 2rem 1.5rem;
    }
    
    .guarantee-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .guarantee-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .guarantee-card h3 {
        font-size: 1.5rem;
    }
    
    .guarantee-card p {
        font-size: 0.9rem;
    }
    
    .trust-badges {
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .trust-badge svg {
        width: 40px;
        height: 40px;
    }
    
    .trust-badge span {
        font-size: 0.8rem;
    }
    
    /* Stats Bar */
    .stats-bar {
        padding: 2rem 5%;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Marquee */
    .marquee-section {
        padding: 1rem 0;
    }
    
    .marquee-text {
        font-size: clamp(2rem, 5vw, 3.5rem);
        padding: 0 1rem;
    }
    
    /* Secciones generales */
    section {
        padding: 2.5rem 5%;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    /* Propuesta de Valor */
    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .value-card h3 {
        font-size: 1.5rem;
    }
    
    /* Sobre Fran */
    #sobre-fran {
        padding: 2.5rem 5%;
    }
    
    .about-container-pro {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-left {
        position: relative;
        top: 0;
    }
    
    .about-image-pro {
        padding: 0;
    }
    
    .about-image-pro img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: top center;
    }
    
    .about-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 1.5rem 0.5rem;
        gap: 0.5rem;
    }
    
    .about-stat-number {
        font-size: 1.8rem;
    }
    
    .about-stat-label {
        font-size: 0.75rem;
    }
    
    .about-right {
        padding-top: 0;
    }
    
    .about-header {
        margin-bottom: 2rem;
    }
    
    .about-label {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .about-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .about-intro {
        font-size: 0.95rem;
        padding-left: 1rem;
        border-left-width: 2px;
    }
    
    .about-features {
        gap: 1.5rem;
    }
    
    .about-feature {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-content h4 {
        font-size: 1.3rem;
    }
    
    .about-philosophy {
        padding: 2rem 1.5rem;
    }
    
    .about-philosophy h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-philosophy p {
        font-size: 0.95rem;
    }
    
    .cert-badges {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cert-badge {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        justify-content: center;
    }
    
    /* Método / Timeline */
    .timeline {
        padding-left: 25px;
    }
    
    .timeline-line,
    .timeline-progress {
        left: 15px;
        width: 2px;
    }
    
    .timeline-item {
        padding-left: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .timeline-dot {
        left: -25px;
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
    
    .timeline-item h3 {
        font-size: 1.3rem;
    }
    
    .timeline-item p {
        font-size: 0.95rem;
    }
    
    /* Servicios / Precios */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .popular-badge {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .pricing-card h3 {
        font-size: 1.8rem;
    }
    
    .features-list {
        margin: 1.5rem 0;
    }
    
    .features-list li {
        padding: 0.7rem 0;
        font-size: 0.95rem;
    }
    
    /* Transformaciones */
    .comparison-container {
        height: 350px;
    }
    
    .slider-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .transformation-info {
        padding: 1.5rem;
    }
    
    .transformation-info h4 {
        font-size: 1.3rem;
    }
    
    .transformation-info p {
        font-size: 0.9rem;
    }
    
    /* Testimonios */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-info h4 {
        font-size: 0.95rem;
    }
    
    .testimonial-result {
        font-size: 0.85rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .faq-number {
        font-size: 1.5rem;
        min-width: 30px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem 3.5rem;
    }
    
    .faq-answer-content::before {
        left: 1.5rem;
    }
    
    .faq-answer-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Contacto */
    #contacto {
        padding: 2.5rem 5%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        display: flex;
        flex-direction: column;
    }
    
    .contact-info {
        position: relative;
        top: 0;
        order: 2;
    }
    
    .contact-form-wrapper {
        order: 1;
    }
    
    .contact-info-header {
        margin-bottom: 3rem;
    }
    
    .contact-label {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .contact-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .contact-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .contact-benefits {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 8px;
    }
    
    .benefit-text h4 {
        font-size: 1.1rem;
    }
    
    .benefit-text p {
        font-size: 0.9rem;
    }
    
    .contact-social {
        padding-top: 2rem;
    }
    
    .social-title {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .social-link-contact {
        padding: 0.9rem 1.2rem;
    }
    
    .social-link-contact svg {
        width: 20px;
        height: 20px;
    }
    
    .social-link-contact span {
        font-size: 0.95rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
        border-left-width: 3px;
    }
    
    .contact-form-modern {
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group-modern input,
    .form-group-modern select,
    .form-group-modern textarea {
        padding: 1.2rem 0.9rem 0.6rem;
        font-size: 0.95rem;
    }
    
    .form-group-modern label {
        font-size: 0.65rem;
        left: 0.9rem;
    }
    
    .form-group-modern select {
        background-position: right 0.9rem center;
    }
    
    .btn-submit {
        padding: 1.3rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    
    .btn-submit svg {
        width: 18px;
        height: 18px;
    }
    
    .form-success {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .form-success svg {
        width: 24px;
        height: 24px;
    }
    
    .form-success p {
        font-size: 0.95rem;
    }
}

/* Tablets y pantallas medianas */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-tagline {
        font-size: clamp(6rem, 12vw, 14rem);
    }
    
    .about-container-pro {
        grid-template-columns: 350px 1fr;
        gap: 4rem;
    }
    
    .about-image-pro {
        /* altura definida por la imagen, no forzar */
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-info {
        position: relative;
        top: 0;
    }
    
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==================== FAQ SECTION ==================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--gris);
    margin-bottom: 1.5rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-left-color: var(--rojo);
}

.faq-item.active {
    border-left-color: var(--rojo);
    background-color: rgba(42, 42, 42, 0.7);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: none;
    border: none;
    color: var(--blanco);
    text-align: left;
    cursor: none;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: rgba(192, 57, 43, 0.05);
}

.faq-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--rojo);
    line-height: 1;
    min-width: 40px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.faq-item.active .faq-number {
    opacity: 1;
    transform: scale(1.1);
}

.faq-question h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    flex: 1;
    line-height: 1.3;
}

.faq-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rojo);
    transition: all 0.3s ease;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 2.5rem 2rem 6rem;
    position: relative;
}

.faq-answer-content::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 0;
    width: 3px;
    height: 0;
    background-color: var(--rojo);
    transition: height 0.4s ease 0.1s;
}

.faq-item.active .faq-answer-content::before {
    height: calc(100% - 2rem);
}

.faq-answer-content p {
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .faq-number {
        font-size: 1.5rem;
        min-width: 30px;
    }
    
    .faq-question h3 {
        font-size: 1.2rem;
    }
    
    .faq-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem 4rem;
    }
    
    .faq-answer-content::before {
        left: 1.5rem;
    }
}


/* ==================== EFECTOS MOTION PREMIUM ==================== */

/* 1. Animación Wave para Marquee */
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 2. Animación Glow para Stats */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px var(--rojo), 0 0 20px var(--rojo), 0 0 30px var(--rojo);
    }
    50% {
        text-shadow: 0 0 20px var(--rojo), 0 0 40px var(--rojo), 0 0 60px var(--rojo);
    }
}

/* 3. Animación Float para Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 4. Animación Pulse para Números */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 5. Animación Bounce para Scroll Indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 6. Animación Shake para Form Errors */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* 7. Animación Image Reveal con Clip-Path */
@keyframes imageRevealClip {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

/* 8. Efecto Ripple en Botones */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-primary, .btn-secondary, .cta-btn {
    position: relative;
    overflow: hidden;
}

/* 9. Efecto Shine en Badges */
.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 0.6s ease;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.cert-badge, .popular-badge {
    position: relative;
    overflow: hidden;
}

/* 10. Mejora de Transiciones Suaves */
.value-card, .pricing-card, .testimonial-card, .about-feature {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* 11. Efecto Hover Mejorado en Cards */
.value-card:hover, .pricing-card:hover, .testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(192, 57, 43, 0.4);
}

/* 12. Animación de Entrada para Secciones */
section {
    animation: fadeInUp 0.8s ease-out;
}

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

/* 13. Efecto Gradient Animado en Hero Overlay */
.hero-overlay {
    background: linear-gradient(135deg, 
        rgba(192, 57, 43, 0.6) 0%, 
        rgba(10, 10, 10, 0.85) 50%, 
        rgba(10, 10, 10, 0.95) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

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

/* 14. Efecto Glow en Iconos al Hover */
.value-icon:hover, .feature-icon:hover, .benefit-icon:hover {
    filter: drop-shadow(0 0 15px var(--rojo));
}

/* 15. Animación de Timeline Items */
.timeline-item {
    animation: slideInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

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

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

/* 16. Efecto Parallax en Imágenes */
.about-image-pro img, .hero-bg {
    transition: transform 0.3s ease-out;
}

/* 17. Animación de Contador con Efecto Digital */
.stat-number {
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

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

/* 18. Efecto Blur-Focus en Hover de Cards */
.value-grid:hover .value-card:not(:hover),
.pricing-grid:hover .pricing-card:not(:hover),
.testimonials-grid:hover .testimonial-card:not(:hover) {
    filter: blur(2px);
    opacity: 0.7;
    transform: scale(0.98);
}

/* 19. Animación de Entrada para FAQ Items */
.faq-item {
    animation: fadeInScale 0.5s ease-out;
    animation-fill-mode: both;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 20. Efecto Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* 21. Animación de Botones con Efecto Lift */
.btn-primary, .btn-secondary {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:active, .btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.3);
}

/* 22. Efecto Gradient Text en Títulos Principales */
.section-title {
    background: linear-gradient(135deg, var(--blanco) 0%, var(--rojo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease infinite;
    background-size: 200% auto;
}

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

/* 23. Efecto Morphing en Hover de Imágenes */
.about-image-pro img {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image-pro:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 24. Animación de Entrada para Badges */
.cert-badge {
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-fill-mode: both;
}

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

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* 25. Efecto Neon en Hover de Links */
.footer-legal-links a:hover {
    text-shadow: 0 0 10px var(--rojo), 0 0 20px var(--rojo);
}

/* 26. Animación de Progress Bar */
.timeline-progress {
    transition: height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 27. Efecto Breathing en WhatsApp Button - ELIMINADO (causaba conflicto de posicionamiento) */
/* La animación breathing se movió a la definición principal del botón */

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

/* 28. Efecto Slide-Up en Form Success */
.form-success {
    animation: slideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* 29. Efecto Rotate en Social Icons al Hover */
.footer-social a:hover svg, .social-link-contact:hover svg {
    animation: rotate360 0.6s ease;
}

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

/* 30. Mejora de Performance con GPU Acceleration */
.value-card, .pricing-card, .testimonial-card, .about-feature,
.btn-primary, .btn-secondary, .cta-btn, .magnetic {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* 31. Efecto Glitch en Logo (sutil) */
.logo:hover {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

/* 32. Animación de Entrada para Testimonial Avatars */
.testimonial-avatar {
    animation: zoomIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* 33. Efecto Underline Animado en Links */
.footer-column ul li a {
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rojo);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover::after {
    width: 100%;
}

/* 34. Efecto Particle en Background (sutil) */
@keyframes particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* 35. Mejora de Animación de Scroll Progress */
#scroll-progress {
    transition: width 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px var(--rojo);
}

/* Optimización para móviles - Reducir animaciones */
@media (max-width: 768px) {
    .value-card, .pricing-card, .testimonial-card {
        animation: none;
    }
    
    section {
        filter: none !important;
        opacity: 1 !important;
    }
    
    .section-title {
        animation: none;
        background: none;
        color: var(--blanco);
        -webkit-text-fill-color: var(--blanco);
    }
}

/* Respetar preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== MEJORA 12: OPTIMIZACIÓN TÉCNICA ==================== */

/* Reduced Motion para usuarios con preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Clase para conexiones lentas */
.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Lazy loading de imágenes de fondo */
.hero-bg,
.comparison-image,
.testimonial-avatar,
.blog-image {
    background-color: var(--gris);
    transition: opacity 0.3s ease;
}

.hero-bg.loaded,
.comparison-image.loaded,
.testimonial-avatar.loaded,
.blog-image.loaded {
    opacity: 1;
}

/* Optimización de will-change para animaciones críticas */
.hero-content,
.hero-bg,
.hero-video {
    will-change: transform, opacity;
}

.reveal {
    will-change: transform, opacity;
}

.reveal.active {
    will-change: auto; /* Liberar recursos después de la animación */
}

/* Contenedor para skeleton loading (futuro) */
.skeleton {
    background: linear-gradient(90deg, var(--gris) 25%, rgba(42, 42, 42, 0.5) 50%, var(--gris) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Optimización de GPU para elementos animados */
.hero-parallax-layer,
.limited-spots-badge,
.social-notification,
.guarantee-card,
.pricing-card,
.value-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Prevenir layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Aspect ratio para imágenes (prevenir CLS) */
/* Nota: no forzar aspect-ratio en la imagen de "Sobre Mí" para mostrarla completa */

/* Print styles para optimización */
@media print {
    .navbar,
    .whatsapp-float,
    .social-notifications,
    .limited-spots-badge,
    #splash-screen,
    #page-reveal,
    #scroll-progress,
    #custom-cursor {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* Optimización de parallax en móvil */
@media (max-width: 768px) {
    .hero-parallax-layer {
        display: none; /* Desactivar parallax en móvil para mejor performance */
    }
}

/* ==================== GSAP ENHANCEMENTS ==================== */
/* (Integrado desde gsap-enhancements.css) */

* {
    will-change: auto;
}

.hero-tagline .letter,
.section-title span,
.value-card,
.pricing-card,
.testimonial-card,
.about-feature,
.timeline-item,
.stat-item,
.guarantee-card,
.faq-item {
    will-change: transform, opacity;
}

.testimonial-card,
.pricing-card,
.value-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

.hero-content,
.hero-layer-1,
.hero-layer-2,
.hero-layer-3,
.value-card,
.pricing-card,
.testimonial-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.section-title { overflow: visible; }
.section-title span { display: inline-block; transform-origin: bottom center; }

.value-card,
.pricing-card,
.testimonial-card,
.guarantee-card {
    transition: box-shadow 0.3s ease;
}

.faq-answer { overflow: hidden; }
.faq-answer-content { padding: 1.5rem 0; }

.magnetic { position: relative; display: inline-block; }

.hero-layer-1,
.hero-layer-2,
.hero-layer-3 {
    will-change: transform;
}

#scroll-progress { transform-origin: left center; }
.stat-number { transition: text-shadow 0.3s ease; }
#timeline-progress { transform-origin: top center; }
.timeline-dot { transform-origin: center center; }

.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float { will-change: transform; }
.marquee-content { will-change: transform; }

[data-gsap-loading] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    * { will-change: auto !important; }
}

@media (max-width: 768px) {
    .testimonial-card,
    .pricing-card {
        transform-style: flat;
        perspective: none;
    }
}

#custom-cursor { pointer-events: none; z-index: 9999; mix-blend-mode: difference; }

.value-card,
.pricing-card,
.guarantee-card {
    position: relative;
    overflow: hidden;
}

.features-list li,
.cert-badge,
.about-stat,
.contact-benefit {
    opacity: 1;
}

#splash-screen { z-index: 10001; pointer-events: none; }
#page-reveal    { z-index: 10000; pointer-events: none; }

*:focus-visible {
    outline: 2px solid var(--rojo);
    outline-offset: 2px;
}

::selection {
    background-color: var(--rojo);
    color: var(--blanco);
}

@media (min-width: 1024px) {
    .hero,
    .stats-bar,
    #valor,
    #sobre-fran,
    #metodo,
    #servicios,
    #testimonios,
    #contacto {
        content-visibility: auto;
        contain-intrinsic-size: auto 800px;
    }
}

:root {
    --gsap-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gsap-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --gsap-ease-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media (min-width: 1024px) {
    body {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

html:not(.gsap-loaded) .hero-tagline .letter { opacity: 1; transform: none; }
html.gsap-loaded .hero-tagline .letter       { opacity: 1; transform: none; }

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

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.smooth-scroll { scroll-behavior: smooth; }

.debug .hero-layer-1 { background: rgba(255, 0, 0, 0.1); }
.debug .hero-layer-2 { background: rgba(0, 255, 0, 0.1); }
.debug .hero-layer-3 { background: rgba(0, 0, 255, 0.1); }

@media print {
    * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

@media (prefers-contrast: high) {
    .hero-overlay { background: rgba(10, 10, 10, 0.95); }
}

/* ==================== FIX: HERO TEXT VISIBILITY ==================== */
/* (Integrado desde fix-hero-visibility.css) */

/* CRÍTICO: La section #hero NUNCA debe ocultarse por el blur observer */
section#hero,
section.hero,
.hero {
    opacity: 1 !important;
    filter: none !important;
    visibility: visible !important;
}

.hero-tagline {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-tagline .line {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-tagline .letter {
    display: inline-block !important;
}

@keyframes forceVisible {
    to {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Letras del hero: siempre visibles */
.hero-tagline .letter {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.hero-tagline .line {
    color: #ffffff;
}

.gsap-active .hero-tagline .letter {
    animation: none;
}

.hero .hero-content {
    visibility: visible !important;
}

/* ==================== FIX: PRICING CARDS VISIBILITY ==================== */
/* (Integrado desde fix-pricing-visibility.css) */

#servicios {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#servicios .pricing-grid {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#servicios .pricing-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

#servicios .pricing-card.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#servicios .pricing-card * {
    visibility: visible !important;
}

#servicios .popular-badge {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#servicios .features-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#servicios .features-list li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

