.cr-hero {
    min-height: 62vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cr-hero-image,
.cr-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cr-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 234, 189, .25), transparent 45%),
        linear-gradient(180deg, rgba(16, 24, 34, .76), rgba(16, 24, 34, .44));
}

.cr-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 860px;
    padding-top: 90px;
    padding-bottom: 36px;
}

.cr-kicker {
    margin: 0 0 10px;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #f7e7c4;
    font-weight: 700;
}

.cr-hero-content h1 {
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 5vw, 4rem);
}

.cr-hero-content p {
    margin: 0 auto;
    max-width: 58ch;
    color: #e8eef6;
}

.cr-card {
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 24px rgba(17, 45, 75, 0.08);
}

.cr-card p + p {
    margin-top: 10px;
}

.cr-intro {
    padding-top: 40px;
    padding-bottom: 24px;
}

.cr-split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: start;
}

.cr-text h2 {
    margin-bottom: 10px;
    color: #12385c;
}

.cr-text p {
    color: #4b6078;
    line-height: 1.68;
}

.cr-text p + p {
    margin-top: 10px;
}

.cr-rincones {
    padding-top: 34px;
    padding-bottom: 42px;
}

.cr-gallery-wrap {
    position: relative;
    padding: 0 10px;
}

.cr-gallery {
    padding: 4px 0 10px;
}

.cr-gallery a {
    display: block;
}

.cr-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dce8f7;
}

.cr-gallery .owl-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cr-gallery .owl-nav button.owl-prev,
.cr-gallery .owl-nav button.owl-next {
    pointer-events: all;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px !important;
    border: 1px solid #d0e0f3 !important;
    background: #fff !important;
    color: #244c73 !important;
    box-shadow: 0 8px 16px rgba(17, 45, 75, 0.12);
}

.cr-gallery .owl-nav button.owl-prev {
    left: -18px;
}

.cr-gallery .owl-nav button.owl-next {
    right: -18px;
}

.cr-gallery .owl-nav button.owl-prev:hover,
.cr-gallery .owl-nav button.owl-next:hover {
    background: #f3f8fe !important;
}

.cr-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cr-story {
    padding-top: 42px;
    padding-bottom: 34px;
}

.cr-card h2 {
    color: #12385c;
    margin-bottom: 12px;
}

.cr-card img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #dce8f7;
    margin-bottom: 12px;
}

.cr-card p {
    color: #4b6078;
    line-height: 1.66;
}

.cr-top {
    margin-bottom: 16px;
}

.cr-top h2 {
    color: #12385c;
    margin-bottom: 8px;
}

.cr-top p {
    color: #4b6078;
}

.cr-alliances-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cr-aliados {
    padding-top: 34px;
    padding-bottom: 46px;
}

.ally-card {
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 20px rgba(17, 45, 75, 0.08);
    display: grid;
    gap: 8px;
}

.ally-card img {
    width: 100%;
    height: 96px;
    object-fit: contain;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4fd 100%);
    border: 1px solid #d9e6f7;
    padding: 10px;
    filter: drop-shadow(0 1px 1px rgba(8, 24, 43, 0.28));
}

.ally-card img.logo-light {
    background: linear-gradient(180deg, #294462 0%, #1f354e 100%);
    border-color: #355375;
    padding: 12px;
    filter: drop-shadow(0 2px 4px rgba(5, 12, 21, 0.35));
}

.ally-card h3 {
    margin: 0;
    color: #183f65;
    font-size: 1rem;
}

.ally-card p {
    margin: 0;
    color: #4b6078;
    line-height: 1.52;
    font-size: .95rem;
}

.ally-card-link {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #1b4f7f;
    color: #1b4f7f;
    background: #f4f9ff;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ally-card-link:hover {
    transform: translateY(-1px);
    background: #eaf4ff;
    box-shadow: 0 8px 18px rgba(17, 45, 75, 0.12);
}

@media (max-width: 980px) {
    .cr-split,
    .cr-story-grid {
        grid-template-columns: 1fr;
    }

    .cr-alliances-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cr-gallery-wrap {
        padding: 0 6px;
    }
}

@media (max-width: 640px) {
    .cr-intro {
        padding-top: 26px;
        padding-bottom: 12px;
    }

    .cr-rincones {
        padding-top: 22px;
        padding-bottom: 26px;
    }

    .cr-gallery-wrap {
        padding: 0;
    }

    .cr-gallery img {
        height: 170px;
    }

    .cr-gallery .owl-nav button.owl-prev {
        left: 4px;
    }

    .cr-gallery .owl-nav button.owl-next {
        right: 4px;
    }

    .cr-story,
    .cr-aliados {
        padding-top: 22px;
        padding-bottom: 26px;
    }

    .cr-alliances-grid {
        grid-template-columns: 1fr;
    }
}
