@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fundacion/figtree-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fundacion/figtree-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fundacion/figtree-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fundacion/figtree-700.ttf') format('truetype');
}

:root {
    --page-width: 1384px;
}

.fundacion-body {
    font-family: 'Figtree', Arial, sans-serif;
}

.main-nav a {
    font-size: 18px;
    font-weight: 500;
}

.header-actions a,
.font-size-action {
    font-size: 14px;
}

.primary-action {
    font-size: 14px;
}

.shell,
.content-width {
    box-sizing: border-box;
    width: min(calc(100% - 48px), var(--page-width));
    max-width: none;
    margin-inline: auto;
}

.site-header,
.site-footer {
    padding-inline: max(24px, calc((100vw - var(--page-width)) / 2));
}

.header-actions {
    gap: 12px;
}

.header-actions .text-action {
    color: #ff6300;
}

.header-actions .outline-action {
    padding: 12px 14px;
    background: #faf7f5;
    border: 0;
    border-radius: 12px;
}

.header-actions .primary-action {
    padding: 12px 16px;
    border-radius: 12px;
}

.font-size-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #ff6300;
    background: #fff;
    border: 1px solid #ff6300;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
}

.benefits > h2 {
    max-width: none;
}

.site-footer {
    font-size: 14px;
}

.exclusive {
    width: min(calc(100% - 48px), 1032px);
    margin-top: 72px;
    margin-right: auto;
    margin-left: auto;
}

/* El contenido editorial del inicio usa la retícula interna de 1032 px. */
.feature-shell,
.news {
    width: min(calc(100% - 48px), 1032px);
    margin-right: auto;
    margin-left: auto;
}

.benefits {
    width: auto;
    max-width: none;
    margin-right: max(24px, calc((100vw - var(--page-width)) / 2));
    margin-left: max(24px, calc((100vw - 1032px) / 2));
}

.feature-slide {
    grid-template-columns: repeat(2, 516px);
    min-height: 436px;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}

.feature-slide > img {
    height: 436px;
    border-radius: 24px;
}

.feature-slide > div {
    box-sizing: border-box;
    min-height: 436px;
    padding: 70px 48px;
}

.benefit-card {
    min-width: calc((100% - 60px) / 3.5);
    min-height: 344px;
    padding: 32px;
    border-radius: 24px;
}

.benefit-card h3 {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 40px;
}

.benefit-card p {
    font-size: 16px;
    line-height: 20px;
}

.news-card {
    overflow: visible;
    border-radius: 0;
}

.news-card img {
    height: 182px;
    border-radius: 16px;
}

.exclusive-static {
    display: grid;
    grid-template-columns: repeat(2, 516px);
    min-height: 564px;
}

.exclusive-media-carousel {
    position: relative;
    width: 516px;
    height: 564px;
    overflow: hidden;
    border-radius: 18px 0 0 18px;
}

.exclusive-media-carousel .carousel-window,
.exclusive-media-carousel .carousel-track {
    height: 100%;
}

.exclusive-media-carousel .exclusive-media {
    flex: 0 0 100%;
    width: 100%;
}

.exclusive-media {
    position: relative;
    height: 564px;
}

.exclusive-media::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: '';
    background: rgba(255, 99, 0, .18);
}

.exclusive-media > img {
    display: block;
    width: 100%;
    height: 564px;
    object-fit: cover;
    border-radius: 18px 0 0 18px;
}

.exclusive-promo {
    position: absolute;
    z-index: 1;
    right: 16px;
    bottom: 16px;
    left: 16px;
    box-sizing: border-box;
    width: auto;
    min-height: 236px;
    padding: 30px 36px;
    color: #fff;
    background: rgba(91, 64, 43, .42);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 24px;
    backdrop-filter: blur(8px);
}

.exclusive-media-carousel .carousel-controls {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    width: auto;
    margin: 0;
}

.exclusive-media-carousel .carousel-buttons {
    gap: 8px;
}

.exclusive-media-carousel .carousel-buttons button {
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 12px;
}

.exclusive-promo h2,
.exclusive-promo p {
    margin: 0;
}

.exclusive-promo h2 {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.exclusive-promo p {
    max-width: 370px;
    font-size: 14px;
    line-height: 1.4;
}

.exclusive-info {
    box-sizing: border-box;
    min-height: 564px;
    padding: 32px;
    color: #23334d;
    background: #fff;
    border: 1px solid #e4e8ee;
    border-left: 0;
    border-radius: 0 18px 18px 0;
}

.exclusive-info h3 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.exclusive-info > p {
    margin: 0;
    color: #65748c;
    font-size: 14px;
    line-height: 1.4;
}

.exclusive-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
    padding: 64px 0 0;
    margin: 0;
    list-style: none;
}

.exclusive-pillars li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.15;
}

.exclusive-pillars i {
    color: #ff6300;
    font-size: 20px;
    line-height: .9;
}

.exclusive-pillars strong {
    font-weight: 600;
}

.exclusive-pillars li:nth-child(even) i,
.exclusive-pillars li:nth-child(even) strong {
    color: #23334d;
}

.quick-links i,
.footer-contact i,
.primary-action i,
.icon-action i,
.carousel-buttons i {
    display: inline-block;
    flex: 0 0 auto;
}

.quick-links i {
    font-size: 24px;
    line-height: 1;
}

.footer-contact i {
    color: #ff6300;
    font-size: 20px;
    margin-right: 6px;
    vertical-align: middle;
}


.primary-action i,
.icon-action i,
.carousel-buttons i {
    font-size: 18px;
    line-height: 1;
}

.carousel-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ff6300;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .feature-shell,
    .news {
        width: calc(100% - 48px);
    }

    .exclusive-static {
        grid-template-columns: 1fr;
    }

    .feature-slide {
        grid-template-columns: 1fr;
    }

    .feature-slide > img,
    .feature-slide > div {
        min-height: auto;
    }

    .feature-slide > img {
        height: 360px;
    }

    .benefit-card {
        min-width: 100%;
        min-height: 0;
    }

    .exclusive-media-carousel {
        width: 100%;
        height: 360px;
        overflow: visible;
        border-radius: 18px 18px 0 0;
    }

    .exclusive-media,
    .exclusive-media > img,
    .exclusive-info {
        min-height: auto;
        height: auto;
    }

    .exclusive-media > img {
        height: 360px;
        border-radius: 18px 18px 0 0;
    }

    .exclusive-info {
        border-left: 1px solid #e4e8ee;
        border-radius: 0 0 18px 18px;
    }
}

@media (max-width: 560px) {
    .exclusive {
        width: calc(100% - 48px);
        margin-inline: auto;
    }

    .exclusive-promo,
    .exclusive-info {
        padding: 24px;
    }

    .exclusive-pillars {
        gap: 24px 16px;
        padding-top: 30px;
    }
}
