/* ═══════════════════════════════════════════════════
   HERO — dark overlay cinematic
═══════════════════════════════════════════════════ */
.tp-hero {
    min-height: 100vh;
    background: url('../img/tours/transportacion/_MG_7009.png') center center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}
.tp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4,16,28, 0.35) 0%,
        rgba(4,16,28, 0.60) 50%,
        rgba(4,16,28, 0.97) 100%
    );
    z-index: 1;
}
.tp-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    /* FIX: espacio para el navbar fijo */
    padding: 100px 0 4rem;
}

/* ═══════════════════════════════════════════════════
   GLASS BADGE (por si no se carga de style.css)
═══════════════════════════════════════════════════ */
.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* ═══════════════════════════════════════════════════
   INLINE BOOKING WIDGET (inside hero bottom)
═══════════════════════════════════════════════════ */
.booking-widget {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    margin-top: 2.5rem;
}
.booking-tab-btns {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.booking-tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}
.booking-tab-btn.active {
    background: var(--cpt-primary);
    border-color: var(--cpt-primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(238,118,28,0.4);
}
.booking-tab-btn:hover:not(.active) {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

/* Labels */
.booking-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.35rem;
}

/* Inputs y selects en el widget oscuro */
.booking-field input,
.booking-field select {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #fff;
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-family: inherit;
}
.booking-field input::placeholder {
    color: rgba(255,255,255,0.35);
}
.booking-field input:focus,
.booking-field select:focus {
    outline: none;
    border-color: var(--cpt-primary);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(238,118,28,0.15);
}

/* FIX: date/time inputs en fondo oscuro */
.booking-field input[type="date"],
.booking-field input[type="time"] {
    color-scheme: dark;
    color: #fff;
}
.booking-field input[type="date"]::-webkit-calendar-picker-indicator,
.booking-field input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.6);
    cursor: pointer;
}
.booking-field input[type="number"]::-webkit-outer-spin-button,
.booking-field input[type="number"]::-webkit-inner-spin-button {
    filter: invert(1) opacity(0.4);
}

/* Select options */
.booking-field select option {
    color: #222;
    background: #fff;
}

/* Trip type toggle */
.trip-type-toggle {
    display: flex;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
}
.trip-type-toggle input[type="radio"] {
    display: none;
}
.trip-type-toggle label {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    letter-spacing: 0;
    text-transform: none;
}
.trip-type-toggle input[type="radio"]:checked + label {
    background: var(--cpt-primary);
    color: #fff;
    border-radius: 10px;
}

/* Price bar */
.booking-price-bar {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.booking-price-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
#total-price-display {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--cpt-primary);
    line-height: 1;
}
/* FIX: vehicle display necesita color blanco */
#vehicle-display {
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Botón Stripe */
.btn-book-stripe {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.3px;
    border: none;
    background: linear-gradient(135deg, var(--cpt-primary) 0%, #ff8c42 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(238,118,28,0.35);
    cursor: pointer;
    text-decoration: none;
}
.btn-book-stripe:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(238,118,28,0.5);
    color: #fff;
}

/* Botón WhatsApp */
.btn-book-wa {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(37,211,102,0.3);
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.btn-book-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(37,211,102,0.45);
    color: #fff;
}

/* Aviso lead-time */
#lead-time-notice {
    font-size: 0.78rem;
    color: #ffd166;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(255,209,102,0.1);
    border: 1px solid rgba(255,209,102,0.2);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
}

/* ═══════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════ */
.trust-bar {
    background: #fff;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    padding: 1.5rem 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    color: var(--cpt-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}
.trust-item i {
    color: var(--cpt-primary);
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════
   SERVICES — Two-service cards row
═══════════════════════════════════════════════════ */
.svc-card {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    transition: opacity 0.4s ease;
}
.svc-card.transfer {
    background-color: #07202e;
    background-image: url('../img/tours/transportacion/Toyota%20hiace.png');
    background-position: center;
    background-size: cover;
}
.svc-card.transfer::before {
    background: linear-gradient(180deg, rgba(7, 32, 46, 0.5) 0%, rgba(7, 32, 46, 0.2) 40%, rgba(7, 32, 46, 0.97) 100%);
}
.svc-card.hourly {
    background-color: #ba5d16;
    background-image: url('../img/tours/transportacion/wolkswagen%20crafter.png');
    background-position: center;
    background-size: cover;
}
.svc-card.hourly::before {
    background: linear-gradient(180deg, rgba(238,118,28, 0.4) 0%, rgba(238,118,28, 0.25) 40%, rgba(238,118,28, 0.92) 100%);
}
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.3);
}
.svc-card-body {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}
.svc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}
.svc-card h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.svc-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
.svc-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.svc-include-tag {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.svc-price-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.2rem;
}
.svc-price-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.svc-price-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}
.btn-svc {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--cpt-secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.btn-svc:hover {
    background: var(--cpt-primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-svc-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-svc-outline:hover {
    background: #fff;
    color: var(--cpt-secondary);
}

/* ═══════════════════════════════════════════════════
   WHY US — Icon features strip
═══════════════════════════════════════════════════ */
.why-strip {
    background: var(--cpt-secondary);
    padding: 4rem 0;
}
.why-item {
    text-align: center;
    padding: 1.5rem;
}
.why-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cpt-primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.why-item:hover .why-icon-wrap {
    background: var(--cpt-primary);
    color: #fff;
    border-color: var(--cpt-primary);
    transform: translateY(-4px);
}
/* FIX: colores explícitos en why-strip (fondo oscuro) */
.why-item h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}
.why-item p {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   FLEET — Cards verticales
═══════════════════════════════════════════════════ */
.fleet-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(8,44,63,0.14);
}
.fleet-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f4f8;
    flex-shrink: 0;
}
.fleet-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.fleet-card:hover .fleet-img-wrap img {
    transform: scale(1.07);
}
.fleet-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--cpt-primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(238,118,28, 0.4);
}
.fleet-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e4eaf0 100%);
}
.fleet-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.fleet-capacity {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(8,44,63,0.06);
    color: var(--cpt-secondary);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.fleet-card-body h4 {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--cpt-secondary);
    margin-bottom: 0.4rem;
}
.fleet-card-body p {
    font-size: 0.83rem;
    color: #6b7c8d;
    line-height: 1.55;
    margin-bottom: auto;
    flex: 1;
}
.fleet-card-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-fleet-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--cpt-secondary);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-fleet-quote:hover {
    background: var(--cpt-primary);
    color: #fff;
}

/* ═══════════════════════════════════════════════════
   STEPS — How it works
═══════════════════════════════════════════════════ */
.steps-section {
    background: #f7fafd;
}
.step-item {
    position: relative;
}
.step-number {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cpt-primary) 0%, #ff8c42 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(238,118,28,0.35);
}
.step-connector {
    position: absolute;
    top: 26px;
    left: calc(50% + 26px);
    right: calc(-50% + 26px);
    height: 2px;
    background: linear-gradient(90deg, var(--cpt-primary), rgba(238,118,28,0.1));
}
.step-item h5 {
    font-weight: 800;
    color: var(--cpt-secondary);
    margin-bottom: 0.4rem;
}
.step-item p {
    color: #6b7c8d;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════ */
.final-cta {
    background: linear-gradient(135deg, var(--cpt-secondary) 0%, #06283d 100%);
    position: relative;
    overflow: hidden;
}
.final-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
   (override las de style.css para esta página)
═══════════════════════════════════════════════════ */
.tp-hero .reveal-left,
.tp-hero .reveal-right,
.tp-hero .reveal-up {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.tp-hero .reveal-left  { transform: translateX(-30px); }
.tp-hero .reveal-right { transform: translateX(30px); }
.tp-hero .reveal-up    { transform: translateY(30px); }
.tp-hero .reveal-left.active,
.tp-hero .reveal-right.active,
.tp-hero .reveal-up.active {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .tp-hero {
        min-height: 85vh;
        align-items: flex-start;
    }
    .tp-hero-content {
        padding: 90px 0 3rem;
    }
    .svc-card {
        height: 400px;
    }
    .booking-widget {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    /* FIX: fleet card horizontal (bus) en tablet */
    .fleet-card[style*="flex-direction:row"] {
        flex-direction: column !important;
    }
    .fleet-card[style*="flex-direction:row"] .fleet-img-wrap {
        width: 100% !important;
        height: 220px !important;
    }
}

@media (max-width: 767px) {
    .tp-hero-content {
        padding: 80px 0 2rem;
    }
    .svc-card {
        height: auto;
        min-height: 440px;
    }
    .svc-card-body {
        padding: 2rem 1.5rem;
    }
    .svc-card-body .d-flex.gap-2 {
        flex-direction: column;
    }
    .svc-card-body .btn-svc {
        width: 100%;
        justify-content: center;
    }
    .svc-card h3 {
        font-size: 1.6rem;
    }
    .booking-price-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    #total-price-display {
        font-size: 1.5rem;
    }
    .step-connector {
        display: none;
    }
    /* FIX: fleet card horizontal (bus) en móvil */
    .fleet-card[style*="flex-direction:row"] {
        flex-direction: column !important;
        min-height: unset !important;
    }
    .fleet-card[style*="flex-direction:row"] .fleet-img-wrap {
        width: 100% !important;
        height: 200px !important;
        min-width: unset !important;
    }
    .fleet-card[style*="flex-direction:row"] .fleet-card-body {
        flex-direction: column !important;
        padding: 1.25rem !important;
    }
    .why-strip {
        padding: 2.5rem 0;
    }
    .why-item {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .booking-tab-btns {
        flex-direction: column;
    }
    .booking-tab-btn {
        justify-content: center;
    }
    .tp-hero-content {
        padding-top: 75px;
    }
    .svc-card {
        min-height: 480px; /* Increaserd for very narrow screens */
    }
    .svc-card-body {
        padding: 1.5rem 1.25rem;
    }
    .svc-card h3 {
        font-size: 1.45rem;
    }
    .trust-item {
        font-size: 0.78rem;
    }
}

/* ═══════════════════════════════════════════════════
   CUSTOM PICKUP AUTOCOMPLETE DROPDOWN
═══════════════════════════════════════════════════ */
.custom-dropdown {
    position: relative;
}
.dropdown-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(8, 28, 46, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(238,118,28,0.12);
    padding: 0.5rem;
    display: none;
}
.dropdown-results.open {
    display: block;
    animation: dropdownFadeIn 0.18s ease;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dropdown-results::-webkit-scrollbar { width: 4px; }
.dropdown-results::-webkit-scrollbar-track { background: transparent; }
.dropdown-results::-webkit-scrollbar-thumb { background: rgba(238,118,28,0.4); border-radius: 4px; }

.pickup-group-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cpt-primary);
    padding: 0.6rem 0.75rem 0.3rem;
    margin-top: 0.25rem;
}
.pickup-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    transition: background 0.15s ease, color 0.15s ease;
}
.pickup-option i {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.pickup-option:hover,
.pickup-option.highlighted {
    background: rgba(238,118,28,0.15);
    color: #fff;
}
.pickup-option:hover i,
.pickup-option.highlighted i {
    color: var(--cpt-primary);
}
.pickup-group + .pickup-group {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 0.25rem;
    padding-top: 0.25rem;
}
.pickup-no-results {
    padding: 1rem 0.75rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.82rem;
    text-align: center;
}
