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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #fff;
}

/* Al principio del CSS, después de body */
html {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%; /* Previene que elementos se salgan */
}

img {
    max-width: 100%;
    height: auto;
}


/* ==================== TIPOGRAFÍA ESTANDARIZADA ==================== */

/* Todos los títulos principales (h1) */
h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #667eea;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Todos los títulos de sección (h2) */
h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #667eea;
    line-height: 1.4;
    margin-bottom: 2rem;
    text-align: center;
}

/* Subtítulos (h3) */
h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Subtítulos menores (h4) */
h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Párrafos y texto general */
p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #2c3e50;
    line-height: 1.6;
}

/* Texto destacado */
strong,
b {
    font-weight: 600;
    color: #667eea;
}

/* Listas */
ul,
ol {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
}

/* ==================== FIN TIPOGRAFÍA ==================== */


.header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5f7f 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.logo {
    max-width: 450px;
    margin: 0 auto 1rem;
}

.logo-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    
}

/* .hero h1 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
} */

.hero p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

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

.session-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

/* .session-card h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
} */

.session-card .objetivo {
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1rem;
}

.bonus-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 4rem;
}

.bonus-section h2 {
    text-align: center;
    color: #667eea;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.bonus-list {
    max-width: 700px;
    margin: 0 auto;
}

.bonus-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.bonus-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.services-section {
    margin-bottom: 4rem;
}

/* .services-section h2 {
    text-align: center;
    color: #667eea;
    margin-bottom: 2rem;
    font-size: 2rem;
} */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.service-item:hover {
    border-color: #667eea;
}

/* .service-item h4 {
    color: #764ba2;
    margin-bottom: 0.5rem;
} */

.cta-section {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.footer {
    text-align: center;
    padding: 2rem;
    color: #777;
    margin-top: 3rem;
}

.success-message {
    display: none;
    background: #4caf50;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

.header {
    background: linear-gradient(135deg, #0f2a44, #143a5f);
    padding: 40px 20px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 850px;
    margin: 0 auto 1rem;
    padding: 0 1rem;
}

.logo-img {
    width: 100%;  /* ✅ AHORA SÍ SE ADAPTA */
    height: auto;
    object-fit: contain;
}

.modalities-section {
    margin-bottom: 4rem;
    text-align: center;
}

/* .modalities-section h2 {
    font-size: 2rem;
    color:  #667eea;
    margin-bottom: 2rem;
} */

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

.modality-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    text-align: center;
    border-color: #4a9d9c;
}

.modality-card.featured {
    border-color: #4a9d9c;
    box-shadow: 0 5px 20px rgba(74, 157, 156, 0.15);
}

.modality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 157, 156, 0.2);
}

.modality-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* .modality-card h3 {
    color: #2c5f7f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
} */

.modality-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.modality-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.modality-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2c3e50;
}

.modality-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a9d9c;
    font-weight: bold;
}

.price-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #4a9d9c;
    /* Color sólido */
    border-radius: 20px;
    font-weight: 600;
    color: white;
    min-width: 150px;
}

.price-tag.special {
    background: #4a9d9c;
    /* Mismo color */
    color: white;
}

.captcha-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px dashed #4a9d9c;
}

.captcha-group label {
    color: #2c5f7f;
}

.captcha-group span {
    font-weight: bold;
    color: #4a9d9c;
}

.target-audience {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    border-radius: 12px;
}

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

/* .target-audience h2 {
    color: #667eea;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.4;
} */

.audience-intro {
    font-size: 1.1rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.audience-list {
    list-style: none;
    margin-bottom: 2rem;
}

.audience-list li {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.audience-list strong {
    color: #667eea;
    font-size: 1.1rem;
}

.audience-conclusion {
    text-align: center;
    font-size: 1.1rem;
    color: #2c3e50;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #667eea;
}

.audience-conclusion strong {
    color: #667eea;
}

@media (max-width: 768px) {
    .target-audience h2 {
        font-size: 1.5rem;
    }

    .audience-list li {
        padding: 1rem;
    }
}

/* ==================== RESPONSIVE MEJORADO ==================== */
@media (max-width: 768px) {
    /* Tipografía móvil */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Header y logo */
    .header {
        padding: 20px 10px;
    }
    
    .logo {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .logo-img {
        width: 100%;
        max-width: 500px;
    }
    
    .tagline {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Contenedor principal */
    .container {
        padding: 2rem 1rem;
    }
    
    /* Hero */
    .hero {
        margin-bottom: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Target Audience */
    .target-audience {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .audience-list li {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .audience-intro,
    .audience-conclusion {
        font-size: 1rem;
        padding: 1rem;
    }
    
    /* Modalidades */
    .modalities-section {
        margin-bottom: 2rem;
    }
    
    .modalities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .modality-card {
        padding: 1.5rem;
    }
    
    .modality-icon {
        font-size: 2.5rem;
    }
    
    /* Sesiones */
    .sessions {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .session-card {
        padding: 1.5rem;
    }
    
    /* Bonus */
    .bonus-section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .bonus-list {
        padding: 0 1rem;
    }
    
    /* Servicios */
    .services-section {
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .service-item {
        padding: 1.2rem;
    }
    
    /* CTA y Formulario */
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-group input {
        padding: 0.7rem;
        font-size: 16px; /* Evita zoom automático en iOS */
    }
    
    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Para pantallas muy pequeñas (iPhone SE, etc.) */
@media (max-width: 375px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .logo-img {
        max-width: 320px;
    }
    
    .audience-list li,
    .modality-card,
    .session-card,
    .service-item {
        padding: 1rem;
    }
}

/* Para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo-img {
        max-width: 600px;
    }
    
    .modalities-grid,
    .sessions,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}