/* ==========================================
   Conoce Honduras - Specific Styles
   ========================================== */

/* ------------------------------------------
   Hero Section Variation
   ------------------------------------------ */

.ahc-hero-v2 {
    background-position: center;
    background-image: url('../assets/img/conoce-honduras/hero-banner.webp');
    background-size: cover;
    color: var(--white);
    position: relative;
    z-index: 1;
    border-radius: 24px;
    max-width: 1280px;
    margin: 60px auto 50px;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        border-radius: 24px;
        background: linear-gradient(90deg, rgba(26, 64, 115, 0.7) 50%, rgba(26, 64, 115, 0) 100%);
    }

    & .ahc-container {
        padding: 50px 110px;

        @media (max-width: 600px) {
            padding: 50px 25px;
        }
    }

    & .ahc-hero-subtitle {
        font-weight: 400;
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    & .ahc-hero-title {
        font-weight: 700;
        font-size: 40px;
        line-height: 45px;
        color: var(--lighter-blue);
        max-width: 600px;
        margin-bottom: 18px;

        @media (max-width: 600px) {
            font-size: 39px;
        }
    }

    & .ahc-hero-description {
        font-family: Lato;
        font-weight: 400;
        font-size: 20px;
        line-height: 28px;
        max-width: 600px;
    }
}




/* ------------------------------------------
   Generic Featured Text Variation
   ------------------------------------------ */
.ahc-featured-text {
    padding: 60px 0;
}

.ahc-featured-text-blue {
    background-color: var(--white);
    color: var(--light-blue);
}

.ahc-featured-text-blue .ahc-text-center {
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    max-width: 1050px;
    margin: 0 auto;
}

/* ------------------------------------------
   Generic Spacing & Headers
   ------------------------------------------ */
.ahc-section-spacing {
    padding: 80px 0;
}

.ahc-section-header {
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ahc-pretitle {
    font-size: 20px;
    line-height: 28px;
    color: var(--light-blue);
}

.ahc-title {
    font-size: 40px;
    line-height: 45px;
    text-align: center;
    margin-bottom: 18px;
}

.ahc-title-red {
    color: var(--accent-red);
}

.ahc-title-blue {
    color: var(--primary-blue);
}

.ahc-section-header p {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
}

/* ------------------------------------------
   Generic Image-Text Layout
   ------------------------------------------ */
.ahc-image-text-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
}

.ahc-image-col {
    flex: 1;
}

.ahc-image-col img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.ahc-text-col {
    flex: 1;
}

.ahc-text-col h2 {
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.02em;
}

.ahc-blue-color {
    color: var(--primary-blue);

}

.ahc-text-col p {
    font-size: 20px;
    line-height: 28px;

}

.ahc-text-col p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .ahc-image-text-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* ------------------------------------------
   Generic Card Grid & Cards
   ------------------------------------------ */
.ahc-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ahc-card {
    background: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ahc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 24px 0px #3D61A340;
}

.ahc-requisitos .ahc-card.ahc-card-border:nth-child(odd) {
    border-color: var(--accent-red);
}

/* Image variant */

.ahc-card-shadow {
    box-shadow:
        0 1px 3px rgba(0, 29, 77, 0.10),
        0 5px 5px rgba(0, 29, 77, 0.09),
        0 12px 7px rgba(0, 29, 77, 0.05),
        0 21px 8px rgba(0, 29, 77, 0.01);
}

.ahc-card-border {
    border: 1px solid var(--primary-blue);
    border-radius: 24px;
}

.ahc-card-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    padding: 24px 24px 0;
}

.ahc-card-content {
    padding: 16px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ahc-card-content-center {
    align-items: center;
    text-align: center;
}

.ahc-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.ahc-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* Button inside card */
.ahc-card .ahc-btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

/* ------------------------------------------
   Icon Card Variant (Requisitos)
   ------------------------------------------ */
.ahc-card-icon-variant {
    padding: 24px;
}

.ahc-card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ahc-icon-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

/* Background Utility Classes for Icons */

.ahc-requisitos-footer {
    color: var(--light-blue);
    margin-top: 40px;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    max-width: 1000px;
    margin: 40px auto 0;
}


.ahc-cta-help {
    background-color: var(--primary-blue);
    padding: 80px 40px;
    text-align: center;
    color: white;
    border-radius: 24px 24px 0 0;
    max-width: 100%;
    margin-bottom: -30px;
    /* Para que quede atrás del footer */

    & h2 {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 20px;
        font-weight: 700;
        color: var(--white, #fff);
    }

    & p {
        font-family: var(--font-heading);
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 40px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        font-weight: 600;
    }

    & .ahc-cta-help-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;

        & svg {
            margin-right: 8px;
            vertical-align: middle;
        }

        @media (max-width: 600px) {
            flex-direction: column;
        }
    }
}

/* ------------------------------------------
   Responsive Adjustments
   ------------------------------------------ */
@media (max-width: 991px) {
    .ahc-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ahc-card-grid {
        grid-template-columns: 1fr;
    }

    .ahc-section-spacing {
        padding: 60px 0;
    }
}