:root {
    --bg: #f4f7fb;
    --white: #ffffff;

    --blue: #123e7a;
    --blue-dark: #0c2f61;
    --blue-soft: #eaf1fb;

    --red: #e3222a;
    --red-soft: #fff0f1;

    --text: #172033;
    --muted: #667085;
    --line: #e4e8ef;

    --shadow:
        0 20px 60px rgba(15, 35, 65, 0.10);

    --shadow-soft:
        0 10px 30px rgba(15, 35, 65, 0.07);

    --radius: 26px;
}


/* RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    background: var(--bg);
    color: var(--text);

    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}


/* PÁGINA */

.page {
    min-height: 100vh;

    width: 100%;

    padding: 28px 5% 25px;
}


/* HEADER */

.header {
    max-width: 1280px;

    margin: 0 auto;

    padding: 4px 0 24px;

    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    width: 240px;
    height: auto;

    object-fit: contain;
}

.services {
    margin: 0;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.4px;

    color: var(--blue);

    white-space: nowrap;
}


/* HERO */

.hero {
    width: 100%;
}

.hero-content {
    max-width: 1280px;

    margin: 0 auto;

    padding: 70px 0 55px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(380px, 0.95fr);

    grid-template-areas:
        "text visual"
        "cta visual";

    align-items: center;

    column-gap: 75px;
    row-gap: 24px;
}


/* TEXTO */

.hero-text {
    grid-area: text;

    max-width: 680px;
}

.eyebrow {
    margin: 0 0 16px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 4px;

    color: var(--red);
}

h1 {
    margin: 0 0 28px;

    max-width: 690px;

    font-size: clamp(48px, 5.3vw, 76px);
    line-height: 0.98;

    letter-spacing: -3.2px;

    color: var(--blue-dark);
}

h1 span {
    display: block;

    color: var(--blue);
}

.description {
    max-width: 650px;

    margin: 0 0 20px;

    font-size: 17px;
    line-height: 1.75;

    color: var(--muted);
}

.description strong {
    color: var(--blue-dark);
}


/* CTA */

.hero-cta {
    grid-area: cta;

    position: relative;

    display: inline-flex;
    flex-direction: column;

    justify-self: start;

    margin-top: 0;

    padding: 18px 24px 18px 27px;

    border-radius: 14px;

    background: var(--white);

    box-shadow: var(--shadow-soft);

    overflow: hidden;
}

.hero-cta::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: var(--red);
}

.hero-cta span {
    margin-bottom: 3px;

    font-size: 14px;

    color: var(--muted);
}

.hero-cta strong {
    font-size: 28px;
    line-height: 1.1;

    color: var(--blue-dark);
}


/* VISUAL */

.hero-visual {
    grid-area: visual;

    min-height: 480px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-background {
    position: absolute;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(235, 242, 252, 0.95) 35%,
            rgba(220, 232, 248, 0.65) 58%,
            rgba(220, 232, 248, 0) 74%
        );
}

.visual-background::before {
    content: "";

    position: absolute;

    width: 78%;
    height: 78%;

    top: 11%;
    left: 11%;

    border: 1px solid rgba(18, 62, 122, 0.08);

    border-radius: 50%;
}

.visual-background::after {
    content: "";

    position: absolute;

    width: 54%;
    height: 54%;

    top: 23%;
    left: 23%;

    border: 1px solid rgba(227, 34, 42, 0.07);

    border-radius: 50%;
}

.hero-visual img {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 470px;

    max-height: 500px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 24px 25px rgba(18, 42, 75, 0.14)
        );
}


/* CONTACTO */

.contact {
    max-width: 1280px;

    margin: 0 auto;

    padding-bottom: 32px;
}

.contact-card {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.45fr
        1fr;

    gap: 0;

    padding: 30px 34px;

    background: var(--white);

    border: 1px solid rgba(18, 62, 122, 0.06);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.contact-item {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 6px;

    padding: 4px 28px;
}

.contact-item:first-child {
    padding-left: 0;
}

.contact-item:last-child {
    padding-right: 0;
}

.contact-item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 4px;
    right: 0;

    width: 1px;
    height: calc(100% - 8px);

    background: var(--line);
}

.contact-label {
    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    color: var(--blue);
}

.contact-item a {
    font-size: 15px;
    line-height: 1.5;

    color: var(--text);

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-item a:hover {
    color: var(--red);
}

.contact-item p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;

    color: var(--muted);
}


/* FOOTER */

.footer {
    max-width: 1280px;

    margin: 0 auto;

    padding: 20px 0 5px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--line);

    font-size: 12px;

    letter-spacing: 1px;

    color: #98a2b3;
}


/* EFECTOS */

.logo,
.hero-visual img,
.hero-cta,
.contact-card {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-visual img:hover {
    transform: translateY(-4px);
}

.hero-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 35px rgba(15, 35, 65, 0.10);
}


/* RESPONSIVE TABLET */

@media (max-width: 1050px) {

    .hero-content {
        grid-template-columns: 1fr 0.8fr;

        grid-template-areas:
            "text visual"
            "cta visual";

        column-gap: 45px;
        row-gap: 24px;
    }

    .logo {
        width: 215px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-visual img {
        max-width: 400px;
    }

    .visual-background {
        width: 360px;
        height: 360px;
    }

    .contact-card {
        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 32px;
    }

    .contact-item {
        padding: 5px 25px;
    }

    .contact-item:nth-child(2)::after {
        display: none;
    }

    .contact-item:nth-child(3) {
        padding-left: 0;
    }
}


/* RESPONSIVE MÓVIL / TABLET */

@media (max-width: 820px) {

    .page {
        padding: 20px 6%;
    }

    .brand {
        flex-direction: column;
        align-items: flex-start;

        gap: 14px;
    }

    .services {
        white-space: normal;

        font-size: 12px;
    }

    .hero-content {
        grid-template-columns: 1fr;

        grid-template-areas:
            "text"
            "visual"
            "cta";

        gap: 25px;

        padding: 50px 0 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    h1 {
        max-width: 100%;

        font-size: clamp(46px, 10vw, 64px);

        letter-spacing: -2.3px;
    }

    .description {
        max-width: 100%;
    }

    .hero-visual {
        min-height: 360px;
    }

    .hero-visual img {
        max-width: 370px;
    }

    .visual-background {
        width: 320px;
        height: 320px;
    }

    .hero-cta {
        width: 100%;
    }

    .contact-card {
        grid-template-columns: 1fr 1fr;

        padding: 28px;
    }
}


/* RESPONSIVE MÓVIL */

@media (max-width: 560px) {

    .page {
        padding:
            18px
            20px
            22px;
    }

    .header {
        padding-bottom: 20px;
    }

    .logo {
        width: 190px;
    }

    .services {
        line-height: 1.5;
    }

    .hero-content {
        grid-template-areas:
            "text"
            "visual"
            "cta";

        gap: 20px;

        padding: 38px 0 30px;
    }

    .eyebrow {
        margin-bottom: 12px;

        font-size: 11px;

        letter-spacing: 3px;
    }

    h1 {
        margin-bottom: 22px;

        font-size: clamp(42px, 13vw, 54px);

        line-height: 1;

        letter-spacing: -1.8px;
    }

    .description {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-visual {
        min-height: 290px;
    }

    .hero-visual img {
        max-width: 300px;
    }

    .visual-background {
        width: 270px;
        height: 270px;
    }

    .hero-cta {
        width: 100%;

        padding: 17px 20px 17px 24px;
    }

    .hero-cta strong {
        font-size: 25px;
    }

    .contact {
        padding-bottom: 25px;
    }

    .contact-card {
        grid-template-columns: 1fr;

        gap: 0;

        padding: 8px 24px;

        border-radius: 20px;
    }

    .contact-item {
        padding: 22px 0;

        border-bottom: 1px solid var(--line);
    }

    .contact-item:last-child {
        border-bottom: none;
    }

    .contact-item:not(:last-child)::after {
        display: none;
    }

    .contact-item:nth-child(3) {
        padding-left: 0;
    }

    .footer {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

        padding-top: 18px;
    }
}