/* ===================================
   ESTILOS FINALES - MEJORAS APLICADAS
   Archivo: mejoras-final.css
   =================================== */

/* ===================================
   Hero mejorado
   =================================== */
.hero-trust {
    background: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    margin: 1.5rem 0;
}

.hero-trust p {
    margin: 0;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.8;
}

/* Botón secundario - centrado vertical */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   Nav - Botón "Solicitar demo" vistoso
   =================================== */
.btn-nav {
    background: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary) !important;
    padding: 8px 24px !important;
    border-radius: 25px !important;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-nav:hover {
    background: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Offer Strip - Fondo oscuro con checks
   =================================== */
.offer-strip {
    background: var(--color-secondary);
    padding: 2.5rem 0;
    color: white;
}

.offer-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.offer-check {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.offer-text {
    font-weight: 600;
    font-size: 1.3rem;
}

.offer-tagline {
    text-align: center;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* ===================================
   Problem Section - Versión narrativa
   =================================== */
.problem-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.problem-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-story {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-error);
    transition: var(--transition);
}

.problem-story:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-story-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.problem-story h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.problem-story p {
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* ===================================
   Solution - Process en línea (desktop)
   =================================== */
.solution-reassurance {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    font-size: 1.1rem;
}

.solution-reassurance strong {
    color: var(--color-primary);
}

/* Proceso en línea en desktop */
@media (min-width: 769px) {
    .process {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .process-arrow {
        display: none;
    }
}

/* ===================================
   Features - Intro y Onboarding
   =================================== */
.features-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.features-onboarding {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius);
}

.features-onboarding strong {
    color: var(--color-primary);
}

/* ===================================
   No Risk Section - Sin precios
   =================================== */
.no-risk {
    padding: 80px 0;
    background: white;
}

.no-risk h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.no-risk-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.no-risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.no-risk-item {
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--color-border);
    transition: var(--transition);
    text-align: center;
}

.no-risk-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.no-risk-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.no-risk-item h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.no-risk-item p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0;
}

.no-risk-item strong {
    color: var(--color-primary);
}

.no-risk-tagline {
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.5rem !important;
}

.no-risk-closing {
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius);
}

.no-risk-closing strong {
    color: var(--color-primary);
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.faq-item h3 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--color-text);
    margin: 0;
    line-height: 1.7;
}

/* ===================================
   Form mejoras - Espaciado ajustado
   =================================== */
.contact-form {
    background: white;
    padding: 2rem 3rem 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.form-guarantee {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #2d5568;
    font-weight: 500;
}

.form-trust {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #2d5568;
}

/* ===================================
   Target mejoras
   =================================== */
.target h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* ===================================
   Responsive mejoras
   =================================== */
@media (max-width: 768px) {
    .offer-items {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .offer-item {
        width: 100%;
        justify-content: center;
    }
    
    .offer-text {
        font-size: 1.1rem;
    }
    
    .problem-stories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .no-risk-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-trust {
        padding: 1rem;
    }
    
    .hero-trust p {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 1.5rem 1.5rem 2rem;
    }
    
    .btn-nav {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .offer-strip {
        padding: 1.5rem 0;
    }
    
    .offer-check {
        font-size: 1.75rem;
    }
    
    .offer-text {
        font-size: 1rem;
    }
    
    .problem-story,
    .no-risk-item {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}

/* ===================================
   Solution - Visual Image
   =================================== */
.solution-visual {
    max-width: 900px;
    margin: 4rem auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.solution-visual img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .solution-visual {
        margin: 3rem auto 2rem;
    }
}

@media (max-width: 480px) {
    .solution-visual {
        margin: 2rem auto 1.5rem;
    }
}

/* ===================================
   Klaro Cookie Consent - Personalización
   =================================== */

/* Banner principal */
.klaro .cookie-notice {
    background-color: #4A5568 !important;
    border-top: 3px solid var(--color-primary) !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15) !important;
}

.klaro .cookie-notice .cn-body {
    color: #ffffff !important;
    font-family: var(--font-primary) !important;
    font-size: 14px !important;
}

/* Botones del banner */
.klaro .cn-buttons button {
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-family: var(--font-primary) !important;
    margin: 5px !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* Botón "Aceptar todas" */
.klaro .cn-buttons .cm-btn.cm-btn-success {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    border-color: var(--color-primary) !important;
}

.klaro .cn-buttons .cm-btn.cm-btn-success:hover {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    transform: translateY(-2px);
}

/* Botón "Rechazar" */
.klaro .cn-buttons .cm-btn.cm-btn-danger {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.klaro .cn-buttons .cm-btn.cm-btn-danger:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Ocultar enlace "learn more" si está visible */
.klaro .cookie-notice .cn-learn-more {
    display: none !important;
}

/* Ocultar enlace "learn more" si está visible */
.klaro .cookie-notice .cn-learn-more {
    display: none !important;
}

/* Ocultar "powered by" */
.klaro .cn-powered-by,
.klaro .cookie-notice .cn-powered-by,
.klaro .cookie-modal .cm-powered-by {
    display: none !important;
}

/* Modal de configuración (si se abre) */

/* Modal de configuración (si se abre) */
.klaro .cookie-modal {
    font-family: var(--font-primary) !important;
}

.klaro .cookie-modal .cm-header {
    background-color: var(--color-secondary) !important;
    color: #ffffff !important;
}

/* Responsive - Ajustes móvil */
@media (max-width: 768px) {
    .klaro .cookie-notice .cn-body {
        font-size: 13px !important;
    }
    
    .klaro .cn-buttons {
        flex-direction: column !important;
    }
    
    .klaro .cn-buttons button {
        width: 100% !important;
        margin: 5px 0 !important;
    }
}

/* ===================================
   Video Section
   =================================== */
.video-section {
    padding: 80px 0;
    background: white;
}

.video-header {
    text-align: center;
    margin-bottom: 3rem;
}

.video-header h2 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.video-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

/* Responsive */
@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-header h2 {
        font-size: 1.75rem;
    }
    
    .video-header p {
        font-size: 1rem;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 40px 0;
    }
    
    .video-header {
        margin-bottom: 2rem;
    }
}