:root {
    --blanco: #FFFFFF;
    --blanco-sec: #F8F9FA;
    --negro: #000000;
    --negro-sec: #212529;
    --rojo: #FF0000;
    --rojo-oscuro: #CC0000;
    --rojo-claro: #FF3333;
    --rojo-hover: #e60000;
    --gris: #6c757d;
    --gris-claro: #e9ecef;
    --azul-datos: #4361ee;
    --verde-ml: #2ecc71;
    --fondo-oscuro: #0f172a;
    --fondo-card: #1e293b;
    --sombra: 0 10px 30px rgba(0, 0, 0, 0.1);
    --sombra-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --sombra-card: 0 20px 40px rgba(0, 0, 0, 0.08);
    --sombra-fuerte: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radio-borde: 12px;
    --transicion-rapida: 0.2s ease;
    --transicion-lenta: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Exo 2', sans-serif;
    color: var(--negro);
    line-height: 1.6;
    background-color: var(--blanco);
    overflow-x: hidden;
    font-size: 16px;
}

body.offline::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff9900);
    z-index: 10000;
    animation: pulse 2s infinite;
}

body.loaded {
    overflow-y: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== TIPOGRAFÍA MÓVIL ========== */
@media (max-width: 767px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
        line-height: 1.25;
    }
    
    h2 {
        font-size: 1.5rem;
        padding-bottom: 10px;
    }
    
    .section-title p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .metric {
        font-size: 0.9rem;
        justify-content: flex-start;
    }
    
    .icp-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gris-claro);
    border-top: 4px solid var(--rojo);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========== SKIP LINK ========== */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--rojo);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 99999;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
    font-weight: 600;
}

.skip-to-main:focus {
    top: 0;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* ========== KEYBOARD NAVIGATION ========== */
.keyboard-navigation *:focus {
    outline: 2px solid var(--rojo);
    outline-offset: 2px;
}

/* ========== HEADER CORREGIDO ========== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    background-color: var(--blanco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--rojo);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 30px;
}

/* ========== LANGUAGE SWITCHER ========== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 25px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--negro);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.lang-btn:hover {
    color: var(--rojo);
    background: var(--gris-claro);
}

.lang-btn.active {
    color: var(--rojo);
    background: var(--gris-claro);
    font-weight: 700;
}

.nav-cta-desktop {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 10px;
}

.slot-badge {
    background: var(--rojo);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 12px;
    animation: pulse 2s infinite;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--negro);
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 10px;
    position: relative;
}

.nav-links a:hover {
    color: var(--rojo);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--rojo);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-cta-mobile {
    display: none;
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--negro);
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* ========== HERO ========== */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--blanco) 0%, var(--blanco-sec) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-text {
    text-align: center;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--negro);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--negro-sec);
    line-height: 1.5;
}

.hero-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 25px 0;
}

.metric {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--negro-sec);
    font-size: 0.95rem;
    justify-content: center;
}

.metric:before {
    content: '✓';
    color: var(--rojo);
    font-weight: bold;
    font-size: 1.1rem;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background-color: var(--rojo);
    color: var(--blanco);
    border-radius: var(--radio-borde);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transicion-rapida);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn:hover {
    background-color: var(--rojo-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--rojo);
}

.btn-outline {
    background: transparent;
    color: var(--rojo);
    border: 1px solid var(--rojo);
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 7px 15px;
}

.btn-outline:hover {
    background: var(--rojo);
    color: white;
}

.btn-link {
    color: var(--rojo);
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s;
}

.btn-link:hover {
    text-decoration: underline;
    transform: translateX(5px);
}

.icp-check {
    background: var(--blanco);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--sombra);
    margin-top: 30px;
    border-left: 4px solid var(--rojo);
}

.icp-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--rojo);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.icp-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.icp-item {
    background: var(--blanco-sec);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--negro-sec);
    white-space: nowrap;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-profile-image {
    width: 100%;
    max-width: 350px;
    height: 350px;
    border-radius: 8%;
    box-shadow: var(--sombra-card);
    background: linear-gradient(135deg, var(--rojo-claro), var(--rojo));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.hero-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8%;
}

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

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--rojo);
    color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
    animation: pulse 3s infinite;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.badge-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* ========== STORY SECTION CORREGIDA ========== */
.story-section {
    background: var(--fondo-oscuro);
    padding: 80px 0;
    color: var(--blanco);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content blockquote {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--blanco);
    border-left: 4px solid var(--rojo);
    padding-left: 60px;
    margin-bottom: 40px;
    text-align: left;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.story-content blockquote p {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--blanco);
}

.story-content footer {
    text-align: left;
}

.author-name {
    font-weight: 700;
    color: var(--rojo);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
}

.author-role {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.section-dark .author-role {
    color: #ffffff;
}

.experience-item {
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.story-insight {
    background: var(--blanco);
    padding: 35px 40px;
    border-radius: var(--radio-borde);
    box-shadow: var(--sombra);
    margin-top: 50px;
    border-top: 3px solid var(--rojo);
}

.story-insight h3 {
    color: var(--rojo);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
}

.story-insight p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--negro-sec);
}

.story-insight strong {
    color: var(--rojo);
}

/* ========== PROCESO SECTION ========== */
.proceso-section {
    padding: 80px 0;
    background: var(--blanco);
}

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

@media (min-width: 768px) {
    .proceso-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.proceso-card {
    background: var(--blanco);
    padding: 40px 30px 30px;
    border-radius: var(--radio-borde);
    box-shadow: var(--sombra);
    border-top: 5px solid var(--rojo);
    position: relative;
    transition: transform 0.3s ease;
}

.proceso-card:hover {
    transform: translateY(-5px);
}

.proceso-number {
    position: absolute;
    top: -25px;
    left: 30px;
    background: var(--rojo);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.proceso-card h3 {
    color: var(--negro);
    margin: 20px 0 20px 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4rem;
    min-height: 60px;
}

.proceso-card p {
    color: var(--negro-sec);
    margin-bottom: 20px;
    line-height: 1.6;
}

.proceso-nota {
    font-size: 0.9rem;
    color: var(--gris);
    font-style: italic;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--gris-claro);
}

.proceso-lista {
    list-style: none;
    margin-top: 25px;
}

.proceso-lista li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: var(--negro-sec);
    line-height: 1.5;
}

.proceso-lista li:before {
    content: '✓';
    color: var(--rojo);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .proceso-card {
        padding: 35px 20px 25px;
        margin-bottom: 30px;
    }
    
    .proceso-number {
        width: 40px;
        height: 40px;
        top: -20px;
        font-size: 1.1rem;
    }
    
    .proceso-card h3 {
        font-size: 1.2rem;
        min-height: auto;
        margin: 15px 0;
    }
    
    .proceso-card p {
        font-size: 0.95rem;
    }
    
    .proceso-lista li {
        font-size: 0.9rem;
        padding-left: 25px;
        margin-bottom: 10px;
    }
}

/* Postura técnica */
.postura-tecnica {
    background: var(--fondo-card);
    padding: 40px;
    border-radius: var(--radio-borde);
    margin-top: 60px;
    margin-bottom: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.postura-tecnica h4 {
    color: var(--blanco);
    text-align: center;
    margin-bottom: 35px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
}

.postura-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .postura-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .postura-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.postura-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--blanco);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.postura-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.postura-item i {
    color: var(--rojo);
    font-size: 1.4rem;
    min-width: 30px;
    text-align: center;
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
    background: var(--rojo);
    color: white;
    padding: 60px 0;
    margin-top: 40px;
}

.social-proof-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
}

@media (min-width: 768px) {
    .social-proof-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.proof-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.proof-text {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 200px;
    line-height: 1.5;
}

/* ========== SECCIONES GENERALES ========== */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--fondo-oscuro);
    color: var(--blanco);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--negro);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--rojo);
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--negro-sec);
    line-height: 1.6;
}

.section-dark .section-title h2,
.section-dark .section-title p {
    color: var(--blanco);
}

/* ========== GRIDS ========== */
.problemas-grid,
.soluciones-grid,
.why-grid,
.resultados-grid,
.testimonios-grid,
.cta-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .problemas-grid,
    .soluciones-grid,
    .why-grid,
    .cta-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (min-width: 992px) {
    .resultados-grid,
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

/* ========== TARJETAS ========== */
.problema-card,
.solucion-card,
.why-card,
.resultado-card,
.testimonio-card,
.cta-option {
    background: var(--blanco);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: var(--sombra);
    transition: all 0.3s;
    border: 1px solid var(--gris-claro);
    position: relative;
    overflow: hidden;
}

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

@media (hover: hover) and (pointer: fine) {
    .problema-card:hover,
    .solucion-card:hover,
    .why-card:hover,
    .cta-option:hover {
        transform: translateY(-8px);
        box-shadow: var(--sombra-hover);
    }
    
    .problema-card:hover::before,
    .solucion-card:hover::before,
    .why-card:hover::before {
        transform: scaleX(1);
    }
}

.touch-device .problema-card.touch-active,
.touch-device .solucion-card.touch-active,
.touch-device .why-card.touch-active {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
}

.touch-device .problema-card.touch-active::before,
.touch-device .solucion-card.touch-active::before,
.touch-device .why-card.touch-active::before {
    transform: scaleX(1);
}

.section-dark .problema-card,
.section-dark .resultado-card {
    background: var(--fondo-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.problema-card h3,
.solucion-card h3,
.why-card h3,
.resultado-card h4,
.testimonio-card h4 {
    color: var(--rojo);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
}

.problema-icon,
.solucion-icon,
.why-icon,
.resultado-icon,
.option-icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.problema-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.problema-card li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    color: var(--negro-sec);
    line-height: 1.5;
}

.section-dark .problema-card li {
    color: rgba(255, 255, 255, 0.85);
}

.problema-card li:before {
    content: '•';
    color: var(--rojo);
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

.btn-problema,
.btn-solucion {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--rojo);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 48px;
    font-weight: 600;
}

.btn-problema:hover,
.btn-solucion:hover {
    background: var(--rojo-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.25);
}

.solucion-header {
    background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
    color: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: -35px -30px 30px -30px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.solucion-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.solucion-body {
    padding: 20px 0;
}

.solucion-body p {
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--negro-sec);
}

.solucion-puente {
    color: var(--rojo);
    font-weight: 600;
    margin-bottom: 10px;
}

.solucion-tech {
    margin: 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tech-tag {
    background: var(--blanco-sec);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--negro-sec);
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--gris-claro);
}

.tech-tag:hover {
    background: var(--rojo);
    color: white;
    border-color: var(--rojo);
}

@media (max-width: 767px) {
    .problema-card,
    .solucion-card,
    .why-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .problema-card h3,
    .solucion-card h3,
    .why-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .problema-icon,
    .solucion-icon,
    .why-icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .problema-card ul {
        margin-bottom: 20px;
    }
    
    .problema-card li {
        font-size: 0.9rem;
        padding-left: 22px;
        margin-bottom: 8px;
    }
    
    .btn-problema,
    .btn-solucion {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .solucion-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
        margin: -25px -20px 20px -20px;
    }
    
    .solucion-header h3 {
        font-size: 1.3rem;
    }
}

/* ========== STACK TECNOLOGÍAS ========== */
.stack-simplificado {
    text-align: center;
    padding: 50px 40px;
    background: var(--blanco-sec);
    border-radius: var(--radio-borde);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 60px;
}

.stack-simplificado h3 {
    margin-bottom: 30px;
    color: var(--negro);
    font-size: 1.6rem;
    font-family: 'Orbitron', sans-serif;
}

.stack-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.logo-item {
    width: 110px;
    height: 110px;
    background: var(--blanco);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sombra);
    border: 1px solid var(--gris-claro);
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (hover: hover) and (pointer: fine) {
    .logo-item:hover {
        transform: translateY(-8px);
        box-shadow: var(--sombra-hover);
        border-color: var(--rojo);
    }
}

.touch-device .logo-item.touch-active {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
    border-color: var(--rojo);
}

.logo-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--negro);
    text-align: center;
    font-family: 'Exo 2', sans-serif;
}

.stack-note {
    font-size: 1rem;
    color: var(--negro-sec);
    margin-top: 25px;
    font-style: italic;
}

/* ========== WHY US SECTION ========== */
.why-us {
    background: var(--blanco-sec);
    padding: 80px 0;
}

/* ========== RESULTADOS ========== */
.resultado-card {
    background: var(--fondo-card);
    border-radius: var(--radio-borde);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.resultado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.resultado-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resultado-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.resultado-title {
    flex: 1;
}

.resultado-title h4 {
    color: var(--blanco);
    margin-bottom: 8px;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.3rem;
}

.resultado-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
}

.resultado-body {
    padding: 30px;
}

.resultado-body p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.resultado-body strong {
    color: var(--blanco);
}

.resultado-metricas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.metrica {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metrica:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.metrica-valor {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--rojo-claro);
    margin-bottom: 8px;
}

.metrica-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

@media (max-width: 767px) {
    .resultados-grid {
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .resultado-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 25px 20px;
    }
    
    .resultado-icon {
        font-size: 2rem;
        align-self: flex-start;
    }
    
    .resultado-title h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .resultado-time {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .resultado-body {
        padding: 20px;
    }
    
    .resultado-body p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .resultado-metricas {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .metrica {
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .metrica-valor {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .metrica-label {
        font-size: 0.85rem;
    }
}

/* ========== CTA ESTRATÉGICO ========== */
.cta-estrategico {
    background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
    padding: 50px;
    border-radius: var(--radio-borde);
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.cta-estrategico h3 {
    color: white;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
}

.cta-estrategico p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-estrategico .btn-large {
    padding: 20px 45px;
    font-size: 1.2rem;
    border-radius: var(--radio-borde);
    font-weight: 700;
}

/* ========== TESTIMONIOS ========== */
.testimonio-card {
    background: var(--blanco);
    border-radius: var(--radio-borde);
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: var(--sombra);
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-hover);
}

.testimonio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--blanco-sec);
    border-bottom: 1px solid var(--gris-claro);
}

.testimonio-avatar {
    width: 70px;
    height: 70px;
    background: var(--rojo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.testimonio-info h4 {
    color: var(--negro);
    margin-bottom: 8px;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
}

.testimonio-role {
    font-size: 0.95rem;
    color: var(--gris);
    font-weight: 500;
}

.testimonio-body {
    padding: 30px;
    font-style: italic;
    color: var(--negro-sec);
    line-height: 1.7;
    font-size: 1.05rem;
}

.testimonio-body strong {
    color: var(--rojo);
    font-weight: 700;
}

.testimonio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--blanco-sec);
    border-top: 1px solid var(--gris-claro);
    font-size: 0.9rem;
}

.testimonio-industry {
    background: var(--rojo);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.testimonio-duration {
    color: var(--gris);
    font-weight: 500;
}

/* ========== FINAL INSIGHT ========== */
.final-insight {
    background: linear-gradient(135deg, var(--fondo-oscuro), var(--fondo-card));
    padding: 100px 0;
    text-align: center;
}

.insight-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.insight-content h3 {
    color: var(--blanco);
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 30px;
}

.insight-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .insight-content h3 {
        font-size: 1.6rem;
    }
    
    .insight-content p {
        font-size: 1.1rem;
    }
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--blanco-sec);
    padding: 100px 0;
}

.cta-header h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-header p {
    font-size: 1.2rem;
    color: var(--negro-sec);
}

.urgency-banner {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    padding: 20px 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 5px solid var(--rojo);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: pulse 2s infinite;
}

.urgency-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.option-select {
    background: var(--rojo);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px auto 0;
    width: 100%;
    max-width: 280px;
    min-height: 50px;
    font-size: 1.05rem;
}

.option-select:hover {
    background: var(--rojo-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.25);
}

.option-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-container {
    background: var(--blanco);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--sombra-card);
    margin-top: 50px;
}

.form-header h3 {
    margin-bottom: 15px;
    color: var(--negro);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
}

.form-header p {
    margin-top: 10px;
    color: var(--negro-sec);
    font-size: 1.1rem;
}

.form-alternative {
    text-align: center;
    margin-top: 40px;
    padding: 40px 0 20px;
    border-top: 1px solid var(--gris-claro);
}

.form-alternative p {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--negro-sec);
    font-weight: 600;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 16px 32px;
    border-radius: var(--radio-borde);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    border: none;
    font-size: 1.1rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

@media (max-width: 767px) {
    .form-container {
        padding: 25px 20px;
        margin-top: 30px;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    iframe#contactForm {
        height: 500px !important;
        max-height: 70vh;
    }
    
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* ========== FOOTER ========== */
footer {
    padding: 80px 0 40px;
    background: var(--fondo-oscuro);
    color: var(--blanco);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
    display: inline-block;
    font-size: 2rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-insight {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 20px;
}

.footer-contact {
    padding: 20px 0;
}

.footer-contact p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--blanco);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.footer-contact a:hover {
    color: var(--rojo-claro);
}

.contact-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 20px;
    font-style: italic;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--rojo);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    padding: 18px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-weight: 600;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    min-height: 50px;
    font-size: 1rem;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.float-text {
    display: none;
}

.float-badge {
    background: var(--rojo);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 5px;
}

@media (min-width: 768px) {
    .float-text {
        display: inline;
    }
}

/* ========== HEADER MÓVIL CORREGIDO ========== */
@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-cta-desktop {
        display: none !important;
    }
    
    header {
        height: 70px;
        padding: 12px 0;
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        gap: 15px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem !important;
        order: 1;
        flex: 0 1 auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 160px;
        letter-spacing: 0.5px;
        font-weight: 700;
        display: flex;
        align-items: center;
        height: 45px;
        margin-right: 5px;
    }
    
    .language-switcher {
        order: 2;
        margin: 0 10px !important;
        padding: 0;
        display: flex;
        align-items: center;
        height: 45px;
        flex-shrink: 0;
        gap: 8px;
    }
    
    .lang-btn {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
        min-width: 40px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle {
        order: 3;
        margin-left: 5px;
        padding: 8px;
        height: 45px;
        width: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 3px;
    }
    
    .navbar > * {
        display: flex;
        align-items: center;
        height: 45px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        padding: 40px 30px;
        transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        gap: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 9999;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-cta-mobile {
        display: inline-block;
        background: var(--rojo);
        color: white !important;
        padding: 12px 25px;
        border-radius: 8px;
        margin-top: 20px;
        font-weight: 600;
    }
    
    .hero-ctas .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .btn-outline {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-profile-image {
        max-width: 220px;
        height: 220px;
        margin-top: 30px;
    }
    
    .hero-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px auto 0;
        width: 160px;
    }
    
    .badge-number {
        font-size: 1.2rem;
    }
    
    .badge-text {
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        min-height: 44px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .btn-primary {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .hero-ctas .btn {
        white-space: normal;
        line-height: 1.4;
        padding: 16px 20px;
    }
    
    .option-select {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .logo-item {
        width: 90px;
        height: 90px;
        padding: 15px;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 0.8rem;
    }
    
    .btn, .btn-problema, .btn-solucion, .option-select {
        min-height: 48px;
        padding: 14px 24px;
    }
}

@media (max-width: 360px) {
    .logo {
        font-size: 1rem !important;
        max-width: 130px;
    }
    
    .lang-btn {
        padding: 5px 8px !important;
        font-size: 0.8rem !important;
        min-width: 35px;
    }
    
    .menu-toggle {
        padding: 6px;
    }
}

@media (max-width: 767px) {
    footer {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand .logo {
        font-size: 1.8rem;
    }
    
    .footer-tagline {
        font-size: 1rem;
    }
    
    .footer-insight {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 15px;
    }
    
    .float-text {
        font-size: 0.8rem;
    }
}

@media print {
    .whatsapp-float,
    .menu-toggle,
    .nav-cta-desktop,
    .urgency-banner,
    .preloader,
    .language-switcher {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}

@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;
    }
}

.touch-device .btn,
.touch-device .btn-problema {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.touch-device .hero-ctas {
    gap: 20px;
}

.touch-device .logo-item {
    cursor: pointer;
}