/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Montserrat', Arial, sans-serif;
    background-color: #FFFFFF;
    color: #212529;
    line-height: 1.6;
    font-size: 18px;
    font-weight: 400;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Tipografía */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    font-weight: 900;
    line-height: 1.2;
}

h2 {
    font-size: 2em;
    margin-top: 0px; /* Cambiar de 20px a 0px */
    margin-bottom: 30px;
    line-height: 1.3;
}

h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    line-height: 1.4;
}

p {
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Regla general para strong - color rojo por defecto */
strong {
    font-weight: 700;
    color: #dc3545; /* Rojo para la mayoría del texto en negrilla */
}

/* Títulos y subtítulos mantienen su color original */
h1 strong, h2 strong, h3 strong {
    color: #0A2443; /* Color azul oscuro original para títulos */
}

/* Textos específicos que deben mantener color original */
.problem-stat strong, /* "mismos errores" */
.story-intro strong, /* "Karen Oquendo" */
.story-block.highlight strong, /* "Elegí la libertad" y "Avaccount" */
.offer-guarantee strong { /* "forma más rápida y segura" */
    color: #0A2443; /* Mantiene color azul oscuro original */
}

/* Solo el texto en negrilla dentro de párrafos será rojo */
p strong {
    color: #dc3545; /* Rojo solo para texto en negrilla dentro de párrafos */
}

/* Layout general */
.section-header {
    margin-bottom: 10px; /* Cambiar de 40px a 10px */
}

.content-wrapper {
    max-width: 800px;
}

/* Secciones */
/* Secciones - Reducir solo el margin-bottom general */
section {
    margin-bottom: 10px; /* Cambiar de 30px a 10px - espacio mínimo */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Reducir solo el margen superior del contenedor de historia */
.story-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 10px; /* Cambiar de 20px a 10px */
}

/* Reducir solo el margen inferior de la conclusión de problemas */
.problem-conclusion {
    margin-top: 50px;
    text-align: center;
    margin-bottom: 10px; /* Cambiar de 20px a 10px */
}

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

/* Sección Hero - Solo texto, sin recuadros */
/* Sección Hero - Reducir padding y margin */
.hero-section {
    text-align: center;
    padding: 40px 0; /* Cambiar de 80px a 40px */
    margin-bottom: 20px; /* Cambiar de 80px a 20px */
}

/* Sección de problemas - Reducir padding */
.problem-section {
    padding: 20px 0; /* Cambiar de 40px a 20px */
}

/* Reducir margen de problem-conclusion */
.problem-conclusion {
    margin-top: 30px; /* Cambiar de 50px a 30px */
    text-align: center;
    margin-bottom: 5px; /* Cambiar de 10px a 5px */
}

/* Reducir margen de story-container */
.story-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 30px; /* Cambiar de 50px a 30px */
    margin-top: 5px; /* Cambiar de 10px a 5px */
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.main-title {
    color: #0A2443;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.4em;
    font-weight: 600;
    color: #0A2443;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.1em;
    color: #495057;
}

/* Sección de problemas - Sin recuadros */
.problem-section {
    padding: 40px 0;
}

.problem-stat {
    font-size: 1.4em;
    font-weight: 600;
    color: #0A2443;
    margin-bottom: 15px;
}

.problem-reason {
    font-size: 1.2em;
    color: #495057;
    margin-bottom: 30px;
}

.problem-intro {
    font-size: 1.1em;
    margin-bottom: 50px;
    color: #495057;
}

.problem-types {
    margin: 50px 0;
}

.problem-type {
    margin-bottom: 40px;
    padding-left: 0;
}

.problem-type h3 {
    color: #0A2443;
    margin-bottom: 15px;
    font-size: 1.4em;
    position: relative;
}

.problem-type h3::before {
    content: "●";
    color: #fd7e14;
    font-size: 1.2em;
    margin-right: 10px;
}

.problem-type p {
    color: #495057;
    margin-bottom: 0;
    padding-left: 25px;
}

.story-text {
    padding-right: 20px;
}

.story-text p {
    font-size: 1.1em;
    color: #495057;
}

.karen-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-placeholder {
    width: 250px;
    height: 300px;
    background: linear-gradient(135deg, #0A2443 0%, #fd7e14 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-content {
    margin-top: 40px;
}

.story-block {
    margin-bottom: 30px;
    padding-left: 0;
}

.story-block p {
    margin-bottom: 15px;
    color: #495057;
    font-size: 1.05em;
}

.story-block.highlight p {
    color: #0A2443;
    font-weight: 600;
    font-size: 1.1em;
}

.story-block p:last-child {
    margin-bottom: 0;
}

/* Metodología - Sin recuadros, solo numeración */
.methodology-grid {
    margin-top: 50px;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 25px;
    align-items: start;
    margin-bottom: 40px;
    padding: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #0A2443;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.step-content h3 {
    color: #0A2443;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.step-content p {
    color: #495057;
    margin-bottom: 0;
    font-size: 1.05em;
}

/* Oferta - Sin recuadros */
.offer-content {
    max-width: 800px;
}

.offer-intro {
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 20px;
    color: #0A2443;
}

.offer-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    color: #495057;
}

.offer-benefits {
    margin: 50px 0;
}

.benefit {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 25px;
    align-items: start;
    margin-bottom: 40px;
    padding: 0;
}

.benefit-icon {
    font-size: 2.5em;
    text-align: center;
    line-height: 1;
}

.benefit-content h3 {
    color: #0A2443;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.benefit-content p {
    color: #495057;
    margin-bottom: 0;
    font-size: 1.05em;
}

.offer-guarantee {
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    color: #0A2443;
    margin-top: 40px;
    padding: 0;
    background: none;
    border-radius: 0;
}

/* Call to Action - Mantengo solo el fondo principal */
.cta-section {
    background: #f8f9fa;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-button-container {
    margin: 40px 0;
}

.cta-button {
    background-color: #28a745;
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.cta-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* Formulario */
.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    text-align: left;
}

.contact-form.hidden {
    display: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0A2443;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0A2443;
}

.submit-button {
    background-color: #fd7e14;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #e8690b;
    transform: translateY(-1px);
}

/* Sección de cierre - Sin recuadro */
.closing-section {
    text-align: center;
}

.closing-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    background: none;
    border-radius: 0;
}

.closing-text {
    font-style: italic;
    color: #6c757d;
    font-size: 1.1em;
}

/* Separadores sutiles entre secciones principales */
.problem-section::after,
.solution-section::after,
.methodology-section::after,
.offer-section::after {
    content: '';
    display: block;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 60px auto;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.6em;
        margin-top: 60px;
    }
    
    body {
        font-size: 16px;
    }
    
    .story-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .photo-placeholder {
        width: 200px;
        height: 240px;
        margin: 0 auto;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .benefit {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .hero-section,
    .cta-section {
        padding: 40px 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .problem-type p {
        padding-left: 0;
    }
}

/* Header Styles */
.logo {
    height: 70px; /* Reducido de 90px a 70px para que sea más proporcional */
    width: auto;
    transition: transform 0.3s ease;
}

/* Restaurar el padding superior del body al valor original */
body {
    padding-top: 86px; /* Restaurado al valor original */
}

/* Restaurar el padding del header */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0; /* Restaurado al valor original */
}

/* Eliminar casi todo el margen inferior de la sección hero */
.hero-section {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 0; /* Eliminado completamente */
}

/* Eliminar el margen inferior del párrafo de descripción */
.hero-description {
    font-size: 1.1em;
    color: #495057;
    margin-bottom: 0; /* Eliminado completamente */
}

/* Eliminar el padding superior de la siguiente sección */
.problem-section {
    padding: 0 0 40px 0; /* Solo padding inferior, eliminado el superior */
}

/* Reducir el margen superior del h2 en la sección problema */
h2 {
    font-size: 2em;
    margin-top: 0px; /* Cambiar de 20px a 0px */
    margin-bottom: 30px;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0;
        margin-bottom: 0;
    }
    
    .problem-section {
        padding: 0 0 30px 0;
    }
    
    h2 {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 25px 0;
        margin-bottom: 0;
    }
    
    .problem-section {
        padding: 0 0 25px 0;
    }
    
    h2 {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 56px; /* Proporcional al nuevo tamaño */
    }
    
    .main-header {
        padding: 6px 0;
    }
    
    body {
        padding-top: 68px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 49px; /* Proporcional al nuevo tamaño */
    }
    
    .main-header {
        padding: 5px 0;
    }
    
    body {
        padding-top: 59px;
    }
}

.karen-image {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive para la imagen de Karen */
@media (max-width: 768px) {
    .karen-image {
        width: 200px;
        height: 240px;
        margin: 0 auto;
        display: block;
    }
}