/* ============================================================
   FUENTES LOCALES
   ============================================================ */

@font-face {
    font-family: "DM Sans";
    src: url("assets/fonts/DMSans_18pt-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("assets/fonts/DMSans_18pt-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("assets/fonts/DMSans_18pt-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("assets/fonts/DMSans_18pt-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Newsreader";
    src: url("assets/fonts/Newsreader_14pt-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* ============================================================
   VARIABLES Y CONFIGURACIÓN GENERAL
   ============================================================ */

:root {
    --ink: #182632;
    --ink-soft: #2b3944;
    --muted: #505b63;
    --line: #dfe6eb;
    --line-strong: #cbd6dd;
    --surface: #f6f9fb;
    --white: #ffffff;

    --red: #f03a30;
    --red-soft: #fff1ef;
    --green: #75bf19;
    --green-soft: #f2fae9;
    --blue: #0787c8;
    --blue-dark: #086a9b;
    --blue-soft: #edf8fd;

    --shadow: 0 24px 70px rgba(23, 49, 68, 0.09);

    --content: 1320px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}


body::before {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;

    height: 3px;

    background: linear-gradient(
        90deg,
        var(--red) 0 33.333%,
        var(--green) 33.333% 66.666%,
        var(--blue) 66.666% 100%
    );

    content: "";
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


h1,
h2,
h3,
p {
    margin-top: 0;
}


h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}


h1 em,
h2 em {
    font-family: "Newsreader", Georgia, serif;
    font-weight: 500;
}


section[id] {
    scroll-margin-top: 92px;
}


.section {
    width: min(var(--content), calc(100% - 48px));
    margin-inline: auto;
}


.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;

    padding: 10px 14px;

    color: var(--white);
    background: var(--ink);

    border-radius: 5px;

    transform: translateY(-150%);
}


.skip-link:focus {
    transform: translateY(0);
}


a:focus-visible {
    outline: 3px solid rgba(7, 135, 200, 0.35);
    outline-offset: 4px;
}


/* ============================================================
   CABECERA
   ============================================================ */

.site-header {
    position: fixed;
    top: 3px;
    left: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid rgba(223, 230, 235, 0.9);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


.nav-shell {
    width: min(var(--content), calc(100% - 48px));
    height: 78px;

    margin-inline: auto;

    display: flex;
    align-items: center;
}


.brand {
    width: 114px;
    flex: 0 0 auto;
}


.brand img {
    width: 100%;
    height: 56px;

    object-fit: contain;
}


.nav-menu {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
    margin-right: 34px;
}


.nav-menu a,
.header-contact {
    font-size: 0.875rem;
    font-weight: 600;
}


.nav-menu a {
    position: relative;

    color: var(--muted);

    transition: color 180ms ease;
}


.nav-menu a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;

    height: 2px;

    background: var(--blue);

    content: "";

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 180ms ease;
}


.nav-menu a:hover {
    color: var(--ink);
}


.nav-menu a:hover::after {
    transform: scaleX(1);
}


.header-contact {
    padding: 10px 17px;

    color: var(--blue-dark);

    border: 1px solid rgba(7, 135, 200, 0.38);
    border-radius: 999px;

    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}


.header-contact:hover {
    color: var(--white);
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}


/* ============================================================
   ELEMENTOS COMUNES
   ============================================================ */

.eyebrow {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: var(--blue-dark);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.hero-eyebrow {
    text-transform: none;
}


.eyebrow > span {
    width: 27px;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--red),
        var(--green),
        var(--blue)
    );
}


.actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.button {
    min-height: 52px;

    padding: 13px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 0.9rem;
    font-weight: 700;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button-primary {
    color: var(--white);
    background: var(--blue-dark);

    box-shadow: 0 11px 26px rgba(8, 106, 155, 0.18);
}


.button-primary:hover {
    background: #075a84;

    box-shadow: 0 14px 30px rgba(8, 106, 155, 0.24);
}


.button-secondary {
    color: var(--ink-soft);
    background: var(--white);

    border-color: var(--line-strong);
}


.button-secondary:hover {
    border-color: var(--blue);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;

    width: min(var(--content), calc(100% - 48px));

    min-height: 735px;

    margin-inline: auto;

    padding: 158px 0 88px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(380px, 0.92fr);

    align-items: center;

    gap: clamp(55px, 8vw, 108px);
}


.hero::before {
    position: absolute;

    top: 80px;
    left: -260px;

    z-index: -1;

    width: 520px;
    height: 520px;

    background: radial-gradient(
        circle,
        rgba(240, 58, 48, 0.06),
        transparent 67%
    );

    content: "";

    pointer-events: none;
}


.hero-copy h1 {
    max-width: 720px;

    margin-bottom: 27px;

    font-size: clamp(3.15rem, 5.75vw, 5.35rem);
}


.hero-copy h1 em {
    display: inline;

    color: var(--blue-dark);
}


.hero-lead {
    max-width: 650px;

    margin-bottom: 34px;

    color: var(--muted);

    font-size: 1.1rem;
}


.hero-points {
    margin: 34px 0 0;

    padding: 24px 0 0;

    display: flex;
    flex-wrap: wrap;

    gap: 13px 25px;

    border-top: 1px solid var(--line);

    list-style: none;
}


.hero-points li {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--ink-soft);

    font-size: 0.9rem;
    font-weight: 600;
}


.hero-points li::before {
    width: 6px;
    height: 6px;

    background: var(--red);

    border-radius: 50%;

    content: "";
}


.hero-points li:nth-child(2)::before {
    background: var(--green);
}


.hero-points li:nth-child(3)::before {
    background: var(--blue);
}


.hero-visual {
    position: relative;
}


.brand-card {
    position: relative;

    min-height: 490px;

    padding: 58px 44px 42px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.98),
        rgba(246, 249, 251, 0.92)
    );

    border: 1px solid var(--line);

    border-radius: 30px;

    box-shadow: var(--shadow);
}


.brand-card::before {
    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background: linear-gradient(
        90deg,
        var(--red),
        var(--green),
        var(--blue)
    );

    content: "";
}


.brand-card > img {
    position: relative;

    z-index: 1;

    width: 100%;

    margin: 0 auto 30px;
}


.brand-card-copy {
    position: relative;

    z-index: 1;

    padding-top: 24px;

    border-top: 1px solid var(--line);
}


.brand-card-copy .keep-case {
    text-transform: none;
}


.brand-card-copy p {
    margin-bottom: 4px;

    color: var(--ink);

    font-size: 1.1rem;
    font-weight: 700;
}


.brand-card-copy span {
    color: var(--muted);

    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.brand-signals {
    position: absolute;

    right: 30px;
    bottom: 30px;

    z-index: 1;

    display: flex;

    gap: 7px;
}


.brand-signals span {
    width: 8px;
    height: 8px;

    border-radius: 50%;
}


.brand-signals span:nth-child(1) {
    background: var(--red);
}


.brand-signals span:nth-child(2) {
    background: var(--green);
}


.brand-signals span:nth-child(3) {
    background: var(--blue);
}

/* ============================================================
   CABECERAS DE SECCIÓN
   ============================================================ */

.section-heading {
    margin-bottom: 52px;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    align-items: end;

    gap: 80px;
}


.section-heading h2,
.method-intro h2,
.company-copy h2,
.jobs-copy h2,
.contact-main h2 {
    margin-bottom: 0;

    font-size: clamp(2.45rem, 4.2vw, 4rem);
}


.section-heading > p,
.method-intro > p:last-child,
.company-copy > p:not(.eyebrow),
.contact-main > p:not(.eyebrow) {
    margin-bottom: 0;

    color: var(--muted);

    font-size: 1.03rem;
}


/* ============================================================
   SERVICIOS
   ============================================================ */

.services-section {
    background: var(--blue-soft);

    border-block: 1px solid #d9edf6;
}


.services-shell {
    padding-block: 112px;
}


.services-grid {
    display: grid;

    grid-template-columns: repeat(
        3,
        minmax(0, 1fr)
    );

    gap: 18px;
}


.service-card {
    position: relative;

    min-height: 360px;

    padding: 34px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--line);

    border-radius: 16px;

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}


.service-card::before {
    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 3px;

    content: "";
}


.service-red::before {
    background: var(--red);
}


.service-green::before {
    background: var(--green);
}


.service-blue::before {
    background: var(--blue);
}


.service-card:hover {
    transform: translateY(-5px);

    border-color: var(--line-strong);

    box-shadow: 0 18px 44px rgba(24, 38, 50, 0.07);
}


.card-number {
    margin-bottom: 52px;

    color: var(--muted);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}


.service-card h3 {
    max-width: 288px;

    margin-bottom: 15px;

    font-size: 1.7rem;
}


.service-card p {
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 0.92rem;
}


.card-label {
    margin-top: auto;

    font-size: 0.78rem;
    font-weight: 700;
}


.service-red .card-label {
    color: #bd3029;
}


.service-green .card-label {
    color: #568f12;
}


.service-blue .card-label {
    color: var(--blue-dark);
}


/* ============================================================
   MÉTODO
   ============================================================ */

.method-section {
    background: var(--white);

    border-block: 1px solid var(--line);
}


.method-shell {
    padding-block: 112px;

    display: grid;

    grid-template-columns: 0.82fr 1.18fr;

    gap: clamp(65px, 9vw, 130px);
}


.method-intro {
    align-self: start;

    position: static;
}


.method-intro h2 {
    margin-bottom: 25px;
}


.process-list {
    margin: 0;

    padding: 0;

    border-top: 1px solid var(--line-strong);

    list-style: none;
}


.process-list li {
    padding: 28px 0;

    display: grid;

    grid-template-columns: 54px 1fr;

    gap: 22px;

    border-bottom: 1px solid var(--line-strong);
}


.process-list > li > span {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 0.72rem;
    font-weight: 700;
}


.process-list li:nth-child(1) > span {
    color: #b82c25;
    background: var(--red-soft);
}


.process-list li:nth-child(2) > span {
    color: #568f12;
    background: var(--green-soft);
}


.process-list li:nth-child(3) > span {
    color: var(--blue-dark);
    background: var(--blue-soft);
}


.process-list li:nth-child(4) > span {
    color: #5f6b74;
    background: #eef1f3;
}


.process-list h3 {
    margin-bottom: 7px;

    font-size: 1.25rem;

    letter-spacing: -0.02em;
}


.process-list p {
    margin: 0;

    color: var(--muted);

    font-size: 0.93rem;
}


/* ============================================================
   EMPRESA Y VALORES
   ============================================================ */

.company-section {
    background: var(--blue-soft);

    border-block: 1px solid #d9edf6;
}


.company-shell {
    padding-block: 112px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: clamp(65px, 9vw, 125px);
}


.company-copy h2 {
    margin-bottom: 29px;
}


.company-copy > p + p {
    margin-top: 18px;
}


.values-panel {
    padding: 34px;

    background: var(--white);

    border: 1px solid var(--line);

    border-radius: 20px;

    box-shadow: 0 20px 55px rgba(24, 38, 50, 0.06);
}


.values-title {
    margin-bottom: 15px;

    color: var(--muted);

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.13em;

    text-transform: uppercase;
}


.value {
    padding: 21px 0;

    display: grid;

    grid-template-columns: 58px 1fr;

    align-items: center;

    gap: 18px;

    border-bottom: 1px solid var(--line);
}


.value:last-child {
    border-bottom: 0;
}


.value > span {
    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    font-size: 1.25rem;
    font-weight: 700;
}


.value-red > span {
    color: #b82c25;

    background: var(--red-soft);
}


.value-green > span {
    color: #568f12;

    background: var(--green-soft);
}


.value-blue > span {
    color: var(--blue-dark);

    background: var(--blue-soft);
}


.value h3 {
    margin-bottom: 3px;

    font-size: 1.05rem;

    letter-spacing: -0.015em;
}


.value p {
    margin: 0;

    color: var(--muted);

    font-size: 0.9rem;
}


/* ============================================================
   EMPLEO
   ============================================================ */

.jobs-section {
    background: var(--white);
}


.jobs-shell {
    padding-block: 112px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: clamp(65px, 9vw, 125px);
}


.jobs-copy h2 {
    max-width: 720px;

    margin-bottom: 29px;
}


.jobs-copy > p:not(.eyebrow) {
    max-width: 680px;

    margin-bottom: 0;

    color: var(--muted);

    font-size: 1.03rem;
}


.jobs-copy > p + p {
    margin-top: 18px;
}


.jobs-copy .actions {
    margin-top: 34px;
}


.jobs-panel {
    padding: 34px;

    background: var(--surface);

    border: 1px solid var(--line);

    border-radius: 20px;
}


.jobs-panel-label {
    margin-bottom: 15px;

    color: var(--blue-dark);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;

    text-transform: uppercase;
}


.jobs-panel h3 {
    margin-bottom: 17px;

    font-size: 1.75rem;
}


.jobs-panel > p:not(.jobs-panel-label) {
    margin-bottom: 27px;

    color: var(--muted);

    font-size: 0.92rem;
}


.jobs-detail {
    padding: 18px 0;

    display: grid;

    grid-template-columns: 42px 1fr;

    align-items: center;

    gap: 15px;

    border-top: 1px solid var(--line);
}


.jobs-detail > span {
    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    color: var(--blue-dark);

    background: var(--blue-soft);

    border-radius: 50%;

    font-size: 0.7rem;
    font-weight: 700;
}


.jobs-detail p {
    margin: 0;

    color: var(--ink-soft);

    font-size: 0.88rem;
}


/* ============================================================
   CONTACTO
   ============================================================ */

.contact-section {
    position: relative;

    overflow: hidden;

    background: var(--blue-soft);

    border-top: 1px solid #d9edf6;
}


.contact-section::after {
    position: absolute;

    top: -250px;
    right: -170px;

    width: 520px;
    height: 520px;

    background: radial-gradient(
        circle,
        rgba(117, 191, 25, 0.12),
        transparent 68%
    );

    content: "";

    pointer-events: none;
}


.contact-shell {
    position: relative;

    z-index: 1;

    padding-block: 105px;

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    gap: clamp(65px, 9vw, 120px);
}


.contact-main h2 {
    margin-bottom: 24px;
}


.contact-main > p:not(.eyebrow) {
    max-width: 610px;

    margin-bottom: 32px;
}


.locations {
    padding-left: 46px;

    border-left: 1px solid rgba(8, 106, 155, 0.2);
}


.locations article {
    padding: 2px 0 28px;
}


.locations article + article {
    padding-top: 28px;

    border-top: 1px solid rgba(8, 106, 155, 0.16);
}


.location-label {
    margin-bottom: 3px;

    color: var(--blue-dark);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.locations h3 {
    margin-bottom: 10px;

    font-size: 1.45rem;
}


.locations address {
    color: var(--muted);

    font-size: 0.9rem;
    font-style: normal;

    line-height: 1.75;
}


/* ============================================================
   PIE DE PÁGINA
   ============================================================ */

.site-footer {
    background: var(--white);
}


.footer-shell {
    width: min(var(--content), calc(100% - 48px));

    min-height: 98px;

    margin-inline: auto;

    display: flex;
    align-items: center;

    gap: 30px;
}


.footer-brand {
    width: 82px;

    flex: 0 0 auto;
}


.footer-shell p {
    margin: 0;

    color: var(--muted);

    font-size: 0.85rem;
}


.footer-links {
    margin-left: auto;

    display: flex;
    flex-wrap: wrap;

    gap: 19px;
}


.footer-links a {
    color: var(--muted);

    font-size: 0.85rem;

    transition: color 180ms ease;
}


.footer-links a:hover {
    color: var(--blue-dark);
}

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */

.legal-page {
    min-height: calc(100vh - 98px);
    padding-top: 81px;
    background: var(--white);
}


.legal-shell {
    padding-block: 92px 110px;
}


.legal-header {
    max-width: 850px;
    margin-bottom: 64px;
}


.legal-header h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 5vw, 5rem);
}


.legal-header > p:not(.eyebrow) {
    max-width: 720px;
    margin-bottom: 0;

    color: var(--muted);

    font-size: 1.08rem;
}


.legal-content {
    max-width: 900px;
}


.legal-content section {
    padding: 38px 0;
    border-top: 1px solid var(--line);
}


.legal-content section:first-child {
    padding-top: 0;
    border-top: 0;
}


.legal-content h2 {
    margin-bottom: 18px;

    font-size: 1.65rem;
    letter-spacing: -0.025em;
}


.legal-content p {
    margin-bottom: 16px;

    color: var(--ink-soft);

    font-size: 0.97rem;
}


.legal-content p:last-child {
    margin-bottom: 0;
}


.legal-content a {
    color: var(--blue-dark);
    font-weight: 600;
}


.legal-content a:hover {
    text-decoration: underline;
}


.legal-content ul {
    margin: 20px 0 0;
    padding-left: 22px;
}


.legal-content li {
    margin-bottom: 8px;

    color: var(--ink-soft);

    font-size: 0.97rem;
}


.legal-data {
    margin: 26px 0 0;
}


.legal-data > div {
    padding: 16px 0;

    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 28px;

    border-top: 1px solid var(--line);
}


.legal-data > div:last-child {
    border-bottom: 1px solid var(--line);
}


.legal-data dt {
    color: var(--muted);

    font-size: 0.82rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


.legal-data dd {
    margin: 0;

    color: var(--ink-soft);

    font-size: 0.95rem;
}

/* ============================================================
   ADAPTACIÓN A TABLETS
   ============================================================ */

@media (max-width: 980px) {

    .hero {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(330px, 0.82fr);

        gap: 45px;
    }


    .brand-card {
        min-height: 420px;

        padding-inline: 34px;
    }


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


    .service-card:last-child {
        grid-column: 1 / -1;

        min-height: 300px;
    }


    .nav-menu {
        gap: 20px;

        margin-right: 22px;
    }
}


/* ============================================================
   ADAPTACIÓN A MÓVILES Y TABLETS PEQUEÑAS
   ============================================================ */

@media (max-width: 780px) {

    .section,
    .hero,
    .nav-shell,
    .footer-shell {
        width: min(100% - 32px, var(--content));
    }


    .nav-shell {
        height: 70px;
    }


    .brand {
        width: 102px;
    }


    .nav-menu {
        display: none;
    }


    .header-contact {
        margin-left: auto;

        padding: 8px 14px;

        font-size: 0.8rem;
    }


    .hero {
        min-height: auto;

        padding: 125px 0 72px;

        grid-template-columns: 1fr;

        gap: 54px;
    }


    .hero-copy h1 {
        max-width: 680px;

        font-size: clamp(2.8rem, 11.5vw, 4.8rem);
    }


    .hero-lead {
        font-size: 1rem;
    }


    .hero-visual {
        width: min(100%, 520px);

        margin-inline: auto;
    }


    .brand-card {
        min-height: 390px;
    }


    .services-shell,
    .company-shell,
    .jobs-shell,
    .method-shell,
    .contact-shell {
        padding-block: 78px;
    }


    .section-heading,
    .method-shell,
    .company-shell,
    .jobs-shell,
    .contact-shell {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .section-heading {
        margin-bottom: 38px;
    }


    .section-heading h2,
    .method-intro h2,
    .company-copy h2,
    .jobs-copy h2,
    .contact-main h2 {
        font-size: clamp(2.25rem, 9vw, 3.6rem);
    }


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


    .service-card,
    .service-card:last-child {
        grid-column: auto;

        min-height: 315px;
    }


    .method-intro {
        position: static;
    }


    .locations {
        padding-top: 36px;
        padding-left: 0;

        border-top: 1px solid rgba(8, 106, 155, 0.2);
        border-left: 0;
    }


    .footer-shell {
        padding: 25px 0;

        flex-wrap: wrap;
    }


    .footer-shell p {
        order: 3;

        width: 100%;
    }

    .legal-shell {
        padding-block: 72px;
    }


    .legal-header {
        margin-bottom: 46px;
    }


    .legal-header h1 {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }


    .legal-data > div {
        grid-template-columns: 1fr;

        gap: 5px;
    }
}


/* ============================================================
   ADAPTACIÓN A MÓVILES PEQUEÑOS
   ============================================================ */

@media (max-width: 520px) {

    .actions {
        flex-direction: column;
    }


    .button {
        width: 100%;
    }


    .hero-points {
        display: grid;

        gap: 10px;
    }


    .brand-card {
        min-height: 330px;

        padding: 44px 25px 30px;

        border-radius: 22px;
    }


    .brand-card-copy {
        padding-top: 19px;
    }


    .brand-card-copy p {
        font-size: 1rem;
    }


    .brand-card-copy span {
        font-size: 0.68rem;
    }


    .brand-signals {
        right: 24px;
        bottom: 24px;
    }


    .service-card,
    .values-panel,
    .jobs-panel {
        padding: 28px;
    }


    .card-number {
        margin-bottom: 40px;
    }


    .process-list li {
        grid-template-columns: 44px 1fr;

        gap: 14px;
    }


    .value {
        grid-template-columns: 50px 1fr;

        gap: 13px;
    }


    .value > span {
        width: 43px;
        height: 43px;
    }


    .footer-shell {
        display: grid;

        grid-template-columns: 82px 1fr;

        gap: 18px;
    }


    .footer-links {
        margin-left: 0;

        justify-content: flex-end;

        gap: 12px;
    }


    .footer-shell p {
        grid-column: 1 / -1;
    }
}


/* ============================================================
   ACCESIBILIDAD: REDUCIR ANIMACIONES
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}
