.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.navbar-brand-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
}

.navbar-brand-phone {
    padding-left: 1em;
    font-weight: 700;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    display: inline-flex;
    gap: 0.35rem;
    text-decoration: none;
}

.navbar-brand-phone-label {
    color: var(--taxixi-yellow, #f8941d);
}

.navbar-brand-phone-number {
    color: rgba(15, 23, 42, 0.78);
}

.legal-page {
    background: #fff;
    border-radius: 1.5rem;
    padding: clamp(1.5rem, 2vw, 2.75rem);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.legal-page h1 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 1rem;
}

.legal-page h2 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-page .legal-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: left;
}

.legal-page p {
    font-size: 1rem;
    line-height: 1.85;
    color: #2a2a2a;
    margin-bottom: 1rem;
}

.legal-page ul {
    padding-left: 1.35rem;
    margin-bottom: 1rem;
}

.legal-page li {
    margin-bottom: 0.6rem;
}

.legal-page a {
    color: var(--taxixi-dark);
    font-weight: 600;
    text-decoration: underline;
}

.navbar-nav .nav-link {
            position: relative;
        }

        .nav-link.nav-link-taxista {
            padding-right: 3rem;
        }

        .nav-link.nav-link-taxista .taxista-icon {
           position: absolute;
            bottom: -1.3rem;
            right: -3.75rem;
            transform: translateY(0);
            width: 60px;
            height: 60px;
        }

        .nav-link.nav-link-taxista .taxista-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .navbar-nav .nav-link.active-section {
            color: var(--taxixi-dark);
            font-weight: 600;
        }

        .navbar-nav .nav-link.active-section::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -0.25rem;
            width: 36px;
            height: 2px;
            background: var(--taxixi-dark);
            transform: translateX(-50%);
            border-radius: 999px;
        }

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 1.25rem;
        box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
        padding: 1rem 1.5rem;
        margin-top: 1rem;
    }

    .navbar-collapse .navbar-nav {
        flex-direction: column;
    }

    .navbar-collapse .nav-link {
        padding: 0.35rem 0;
        font-size: 1.1rem;
    }

    .navbar-collapse .nav-link.active-section::after {
        bottom: -0.35rem;
        width: 22px;
    }

    .navbar-collapse .nav-link::after {
        display: none;
    }

    .navbar-collapse {
        border: 1px solid rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.95);
    }

    .navbar-collapse .navbar-nav {
        gap: 0.1rem;
        border-bottom: 1px solid rgba(15, 23, 42, 0.05);
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .navbar-collapse .nav-link {
        color: var(--taxixi-dark);
        transition: color 0.25s ease, transform 0.25s ease;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active-section {
        color: var(--taxixi-yellow);
    }

    .navbar-collapse .btn {
        width: 100%;
        border-radius: 0.75rem;
    }
}

        .hero-gradient {
            display: none;
        }

        #inicio .container {
            position: relative;
            z-index: 1;
        }

        .hero-full {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 3rem;
            padding-bottom: clamp(2rem, 4vw, 3rem);
            overflow: visible;
            background: white;
        }
        .hero-buttons {
            flex-wrap: wrap;
        }

        .hero-buttons .btn {
            min-width: 180px;
        }

        .hero-headline {
            line-height: 1.15;
        }

        .hero-headline-line {
            font-size: clamp(1.65rem, 3vw, 2.35rem);
        }

        .hero-title {
            display: block;
            font-size: clamp(3rem, 8vw, 4.75rem);
            letter-spacing: 0.08em;
            color: var(--taxixi-yellow);
            margin-top: 0.25rem;
        }

        .hero-subtext {
            max-width: 32rem;
        }

        .hero-title-text {
            font-size: clamp(1.8rem, 4vw, 2.6rem);
            letter-spacing: 0.04em;
            font-weight: 700;
            color: var(--taxixi-dark);
        }

        .hero-title-highlight {
            font-size: clamp(2.6rem, 5vw, 3.6rem);
            letter-spacing: 0.08em;
            color: var(--taxixi-yellow);
            display: inline-block;
        }

        .hero-section-title {
            margin-bottom: 0.5rem;
        }

        .hero-store-link {
            min-width: 180px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .hero-store-link img {
            width: auto;
            height: 56px;
            max-width: min(220px, 90vw);
            display: block;
        }

        @media (max-width: 768px) {
            .hero-buttons {
                align-items: center;
            }

            .hero-store-link {
                width: auto;
            }

            .hero-store-link img {
                height: 72px;
                max-width: min(280px, 90vw);
            }
        }

        .hero-phones-desktop {
            position: absolute;
            right: clamp(1rem, 6vw, 6%);
            top: 40%;
            transform: translateY(-50%);
            z-index: 1;
            display: none;
            align-items: flex-end;
            gap: 0;
            pointer-events: none;
            width: min(420px, 50vw);
            min-width: 320px;
            justify-content: flex-end;
        }

        .servicio-card {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 0.75rem;
        }

        .servicio-stat-container {
            margin-bottom: 0.35rem;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .servicios-contador {
            font-size: clamp(1.8rem, 4vw, 2rem);
            font-weight: 700;
            color: var(--taxixi-dark);
            display: inline-block;
            width: 100%;
        }

        #servicios .card-soft .display-4,
        #servicios .servicio-stat-container {
            margin-bottom: 0.5rem;
        }

        #servicios .card-soft h5,
        #servicios .card-soft p {
            width: 100%;
        }

        .trasvergo-section {
            position: relative;
            overflow: hidden;
        }

        .trasvergo-section .list-unstyled li::before {
            content: '•';
            color: var(--taxixi-yellow);
            margin-right: 0.35rem;
        }

        .mac-frame {
            width: min(560px, 90vw);
            margin: 0 auto;
            background: #0b0d11;
            border-radius: 1.4rem;
            padding: 1rem 1.2rem 1.3rem;
            box-shadow: 0 40px 70px rgba(15, 23, 42, 0.25);
            position: relative;
        }

        .mac-notch {
            position: absolute;
            top: 0.85rem;
            left: 50%;
            transform: translate(-50%, -40%);
            width: 120px;
            height: 7px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.55);
        }

        .mac-screen {
            border-radius: 1rem;
            overflow: hidden;
            background: white;
            padding: 0.9rem;
        }

        .mac-screen img {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 0.75rem;
            object-fit: cover;
        }

        .mac-stand {
            position: absolute;
            bottom: -0.5rem;
            left: 50%;
            transform: translate(-50%, 50%);
            width: 80px;
            height: 12px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.5);
        }

        .contact-cta {
            background: #fff;
            border-top: 1px solid rgba(15, 23, 42, 0.08);
        }

        .contact-cta .feature-card {
            border-radius: 1.35rem;
            border: 1px solid rgba(15, 23, 42, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: #fdfdfd;
            justify-content: space-between;
            min-height: 320px;
        }

        .contact-cta .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 22px 50px rgba(15, 23, 42, 0.15);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #fff;
        }

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

        .feature-icon-call {
            background: linear-gradient(135deg, rgba(248, 148, 29, 0.3), rgba(255, 180, 110, 0.5));
        }

        .feature-icon-whatsapp {
            background: rgba(37, 211, 102, 0.18);
        }

        .feature-icon-android {
            background: rgba(0, 0, 0, 0.08);
        }

        .feature-icon-ios {
            background: rgba(27, 27, 27, 0.08);
        }

        .contact-cta .feature-card p {
            min-height: 3.5rem;
        }

        .contact-cta .btn {
            font-weight: 600;
            border-radius: 0.85rem;
            border-width: 2px;
            box-shadow: none;
            padding: 0.75rem 1.25rem;
        }

        .btn-call {
            background: linear-gradient(120deg, #f8941d, #f24d10);
            border-color: orange;
            color: #fff;
        }

        .btn-whatsapp {
            background: #25d366;
            border-color: #25d366;
            color: #0b702f;
        }

        .btn-whatsapp:hover,
        .btn-whatsapp:focus {
            background: #1fb255;
            border-color: #1fb255;
            color: #0a6128;
        }

        .btn-android {
            background: #050505;
            border-color: #050505;
            color: #fff;
        }

        .btn-android:hover,
        .btn-android:focus {
            background: #111;
            border-color: #111;
            color: #fff;
        }

        .btn-ios {
            background: #fff;
            border-color: #111;
            color: #111;
        }

        .btn-ios:hover,
        .btn-ios:focus {
            background: #f1f1f1;
            border-color: #111;
            color: #111;
        }

        .hero-phone {
            width: 180px;
            height: auto;
            border-radius: 1.6rem;
            box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
            transition: transform 0.6s ease, filter 0.3s ease;
            background: linear-gradient(180deg, #111 0%, #1a1a1a 55%, #0a0a0a 100%);
            border: 3px solid #0c0c0c;
            padding: 0.35rem;
            position: relative;
        }

        .hero-phone-video,
        .hero-phone-mobile video {
            width: 100%;
            height: 100%;
            border-radius: inherit;
            object-fit: cover;
            display: block;
        }

        .hero-phone-1 {
            transform: rotate(-18deg) translate(-30px, 10px);
            z-index: 1;
            filter: blur(0px);
        }

        .hero-phone-2 {
            transform: rotate(-5deg);
            z-index: 3;
            margin-left: -50px;
        }

        .hero-phone-3 {
            transform: rotate(18deg) translate(-40px, 10px);
            z-index: 2;
            margin-left: -30px;
        }

        .hero-phone::after,
        .hero-phone::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            border-radius: 999px;
            background: #1c1c1c;
        }

        .hero-phone::before {
            height: 4px;
            top: 8px;
            width: 40%;
        }

        .hero-phone::after {
            height: 16px;
            bottom: 18px;
            border-radius: 999px;
            background: linear-gradient(180deg, #1f1f1f, #0e0e0e);
        }

        .hero-scroll {
            position: absolute;
            top: auto;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            width: 72px;
            height: 72px;
            border-radius: 50%;
            border: 3px solid rgba(15, 23, 42, 0.25);
            background: rgba(255, 255, 255, 0.92);
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
            z-index: 2;
            transition: transform 0.35s ease, box-shadow 0.35s ease;
        }

        .hero-scroll:hover {
            transform: translate(-50%, -2px);
            box-shadow: 0 25px 45px rgba(15, 23, 42, 0.2);
        }

        .hero-scroll-icon {
            width: 28px;
            height: 28px;
            display: inline-flex;
            animation: bounceArrow 1.6s ease-in-out infinite;
        }

        .hero-scroll-icon svg {
            width: 100%;
            height: 100%;
        }

        @keyframes bounceArrow {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(6px); }
        }

        .hero-phones-mobile {
            display: none;
        }

        .hero-phones-mobile-stack {
            width: min(260px, 85vw);
            height: 320px;
            margin: 2rem auto 1rem;
            position: relative;
            z-index: 1;
            display: none;
            border-radius: 0;
            border: none;
            background: transparent;
            text-align: center;
        }
        .hero-phones-mobile-wrapper {
            display: flex;
            justify-content: center;
        }

        .hero-phone-mobile {
            position: absolute;
            width: 100%;
            max-width: 190px;
            height: auto;
            border-radius: 1.6rem;
            box-shadow: 0 22px 42px rgba(15, 23, 42, 0.2);
            background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
        }

        .hero-mobile-1,
        .hero-mobile-2,
        .hero-mobile-3 {
            top: 12%;
        }

        .hero-mobile-1 {
            left: -6%;
            z-index: 1;
        }

        .hero-mobile-2 {
            left: 28%;
            z-index: 4;
        }

        .hero-mobile-3 {
            left: 62%;
            z-index: 2;
        }

        .testimonial-carousel {
            position: relative;
            overflow: hidden;
            padding: 2rem 0 1.5rem;
            background: transparent;
            width: 100%;
        }

        .testimonial-track {
            display: flex;
            gap: 1rem;
            transition: transform 0.8s ease;
            will-change: transform;
            padding: 0 1.25rem;
            align-items: stretch;
            min-width: 100%;
            margin: 0 auto;
            max-width: 1200px;
            width: min(1200px, 100%);
        }

        .testimonial-card {
            flex: 0 0 clamp(240px, 33.3333%, 320px);
            min-width: 230px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 1.25rem;
            box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
            border: 1px solid rgba(15, 23, 42, 0.06);
        }

        .contact-section {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.2) 60%, transparent);
            position: relative;
        }

        .contact-panel {
            border-radius: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.5);
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
            backdrop-filter: blur(18px);
        }

        .contact-panel .form-control {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(15, 23, 42, 0.1);
            color: #1f1f1f;
            border-radius: 0.65rem;
            padding: 0.95rem 1.25rem;
            box-shadow: inset 0 8px 20px rgba(15, 23, 42, 0.08);
            transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
        }

        .contact-panel .form-control::placeholder {
            color: #bfb4a6;
        }

        .contact-panel .form-control:focus {
            border-color: #ffb509;
            box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
            transform: translateY(-1px);
        }

        .contact-panel .form-control.is-invalid {
            border-color: #f44336;
        }

        .card-soft {
            border-radius: 1.5rem;
            border: none;
            box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
            background: white;
        }

        .list-group {
            border-radius: 1rem;
            overflow: hidden;
        }

        .funciona-step {
            border: none;
            padding: 1.5rem;
            border-bottom: 1px solid #e7e7e7;
            transition: background 0.3s ease, transform 0.3s ease;
        }

        .funciona-step:last-child {
            border-bottom: none;
        }

        .funciona-step.active {
            background: rgba(255, 193, 7, 0.15);
            color: var(--taxixi-dark);
            font-weight: 600;
        }

        .funciona-detail {
            padding: 1rem;
            border-radius: 1rem;
            background-color: #fff;
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            opacity: 1;
            transform: translateY(0);
        }

        .funciona-detail:hover,
        .funciona-detail.active {
            transform: translateY(-6px);
            box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
        }

        @keyframes slideUp {
            from {
                transform: translateY(18px);
            }
            to {
                transform: translateY(0);
            }
        }

        .como-animate .funciona-detail {
            animation: slideUp 0.6s ease forwards;
            animation-delay: var(--delay, 0s);
        }

        .funciona-icon,
        .funciona-bullet,
        .funciona-bullet-alt {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            border: 2px solid rgba(255, 193, 7, 0.85);
            background: transparent;
            color: var(--taxixi-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
            transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
        }

        .funciona-icon.rotate-spin {
            animation: iconRotate 0.75s ease;
        }

        .funciona-detail.active .funciona-icon {
            background: var(--taxixi-yellow);
            color: #0c0c0c;
            border-color: rgba(255, 193, 7, 0.95);
            box-shadow: 0 20px 35px rgba(255, 193, 7, 0.35);
        }

        @keyframes iconRotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        .funciona-image,
        .funciona-video {
            width: min(300px, 100%);
            max-width: 320px;
            height: clamp(320px, 48vw, 520px);
            max-height: 520px;
            object-fit: cover;
            transition: opacity 0.4s ease, width 0.4s ease;
            display: block;
            margin: 0 auto;
        }

        .phone-frame {
            background: linear-gradient(180deg, rgba(17, 17, 17, 0.9) 0%, rgba(27, 27, 27, 0.9) 100%);
            color: #fff;
            border: none;
            width: min(300px, 100%);
            max-width: 320px;
            height: auto;
            padding: 0.85rem;
            border-radius: 1.75rem;
            box-shadow: 0 25px 45px rgba(15, 23, 42, 0.2);
        }

        .facil-stack {
            width: min(340px, 100%);
            height: 360px;
            margin: 0 auto;
            position: relative;
        }

        .facil-layer {
            position: absolute;
            width: 72%;
            max-width: 260px;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.6s ease;
            --facil-offset-transform: translate(0px, 0px);
            cursor: pointer;
            transform: var(--facil-base-transform, rotate(-10deg)) var(--facil-offset-transform);
        }

        .facil-layer img {
            width: 100%;
            height: auto;
            border-radius: 1.25rem;
            box-shadow: 0 35px 60px rgba(15, 23, 42, 0.35);
        }

        .facil-video {
            width: 100%;
            height: auto;
            border-radius: 1.25rem;
            box-shadow: 0 35px 60px rgba(15, 23, 42, 0.35);
            object-fit: cover;
        }

        @media (min-width: 992px) {
            .hero-phones-desktop {
                display: flex;
            }

            .hero-full {
                padding-bottom: clamp(2rem, 3vw, 3rem);
            }

            .hero-phones-mobile-stack {
                display: none;
            }

            .hero-scroll {
                display: inline-flex;
            }
        }

        @media (max-width: 991px) {
            .hero-full {
                min-height: auto;
                padding-top: 3rem;
                padding-bottom: 5rem;
            }

            .hero-phones-desktop {
                display: none;
            }

            .hero-phones-mobile-stack {
                display: block;
                width: min(340px, 94vw);
                height: min(460px, 100vh);
                margin: 0.25rem auto 0.5rem;
            }
            .hero-phones-mobile-wrapper {
                margin-top: 0;
            }
            .funciona-image,
            .funciona-video {
                width: min(240px, 100%);
                height: clamp(420px, 70vw, 560px);
            }
            .como-visual {
                order: 0;
                margin-bottom: 1.5rem;
                display: flex;
                justify-content: center;
                align-items: center;
            }
            .como-options-left {
                order: 1;
            }
            .como-options-right {
                order: 2;
            }
            .como-options-left,
            .como-options-right {
                width: 100%;
            }
            .como-options-left .funciona-detail,
            .como-options-right .funciona-detail {
                width: 100%;
            }
            .phone-frame {
                width: min(240px, 90vw);
                margin: 0 auto;
                display: flex;
                flex-direction: column;
                align-items: center;
                padding: 0.25rem;
                background: rgba(17, 17, 17, 0.85);
            }
            .phone-frame h4,
            .phone-frame p {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .video-arreglo {
                height: 104%;
            }
            .hero-phones-mobile-stack {
                width: min(260px, 85vw);
            }

            .hero-phone-mobile {
                max-width: 140px;
            }

            .hero-buttons {
                flex-direction: column;
            }

            #facil-rapida {
                padding-bottom: 6rem;
            }

            .hero-full {
                padding-top: 0px;
                padding-bottom: 0px;
            }

            .facil-stack {
                width: min(240px, 90vw);
                height: 300px;
                left: 27px;
                top: 53px;
            }

            .facil-layer {
                width: 64%;
            }
            .funciona-image {
                width: min(200px, 100%);
            }
        }
        #facil-rapida {
            margin-top: 5rem;
            padding-top: 1rem;
        }
        #facil-rapida {
            position: relative;
            padding-bottom: 5rem;
        }
.video-arreglo {
    height: 134%;
}

 @media (max-width: 768px) {
            .video-arreglo {
                height: 104%;
            }
            .section-padding {
                padding-top: 1rem;
                padding-bottom: 1rem;
            }
            .py-5 {
                padding-top: 3rem !important;
                padding-bottom: 0rem !important;
            }
            .taxi-track {
                display: none;
            }
        }

/* ===== PISTA Y ANIMACIÓN DEL TAXI ===== */

.landing-footer {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.landing-footer h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.landing-footer p,
.landing-footer small {
  margin-bottom: 0.35rem;
}


/* Contenedor general de la pista */
.taxi-track {
  position: relative;
  width: 100%;
  height: 60px;              /* alto suficiente para el taxi y la línea */
  margin: 2rem 0;
}

/* Línea rosa (de fondo) */
.taxi-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;               /* grosor de la línea */
  background: #f8941d;
  transform: translateY(-50%);
  border-radius: 0px;
}

/* El taxi */
.taxi-track .taxi {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 50px;               /* tamaño del taxi */
  height: auto;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
  will-change: left, transform;
  animation: taxi-drive 12s linear infinite;
}

/* Animación de movimiento */
@keyframes taxi-drive {
  from { left: 0%; }
  to   { left: 110%; }
}



@media (max-width: 920px){
    
    @keyframes taxi-drive {
  from { left: 0%; }
  to   { left: 117%; }
}
     .taxi-track .taxi {
  animation: taxi-drive 7s linear infinite;
}
}
