﻿/* ==========================================
   LANDING EMPRESAS B2B - DISEÑO MODERNO
   ========================================== */

/* ==========================================
   VARIABLES CSS - TEMA EMPRESAS
   ========================================== */
:root {
    /* Colores Principales */
    --llaveroqr-azul-principal: #1B4B8C;
    --llaveroqr-azul-hover: #163A6F;
    --llaveroqr-azul-light: #2C5FA8;
    --llaveroqr-verde-tech: #7CB342;
    --llaveroqr-verde-hover: #689F38;
    --llaveroqr-gris-texto: #2C2C2C;
    --llaveroqr-gris-claro: #C0C0C0;
    --llaveroqr-fondo-claro: #F8F9FA;
    --llaveroqr-blanco: #FFFFFF;
    /* Gradientes */
    --gradient-principal: linear-gradient(135deg, #1B4B8C 0%, #7CB342 100%);
    --gradient-suave: linear-gradient(135deg, #F8F9FA 0%, #E2E8F0 100%);
    --gradient-hero: linear-gradient(135deg, #1B4B8C 0%, #2C5FA8 50%, #7CB342 100%);
    --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    /* Sombras */
    --sombra-suave: 0 4px 6px -1px rgba(27, 75, 140, 0.1), 0 2px 4px -1px rgba(27, 75, 140, 0.06);
    --sombra-media: 0 10px 15px -3px rgba(27, 75, 140, 0.1), 0 4px 6px -2px rgba(27, 75, 140, 0.05);
    --sombra-fuerte: 0 20px 25px -5px rgba(27, 75, 140, 0.1), 0 10px 10px -5px rgba(27, 75, 140, 0.04);
    --sombra-xl: 0 25px 50px -12px rgba(27, 75, 140, 0.25);
    /* Bordes y Transiciones */
    --radio-borde: 12px;
    --radio-borde-lg: 20px;
    --transicion-suave: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-empresas {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980B9 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    padding-top: 160px;
}

    .hero-empresas::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(124, 179, 66, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 20s ease-in-out infinite;
    }

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    color:white;
}

    .hero-badge i {
        font-size: 1rem;
    }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: var(--gradient-principal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--llaveroqr-gris-texto);
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--radio-borde);
    box-shadow: var(--sombra-suave);
    transition: var(--transicion-suave);
}

    .stat-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--sombra-media);
    }

    .stat-item i {
        font-size: 1.75rem;
        color: var(--llaveroqr-azul-principal);
    }

    .stat-item strong {
        display: block;
        font-size: 1rem;
        color: var(--llaveroqr-gris-texto);
        font-weight: 700;
    }

    .stat-item span {
        display: block;
        font-size: 0.875rem;
        color: #6b7280;
    }

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--gradient-principal);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radio-borde);
    text-decoration: none;
    box-shadow: var(--sombra-media);
    transition: var(--transicion-suave);
    border: none;
}

    .btn-primary-hero:hover {
        transform: translateY(-3px);
        box-shadow: var(--sombra-xl);
        color: white;
        text-decoration: none;
    }

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--llaveroqr-azul-principal);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radio-borde);
    text-decoration: none;
    box-shadow: var(--sombra-suave);
    border: 2px solid var(--llaveroqr-azul-principal);
    transition: var(--transicion-suave);
}

    .btn-secondary-hero:hover {
        background: var(--llaveroqr-azul-principal);
        color: white;
        transform: translateY(-3px);
        box-shadow: var(--sombra-media);
        text-decoration: none;
    }

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

    .hero-image img {
        width: 100%;
        height: auto;
        border-radius: var(--radio-borde-lg);
        box-shadow: var(--sombra-xl);
        transition: var(--transicion-suave);
    }

    .hero-image:hover img {
        transform: scale(1.02);
        box-shadow: 0 30px 60px -15px rgba(27, 75, 140, 0.3);
    }

/* ==========================================
   SECCIONES COMUNES
   ========================================== */

.funcionalidades-section,
.beneficios-section,
.como-funciona-section,
.contacto-section {
    padding: 80px 0;
}

.funcionalidades-section {
    background: white;
}

.beneficios-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980B9 100%);
}

.como-funciona-section {
    background: white;
}

.contacto-section {
    background: var(--gradient-suave);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    color:white;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--llaveroqr-gris-texto);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.section-text {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.feature-card {
    background: white;
    border-radius: var(--radio-borde-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--sombra-suave);
    border: 1px solid rgba(27, 75, 140, 0.1);
    transition: var(--transicion-suave);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-principal);
        transform: scaleX(0);
        transform-origin: left;
        transition: var(--transicion-suave);
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--sombra-fuerte);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-principal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--sombra-media);
    transition: var(--transicion-suave);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--sombra-fuerte);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--llaveroqr-gris-texto);
    margin-bottom: 1rem;
}

.feature-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
        color: #6b7280;
        font-size: 0.9375rem;
    }

    .feature-list i {
        color: var(--llaveroqr-verde-tech);
        font-size: 0.875rem;
        flex-shrink: 0;
    }

/* ==========================================
   BENEFITS SECTION
   ========================================== */

.benefits-list {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radio-borde);
    box-shadow: var(--sombra-suave);
    transition: var(--transicion-suave);
}

    .benefit-item:hover {
        transform: translateX(8px);
        box-shadow: var(--sombra-media);
    }

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-principal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--sombra-suave);
}

    .benefit-icon-wrapper i {
        font-size: 1.5rem;
        color: white;
    }

.benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--llaveroqr-gris-texto);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.benefits-image {
    position: relative;
    animation: fadeInLeft 1s ease-out;
}

    .benefits-image img {
        width: 100%;
        height: auto;
        border-radius: var(--radio-borde-lg);
        box-shadow: var(--sombra-xl);
    }

/* ==========================================
   CÓMO FUNCIONA - STEP CARDS
   ========================================== */

.step-card {
    background: white;
    border-radius: var(--radio-borde-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--sombra-suave);
    border: 1px solid rgba(27, 75, 140, 0.1);
    transition: var(--transicion-suave);
    position: relative;
    height: 100%;
}

    .step-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--sombra-fuerte);
    }

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-principal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--sombra-media);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(27, 75, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transicion-suave);
}

.step-card:hover .step-icon {
    background: var(--gradient-principal);
    transform: scale(1.1);
}

.step-icon i {
    font-size: 2rem;
    color: var(--llaveroqr-azul-principal);
    transition: var(--transicion-suave);
}

.step-card:hover .step-icon i {
    color: white;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--llaveroqr-gris-texto);
    margin-bottom: 0.75rem;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--llaveroqr-azul-principal);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radio-borde);
    text-decoration: none;
    border: 2px solid var(--llaveroqr-azul-principal);
    transition: var(--transicion-suave);
    box-shadow: var(--sombra-suave);
}

    .btn-outline-hero:hover {
        background: var(--llaveroqr-azul-principal);
        color: white;
        transform: translateY(-3px);
        box-shadow: var(--sombra-media);
        text-decoration: none;
    }

/* ==========================================
   CTA FINAL SECTION
   ========================================== */

.cta-final-section {
    padding: 80px 0;
    background: var(--gradient-principal);
}

.cta-card {
    background: white;
    border-radius: var(--radio-borde-lg);
    padding: 3rem;
    box-shadow: var(--sombra-xl);
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--llaveroqr-gris-texto);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
}

.btn-cta-final {
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-principal);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radio-borde);
    text-decoration: none;
    box-shadow: var(--sombra-fuerte);
    transition: var(--transicion-suave);
    border: none;
}

    .btn-cta-final:hover {
        transform: translateY(-4px);
        box-shadow: var(--sombra-xl);
        color: white;
        text-decoration: none;
    }

/* ==========================================
   CONTACTO SECTION
   ========================================== */

.contact-card {
    background: white;
    border-radius: var(--radio-borde-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--sombra-suave);
    border: 2px solid transparent;
    transition: var(--transicion-suave);
    text-decoration: none;
    height: 100%;
}

    .contact-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--sombra-fuerte);
        text-decoration: none;
    }

    .contact-card.whatsapp:hover {
        border-color: #25D366;
    }

    .contact-card.email:hover {
        border-color: var(--llaveroqr-azul-principal);
    }

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transicion-suave);
}

.contact-card.whatsapp .contact-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-card.email .contact-icon {
    background: var(--gradient-principal);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-content {
    flex: 1;
}

    .contact-content h4 {
        font-size: 1.375rem;
        font-weight: 700;
        color: var(--llaveroqr-gris-texto);
        margin-bottom: 0.5rem;
    }

    .contact-content p {
        color: #6b7280;
        margin-bottom: 0.75rem;
    }

.contact-action {
    display: inline-flex;
    align-items: center;
    color: var(--llaveroqr-azul-principal);
    font-weight: 600;
    font-size: 0.9375rem;
}

.contact-card.whatsapp:hover .contact-action {
    color: #25D366;
}

/* ==========================================
   ANIMACIONES
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 991px) {
    .hero-empresas {
        padding: 160px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    .funcionalidades-section,
    .beneficios-section,
    .como-funciona-section,
    .contacto-section {
        padding: 60px 0;
    }

    .cta-final-section {
        padding: 60px 0;
    }

    .cta-card {
        padding: 2rem;
    }
}

/* ==========================================
   RESPONSIVE - MÓVIL
   ========================================== */

@media (max-width: 767px) {
    .hero-empresas {
        padding: 140px 0 40px;
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        text-align: center;
    }

    .section-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .benefit-icon-wrapper {
        margin: 0 auto;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-number {
        top: -15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .cta-card {
        text-align: center;
        padding: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-cta-final {
        width: 100%;
        justify-content: center;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .funcionalidades-section,
    .beneficios-section,
    .como-funciona-section,
    .contacto-section {
        padding: 40px 0;
    }

    .cta-final-section {
        padding: 40px 0;
    }
}

/* ==========================================
   ACCESIBILIDAD
   ========================================== */

/* Reducir animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para navegación por teclado */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--llaveroqr-azul-principal);
    outline-offset: 4px;
}

