/* Vista index - banner, hero, servicios, aeronaves, mantenimiento */

/* Banner Home */
.banner-home {
    position: relative;
    width: 100%;
    margin: 95px 0 0 0;
    height: calc(100vh - 95px);
    min-height: 550px;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.banner-home__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 0;
}

.banner-home__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

.banner-home__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 15%, rgba(255, 255, 255, 0) 55%);
    z-index: 1;
}

.banner-home__content {
    position: relative;
    z-index: 2;
    padding-left: 7.5rem;
    padding-right: 7.5rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.banner-home__title {
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    font-weight: 800;
    color: #185480;
    line-height: 1.25;
    margin: 0 0 1.25rem 0;
    max-width: 600px;
    text-align: left;
}

.title-en {
    font-size: clamp(1.4rem, 2.5vw, 2.8rem);
    max-width: 100%;
}

.title-en-large {
    font-size: 1.65em;
    display: inline-block;
    margin-top: 0.15rem;
}

span.badge-blue {
    display: inline-block;
    background: #185480;
    color: #ffffff;
    padding: 0.15rem 1.2rem;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.1;
    transform: translateY(-2px);
}

.banner-home__subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #606060;
    line-height: 1.3;
    max-width: 520px;
    margin: 0 0 1.5rem 0;
    font-weight: 500;
    text-align: left;
}

.banner-home__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-blue {
    background: #185480;
    color: #ffffff;
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-weight: 800;
    padding: 0.45rem 2.6rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1.15rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-blue:hover {
    background: #113c5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(17, 60, 92, 0.3);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .banner-home__gradient {
        background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.8) 45%, rgba(255, 255, 255, 0.1) 100%);
    }
}

@media (max-width: 768px) {
    .banner-home {
        height: auto;
        min-height: 80vh;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .banner-home__bg {
        width: 100%;
    }

    .banner-home__gradient {
        background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0.4) 100%);
    }

    .banner-home__content {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .banner-home__title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
}

/* --- NUEVA SECCIÓN DE FEATURES (Herramienta ideal) --- */
.features {
    padding: 6rem 5%;
    background-color: #ffffff;
    text-align: center;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    font-family: 'Kontora Black', 'Kontora', 'Outfit', sans-serif;
    color: #212529;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.features-underline {
    display: block;
    width: 120px;
    height: 5px;
    background-color: #8bb7cc;
    margin: 0 auto 5rem auto;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    justify-content: space-between;
}

.features-line {
    display: none;
    position: absolute;
    top: 54px;
    /* Mitad de los 110px del círculo (centrado para 2px de grosor) */
    left: 10%;
    right: 10%;
    height: 2.5px;
    background-color: #185480;
    z-index: 0;
}

@media (min-width: 900px) {
    .features-grid {
        flex-direction: row;
        gap: 2rem;
    }

    .features-line {
        display: block;
    }
}

.feature-item {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #185480;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 10px #ffffff;
    /* Borde interior invisible para cortar la línea trasera */
}

.feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-icon--built {
    width: 63px;
    height: 63px;
    margin-right: 13px;
}

.feature-icon--powered {
    width: 55px;
    height: 55px;
    margin-left: 5px;
}

.feature-content {
    text-align: center;
    padding: 0 1rem;
}

.feature-heading {
    font-family: 'Kontora', 'Outfit', sans-serif;
    color: #185480;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-desc {
    font-family: 'Kontora', 'Outfit', sans-serif;
    color: #606060;
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0;
    font-weight: 600;
}

.feature-subtext {
    font-family: 'Kontora Regular', sans-serif;
    font-family: 'Kontora Regular', sans-serif;
    font-weight: 400;
    color: #606060;
}

/* --- MODULES SHOWCASE --- */
.modules-showcase {
    padding: 0 5% 6rem 5%;
    background-color: #ffffff;
}

.modules-box {
    background-color: #F2F3F7;
    border-radius: 2.5rem;
    padding: 3rem 2rem;
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
}

.modules-body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.modules-text {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: flex-start;
    padding-top: 1.5rem;
}

.modules-title {
    font-family: 'Kontora Black', 'Kontora', 'Outfit', sans-serif;
    color: #185480;
    font-size: clamp(1.5rem, 2.8vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 2.5rem 0;
    line-height: 1.2;
    white-space: normal;
}

.modules-text p {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    color: #606060;
    font-size: 1.18rem;
    line-height: 1.25;
    margin: 0;
    font-weight: 300;
}

.modules-image-wrapper {
    flex: 1;
    background-color: #ffffff;
    padding: 1.35rem;
    /* El espacio blanco envolvente */
    border-radius: 2.5rem;
    width: 100%;
}

.modules-image-inner {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2.5 / 1;
}

.modules-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modules-img-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(28, 109, 166, 0.8);
    mix-blend-mode: overlay;
}

.btn-modulos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #185480;
    padding: 0.8rem 2.8rem;
    border-radius: 2.5rem;
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 2;
    white-space: nowrap;
}

.btn-modulos:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

@media (min-width: 900px) {
    .modules-box {
        padding: 3rem 6.5rem 3rem 4.2rem;
    }

    .modules-title {
        white-space: nowrap;
    }

    .modules-body {
        flex-direction: row;
        align-items: stretch;
    }

    .modules-text {
        padding-right: 2rem;
        padding-bottom: 1.5rem;
        /* Espacio para que flote naturalmente */
    }

    .modules-image-wrapper {
        margin-right: -8rem;
        margin-bottom: -3rem;
        align-self: flex-end;
        /* Lo ancla abajo a la derecha */
    }
}

@media (max-width: 899px) {
    .modules-image-wrapper {
        margin-right: -1rem;
        margin-left: -1rem;
        margin-bottom: -3rem;
        width: calc(100% + 2rem);
    }
}

/* --- MODULES LIST SECTION --- */
.modules-list-section {
    background-color: #185480;
    padding: 6rem 5%;
    color: #ffffff;
}

.modules-list-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.modules-list-title {
    font-family: 'Kontora Black', 'Kontora', 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.02em;
}

.modules-list-underline {
    display: block;
    width: 65px;
    height: 4px;
    background-color: #ffffff;
    margin: 0 auto 5rem auto;
}

.modules-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .modules-list-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.modules-list-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
    /* Separación vertical entre módulos */
}

.modules-list-line {
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 40px;
    /* Centro del círculo blanco de 80px */
    width: 2.5px;
    background-color: #ffffff;
    z-index: 1;
}

.module-item {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.module-item-icon {
    width: 85px;
    height: 85px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 2rem;
}

.module-plus {
    position: relative;
    width: 30px;
    height: 30px;
}

.module-plus::before,
.module-plus::after {
    content: '';
    position: absolute;
    background-color: #185480;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.module-plus::before {
    width: 100%;
    height: 6.5px;
}

.module-plus::after {
    width: 6.5px;
    height: 100%;
}

.module-item-content {
    flex: 1;
}

.module-item-title {
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.module-item-desc {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.25;
    margin: 0;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* --- WORKFLOW SECTION --- */
.workflow-section {
    padding: 8rem 5% 6rem 5%;
    background-color: #ffffff;
}

.workflow-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 900px) {
    .workflow-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 6rem;
    }
}

.workflow-left {
    flex: 1;
    /* Changed to take even partition initially */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 900px) {
    .workflow-left {
        flex: 0.85;
        /* Shrink width on desktop */
    }
}

.workflow-title {
    font-family: 'Kontora Black', 'Kontora', 'Outfit', sans-serif;
    color: #185480;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.workflow-desc p {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    color: #606060;
    font-size: 1.1rem;
    line-height: 1.25;
    margin: 0 0 1.25rem 0;
    font-weight: 300;
}

.workflow-desc p.workflow-desc-bold {
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-weight: 700;
    color: #606060;
    margin-bottom: 0;
}

.btn-workflow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #185480;
    color: #ffffff;
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 0.45rem 2.6rem;
    border-radius: 20px;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.2s;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

.btn-workflow:hover {
    background: #113c5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(17, 60, 92, 0.3);
    color: #ffffff;
}

.workflow-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .workflow-right {
        flex: 1.15;
        /* Grow width on desktop to fit long cards */
    }
}

.workflow-step-card {
    background-color: #F2F3F7;
    border-radius: 1.25rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workflow-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* very soft shadow */
}

.workflow-step-num {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: #185480;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Kontora Black', 'Kontora', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    flex-shrink: 0;
    line-height: 1;
    /* keeps number perfectly centered */
}

.workflow-step-content {
    flex: 1;
}

.workflow-step-title {
    font-family: 'Kontora', 'Outfit', sans-serif;
    color: #185480;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.02em;
}

.workflow-step-desc {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    color: #606060;
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0;
    font-weight: 300;
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 6rem 0;
    background-color: #F4F6F9;
    overflow-x: hidden;
}

.contact-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    margin-bottom: 5rem;
    width: 100%;
}

.contact-header::after {
    content: '';
    display: block;
}

.contact-line {
    height: 7px;
    background-color: #8bb7cc;
    margin-bottom: 1.5rem; /* Ajuste visual a la línea base del texto */
    width: 100%;
}

@media (max-width: 900px) {
    .contact-line {
        margin-bottom: 0.8rem;
    }
}

.contact-title {
    font-family: 'Kontora Black', 'Kontora', sans-serif;
    color: #185480;
    font-size: clamp(4rem, 8vw, 8rem);
    text-transform: uppercase;
    line-height: 0.85;
    margin: 0;
    padding: 0 2rem;
    text-align: center;
}

.contact-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 900px) {
    .contact-body {
        flex-direction: row;
        align-items: center;
        gap: 6rem;
    }
}

.contact-image-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contact-image-wrap img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
}

.contact-form-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form-title {
    font-family: 'Kontora Extra', 'Outfit', sans-serif;
    color: #185480;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.contact-form-desc {
    font-family: 'Kontora Regular', 'Outfit', sans-serif;
    color: #185480;
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0 0 2.5rem 0;
    font-weight: 300;
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.clean-form-group {
    position: relative;
    width: 100%;
}

.clean-form-group input {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(24, 84, 128, 0.2);
    background: transparent;
    padding: 0.4rem 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #185480;
    outline: none;
    transition: all 0.3s ease;
}

.clean-form-group input::placeholder {
    color: #185480;
    font-weight: 300;
    opacity: 0.85;
}

.clean-form-group input:focus {
    border-bottom: 1.5px solid #185480;
}

.clean-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-contact-submit {
    background: #185480;
    color: #ffffff;
    font-family: 'Kontora', 'Outfit', sans-serif;
    font-weight: 800;
    padding: 0.6rem 2.8rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1.15rem;
    border: none;
    cursor: pointer;
}

.btn-contact-submit:hover {
    background: #113c5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(17, 60, 92, 0.3);
}