/* ============================================================
   URTAXI-EC | HOME PRINCIPAL
   style-home-principal.css

   CSS aislado para la Home principal.
   Todas las clases utilizan el prefijo .home-

   No modificar:
   - web.css
   - header
   - footer
   - FAQ existentes
   - testimonios
   - partners
   ============================================================ */


/* ============================================================
   VARIABLES
   ============================================================ */

:root {
    --home-yellow: #FFC61A;
    --home-yellow-dark: #e5aa00;
    --home-black: #111111;
    --home-dark: #181818;
    --home-gray-dark: #333333;
    --home-gray: #666666;
    --home-gray-light: #f5f5f5;
    --home-border: #e6e6e6;
    --home-white: #ffffff;

    --home-radius: 4px;
    --home-radius-lg: 8px;

    --home-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);

    --home-transition:
        all 0.3s ease;
}


/* ============================================================
   BASE
   ============================================================ */

.home-principal-hero,
.home-principal-hero *,
.home-section,
.home-section * {
    box-sizing: border-box;
}

.home-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.home-section .container {
    position: relative;
    z-index: 2;
}

.home-section-heading {
    max-width: 820px;
    margin: 0 auto 55px;
    text-align: center;
}

.home-section-heading h2 {
    margin: 12px 0 18px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--home-black);
}

.home-section-heading p {
    margin: 0 auto;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--home-gray);
}


/* ============================================================
   EYEBROW
   ============================================================ */

.home-eyebrow {
    display: inline-block;
    margin-bottom: 8px;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--home-gray-dark);
}

.home-dark-section .home-eyebrow,
.home-principal-hero .home-eyebrow {
    color: var(--home-yellow);
}


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

.home-principal-hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    background-color: var(--home-dark);
}

.home-principal-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.65) 45%,
            rgba(0, 0, 0, 0.25) 100%
        );

    z-index: 1;
}

.home-hero-content {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    padding: 100px 0;
}

.home-hero-copy {
    width: 62%;
    max-width: 760px;
}

.home-hero-copy h1 {
    margin: 12px 0 24px;

    font-size: 54px;
    line-height: 1.08;
    font-weight: 700;

    color: var(--home-white);
}

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

    margin: 0 0 32px;

    font-size: 19px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.88);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 13px 24px;

    border-radius: var(--home-radius);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: var(--home-transition);
}

.home-hero-actions .btn span {
    margin-right: 8px;
}

.home-hero-actions .btn-yellow {
    background: var(--home-yellow);
    border: 1px solid var(--home-yellow);
    color: var(--home-black);
}

.home-hero-actions .btn-yellow:hover {
    background: var(--home-yellow-dark);
    border-color: var(--home-yellow-dark);
    color: var(--home-black);
}

.home-hero-actions .btn-black-bordered {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--home-white);
}

.home-hero-actions .btn-black-bordered:hover {
    background: var(--home-white);
    border-color: var(--home-white);
    color: var(--home-black);
}


/* ============================================================
   HERO - SERVICIOS RÁPIDOS
   ============================================================ */

.home-hero-services {
    width: 38%;
    max-width: 420px;

    display: grid;
    grid-template-columns: 1fr;

    gap: 10px;
}

.home-hero-service {
    display: grid;

    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;

    column-gap: 14px;

    padding: 17px 20px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--home-radius);

    background: rgba(0, 0, 0, 0.38);

    text-decoration: none;

    transition: var(--home-transition);
}

.home-hero-service:hover {
    border-color: var(--home-yellow);
    background: rgba(0, 0, 0, 0.65);

    transform: translateX(-4px);
}

.home-hero-service > span:first-child {
    grid-row: 1 / 3;

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

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--home-yellow);

    color: var(--home-black);

    font-size: 17px;
}

.home-hero-service > span:nth-child(2) {
    align-self: end;

    color: rgba(255, 255, 255, 0.65);

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-hero-service strong {
    align-self: start;

    margin-top: 2px;

    color: var(--home-white);

    font-size: 17px;
    line-height: 1.3;
}


/* ============================================================
   BOTONES GENERALES
   ============================================================ */

.home-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 22px;

    border-radius: var(--home-radius);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: var(--home-transition);
}

.home-section .btn-yellow {
    background: var(--home-yellow);
    border: 1px solid var(--home-yellow);
    color: var(--home-black);
}

.home-section .btn-yellow:hover {
    background: var(--home-yellow-dark);
    border-color: var(--home-yellow-dark);
    color: var(--home-black);
}

.home-section .btn-black-bordered {
    background: transparent;
    border: 1px solid var(--home-black);
    color: var(--home-black);
}

.home-section .btn-black-bordered:hover {
    background: var(--home-black);
    color: var(--home-white);
}


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

.home-services-section {
    padding: 100px 0;
    background: var(--home-white);
}

.home-service-grid {
    display: flex;
    flex-wrap: wrap;
}

.home-service-grid > [class*="col-"] {
    display: flex;
}

.home-service-card {
    position: relative;

    width: 100%;

    padding: 38px 34px 34px;

    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-lg);

    background: var(--home-white);

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);

    transition: var(--home-transition);
}

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

    border-color: rgba(255, 198, 26, 0.65);

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

.home-service-card-featured {
    border-top: 4px solid var(--home-yellow);
}

.home-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 25px;

    border-radius: 50%;

    background: var(--home-yellow);

    color: var(--home-black);

    font-size: 22px;
}

.home-card-number {
    position: absolute;

    top: 28px;
    right: 28px;

    color: #dddddd;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.home-service-card h3 {
    margin: 0 0 15px;

    color: var(--home-black);

    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
}

.home-service-card p {
    min-height: 82px;

    margin: 0 0 24px;

    color: var(--home-gray);

    font-size: 15px;
    line-height: 1.7;
}

.home-text-link {
    display: inline-flex;
    align-items: center;

    color: var(--home-black);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: var(--home-transition);
}

.home-text-link span {
    margin-left: 8px;

    color: var(--home-yellow);

    transition: var(--home-transition);
}

.home-text-link:hover {
    color: var(--home-yellow-dark);
}

.home-text-link:hover span {
    transform: translateX(5px);
}


/* ============================================================
   SECCIONES FEATURE
   ============================================================ */

.home-feature-section {
    padding: 105px 0;
}

.home-airport-section {
    background: var(--home-gray-light);
}

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

.home-feature-row {
    display: flex;
    align-items: center;
}

.home-feature-copy {
    padding: 20px 25px 20px 0;
}

.home-feature-copy h2 {
    margin: 10px 0 22px;

    color: var(--home-black);

    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
}

.home-feature-copy p {
    max-width: 650px;

    margin: 0 0 17px;

    color: var(--home-gray);

    font-size: 16px;
    line-height: 1.75;
}

.home-feature-copy .btn {
    margin-top: 12px;
}


/* ============================================================
   PUNTOS DE CONFIANZA
   ============================================================ */

.home-feature-points {
    padding-left: 30px;
}

.home-point {
    display: flex;
    align-items: flex-start;

    padding: 22px 0;

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

.home-point:first-child {
    padding-top: 0;
}

.home-point:last-child {
    border-bottom: 0;
}

.home-point > span {
    flex: 0 0 auto;

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

    width: 48px;
    height: 48px;

    margin-right: 18px;

    border-radius: 50%;

    background: var(--home-yellow);

    color: var(--home-black);

    font-size: 17px;
}

.home-point strong {
    display: block;

    margin-bottom: 5px;

    color: var(--home-black);

    font-size: 17px;
}

.home-point p {
    margin: 0;

    color: var(--home-gray);

    font-size: 14px;
    line-height: 1.6;
}


/* ============================================================
   CORPORATIVO
   ============================================================ */

.home-dark-section {
    background: var(--home-dark);
}

.home-dark-section .home-feature-copy h2 {
    color: var(--home-white);
}

.home-dark-section .home-feature-copy p {
    color: rgba(255, 255, 255, 0.72);
}

.home-corporate-box {
    padding: 35px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--home-radius-lg);

    background: rgba(255, 255, 255, 0.04);
}

.home-corporate-box h3 {
    margin: 0 0 22px;

    color: var(--home-white);

    font-size: 22px;
    font-weight: 700;
}

.home-corporate-box ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.home-corporate-box li {
    display: flex;
    align-items: center;

    padding: 12px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
}

.home-corporate-box li:last-child {
    border-bottom: 0;
}

.home-corporate-box li span {
    margin-right: 12px;

    color: var(--home-yellow);
}


/* ============================================================
   RUTA PUNTO A PUNTO
   ============================================================ */

.home-route-card {
    max-width: 500px;

    margin: 0 auto;
    padding: 38px;

    border-radius: var(--home-radius-lg);

    background: var(--home-gray-light);

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

.home-route-label {
    margin-bottom: 30px;

    color: var(--home-gray);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.home-route-point {
    display: flex;
    align-items: flex-start;
}

.home-route-dot {
    position: relative;

    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    margin: 4px 18px 0 0;

    border: 4px solid var(--home-yellow);
    border-radius: 50%;

    background: var(--home-white);
}

.home-route-dot-end {
    border-color: var(--home-black);
}

.home-route-point small {
    display: block;

    margin-bottom: 4px;

    color: var(--home-gray);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.home-route-point strong {
    display: block;

    color: var(--home-black);

    font-size: 16px;
    line-height: 1.4;
}

.home-route-line {
    width: 2px;
    height: 40px;

    margin: 4px 0 4px 7px;

    background: var(--home-yellow);
}


/* ============================================================
   RED DE UNIDADES
   ============================================================ */

.home-network-section {
    padding: 100px 0;

    background: var(--home-gray-light);
}

.home-network-grid {
    display: flex;
    flex-wrap: wrap;
}

.home-network-grid > [class*="col-"] {
    display: flex;
}

.home-network-item {
    width: 100%;

    padding: 32px 25px;

    text-align: center;

    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-lg);

    background: var(--home-white);

    transition: var(--home-transition);
}

.home-network-item:hover {
    transform: translateY(-5px);

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

    border-color: rgba(255, 198, 26, 0.55);
}

.home-network-item > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--home-yellow);

    color: var(--home-black);

    font-size: 20px;
}

.home-network-item h3 {
    margin: 0 0 12px;

    color: var(--home-black);

    font-size: 18px;
    line-height: 1.3;
}

.home-network-item p {
    margin: 0;

    color: var(--home-gray);

    font-size: 14px;
    line-height: 1.65;
}

.home-section-cta {
    margin-top: 45px;

    text-align: center;
}


/* ============================================================
   POR QUÉ URTAXI
   ============================================================ */

.home-trust-section {
    padding: 100px 0;

    background: var(--home-white);
}

.home-trust-item {
    padding: 25px;

    text-align: center;
}

.home-trust-item > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--home-yellow);

    color: var(--home-black);

    font-size: 22px;
}

.home-trust-item h3 {
    margin: 0 0 12px;

    color: var(--home-black);

    font-size: 19px;
    line-height: 1.3;
}

.home-trust-item p {
    margin: 0;

    color: var(--home-gray);

    font-size: 14px;
    line-height: 1.65;
}


/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */

.home-process-section {
    padding: 100px 0;

    background: var(--home-gray-light);
}

.home-process-grid {
    display: flex;
    flex-wrap: wrap;
}

.home-process-grid > [class*="col-"] {
    display: flex;
}

.home-process-item {
    position: relative;

    width: 100%;

    padding: 15px 30px 30px;

    text-align: center;
}

.home-process-item::after {
    content: "";

    position: absolute;

    top: 28px;
    right: -8px;

    width: 16px;
    height: 2px;

    background: var(--home-yellow);
}

.home-process-grid > [class*="col-"]:last-child
.home-process-item::after {
    display: none;
}

.home-process-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--home-black);

    color: var(--home-yellow);

    font-size: 14px;
    font-weight: 700;
}

.home-process-item h3 {
    margin: 0 0 10px;

    color: var(--home-black);

    font-size: 19px;
}

.home-process-item p {
    margin: 0;

    color: var(--home-gray);

    font-size: 14px;
    line-height: 1.6;
}


/* ============================================================
   FAQ HOME
   ============================================================ */

.home-faq-section {
    padding: 100px 0;

    background: var(--home-white);
}

.home-faq-card {
    height: 100%;

    margin-bottom: 25px;
    padding: 30px;

    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-lg);

    background: var(--home-white);

    transition: var(--home-transition);
}

.home-faq-card:hover {
    border-color: rgba(255, 198, 26, 0.6);

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

.home-faq-card h3 {
    margin: 0 0 13px;

    color: var(--home-black);

    font-size: 18px;
    line-height: 1.4;
}

.home-faq-card p {
    margin: 0 0 15px;

    color: var(--home-gray);

    font-size: 14px;
    line-height: 1.7;
}

.home-faq-card a {
    color: var(--home-black);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.home-faq-card a:hover {
    color: var(--home-yellow-dark);
}


/* ============================================================
   ESPACIADO DE LAS COLUMNAS
   ============================================================ */

.home-service-grid > [class*="col-"],
.home-network-grid > [class*="col-"] {
    margin-bottom: 30px;
}


/* ============================================================
   ACCESIBILIDAD / FOCUS
   ============================================================ */

.home-principal-hero a:focus,
.home-section a:focus {
    outline: 3px solid rgba(255, 198, 26, 0.55);
    outline-offset: 3px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media only screen and (max-width: 991px) {

    .home-principal-hero {
        min-height: auto;
    }

    .home-hero-content {
        flex-direction: column;

        align-items: flex-start;

        padding: 85px 0;
    }

    .home-hero-copy,
    .home-hero-services {
        width: 100%;
        max-width: 720px;
    }

    .home-hero-copy h1 {
        font-size: 46px;
    }

    .home-hero-services {
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        max-width: none;
    }

    .home-hero-service {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .home-hero-service > span:first-child {
        grid-row: auto;

        margin: 0 auto 12px;
    }

    .home-feature-copy {
        padding-right: 0;
    }

    .home-feature-copy h2 {
        font-size: 35px;
    }

    .home-feature-points {
        padding-left: 0;
        margin-top: 40px;
    }

    .home-corporate-box {
        margin-top: 40px;
    }

    .home-route-card {
        margin-top: 40px;
    }

    .home-process-item::after {
        display: none;
    }

}


/* ============================================================
   MÓVIL
   ============================================================ */

@media only screen and (max-width: 767px) {

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

    .home-section-heading h2 {
        font-size: 30px;
    }

    .home-section-heading p {
        font-size: 15px;
    }


    /* HERO */

    .home-principal-hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.78),
                rgba(0, 0, 0, 0.65)
            );
    }

    .home-hero-content {
        gap: 35px;

        padding: 70px 0 65px;
    }

    .home-hero-copy h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .home-hero-lead {
        font-size: 16px;
        line-height: 1.65;
    }

    .home-hero-actions {
        width: 100%;

        flex-direction: column;
    }

    .home-hero-actions .btn {
        width: 100%;
    }

    .home-hero-services {
        grid-template-columns: 1fr;

        width: 100%;
    }

    .home-hero-service {
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;

        text-align: left;
    }

    .home-hero-service > span:first-child {
        grid-row: 1 / 3;

        margin: 0;
    }


    /* SECCIONES */

    .home-services-section,
    .home-feature-section,
    .home-network-section,
    .home-trust-section,
    .home-process-section,
    .home-faq-section {
        padding: 70px 0;
    }


    /* CARDS */

    .home-service-card {
        padding: 30px 25px;
    }

    .home-service-card p {
        min-height: auto;
    }


    /* FEATURE */

    .home-feature-copy h2 {
        font-size: 31px;
    }

    .home-feature-copy p {
        font-size: 15px;
    }

    .home-feature-points {
        margin-top: 30px;
    }


    /* CORPORATIVO */

    .home-corporate-box {
        padding: 28px 23px;
    }


    /* RUTA */

    .home-route-card {
        padding: 28px 22px;
    }


    /* NETWORK */

    .home-network-item {
        padding: 28px 20px;
    }


    /* PROCESS */

    .home-process-item {
        padding: 10px 20px 30px;
    }


    /* FAQ */

    .home-faq-card {
        padding: 25px 22px;
    }

}


/* ============================================================
   MÓVIL PEQUEÑO
   ============================================================ */

@media only screen and (max-width: 480px) {

    .home-hero-copy h1 {
        font-size: 32px;
    }

    .home-hero-lead {
        font-size: 15px;
    }

    .home-section-heading h2 {
        font-size: 27px;
    }

    .home-feature-copy h2 {
        font-size: 28px;
    }

    .home-service-card h3 {
        font-size: 21px;
    }

    .home-corporate-box {
        padding: 25px 20px;
    }

    .home-route-card {
        padding: 25px 18px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

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

    .home-principal-hero *,
    .home-section * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}