:root {
    --mas-night: #050b0a;
    --mas-forest: #003023;
    --mas-green: #005c42;
    --mas-green-light: #1c8b6c;
    --mas-lime: #8cc63f;
    --mas-red: #ed1848;
    --mas-ink: #eefaf5;
    --mas-muted: #a9bbb4;
    --mas-muted-dark: #61766f;
    --mas-white: #ffffff;
    --mas-glass: rgba(255, 255, 255, 0.055);
    --mas-glass-strong: rgba(255, 255, 255, 0.095);
    --mas-line: rgba(255, 255, 255, 0.14);
    --mas-line-bright: rgba(140, 198, 63, 0.34);
    --mas-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
    --mas-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --mas-radius: 8px;
    --mas-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    color: var(--mas-ink);
    font-family: "Open Sans", Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 10%, rgba(0, 92, 66, 0.46), transparent 34rem),
        radial-gradient(circle at 82% 24%, rgba(140, 198, 63, 0.14), transparent 30rem),
        linear-gradient(135deg, var(--mas-forest), var(--mas-night) 46%, #020403);
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 82%);
}

body::after {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(115deg, transparent 0 18%, rgba(140, 198, 63, 0.09) 18.4%, transparent 19.1%),
        linear-gradient(120deg, transparent 0 43%, rgba(255, 255, 255, 0.05) 43.2%, transparent 44%),
        linear-gradient(118deg, transparent 0 68%, rgba(0, 92, 66, 0.14) 68.3%, transparent 69%);
    animation: masAirflow 18s linear infinite;
}

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

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

h1,
h2,
h3 {
    font-family: "Raleway", "Open Sans", Arial, sans-serif;
    margin: 0;
    color: var(--mas-ink);
    line-height: 1.05;
}

p {
    color: var(--mas-muted);
    line-height: 1.7;
    margin: 0;
}

.mas-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.mas-atmosphere span {
    position: absolute;
    width: 46vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 198, 63, 0.28), transparent);
    transform: rotate(-16deg);
    animation: masStream 14s var(--mas-ease) infinite;
}

.mas-atmosphere span:nth-child(1) {
    top: 18%;
    left: -20%;
}

.mas-atmosphere span:nth-child(2) {
    top: 48%;
    left: 30%;
    animation-delay: -5s;
    opacity: 0.7;
}

.mas-atmosphere span:nth-child(3) {
    top: 76%;
    left: -8%;
    animation-delay: -9s;
    opacity: 0.55;
}

.mas-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    width: 100%;
    min-height: 86px;
    padding: 12px clamp(18px, 4vw, 58px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 11, 10, 0.72);
    backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.mas-logo img {
    width: 148px;
    filter: drop-shadow(0 10px 22px rgba(140, 198, 63, 0.12));
}

.mas-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.92rem;
    font-weight: 800;
}

.mas-nav a {
    position: relative;
    padding: 9px 0;
    color: rgba(238, 250, 245, 0.86);
    transition: color 180ms ease, transform 180ms ease;
}

.mas-nav a::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--mas-lime), var(--mas-green-light));
    box-shadow: 0 0 18px rgba(140, 198, 63, 0.55);
    transition: width 260ms var(--mas-ease);
}

.mas-nav a:hover {
    color: var(--mas-ink);
    transform: translateY(-1px);
}

.mas-nav a:hover::after {
    width: 100%;
}

.mas-header-actions,
.mas-language {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mas-language {
    padding: 4px;
    border: 1px solid var(--mas-line);
    border-radius: 999px;
    background: var(--mas-glass);
    backdrop-filter: blur(18px);
}

.mas-language a {
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--mas-muted);
    font-size: 0.78rem;
    font-weight: 900;
    transition: color 180ms ease, background 180ms ease;
}

.mas-language a.is-active {
    color: #072017;
    background: var(--mas-lime);
    box-shadow: 0 0 26px rgba(140, 198, 63, 0.32);
}

.mas-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--mas-line);
    border-radius: 50%;
    color: var(--mas-ink);
    background: var(--mas-glass);
}

.mas-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    color: #07100d;
    background: linear-gradient(135deg, var(--mas-lime), #b8ec65);
    font: 900 0.92rem/1 "Open Sans", Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 18px 48px rgba(140, 198, 63, 0.24);
    transition: transform 260ms var(--mas-ease), box-shadow 260ms var(--mas-ease), filter 260ms ease;
}

.mas-button::before {
    position: absolute;
    inset: -40% auto -40% -65%;
    z-index: -1;
    width: 50%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
    transform: skewX(-18deg);
    transition: left 650ms var(--mas-ease);
}

.mas-button:hover {
    transform: translateY(-3px) scale(1.02);
    filter: saturate(112%);
    box-shadow: 0 24px 62px rgba(140, 198, 63, 0.34);
}

.mas-button:hover::before {
    left: 118%;
}

.mas-button-small {
    min-height: 44px;
    padding-inline: 19px;
}

.mas-button-secondary {
    color: var(--mas-ink);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 0 0 1px var(--mas-line), 0 18px 42px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
}

.mas-button-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
}

.mas-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    min-height: 720px;
    padding: 92px clamp(18px, 5vw, 74px) 112px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 11, 10, 0.92) 0%, rgba(0, 48, 35, 0.82) 42%, rgba(5, 11, 10, 0.2) 100%),
        url("../../assets/eab39-fondo-nubes-masair-banner-home.jpg") center/cover no-repeat;
}

.mas-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(105deg, transparent 0 54%, rgba(140, 198, 63, 0.12) 54.3%, transparent 55.5%),
        linear-gradient(105deg, transparent 0 62%, rgba(255, 255, 255, 0.08) 62.2%, transparent 63%);
    animation: masRunway 9s linear infinite;
}

.mas-hero::after {
    position: absolute;
    right: -7vw;
    bottom: -38px;
    width: 62vw;
    max-width: 820px;
    height: 120px;
    content: "";
    background: linear-gradient(100deg, rgba(0, 92, 66, 0.95), rgba(140, 198, 63, 0.42));
    transform: skewX(-18deg);
    box-shadow: 0 -24px 90px rgba(140, 198, 63, 0.12);
}

.mas-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
    animation: masHeroCopy 1050ms var(--mas-ease) both;
}

.mas-kicker {
    color: var(--mas-lime);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(140, 198, 63, 0.26);
}

.mas-hero h1 {
    margin-top: 16px;
    font-size: clamp(2.55rem, 5vw, 5.25rem);
    font-weight: 900;
    text-wrap: balance;
}

.mas-hero-copy > p:not(.mas-kicker) {
    max-width: 580px;
    margin-top: 22px;
    color: rgba(238, 250, 245, 0.76);
    font-size: 1.08rem;
}

.mas-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.mas-hero-visual {
    position: relative;
    z-index: 2;
    min-height: 460px;
    transform-style: preserve-3d;
    animation: masTicketSlide 1100ms 160ms var(--mas-ease) both;
}

.mas-plane {
    position: absolute;
    right: -80px;
    top: 48px;
    width: min(850px, 70vw);
    filter: drop-shadow(0 36px 34px rgba(0, 0, 0, 0.32));
    animation: masPlaneDrift 6.8s ease-in-out infinite;
}

.mas-box {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(360px, 28vw);
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.22));
    animation: masCargoFloat 5.8s ease-in-out infinite;
}

.mas-box-two {
    right: 260px;
    bottom: 16px;
    width: min(270px, 23vw);
    animation-delay: -1.4s;
}

.mas-flight-path {
    position: absolute;
    right: 17%;
    top: 20%;
    width: min(470px, 42vw);
    height: 92px;
    border-top: 2px dashed rgba(140, 198, 63, 0.55);
    border-radius: 50%;
    transform: rotate(-6deg);
    opacity: 0.8;
}

.mas-flight-path i {
    position: absolute;
    left: 0;
    top: -13px;
    color: var(--mas-lime);
    filter: drop-shadow(0 0 18px rgba(140, 198, 63, 0.62));
    animation: masRoutePlane 4.8s var(--mas-ease) infinite;
}

.mas-glass-panel {
    position: absolute;
    left: 3%;
    bottom: 8%;
    width: min(280px, 34vw);
    padding: 18px;
    border: 1px solid var(--mas-line);
    border-radius: var(--mas-radius);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
    backdrop-filter: blur(24px);
    box-shadow: var(--mas-shadow);
    animation: masPanelHover 5.2s ease-in-out infinite;
}

.mas-glass-panel span,
.mas-glass-panel small {
    display: block;
    color: var(--mas-lime);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.mas-glass-panel strong {
    display: block;
    margin: 8px 0;
    color: var(--mas-ink);
}

.mas-stats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--mas-max);
    margin: -58px auto 0;
    padding: 28px;
    border: 1px solid var(--mas-line);
    border-radius: var(--mas-radius);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    backdrop-filter: blur(26px);
    box-shadow: var(--mas-shadow);
}

.mas-stats div {
    padding: 4px 22px;
    border-right: 1px solid var(--mas-line);
}

.mas-stats div:last-child {
    border-right: 0;
}

.mas-stats strong {
    display: block;
    color: var(--mas-lime);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
}

.mas-stats span {
    display: block;
    margin-top: 8px;
    color: var(--mas-muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.mas-section,
.mas-process,
.mas-other-services,
.mas-fleet,
.mas-resources {
    max-width: var(--mas-max);
    margin: 0 auto;
    padding: 104px clamp(18px, 4vw, 28px);
}

#services,
#solutions,
#fleet,
#process,
#trust,
#contact {
    scroll-margin-top: 96px;
}

.mas-section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.mas-section-heading h2,
.mas-service-copy h2,
.mas-trust h2,
.mas-contact-panel h2 {
    margin-top: 10px;
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.mas-section-heading p:not(.mas-kicker) {
    margin-top: 14px;
}

.mas-benefit-grid,
.mas-feature-grid,
.mas-process-grid {
    display: grid;
    gap: 22px;
}

.mas-benefit-grid {
    grid-template-columns: repeat(4, 1fr);
}

.mas-benefit,
.mas-feature,
.mas-process-grid article,
.mas-service-tools article,
.mas-other-grid article,
.mas-resource-grid a,
.mas-contact-panel,
.mas-calc-form,
.mas-fleet-table {
    border: 1px solid var(--mas-line);
    border-radius: var(--mas-radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    backdrop-filter: blur(24px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.mas-benefit,
.mas-process-grid article,
.mas-service-tools article,
.mas-other-grid article {
    position: relative;
    overflow: hidden;
    padding: 28px;
}

.mas-benefit::before,
.mas-process-grid article::before,
.mas-service-tools article::before,
.mas-other-grid article::before,
.mas-feature::before,
.mas-resource-grid a::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.18), transparent 28%, transparent 70%, rgba(140, 198, 63, 0.12));
    opacity: 0;
    transition: opacity 260ms ease;
}

.mas-benefit:hover::before,
.mas-process-grid article:hover::before,
.mas-service-tools article:hover::before,
.mas-other-grid article:hover::before,
.mas-feature:hover::before,
.mas-resource-grid a:hover::before {
    opacity: 1;
}

.mas-benefit {
    transition: transform 320ms var(--mas-ease), border-color 260ms ease, box-shadow 260ms ease;
}

.mas-benefit:hover,
.mas-process-grid article:hover,
.mas-service-tools article:hover,
.mas-other-grid article:hover {
    transform: translateY(-6px) scale(1.012);
    border-color: var(--mas-line-bright);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.24);
}

.mas-benefit i {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    border-radius: 50%;
    color: #07100d;
    background: var(--mas-lime);
    font-size: 1.1rem;
    animation: masPulseLime 3s ease-in-out infinite;
}

.mas-benefit h3,
.mas-feature h3,
.mas-process-grid h3,
.mas-service-tools h3,
.mas-other-grid h3 {
    color: var(--mas-ink);
    font-size: 1.1rem;
}

.mas-benefit p,
.mas-feature p,
.mas-process-grid p,
.mas-service-tools p,
.mas-other-grid p {
    margin-top: 12px;
    font-size: 0.93rem;
}

.mas-service-band {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: center;
    padding: 102px clamp(18px, 5vw, 74px);
    overflow: hidden;
    color: var(--mas-white);
    background:
        linear-gradient(90deg, rgba(0, 48, 35, 0.96), rgba(5, 11, 10, 0.82)),
        url("../../images/fondo-seccion-ayuda-masair.jpg") center/cover fixed;
}

.mas-service-band::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(115deg, transparent 0 48%, rgba(140, 198, 63, 0.12) 48.5%, transparent 49.5%);
    animation: masRunway 7s linear infinite;
}

.mas-service-copy,
.mas-service-tools {
    position: relative;
    z-index: 1;
}

.mas-service-copy h2,
.mas-service-copy p,
.mas-trust h2,
.mas-trust p {
    color: var(--mas-ink);
}

.mas-service-copy p:not(.mas-kicker) {
    margin-top: 22px;
}

.mas-service-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mas-service-tools article {
    min-height: 230px;
}

.mas-service-tools span {
    display: block;
    width: 42px;
    height: 5px;
    margin-bottom: 42px;
    background: var(--mas-lime);
    box-shadow: 0 0 24px rgba(140, 198, 63, 0.42);
}

.mas-feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.mas-feature {
    position: relative;
    overflow: hidden;
    transition: border-color 260ms ease, transform 320ms var(--mas-ease), box-shadow 320ms var(--mas-ease);
}

.mas-feature img {
    width: 100%;
    height: 168px;
    object-fit: cover;
    transition: transform 620ms var(--mas-ease), filter 320ms ease;
}

.mas-feature h3,
.mas-feature p {
    padding-right: 28px;
    padding-left: 28px;
}

.mas-feature h3 {
    padding-top: 26px;
}

.mas-feature p {
    padding-bottom: 28px;
}

.mas-feature:hover {
    border-color: var(--mas-line-bright);
    transform: translateY(-7px);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.26);
}

.mas-feature:hover img {
    transform: scale(1.06);
    filter: saturate(118%) contrast(106%);
}

.mas-other-services,
.mas-fleet {
    padding-top: 0;
}

.mas-other-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mas-other-grid article {
    border-left: 4px solid var(--mas-lime);
    transition: transform 320ms var(--mas-ease), border-color 260ms ease, box-shadow 260ms ease;
}

.mas-fleet .mas-section-heading p:not(.mas-kicker) {
    margin-top: 14px;
}

.mas-fleet-table {
    overflow: hidden;
}

.mas-fleet-row {
    display: grid;
    grid-template-columns: 1.1fr 1.7fr repeat(4, 1fr);
}

.mas-fleet-row span {
    min-height: 58px;
    padding: 16px;
    border-right: 1px solid var(--mas-line);
    border-bottom: 1px solid var(--mas-line);
    color: var(--mas-muted);
    font-size: 0.88rem;
}

.mas-fleet-row span:last-child {
    border-right: 0;
}

.mas-fleet-row:last-child span {
    border-bottom: 0;
}

.mas-fleet-head span {
    color: #07100d;
    background: linear-gradient(135deg, var(--mas-lime), #b7ee67);
    font-weight: 900;
}

.mas-calculator {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 36px;
    align-items: center;
    padding: 78px clamp(18px, 5vw, 74px);
    background:
        linear-gradient(90deg, rgba(5, 11, 10, 0.92), rgba(0, 48, 35, 0.76)),
        url("../../images/contact-banner.jpg") center/cover no-repeat;
}

.mas-calculator h2 {
    margin-top: 10px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.mas-calculator p {
    margin-top: 16px;
}

.mas-calc-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 22px;
}

.mas-calc-form label,
.mas-form label {
    color: var(--mas-ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.mas-calc-form input,
.mas-form input,
.mas-form select,
.mas-form textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--mas-line);
    border-radius: var(--mas-radius);
    padding: 14px;
    color: var(--mas-ink);
    font: 700 0.95rem/1.4 "Open Sans", Arial, sans-serif;
    background: rgba(5, 11, 10, 0.56);
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms var(--mas-ease);
}

.mas-form select option {
    color: #07100d;
}

.mas-calc-form input:focus,
.mas-form input:focus,
.mas-form select:focus,
.mas-form textarea:focus {
    outline: 0;
    border-color: var(--mas-lime);
    background: rgba(5, 11, 10, 0.76);
    box-shadow: 0 0 0 4px rgba(140, 198, 63, 0.15), 0 0 28px rgba(140, 198, 63, 0.12);
    transform: translateY(-2px);
}

.mas-calc-form output {
    grid-column: 1 / -1;
    padding: 18px;
    border-radius: var(--mas-radius);
    color: #07100d;
    background: linear-gradient(135deg, var(--mas-lime), #b7ee67);
    font: 900 1.2rem/1.2 "Raleway", Arial, sans-serif;
    box-shadow: 0 0 34px rgba(140, 198, 63, 0.22);
}

.mas-calc-form output.is-bumped {
    animation: masOutputBump 420ms var(--mas-ease);
}

.mas-process {
    max-width: none;
    background: rgba(255, 255, 255, 0.035);
}

.mas-process .mas-section-heading,
.mas-process-grid {
    max-width: var(--mas-max);
    margin-right: auto;
    margin-left: auto;
}

.mas-process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.mas-process-grid article {
    transition: transform 320ms var(--mas-ease), border-color 260ms ease, box-shadow 260ms ease;
}

.mas-process-grid span {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--mas-lime);
    font: 900 2rem/1 "Raleway", Arial, sans-serif;
}

.mas-trust {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 50px;
    align-items: center;
    padding: 96px clamp(18px, 5vw, 74px);
    background:
        linear-gradient(90deg, rgba(0, 48, 35, 0.96), rgba(5, 11, 10, 0.78)),
        url("../../images/fondo-ellos-vuelan-con-nosotros.png") center/cover no-repeat;
}

.mas-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mas-trust-badges span {
    padding: 18px;
    border: 1px solid var(--mas-line-bright);
    border-radius: var(--mas-radius);
    color: var(--mas-ink);
    background: rgba(140, 198, 63, 0.1);
    font-weight: 900;
    animation: masPulseLime 3.4s ease-in-out infinite;
}

.mas-certificates {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.mas-certificates figure {
    display: grid;
    place-items: center;
    min-height: 156px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--mas-line);
    border-radius: var(--mas-radius);
    background: rgba(255, 255, 255, 0.92);
    transition: transform 320ms var(--mas-ease), box-shadow 320ms ease;
}

.mas-certificates figure:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.mas-certificates img {
    max-height: 74px;
    width: auto;
}

.mas-certificates figcaption {
    margin-top: 12px;
    color: var(--mas-green);
    font-size: 0.76rem;
    font-weight: 900;
    text-align: center;
}

.mas-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mas-resource-grid a {
    position: relative;
    overflow: hidden;
    transition: transform 320ms var(--mas-ease), box-shadow 320ms ease, border-color 260ms ease;
}

.mas-resource-grid a:hover {
    transform: translateY(-7px);
    border-color: var(--mas-line-bright);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.mas-resource-grid img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: top center;
    transition: transform 620ms var(--mas-ease);
}

.mas-resource-grid a:hover img {
    transform: scale(1.05);
}

.mas-resource-grid strong,
.mas-resource-grid span {
    display: block;
    padding-inline: 24px;
}

.mas-resource-grid strong {
    padding-top: 22px;
    color: var(--mas-ink);
    font-family: "Raleway", Arial, sans-serif;
    font-size: 1.05rem;
}

.mas-resource-grid span {
    padding-top: 8px;
    padding-bottom: 24px;
    color: var(--mas-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.mas-contact {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 700px;
    background: rgba(255, 255, 255, 0.035);
}

.mas-contact-map iframe {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    transition: filter 320ms ease;
}

.mas-contact-map {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 35% 42%, rgba(140, 198, 63, 0.18), transparent 16rem),
        radial-gradient(circle at 72% 58%, rgba(0, 92, 66, 0.3), transparent 18rem),
        linear-gradient(135deg, rgba(0, 48, 35, 0.96), rgba(5, 11, 10, 0.98));
}

.mas-contact-map::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(180deg, rgba(5, 11, 10, 0.42), transparent 38%, rgba(5, 11, 10, 0.26)),
        linear-gradient(115deg, rgba(140, 198, 63, 0.18), transparent 24%);
    mix-blend-mode: multiply;
}

.mas-contact-map.is-dark iframe {
    filter: invert(0.92) hue-rotate(126deg) saturate(0.72) contrast(1.05) brightness(0.78);
}

.mas-contact-map.is-light iframe {
    filter: saturate(0.9) contrast(1.03) brightness(1.03);
}

.mas-contact-map.is-light::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 55%, rgba(0, 92, 66, 0.12)),
        linear-gradient(115deg, rgba(0, 92, 66, 0.12), transparent 30%);
    mix-blend-mode: normal;
}

.mas-contact-map.is-light {
    background:
        radial-gradient(circle at 35% 42%, rgba(140, 198, 63, 0.18), transparent 16rem),
        radial-gradient(circle at 72% 58%, rgba(0, 92, 66, 0.18), transparent 18rem),
        linear-gradient(135deg, #edf6f1, #dcebe4);
}

.mas-map-brand,
.mas-map-toggle {
    position: absolute;
    z-index: 3;
    border: 1px solid var(--mas-line);
    border-radius: var(--mas-radius);
    background: rgba(5, 11, 10, 0.72);
    backdrop-filter: blur(22px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

.mas-map-brand {
    top: 24px;
    left: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100% - 44px);
    padding: 14px;
}

.mas-map-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.mas-map-brand strong,
.mas-map-brand span {
    display: block;
}

.mas-map-brand strong {
    color: var(--mas-ink);
    font-family: "Raleway", Arial, sans-serif;
    font-size: 0.96rem;
}

.mas-map-brand span {
    margin-top: 4px;
    color: var(--mas-lime);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.mas-map-toggle {
    right: 22px;
    bottom: 22px;
    display: flex;
    gap: 6px;
    padding: 6px;
}

.mas-map-toggle button {
    min-width: 62px;
    border: 0;
    border-radius: 999px;
    padding: 10px 12px;
    color: var(--mas-muted);
    background: transparent;
    font: 900 0.76rem/1 "Open Sans", Arial, sans-serif;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mas-map-toggle button:hover {
    color: var(--mas-ink);
}

.mas-map-toggle button.is-active {
    color: #07100d;
    background: var(--mas-lime);
}

.mas-map-network {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(140, 198, 63, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 198, 63, 0.08) 1px, transparent 1px);
    background-size: 68px 68px;
}

.mas-map-network::before {
    position: absolute;
    inset: 12% 8%;
    content: "";
    border: 1px solid rgba(140, 198, 63, 0.12);
    border-radius: 48% 52% 46% 54%;
    transform: rotate(-12deg);
}

.mas-contact-map.is-light .mas-map-network {
    background-image:
        linear-gradient(rgba(0, 92, 66, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 92, 66, 0.09) 1px, transparent 1px);
}

.mas-map-route {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(140, 198, 63, 0.76), transparent);
    transform-origin: left center;
    filter: drop-shadow(0 0 12px rgba(140, 198, 63, 0.42));
}

.mas-map-route-one {
    left: 24%;
    top: 50%;
    width: 42%;
    transform: rotate(-15deg);
}

.mas-map-route-two {
    left: 43%;
    top: 54%;
    width: 30%;
    transform: rotate(18deg);
}

.mas-map-pin {
    position: absolute;
    display: grid;
    gap: 4px;
    min-width: 112px;
    padding: 11px 12px;
    border: 1px solid rgba(140, 198, 63, 0.34);
    border-radius: var(--mas-radius);
    color: var(--mas-ink);
    background: rgba(5, 11, 10, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.mas-map-pin::before {
    position: absolute;
    left: 14px;
    bottom: -7px;
    width: 12px;
    height: 12px;
    content: "";
    border-radius: 50%;
    background: var(--mas-lime);
    box-shadow: 0 0 0 7px rgba(140, 198, 63, 0.18), 0 0 24px rgba(140, 198, 63, 0.52);
}

.mas-map-pin strong {
    color: var(--mas-lime);
    font-family: "Raleway", Arial, sans-serif;
    font-size: 1rem;
}

.mas-map-pin small {
    color: var(--mas-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.mas-contact-map.is-light .mas-map-pin {
    color: var(--mas-green);
    background: rgba(255, 255, 255, 0.76);
}

.mas-contact-map.is-light .mas-map-pin small {
    color: #355249;
}

.mas-map-pin-mex {
    left: 23%;
    top: 47%;
}

.mas-map-pin-lax {
    left: 18%;
    top: 29%;
}

.mas-map-pin-mia {
    left: 60%;
    top: 58%;
}

.mas-contact-panel {
    padding: 80px clamp(18px, 5vw, 74px);
    border-radius: 0;
}

.mas-contact-panel > p {
    margin-top: 18px;
}

.mas-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.mas-form-full,
.mas-form button {
    grid-column: 1 / -1;
}

.mas-alert {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: var(--mas-radius);
    font-weight: 800;
}

.mas-alert-success {
    color: #07100d;
    background: var(--mas-lime);
}

.mas-alert-error {
    color: #ffe4e6;
    background: rgba(237, 24, 72, 0.25);
}

address {
    margin-top: 28px;
    color: var(--mas-muted);
    font-style: normal;
    line-height: 1.8;
}

address strong {
    color: var(--mas-ink);
}

.mas-locations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.mas-locations h3 {
    grid-column: 1 / -1;
    color: var(--mas-ink);
    font-size: 1.25rem;
}

.mas-locations article {
    padding: 14px;
    border: 1px solid var(--mas-line);
    border-radius: var(--mas-radius);
    background: rgba(255, 255, 255, 0.055);
    transition: transform 260ms var(--mas-ease), border-color 260ms ease;
}

.mas-locations article:hover {
    transform: translateY(-4px);
    border-color: var(--mas-line-bright);
}

.mas-locations strong,
.mas-locations span,
.mas-locations small {
    display: block;
}

.mas-locations strong {
    color: var(--mas-ink);
}

.mas-locations span {
    margin-top: 5px;
    color: var(--mas-muted);
    font-size: 0.84rem;
}

.mas-locations small {
    margin-top: 8px;
    color: var(--mas-lime);
    font-weight: 900;
}

.mas-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px clamp(18px, 4vw, 58px);
    color: rgba(255, 255, 255, 0.78);
    background: rgba(2, 4, 3, 0.96);
}

.mas-footer img {
    width: 92px;
}

.mas-footer p {
    color: rgba(255, 255, 255, 0.78);
}

.mas-footer div {
    display: flex;
    gap: 18px;
    font-size: 0.86rem;
    font-weight: 800;
}

.mas-footer a:hover {
    color: var(--mas-lime);
}

.mas-animate-ready .mas-benefit:not(.is-visible),
.mas-animate-ready .mas-feature:not(.is-visible),
.mas-animate-ready .mas-process-grid article:not(.is-visible),
.mas-animate-ready .mas-service-tools article:not(.is-visible),
.mas-animate-ready .mas-other-grid article:not(.is-visible),
.mas-animate-ready .mas-resource-grid a:not(.is-visible),
.mas-animate-ready .mas-certificates figure:not(.is-visible),
.mas-animate-ready .mas-locations article:not(.is-visible),
.mas-animate-ready .mas-fleet-table:not(.is-visible),
.mas-animate-ready .mas-calc-form:not(.is-visible) {
    opacity: 1;
    transform: translateY(14px) scale(0.995);
}

.mas-benefit,
.mas-feature,
.mas-process-grid article,
.mas-service-tools article,
.mas-other-grid article,
.mas-resource-grid a,
.mas-certificates figure,
.mas-locations article,
.mas-fleet-table,
.mas-calc-form {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 760ms var(--mas-ease),
        transform 760ms var(--mas-ease),
        border-color 260ms ease,
        box-shadow 320ms ease;
}

.mas-page-ready .mas-stats {
    animation: masTicketSlide 900ms 260ms var(--mas-ease) both;
}

@keyframes masAirflow {
    from {
        transform: translate3d(-4%, 0, 0);
    }
    to {
        transform: translate3d(4%, 0, 0);
    }
}

@keyframes masStream {
    0% {
        transform: translateX(-30vw) rotate(-16deg);
        opacity: 0;
    }
    18%,
    72% {
        opacity: 1;
    }
    100% {
        transform: translateX(110vw) rotate(-16deg);
        opacity: 0;
    }
}

@keyframes masRunway {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 220px 0;
    }
}

@keyframes masHeroCopy {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes masTicketSlide {
    from {
        opacity: 0;
        transform: translateY(36px) scale(0.96);
        filter: blur(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes masPlaneDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-14px, -11px, 0) rotate(-0.6deg);
    }
}

@keyframes masCargoFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes masRoutePlane {
    0% {
        transform: translateX(0) rotate(10deg);
        opacity: 0;
    }
    15%,
    84% {
        opacity: 1;
    }
    100% {
        transform: translateX(min(430px, 38vw)) rotate(10deg);
        opacity: 0;
    }
}

@keyframes masPanelHover {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes masPulseLime {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(140, 198, 63, 0.28);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(140, 198, 63, 0);
    }
}

@keyframes masOutputBump {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.025);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 1040px) {
    .mas-header {
        grid-template-columns: auto auto;
    }

    .mas-menu-button {
        display: inline-grid;
        place-items: center;
        justify-self: end;
    }

    .mas-nav,
    .mas-header-actions {
        display: none;
    }

    .mas-header.is-open .mas-nav,
    .mas-header.is-open .mas-header-actions {
        display: flex;
        grid-column: 1 / -1;
        justify-content: flex-start;
        width: 100%;
    }

    .mas-header.is-open .mas-nav {
        flex-direction: column;
        gap: 8px;
    }

    .mas-header.is-open .mas-header-actions {
        flex-wrap: wrap;
    }

    .mas-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 60px;
    }

    .mas-hero-visual {
        min-height: 360px;
    }

    .mas-plane {
        right: -20px;
        width: 760px;
        max-width: 98vw;
    }

    .mas-box {
        width: 280px;
    }

    .mas-box-two {
        right: 210px;
        width: 210px;
    }

    .mas-benefit-grid,
    .mas-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mas-service-band,
    .mas-trust,
    .mas-contact {
        grid-template-columns: 1fr;
    }

    .mas-service-tools,
    .mas-feature-grid,
    .mas-other-grid,
    .mas-resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mas-calculator {
        grid-template-columns: 1fr;
    }

    .mas-fleet-table {
        overflow-x: auto;
    }

    .mas-fleet-row {
        min-width: 920px;
    }

    .mas-certificates {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .mas-logo img {
        width: 126px;
    }

    .mas-hero {
        padding-bottom: 70px;
    }

    .mas-hero::after {
        height: 82px;
    }

    .mas-hero-actions,
    .mas-header.is-open .mas-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mas-button {
        width: 100%;
    }

    .mas-hero-visual {
        min-height: 290px;
    }

    .mas-plane {
        top: 22px;
        width: 620px;
    }

    .mas-box {
        right: -12px;
        width: 190px;
    }

    .mas-box-two {
        right: 120px;
        width: 145px;
    }

    .mas-glass-panel {
        display: none;
    }

    .mas-stats,
    .mas-benefit-grid,
    .mas-service-tools,
    .mas-feature-grid,
    .mas-process-grid,
    .mas-trust-badges,
    .mas-form,
    .mas-other-grid,
    .mas-resource-grid,
    .mas-calc-form,
    .mas-locations {
        grid-template-columns: 1fr;
    }

    .mas-stats {
        margin-top: 0;
        border-radius: 0;
    }

    .mas-stats div {
        border-right: 0;
        border-bottom: 1px solid var(--mas-line);
        padding: 18px 4px;
    }

    .mas-stats div:last-child {
        border-bottom: 0;
    }

    .mas-section,
    .mas-process,
    .mas-service-band,
    .mas-trust,
    .mas-contact-panel,
    .mas-other-services,
    .mas-fleet,
    .mas-resources {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .mas-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .mas-footer div {
        flex-wrap: wrap;
    }

    .mas-certificates {
        grid-template-columns: repeat(2, 1fr);
    }

    .mas-map-brand {
        top: 14px;
        left: 14px;
        max-width: calc(100% - 28px);
    }

    .mas-map-toggle {
        right: 14px;
        bottom: 14px;
    }

    .mas-map-toggle button {
        min-width: 54px;
        padding: 9px 10px;
    }

    .mas-map-pin {
        min-width: 88px;
        padding: 9px 10px;
    }

    .mas-map-pin small {
        display: none;
    }

    .mas-map-pin-mex {
        left: 18%;
        top: 48%;
    }

    .mas-map-pin-lax {
        left: 14%;
        top: 30%;
    }

    .mas-map-pin-mia {
        left: 58%;
        top: 60%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .mas-benefit,
    .mas-feature,
    .mas-process-grid article,
    .mas-service-tools article,
    .mas-other-grid article,
    .mas-resource-grid a,
    .mas-certificates figure,
    .mas-locations article,
    .mas-fleet-table,
    .mas-calc-form {
        opacity: 1;
        transform: none;
    }
}
