/* ==========================================================================
   MTR Home hero
   Framed composition: an outer bordered panel with generous internal padding,
   a wide text block on the left and an inset artwork panel on the right, with
   the certification row sitting discreetly at its lower edge.
   Scoped entirely under .mtr-hero — nothing else on the site is affected.
   Buttons reuse the site's own .slider_btn_one / .slider_btn_two classes.
   ========================================================================== */
.mtr-hero {
    position: relative;
    background: #05070C;
    padding: 26px 0 32px;
    overflow: hidden;
}

/* barely-there technical field behind the frame */
.mtr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 151, 255, .015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 151, 255, .015) 1px, transparent 1px);
    background-size: 88px 88px;
    pointer-events: none;
}

.mtr-hero > .container {
    position: relative;
    z-index: 1;
}

/* the hero frame is allowed more width than the site's default container so
   the headline can sit on a single line on large displays */
/* the framed composition runs close to the usable page width, leaving only a
   controlled side margin — the internal content padding is unchanged */
.mtr-hero > .container {
    width: 100%;
    max-width: 1780px;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 991px) {
    .mtr-hero > .container {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width: 600px) {
    .mtr-hero > .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (min-width: 1400px) {
    .mtr-hero > .container {
        padding-left: 56px;
        padding-right: 56px;
    }
}

/* ---- outer frame -------------------------------------------------------- */
.mtr-hero__frame {
    position: relative;
    border: 1px solid rgba(140, 162, 210, .22);
    overflow: hidden;
    background:
        radial-gradient(90% 80% at 74% 45%, rgba(0, 48, 255, .05) 0%, rgba(0, 48, 255, 0) 64%),
        linear-gradient(160deg, #010D22 0%, #000B1E 58%, #01091A 100%);
    padding: 46px 54px 44px;
}

/* the nested inset line that gives the panel its depth */
.mtr-hero__frame::before {
    content: "";
    position: absolute;
    /* Second complete rectangle, inset uniformly on all four sides. */
    inset: 14px;
    border: 1px solid rgba(0, 48, 255, .38);
    pointer-events: none;
    z-index: 3;
}


.mtr-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 44px;
}

/* ---- left: text block --------------------------------------------------- */
.mtr-hero__text {
    flex: 1 1 100%;
    min-width: 0;
}

.mtr-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8FA6FF;
    margin: 0 0 22px;
    padding: 0;
    line-height: 1;
    background: none;
    border: 0;
}

.mtr-hero__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #0030FF;
    border-radius: 50%;
    flex: 0 0 6px;
}

.mtr-hero h1 {
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 18px;
    padding: 0;
    text-align: left;
}

.mtr-hero__lead {
    font-size: 16px;
    line-height: 1.68;
    color: #8E9FC2;
    max-width: 34em;
    margin: 0 0 30px;
    padding: 0;
    text-align: left;
    font-weight: 400;
}

/* ---- CTAs: the site's established pill buttons -------------------------- */
.mtr-hero .slider_btn.mtr-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    text-align: left;
    margin: 0;
}

/* .slider_btn a already supplies height, radius, weight and tracking; only
   the fixed 160px width and top margin need relaxing for a long label. */
.mtr-hero .slider_btn.mtr-hero__cta a {
    width: auto;
    min-width: 158px;
    padding: 0 30px;
    margin: 0;
    white-space: nowrap;
}

.mtr-hero .slider_btn.mtr-hero__cta .slider_btn_two {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .38);
    line-height: 48px;
}

.mtr-hero .slider_btn.mtr-hero__cta .slider_btn_two:hover,
.mtr-hero .slider_btn.mtr-hero__cta .slider_btn_two:focus {
    background: #fff;
    border-color: #fff;
    color: #101828;
}

.mtr-hero .slider_btn.mtr-hero__cta a:focus-visible {
    outline: 2px solid #8FA6FF;
    outline-offset: 3px;
}

/* ---- right: inset artwork panel ---------------------------------------- */
.mtr-hero__visual {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mtr-hero__art-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    line-height: 0;
}

.mtr-hero__art {
    /* The supplied artwork is already ultrawide (2.69:1) against the hero's
       2.76:1 opening, so a plain full-bleed cover fits it with only ~2%
       trimmed. No masks, gradients or repositioning tricks are needed. */
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    max-width: none;
    transform: none;
    object-fit: cover;
    object-position: center center;
}

/* the text column sets the height; the artwork fills whatever that is */
@media (min-width: 992px) {
    .mtr-hero__text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    /* the column reserves the hero's height and carries only the
       certification overlay, which sits over the lower artwork */
    .mtr-hero__visual {
        position: relative;
        min-height: 430px;
        justify-content: flex-end;
    }
    .mtr-hero__certs {
        position: relative;
        z-index: 2;
    }
}

/* ---- certifications: small, discreet, secondary ------------------------- */
.mtr-hero__certs {
    /* one aligned group in the hero's calmer lower-right corner */
    position: absolute;
    right: 54px;
    bottom: 40px;
    z-index: 4;
    margin: 0;
}



.mtr-hero__certs-title {
    /* centred precisely over the four-badge group beneath it */
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #EAF2FF;
    text-shadow: 0 1px 3px rgba(0, 4, 12, .9), 0 0 10px rgba(0, 4, 12, .75);
    margin: 0 0 12px;
}

/* Every badge ships on an identical square canvas with its artwork already
   scaled to equal optical area, so an equal-width row gives one shared
   baseline and equal perceived size with no per-badge values. */
.mtr-hero__cert-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mtr-hero__cert-list li {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.mtr-hero__cert-list img {
    display: block;
    width: 46px;
    height: auto;
    opacity: .88;
}

/* ---- desktop ------------------------------------------------------------ */
@media (min-width: 992px) {
    .mtr-hero {
        padding: 30px 0 38px;
    }
    .mtr-hero__inner {
        flex-wrap: nowrap;
        gap: 52px;
    }
    .mtr-hero__text {
        flex: 1 1 auto;
    }
    .mtr-hero__visual {
        flex: 0 0 40%;
        max-width: 40%;
    }
    .mtr-hero h1 {
        font-size: 32px;
    }
}

@media (min-width: 1200px) {
    .mtr-hero__frame {
        padding: 52px 64px 48px;
    }
    .mtr-hero__inner {
        gap: 60px;
    }
    .mtr-hero__visual {
        flex: 0 0 38%;
        max-width: 38%;
    }
    .mtr-hero h1 {
        font-size: 31px;
    }
    .mtr-hero__cert-list img {
        width: 50px;
    }
}

/* ---- tablet ------------------------------------------------------------- */
@media (max-width: 991px) {
    .mtr-hero__frame {
        padding: 36px 28px 34px;
    }
    .mtr-hero__inner {
        gap: 38px;
    }
    .mtr-hero h1 {
        font-size: 30px;
    }
    /* the column reserves a band below the copy so the artwork never sits
       behind the headline or the buttons */
    .mtr-hero__visual {
        min-height: 300px;
        justify-content: flex-end;
    }
    .mtr-hero__art-panel {
        top: auto;
        left: 12%;
        right: 15px;
        bottom: 15px;
        height: 300px;
        opacity: .9;
    }
}

/* ---- mobile ------------------------------------------------------------- */
@media (max-width: 600px) {
    .mtr-hero {
        padding: 26px 0 38px;
    }
    .mtr-hero__frame {
        padding: 26px 16px 26px;
    }
        .mtr-hero h1 {
        font-size: 25px;
        line-height: 1.24;
    }
    .mtr-hero__lead {
        font-size: 15px;
        margin-bottom: 26px;
    }
    .mtr-hero__eyebrow {
        font-size: 10px;
        letter-spacing: 1.8px;
        margin-bottom: 18px;
    }
    .mtr-hero .slider_btn.mtr-hero__cta {
        gap: 11px;
    }
    .mtr-hero .slider_btn.mtr-hero__cta a {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 0 18px;
    }
    .mtr-hero__visual {
        min-height: 252px;
    }
    .mtr-hero__art-panel {
        left: 0;
        right: 10px;
        bottom: 10px;
        height: 252px;
        opacity: .85;
    }
    .mtr-hero__art {
        object-position: center center;
    }
    .mtr-hero__cert-list {
        gap: 16px;
        justify-content: space-between;
    }
    .mtr-hero__cert-list img {
        width: 44px;
    }
    .mtr-hero__certs-title {
        margin-bottom: 10px;
    }
}

@media (max-width: 360px) {
    .mtr-hero__cert-list {
        gap: 10px;
    }
    .mtr-hero__cert-list img {
        width: 40px;
    }
}

/* ---- large desktop: headline on one line -------------------------------- */
@media (min-width: 1400px) {
    .mtr-hero__frame {
        padding: 56px 72px 52px;
    }
    .mtr-hero__visual {
        flex: 0 0 36%;
        max-width: 36%;
    }
    /* measured: the largest size that holds the headline on one line in
       Portuguese, English and Spanish at this width */
    .mtr-hero h1 {
        font-size: 29px;
        letter-spacing: .2px;
    }
}

@media (min-width: 1800px) {
    .mtr-hero__visual {
        flex: 0 0 35%;
        max-width: 35%;
    }
    .mtr-hero h1 {
        font-size: 33px;
    }
    .mtr-hero__lead {
        font-size: 17px;
    }
}

/* between 992 and 1199 the buttons run wider in PT/ES, so the artwork starts
   further right to keep clear of them */
@media (min-width: 992px) and (max-width: 1199px) {
    .mtr-hero__art-panel {
        left: 42%;
    }
}

/* the corner placement is a desktop composition; smaller screens keep the
   certification group in the normal flow beneath the artwork */
@media (max-width: 991px) {
    .mtr-hero__certs {
        position: static;
        margin-top: 20px;
    }
}

/* ==========================================================================
   Mobile hero (< 768px) — a deliberate stacked composition, not the desktop
   layout squeezed. Order: eyebrow + H1 + paragraph, stacked CTAs, artwork.
   The approved artwork file is untouched; only CSS framing changes.
   ========================================================================== */
@media (max-width: 767px) {
    .mtr-hero {
        padding: 18px 0 26px;
    }
    .mtr-hero > .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    /* the artwork element precedes the copy in the markup because desktop
       positions it absolutely; on mobile the order is set explicitly so the
       copy and buttons come first and the artwork sits beneath them */
    .mtr-hero__frame {
        padding: 26px 18px 0 18px;
        display: flex;
        flex-direction: column;
    }
    .mtr-hero__inner {
        order: 1;
    }
    .mtr-hero__art-panel {
        order: 2;
    }
    .mtr-hero__frame::before {
        inset: 10px;
    }

    .mtr-hero__inner {
        display: block;
    }

    /* tighter type so the copy block reads as one compact unit */
    .mtr-hero h1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    .mtr-hero__eyebrow {
        margin-bottom: 14px;
    }
    .mtr-hero__lead {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 22px;
    }
    .mtr-hero .slider_btn.mtr-hero__cta {
        gap: 10px;
        margin-bottom: 22px;        /* closes the large gap to the artwork */
    }

    /* artwork sits in flow directly beneath the buttons, full column width,
       and is scaled so the fingerprint and its HUD ring stay legible */
    .mtr-hero__visual {
        min-height: 0;
        display: block;
    }
    .mtr-hero__art-panel {
        position: relative;
        inset: auto;
        height: 250px;
        margin: 0 -18px;
        overflow: hidden;
    }
    /* the fingerprint sits at ~70% across the artwork, so translating the
       image by that fraction centres it in the mobile viewport instead of
       leaving it clinging to the right edge */
    .mtr-hero__art {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-70%, -50%);
        width: auto;
        height: 100%;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 400px) {
    .mtr-hero h1 {
        font-size: 24px;
    }
    .mtr-hero__art-panel {
        height: 230px;
    }
}
