/* ================= VARIABLES ================= */
:root {
    --primary-blue: #004d99; 
    --light-blue: #37aef2;   
    --teal: #00aeb3;
    --yellow-cta: #f99d1c; 
    --yellow-cta-hover: #e08b16;
    --dark-gray: #333333;
    --light-gray: #f4f6f8;
    --white: #ffffff;
    --text-main: #4a4a4a;
    
    /* Colores circulos seccion 1 */
    --c1: #f79d25; 
    --c2: #f79d25; 
    --c3: #084c94; 
    --c4: #084c94; 
    --c5: #00aeb3; 
}

/* ================= RESET Y BASES ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.btn-new {
    display: inline-block;
    background-color: var(--yellow-cta);
    color: var(--white) !important;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-new:hover {
    background-color: var(--yellow-cta-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
}

.small-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

/* Utilidad de capa superpuesta (Overlay) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ================= HERO SECTION (SECCIÓN 0) ================= */
#hero {
    position: relative;
    background-image: url('../img/sección-0.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 0; 
    z-index: 1;
}

#hero .overlay {
    background-color: rgba(24, 85, 138, 0.85);
}

#hero .container {
    position: relative;
    z-index: 2; 
}

.hero-content {
    width: 100%; 
    color: var(--white);
    text-align: left;
}

.hero-content h1 {
    color: var(--white);
    font-size: 2.8rem; 
    margin-bottom: 5px; 
    font-weight: 700;
    text-align: left;
}

.hero-content .subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 30px; 
    display: inline-block;
    background-color: var(--teal);
    padding: 8px 20px;
    border-radius: 0; 
}

.hero-content p {
    font-size: 1.05rem; 
    margin-bottom: 20px; 
    line-height: 1.6;
    font-weight: 500; 
    text-align: left;
}

/* ================= SECCIÓN 1: MARCO CONCEPTUAL ================= */
#seccion-1 {
    padding: 100px 0;
    background-color: var(--white);
}

#seccion-1 .section-title {
    font-size: 2.8rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
    text-align: left;
}

#seccion-1 .section-subtitle {
    font-size: 2.8rem;
    color: var(--light-blue);
    margin-bottom: 30px;
    font-weight: 700;
    text-align: left;
}

#seccion-1 .intro-text {
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.05rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.cycle-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
}

.cycle-container::before {
    content: '';
    position: absolute;
    top: 75px; 
    left: 5%;
    right: 5%;
    height: 1px;
    background-color: #d1d5db;
    z-index: 1;
}

.cycle-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 19%;
    z-index: 2; 
    text-align: center;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: 500;
    font-size: .9rem;
    margin-bottom: 25px;
    text-align: center;
    padding: 15px;
    line-height: 1.3;
}

.step-num {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    opacity: 0.9;
}

.step-1 .circle { background-color: var(--c1); }
.step-2 .circle { background-color: var(--c2); }
.step-3 .circle { background-color: var(--c3); }
.step-4 .circle { background-color: var(--c4); }
.step-5 .circle { background-color: var(--c5); }

.cycle-step p.question {
    font-size: 1rem;
    color: #555;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 40px;
}

.cycle-step p.answer {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    font-weight: 500;
}

/* ================= SECCIÓN 2: CÓMO TRABAJAMOS ================= */
#seccion-2 {
    padding: 100px 0;
    background-color: #00abb3; 
    color: var(--white);
}

#seccion-2 .small-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

#seccion-2 .section-title {
    color: var(--white);
    font-size: 2.8rem;
    text-align: left;
    margin-bottom: 25px;
}

#seccion-2 .intro-text {
    color: var(--white);
    font-size: 1.05rem;
    text-align: left;
    margin-bottom: 60px;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.service-card {
    padding: 40px 30px;
    border-radius: 0; 
    text-align: left;
    position: relative;
    box-shadow: none; 
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 500;
}

.service-card .ideal-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.service-card p:last-child {
    margin-bottom: 0;
}

.service-icon {
    position: absolute;
    top: -35px;
    right: 30px;
    width: 75px;
    height: 75px;
    border-radius: 10px; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.service-icon img {
    width: 35px; 
    height: 35px;
    object-fit: contain;
}

.card-asesoria { background-color: #fdf5eb; }
.card-asesoria h3, .card-asesoria .ideal-title { color: #f26f21; }
.card-asesoria .service-icon { background-color: #f26f21; }

.card-consultoria { background-color: #eaf1f8; }
.card-consultoria h3, .card-consultoria .ideal-title { color: #0b3f82; }
.card-consultoria .service-icon { background-color: #0b3f82; }

.card-formacion { background-color: #e4f6f7; }
.card-formacion h3, .card-formacion .ideal-title { color: #00a0ab; }
.card-formacion .service-icon { background-color: #00878f; }

/* ================= SECCIÓN 3: 7 ÁREAS ACORDEONES ================= */
#seccion-3 {
    padding: 100px 0;
    background-color: var(--white);
}

#seccion-3 .section-title {
    font-size: 2.8rem;
    color: var(--primary-blue);
    text-align: left;
    margin-bottom: 25px;
}

#seccion-3 .intro-text {
    text-align: left;
    font-size: 1.05rem;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 50px;
    max-width: 900px;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%; 
}

details {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

details[open] {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background-color: #fff;
    border: 1px solid #e2e8f0;
}

summary {
    padding: 22px 30px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
}

summary:hover {
    background-color: #e2e8f0;
}

details[open] summary {
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    color: var(--teal);
}

summary::after {
    content: '\f078';
    font-family: "FontAwesome";
    color: var(--teal);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

details[open] summary::after {
    transform: rotate(180deg);
}

summary::-webkit-details-marker {
    display: none;
}

.accordion-content {
    padding: 35px 30px;
    color: var(--dark-gray);
}

.accordion-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.area-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

.meta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.meta-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ajustes para iconos fontawesome o imagenes SVG en los tags */
.tag img, .tag i {
    font-size: 0.9rem;
    width: 14px; 
    height: 14px;
}

.tag-journey { background: #f4f7fb; color: #1e3a5f; } 
.tag-critico { background: #fee2e2; color: #ef4444; }
.tag-alto { background: #fef3c7; color: #f59e0b; }
.tag-relevante { background: #e0f2fe; color: #0284c7; }
.tag-base { background: #d3f9e8; color: #00878f; } 

.accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.content-block {
    margin-bottom: 30px;
}

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

.content-block h4 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-block h4 i {
    color: var(--teal);
}

.accordion-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.accordion-content ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 22px;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #334155;
}

.block-familiar ul li::before {
    content: "\f105"; 
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--teal);
}

.block-tendencias ul li::before {
    content: "\f111"; 
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 0.4rem;
    color: var(--primary-blue);
}

.solution-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid var(--teal);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
}

.solution-card h4 {
    color: var(--teal);
}

.solution-card h4 i {
    color: var(--primary-blue);
}

.solution-intro {
    font-style: italic;
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
}

.solution-list li {
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 12px;
    margin-bottom: 12px !important;
}

.solution-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0 !important;
}

.solution-list li::before {
    content: "\f00c"; 
    font-family: "FontAwesome";
    color: var(--teal) !important;
    font-size: 0.9rem !important;
    top: 3px !important;
}

.solution-list strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ================= SECCIÓN 4: PROGRAMAS DE FORMACIÓN ================= */
#seccion-4 {
    position: relative;
    background-image: url('../img/seccion-4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 0;
    z-index: 1;
}

#seccion-4 .overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

#seccion-4 .container {
    position: relative;
    z-index: 2;
}

#seccion-4 .small-subtitle {
    color: #d1d5db; 
}

#seccion-4 .section-title {
    color: var(--white);
    font-size: 2.8rem;
    text-align: left;
    margin-bottom: 25px;
}

#seccion-4 .intro-text {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: left;
}

#seccion-4 .intro-text:last-of-type {
    margin-bottom: 60px; 
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.program-card {
    padding: 50px 40px;
    border-radius: 15px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-card.blue {
    background-color: #084c94; 
}

.program-card.teal {
    background-color: #00aeb3; 
}

.program-card h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.program-card ul {
    list-style: none;
    margin-bottom: 40px;
}

.program-card ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 400;
}

.program-card ul li::before {
    content: "•";
    color: var(--white);
    font-size: 1.5rem; 
    line-height: 1;
    margin-top: -2px; 
}

.program-card .btn-new {
    align-self: flex-start;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ================= SECCIÓN 5: ¿POR QUÉ GESTORÍA? ================= */
#seccion-5 {
    padding: 100px 0;
    background-color: var(--white);
}

#seccion-5 .section-title {
    font-size: 2.8rem;
    color: var(--primary-blue);
    text-align: left;
    margin-bottom: 50px;
}

.reasons-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 60px;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 35px;
}

.reason-number {
    background-color: var(--teal);
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
    min-width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.reason-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 90px;
}

.reason-text h4 {
    color: var(--teal);
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.reason-text p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.5;
    font-weight: 500;
}

/* ================= SECCIÓN 6: BOTTOM CTA ================= */
#bottom-cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-image: url('../img/seccion-6.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    z-index: 1;
}

#bottom-cta .overlay {
    background-color: rgba(11, 63, 130, 0.85);
}

#bottom-cta .container {
    position: relative;
    z-index: 2;
}

#bottom-cta h2 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

#bottom-cta h2 span {
    color: var(--yellow-cta);
}

#bottom-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ================= RESPONSIVIDAD ================= */
@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .cycle-container {
        flex-wrap: wrap;
    }
    .cycle-step {
        width: 30%;
        margin-bottom: 40px;
    }
    .cycle-container::before {
        display: none; 
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .reasons-grid-2col {
        gap: 40px 30px;
    }
    #bottom-cta h2 {
        font-size: 2.5rem;
    }
    .accordion-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    .section-title, #seccion-1 .section-title, #seccion-2 .section-title, #seccion-3 .section-title, #seccion-4 .section-title, #seccion-5 .section-title {
        font-size: 2rem;
    }
    #seccion-1 .section-subtitle {
        font-size: 1.8rem;
    }
    .reasons-grid-2col {
        grid-template-columns: 1fr;
    }
    .cycle-step {
        width: 45%;
    }
    .program-card {
        padding: 30px 20px;
    }
    .program-card h3 {
        font-size: 1.6rem;
    }
    #bottom-cta h2 {
        font-size: 2rem;
    }
    summary {
        font-size: 1.05rem;
        padding: 18px 20px;
    }
    .accordion-content {
        padding: 25px 20px;
    }
    .accordion-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .meta-group {
        align-items: flex-start;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .cycle-step {
        width: 100%;
    }
    .reason-item {
        flex-direction: column;
    }
    .reason-number {
        margin-bottom: 15px;
    }
}