@charset "utf-8";
/* CSS Document — Fresco redesign */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=DM+Sans:wght@300;400;500&display=swap');

@font-face {
    font-family: 'Glober';
    src: url('../../fonts/GloberRegular.eot');
    src: url('../../fonts/GloberRegular.eot?#iefix') format('embedded-opentype'),
         url('../../fonts/GloberRegular.woff2') format('woff2'),
         url('../../fonts/GloberRegular.woff') format('woff'),
         url('../../fonts/GloberRegular.ttf') format('truetype'),
         url('../../fonts/GloberRegular.svg#GloberRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glober xBold';
    src: url('../../fonts/GloberxBold.eot');
    src: url('../../fonts/GloberxBold.eot?#iefix') format('embedded-opentype'),
         url('../../fonts/GloberxBold.woff2') format('woff2'),
         url('../../fonts/GloberxBold.woff') format('woff'),
         url('../../fonts/GloberxBold.ttf') format('truetype'),
         url('../../fonts/GloberxBold.svg#GloberxBold') format('svg');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
    --red:        #DC023D;
    --red-dark:   #a80030;
    --red-deeper: #8a0027;
    --white:      #FFFFFF;
    --off-white:  #FFFFFF;
    --ink:        #25303B;
    --card-bg:    rgba(255,255,255,0.10);
    --card-hover: rgba(255,255,255,0.16);
    --radius:     1.75rem;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Base ────────────────────────────────────────────────── */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--red);
    background-image:
        radial-gradient(ellipse at 0% 0%, rgba(255,255,255,0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(0,0,0,0.18) 0%, transparent 55%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
    line-height: 1.5;
    min-height: 100vh;
    font-size: max(15px, 1rem);
    font-family: 'DM Sans', 'Glober', 'PT Sans', sans-serif;
}

body * {
    transition: color var(--transition), background var(--transition), opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    font-family: 'DM Sans', 'Glober', 'PT Sans', sans-serif;
}

.container-xxl {
    max-width: 1420px;
}

/* ─── Links & Nav ─────────────────────────────────────────── */
a,
a:hover,
a:focus,
a:active,
a:visited,
.nav-link,
.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.nav-link:visited {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
}

.nav-link.active {
    color: var(--white);
    font-weight: 600;
    opacity: 1;
    pointer-events: none;
}

.nav-link:hover {
    text-decoration: none;
    opacity: 1;
}

.nav-link.active:hover {
    text-decoration: none;
}

.nav-item {
    display: flex;
    align-items: center;
    letter-spacing: 0.03em;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-item:after {
    content: "|";
    opacity: .2;
    margin: 0 0.5rem;
}

.nav-item:last-child:after {
    content: "";
}

/* ─── Logo ────────────────────────────────────────────────── */
h1.logo {
    pointer-events: none;
}

h1.logo img {
    height: auto;
    width: 13rem;
    min-width: 160px;
}

/* ─── Typography ──────────────────────────────────────────── */
.lead,
strong,
h2 {
    font-family: 'Montserrat', 'Glober xBold', 'PT Sans', sans-serif;
}

.lead {
    font-size: max(17px, 1.125rem);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.65;
    color: rgba(255,255,255,0.80);
    letter-spacing: 0.01em;
}

/* ─── Buttons / Cards ─────────────────────────────────────── */
.row.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* PC: pastillas una al lado de la otra */
.row.buttons > * {
    flex: 1 1 calc(50% - 1.25rem);
    max-width: calc(50% - 1.25rem);
}

/* Enlace / tarjeta */
.row.buttons a {
    display: block;
    width: 100%;
    padding: 2.75rem 2.5rem;
    height: 100%;
    position: relative;
    color: var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
}

/* Fondo de cada pastilla */
.row.buttons a:before {
    content: "";
    display: block;
    background-color: var(--off-white);
    background-image: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
    border-radius: var(--radius);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.06),
        0 12px 40px rgba(0,0,0,0.18);
    opacity: 1;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.row.buttons a:hover:before {
    transform: translateY(-4px) scale(1.01);
    background-color: #FFFFFF;
    box-shadow:
        0 4px 8px rgba(0,0,0,0.08),
        0 24px 56px rgba(0,0,0,0.26);
}

/* Number badge */
.row.buttons a:after {
    content: attr(data-num);
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--red);
    opacity: 0.07;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.row.buttons h2 {
    line-height: 1.1;
    color: var(--red);
    font-size: max(20px, 1.75rem);
    margin-bottom: .6em;
    font-family: 'Montserrat', 'Glober xBold', 'PT Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.row.buttons h2 span {
    font-size: max(15px, 1rem);
    font-family: 'DM Sans', 'Glober', 'PT Sans', sans-serif;
    font-weight: 400;
    color: var(--ink);
    opacity: 0.55;
    display: block;
    margin-bottom: 0.15em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.row.buttons p {
    font-size: max(14px, 0.9375rem);
    padding: 0;
    color: var(--ink);
    opacity: 0.7;
    line-height: 1.6;
    font-weight: 400;
}

/* Arrow link hint */
.row.buttons a .arrow-hint {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.03em;
    opacity: 0.9;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
    background: rgba(0,0,0,0.20);
    color: rgba(255,255,255,0.75);
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.footer li:after {
    content: "|";
    padding: .5rem;
    opacity: 0.3;
}

.footer li:last-child:after {
    content: "";
}

.footer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ─── Animations ──────────────────────────────────────────── */
.animate-opacity {
    animation: opac 0.7s cubic-bezier(0.4,0,0.2,1);
    animation-fill-mode: forwards;
}

.animate-opacity-2 {
    animation: opac-up 0.7s cubic-bezier(0.4,0,0.2,1);
    animation-delay: 0.25s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes opac {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes opac-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .row.buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .row.buttons > * {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .row.buttons a {
        padding: 2rem 1.75rem;
    }

    .nav-item {
        font-size: max(13px, 0.8125rem);
    }

    .footer ul {
        flex-direction: column;
        font-size: max(13px, 0.8125rem);
    }

    .footer ul li {
        margin-bottom: .35em;
    }

    .footer ul li:after {
        content: none;
    }
}