/* ============================================================
   ESTILOS PERSONALIZADOS: RLA KIDS (VERSIÓN STORYTELLING)
   Diseñado por Distortion Code para RLA
   ============================================================ */

:root {
    --kids-purple: #7E22CE;
    --kids-orange: #F97316;
    --kids-cherry: #D61E43;
    --kids-bg-soft: #FFF8F0;
    --kids-bg-white: #ffffff;
    --text-main: #1d1d1f;
    --text-sec: #6e6e73;
    --kids-radius: 40px;
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.04);
}

/* 1. RESET Y BASE */
#programa-layout.kids-view {
    background-color: var(--kids-bg-white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.section-padding { padding: 100px 0; }
.bg-soft { background-color: var(--kids-bg-soft); }

/* 2. HERO VISUAL */
.kids-hero-visual {
    position: relative;
    height: 75vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/hero-kids-avia.webp'); 
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.kids-hero-content {
    position: relative;
    z-index: 5;
    max-width: 850px; /* Un poco más ancho para evitar cortes de palabra */
    padding: 0 6%;    /* Espaciado de seguridad lateral */
    color: white;
}

.kids-tagline {
    color: var(--kids-orange);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.kids-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 25px;
}

.kids-hero-content h1 span { color: var(--kids-orange); }

.kids-hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
}

/* 3. INFO GRID (BENTO TOP) */
.kids-info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.kids-bento-item {
    padding: 60px;
    border-radius: var(--kids-radius);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
}

.kids-item-methodology {
    background: #fdf2f8; 
    border-color: #fbcfe8;
}

.kids-item-logo {
    background: white;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.kids-bento-logo {
    max-width: 280px;
    height: auto;
}

/* 4. CICLOS POR EDADES (ALTERNADOS) */
.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-header-center h2 { font-size: 3rem; font-weight: 900; }

.kids-cycles-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.kids-cycle-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.kids-cycle-row.row-reverse { direction: rtl; }
.kids-cycle-row.row-reverse .cycle-info { direction: ltr; }

.cycle-image img {
    width: 100%;
    border-radius: var(--kids-radius);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    object-fit: cover;
}

.cycle-info h4 { font-size: 2.2rem; font-weight: 900; margin: 20px 0; }

.age-tag {
    display: inline-flex;
    padding: 10px 25px;
    border-radius: 100px;
    color: white;
    font-weight: 800;
}

/* 5. TESTIMONIO FULL */
.kids-quote-full {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 30px;
    border: 4px solid var(--kids-orange);
    object-fit: cover;
}

.kids-quote-full blockquote {
    font-size: 1.8rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-main);
}

.kids-quote-full cite {
    display: block;
    margin-top: 20px;
    font-weight: 800;
    color: var(--kids-orange);
    font-style: normal;
}

/* 6. FORMULARIO FINAL (ACTUALIZADO CON ICONOS) */
.kids-footer-form {
    background: linear-gradient(135deg, #1d1d1f 0%, #333 100%);
    color: white;
}

.kids-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.form-text h2 { font-size: 3rem; font-weight: 950; margin-bottom: 20px; }

.kids-lead-form-box {
    background: white;
    padding: 40px 50px;
    border-radius: var(--kids-radius);
    color: var(--text-main);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.kids-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.kids-form-header h3 { font-size: 1.8rem; font-weight: 800; color: var(--kids-purple); }
.kids-form-header p { color: var(--text-sec); font-size: 0.95rem; }

.kids-form-rla .input-group {
    margin-bottom: 20px;
}

.kids-form-rla label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.kids-form-rla label i {
    color: var(--kids-orange);
    margin-right: 8px;
    width: 18px;
}

.kids-form-rla input, .kids-form-rla select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    border: 2px solid #eee;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.kids-form-rla input:focus, .kids-form-rla select:focus {
    border-color: var(--kids-orange);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.kids-btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--kids-orange);
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.kids-btn-submit:hover { 
    background: #ea580c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.form-footer-text {
    font-size: 0.85rem;
    color: var(--text-sec);
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .kids-info-grid, .kids-cycle-row, .kids-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .kids-cycle-row.row-reverse { direction: ltr; }
    .section-padding { padding: 60px 0; }
    .kids-hero-content { padding: 0 25px; text-align: center; }
    .kids-hero-content p { margin: 0 auto; }
    .kids-lead-form-box { padding: 30px; }
}