* {
    box-sizing: border-box;
}

:root {
    --side-gutter: clamp(18px, 4vw, 72px);
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f232b;
    background-color: #f3f3f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
}

.site {
    width: min(100% - 28px, 1280px);
    max-width: 1280px;
    margin: 0 auto;
    background: #f3f3f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.header {
    padding: 20px var(--side-gutter) 14px calc(var(--side-gutter) - 20px);
    font-weight: 800;
    font-size: 46px;
    line-height: 1;
    letter-spacing: -0.2px;
    color: #0d2135;
}

.header .reg {
    font-size: 28px;
    vertical-align: top;
}

/* HERO */
.hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 420px;
    background-color: #f3f3f5;
    background-image: linear-gradient(to right, rgba(245, 245, 246, 0.98) 0%, rgba(245, 245, 246, 0.94) 18%, rgba(245, 245, 246, 0.78) 30%, rgba(245, 245, 246, 0.42) 44%, rgba(245, 245, 246, 0.12) 58%, rgba(245, 245, 246, 0.02) 68%), url("compressed_header.webp");
    background-size: cover;
    background-position: 50% center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    padding: 0;
    position: relative;
}

@media (min-width: 1400px) {
    .hero {
        background-size: cover, 100% auto;
        background-position: 50% center, 86% center;
    }
}

.hero-inner {
    width: min(100% - 28px, 1280px);
    margin: 0 auto;
}

.hero-text {
    width: min(58%, 760px);
    margin-left: 0;
    padding: 44px 72px 56px var(--side-gutter);
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 52px;
    line-height: 1;
    letter-spacing: -0.6px;
    color: #041c32;
    font-weight: 700;
}

.hero-kicker {
    display: block;
}

.hero-emphasis {
    display: inline-block;
    width: fit-content;
    padding-bottom: 4px;
    border-bottom: 3px solid currentColor;
}

.hero p {
    margin: 0 0 26px;
    font-size: 19px;
    line-height: 1.5;
    color: #252a31;
}

/* Disimula un posible artefacto oscuro en la esquina superior izquierda de la imagen. */
.hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: radial-gradient(circle at top left, rgba(245, 245, 246, 1) 45%, rgba(245, 245, 246, 0) 100%);
    pointer-events: none;
}



.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 4px;
    background-color: #03254a;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.button-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.button:hover {
    background-color: #0a3462;
    transform: translateY(-1px);
}

/* INFO BLOCK */
.section {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid #dddddf;
    background: #f3f3f5;
    align-items: start;
    padding-inline: var(--side-gutter);
}

.column {
    padding: 32px 28px 28px;
    border-right: 1px solid #d5d6d9;
}

.column:last-child {
    border-right: 0;
}

.icon {
    width: 34px;
    height: 34px;
    color: #363d49;
    margin-bottom: 6px;
}

.column h3 {
    margin: 12px 0 12px;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #1e232b;
    font-weight: 700;
    text-transform: uppercase;
}

.column p,
.column li {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.column li {
    margin-bottom: 2px;
}

.column ul {
    margin: 0 0 8px;
    padding-left: 20px;
}

/* TEAM */
.team-section {
    background: #f3f3f5;
    padding: 34px var(--side-gutter) 10px;
    border-top: 1px solid #dddddf;
}

.team-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.team-title {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #0d2135;
    font-weight: 800;
}

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

.team-card {
    min-height: 320px;
    background: #f8f8f9;
    border: 1px solid #dfe0e4;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 1px 0 rgba(13, 33, 53, 0.03);
}

.team-photo-slot {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a808a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card:nth-child(1) .team-photo-slot,
.team-card:nth-child(2) .team-photo-slot,
.team-card:nth-child(3) .team-photo-slot {
    aspect-ratio: 4 / 3.25;
}

.team-card:nth-child(1) .team-photo {
    object-position: center 48%;
}

.team-card:nth-child(2) .team-photo {
    object-position: 66% center;
}

.team-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    color: #0d2135;
    font-weight: 800;
}

.team-card p {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: #525861;
}


/* FOOTER */
.footer {
    border-top: 1px solid #dddddf;
    background: #ececef;
    padding: 18px var(--side-gutter);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2d323a;
    font-size: 16px;
    margin-top: auto;
}

.footer-icon {
    width: 22px;
    height: 22px;
    color: #2d323a;
    flex: 0 0 auto;
}

@media (max-width: 1200px) {
    .header {
        font-size: 36px;
    }

    .header .reg {
        font-size: 22px;
    }

    .hero {
        min-height: 360px;
        background-position: 62% center;
        background-size: cover;
    }

    .hero-text {
        width: min(56%, 600px);
        padding: 40px 35px 40px var(--side-gutter);
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
    .header {
        font-size: 32px;
    }

    .hero {
        min-height: 380px;
    }

    .hero-text {
        width: 100%;
        margin-left: 0;
        padding: 40px var(--side-gutter);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .column {
        padding: 28px 20px 24px;
    }

    .column h3 {
        font-size: 14px;
    }

    .column p,
    .column li {
        font-size: 14px;
    }

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .team-card {
        min-height: 300px;
    }

    .team-card h3 {
        font-size: 16px;
    }

    .team-card p {
        font-size: 14px;
    }

}

@media (max-width: 768px) {
    .header {
        font-size: 28px;
        padding: 18px var(--side-gutter) 18px calc(var(--side-gutter) - 10px);
    }

    .hero {
        min-height: 320px;
    }

    .hero-text {
        width: 100%;
        margin-left: 0;
        padding: 32px var(--side-gutter);
    }

    .hero h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .button {
        padding: 12px 24px;
        font-size: 16px;
    }

    .section {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .column {
        padding: 24px 16px 20px;
        border-right: 0;
        border-bottom: 1px solid #d5d6d9;
        height: 100%;
    }

    .column:nth-child(odd) {
        border-right: 1px solid #d5d6d9;
    }

    .column:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .column h3 {
        font-size: 13px;
    }

    .column p,
    .column li {
        font-size: 13px;
    }

    .footer {
        font-size: 14px;
        padding: 16px var(--side-gutter);
    }

    .team-section {
        padding-top: 28px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        min-height: auto;
        padding: 16px;
    }

    .team-card h3 {
        font-size: 16px;
    }

    .team-card p {
        font-size: 13px;
    }

}

@media (max-width: 480px) {
    .header {
        font-size: 24px;
        padding: 16px var(--side-gutter) 12px calc(var(--side-gutter) - 10px);
    }

    .hero {
        min-height: 280px;
    }

    .hero-text {
        margin-left: 0;
        padding: 24px var(--side-gutter);
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .button {
        padding: 11px 20px;
        font-size: 15px;
    }

    .section {
        grid-template-columns: 1fr;
    }

    .column {
        padding: 20px 14px 18px;
        border-right: 0;
        border-bottom: 1px solid #d5d6d9;
    }

    .column:nth-child(odd) {
        border-right: 0;
    }

    .column:last-child {
        grid-column: auto;
    }

    .column h3 {
        font-size: 12px;
        margin: 10px 0 8px;
    }

    .column p,
    .column li {
        font-size: 12px;
    }

    .icon {
        width: 28px;
        height: 28px;
    }

    .footer {
        font-size: 12px;
        padding: 12px var(--side-gutter);
        gap: 6px;
    }

    .footer-icon {
        width: 18px;
        height: 18px;
    }

    .team-section {
        padding-top: 22px;
    }

    .team-title {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .team-photo-slot {
        margin-bottom: 12px;
        font-size: 12px;
    }

}


