/* =====================================================================
   CARIBEXUS - Home de transfers + asistente de reserva (modal de 6 pasos)
   Se carga DESPUÉS de styles.css y home.css. Todo lleva el prefijo .tf-
   (no usa .option ni .form, que js/app.js y js/wizard.js manejan).
   Colores de marca: verde #00a86b, dorado var(--gold) para el botón principal.
   ===================================================================== */

/* ---------- Menú: logo, WhatsApp y teléfono siempre visibles ---------- */
.tf-nav-logo { position: absolute; left: 96px; top: 50%; transform: translateY(-50%); display: block; line-height: 0; }
.tf-nav-logo img { height: 34px; width: auto; border-radius: 8px; }
.tf-nav-ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; align-items: center; }
.tf-nav-ico a {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    color: #fff; font-size: 18px; text-decoration: none; background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
}
.tf-nav-ico a:hover { background: rgba(255, 255, 255, .28); color: #fff; text-decoration: none; }
.tf-nav-ico img { width: 24px; height: 24px; display: block; }
@media (max-width: 768px) {
    .tf-nav-logo { position: static; transform: none; margin-left: 10px; }
    .tf-nav-ico { position: static; transform: none; margin-left: auto; margin-right: 8px; }
    .tf-nav-ico a { width: 38px; height: 38px; }
    #menu .menu-toggle { margin-left: 0; }
}
@media (max-width: 380px) { .tf-nav-logo img { height: 28px; } .tf-nav-ico { gap: 6px; } }

/* ---------- Hero ---------- */
.tf-hero .tf-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home .tf-hero { min-height: 640px; }
.tf-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
.tf-hero .hero-title { max-width: 760px; }
.tf-hero .hero-sub { max-width: 600px; }
.tf-hero-notas { display: grid; gap: 4px; margin: 20px 0 0; padding: 0; list-style: none; color: #d3ece0; font-size: .95rem; }
.tf-hero-notas li::before { content: "\F272"; font-family: "bootstrap-icons"; margin-right: 8px; color: var(--gold); font-weight: 800; }
.tf-link-claro { align-self: center; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding: 10px 6px; }
.tf-link-claro:hover { color: #fff; opacity: .85; }
@media (max-width: 991px) { .home .tf-hero { min-height: 0; padding: 36px 0 48px; } }
@media (max-width: 575px) {
    .tf-hero .hero-cta .hbtn-gold { flex: 1 1 100%; }
    .tf-hero .hero-title { font-size: 2.2rem; }
}

/* ---------- Barras de confianza y de condiciones ---------- */
.tf-trust { margin-top: -34px; position: relative; z-index: 2; padding-top: 0; }
.tf-trust-box {
    display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 8px 14px; align-items: center;
    padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px;
    box-shadow: 0 14px 34px rgba(11, 61, 46, .12);
}
.tf-trust-item { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.tf-trust-item span[aria-hidden] { font-size: 1.5rem; }
.tf-trust-box .hbtn { min-height: 46px; padding: 0 22px; font-size: .95rem; white-space: nowrap; }
@media (max-width: 991px) {
    .tf-trust-box { grid-template-columns: 1fr 1fr; padding: 16px 14px; }
    .tf-trust-box .hbtn { grid-column: 1 / -1; width: 100%; }
}
.tf-pol { margin-top: 14px; padding-top: 0; }
.tf-pol-box {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 18px;
    padding: 12px 20px; border-radius: 16px; background: #e9f7f0; color: var(--g3); font-size: .9rem; font-weight: 600;
}
.tf-pol-box span::before { content: "\F272"; font-family: "bootstrap-icons"; margin-right: 8px; font-weight: 800; color: var(--g1); }

/* ---------- Cómo funciona ---------- */
.tf-pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: p; }
.tf-pasos li {
    position: relative; padding: 52px 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 10px 24px rgba(11, 61, 46, .06); counter-increment: p;
}
.tf-pasos li::before {
    content: counter(p); position: absolute; top: 14px; left: 18px; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--g1);
}
.tf-pasos strong { display: block; margin-bottom: 4px; color: var(--ink); }
.tf-pasos span { font-size: .93rem; color: var(--mut); }
@media (max-width: 991px) { .tf-pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tf-pasos { grid-template-columns: 1fr; } }

/* ---------- Precios por zona ---------- */
.tf-zonas { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.tf-zona {
    display: flex; flex-direction: column; padding: 20px; background: #fff; border: 1px solid var(--line);
    border-radius: 20px; box-shadow: 0 10px 24px rgba(11, 61, 46, .06);
}
.tf-zona h3 { margin: 0 0 4px; font-family: var(--hf); font-size: 1.35rem; color: var(--ink); }
.tf-zona-hoteles { margin: 0 0 12px; font-size: .86rem; color: var(--mut); min-height: 3.1em; }
.tf-zona-precios { display: flex; gap: 10px; margin-bottom: 8px; }
.tf-zona-precios div { flex: 1; padding: 10px; border-radius: 12px; background: #f1f8f4; text-align: center; }
.tf-zona-precios small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); }
.tf-zona-precios b { font-size: 1.35rem; color: var(--g2); }
.tf-zona-precios em { font-style: normal; font-size: .72rem; color: var(--mut); margin-right: 3px; }
.tf-zona p { margin: 0 0 14px; font-size: .82rem; color: var(--mut); }
.tf-zona .tf-btn { margin-top: auto; }
.tf-nota-zonas { margin: 18px auto 0; max-width: 760px; text-align: center; font-size: .9rem; color: var(--mut); }

/* ---------- Tipos de transfer ---------- */
.tf-tipos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tf-tipo-card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 20px;
    text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 10px 24px rgba(11, 61, 46, .06); cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tf-tipo-card:hover { transform: translateY(-4px); border-color: var(--g1); box-shadow: 0 16px 30px rgba(0, 120, 80, .16); }
.tf-tipo-card .tf-ico { font-size: 2rem; line-height: 1; }
.tf-tipo-card strong { font-size: 1.05rem; color: var(--ink); }
.tf-tipo-card span.tf-d { font-size: .9rem; color: var(--mut); }
.tf-tipo-card .tf-ir { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--g2); }
.tf-etq { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: #3a2600; background: var(--gold); }
@media (max-width: 991px) { .tf-tipos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tf-tipos { grid-template-columns: 1fr; } }

/* ---------- Preguntas frecuentes ---------- */
.tf-faq { max-width: 820px; margin: 0 auto; }
.tf-faq details { margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tf-faq summary { padding: 15px 18px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1; color: var(--g1); }
.tf-faq details[open] summary::after { content: "−"; }
.tf-faq details p { margin: 0; padding: 0 18px 16px; color: var(--txt); }

/* ---------- Estado tras enviar (errores) ---------- */
.tf-estado { max-width: 760px; margin: 14px auto 0; padding: 0 16px; }
.tf-estado .alert { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 0; }
.tf-estado .tf-btn { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* ---------- Botón principal (dorado, igual que .hbtn-gold) ---------- */
.tf-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
    font: inherit; font-weight: 800; font-size: 1rem; color: #3a2600; text-decoration: none; cursor: pointer;
    border: 0; border-radius: 999px; background: linear-gradient(135deg, #ffd166, var(--gold)); box-shadow: 0 10px 22px rgba(255, 184, 28, .32);
    transition: transform .2s, box-shadow .2s, opacity .2s;
}
.tf-btn:hover { color: #3a2600; text-decoration: none; transform: translateY(-2px); }
.tf-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.tf-btn-ancho { width: 100%; }
.tf-btn-borde { color: var(--g2); background: #fff; border: 2px solid var(--g1); box-shadow: none; }
.tf-btn-borde:hover { color: var(--g2); }

/* =====================================================================
   MODAL
   ===================================================================== */
html.tf-lock, html.tf-lock body { overflow: hidden !important; overscroll-behavior: none; }
.tf-modal {
    position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(4, 37, 27, .62);
}
.tf-modal[hidden] { display: none; }
.tf-dialog {
    position: relative; display: flex; flex-direction: column; width: 100%; max-width: 640px;
    height: auto; max-height: min(780px, calc(100% - 8px)); background: #fff; border-radius: 22px; overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .4); color: var(--txt);
}
.tf-dialog.tf-con-live { max-width: 940px; }
.tf-cab { flex: none; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); background: #fff; }
.tf-cab-fila { display: flex; align-items: center; gap: 8px; }
.tf-cab-btn {
    flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.35rem; line-height: 1;
    color: var(--ink); background: #f1f5f3; border: 0; border-radius: 50%; cursor: pointer;
}
.tf-cab-btn[hidden] { display: none; }
.tf-cab-btn:hover { background: #e3ece7; }
.tf-paso-txt { flex: 1; text-align: center; font-weight: 800; font-size: .95rem; color: var(--ink); }
.tf-barra { height: 6px; margin-top: 10px; background: #e3ece7; border-radius: 99px; overflow: hidden; }
.tf-barra span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g1), #00c389); border-radius: 99px; transition: width .3s ease; }

.tf-cuerpo { flex: 1; display: flex; min-height: 0; }
.tf-scroll { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 18px 8px; -webkit-overflow-scrolling: touch; }
.tf-scroll h2 { margin: 0 0 4px; font-family: var(--hf); font-size: 1.45rem; color: var(--ink); outline: 0; }
.tf-sub { margin: 0 0 16px; font-size: .94rem; color: var(--mut); }

.tf-live { display: none; flex: none; width: 260px; padding: 18px; background: #f1f8f4; border-left: 1px solid var(--line); overflow-y: auto; }
.tf-live h3 { margin: 0 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--g2); }
.tf-live .tf-live-ruta { margin: 0 0 10px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.tf-live .tf-live-precio { font-size: 1.9rem; font-weight: 800; color: var(--g2); line-height: 1.1; }
.tf-live small { display: block; margin-top: 6px; color: var(--mut); }
@media (min-width: 900px) { .tf-dialog.tf-con-live .tf-live.tf-on { display: block; } }
.tf-live-barra {
    display: none; flex: none; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px;
    font-size: .9rem; font-weight: 700; color: var(--ink); background: #e9f7f0; border-top: 1px solid var(--line);
}
.tf-live-barra b { color: var(--g2); font-size: 1.1rem; white-space: nowrap; }
.tf-live-barra span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 899px) { .tf-dialog.tf-con-live .tf-live-barra.tf-on { display: flex; } }

.tf-pie { flex: none; padding: 10px 16px 14px; background: #fff; border-top: 1px solid var(--line); }
.tf-pie-hint { min-height: 1.25em; margin: 0 0 8px; font-size: .84rem; text-align: center; color: #a45a00; font-weight: 600; }
.tf-pie-hint.tf-ok { color: var(--mut); font-weight: 500; }
.tf-pie-borrar { display: block; margin: 8px auto 0; padding: 4px 8px; font: inherit; font-size: .84rem; color: var(--mut); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.tf-confirmar { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 8px; font-size: .86rem; flex-wrap: wrap; }
.tf-confirmar button { font: inherit; font-size: .86rem; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.tf-confirmar button.tf-peligro { color: #fff; background: #c0392b; border-color: #c0392b; }

/* Tarjetas de opción (paso 1) */
.tf-opciones { display: grid; gap: 10px; }
.tf-op {
    position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left;
    font: inherit; color: inherit; background: #fff; border: 2px solid var(--line); border-radius: 16px; cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.tf-op:hover { border-color: #9fd9bd; }
.tf-op[aria-checked="true"] { border-color: var(--g1); background: #f1fbf6; box-shadow: 0 0 0 3px rgba(0, 168, 107, .15); }
.tf-op .tf-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.7rem; border-radius: 14px; background: #e9f7f0; }
.tf-op strong { display: block; color: var(--ink); font-size: 1.02rem; }
.tf-op small { display: block; margin-top: 2px; color: var(--mut); font-size: .86rem; line-height: 1.35; }
.tf-op .tf-etq { top: 10px; right: 10px; }

/* Campos */
.tf-campo { margin-bottom: 14px; }
.tf-campo label, .tf-etiqueta { display: block; margin-bottom: 5px; font-size: .86rem; font-weight: 700; color: var(--ink); }
.tf-campo .tf-opc { font-weight: 500; color: var(--mut); }
.tf-input {
    display: block; width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 2px solid var(--line); border-radius: 12px; outline: 0; -webkit-appearance: none; appearance: none;
}
.tf-input:focus { border-color: var(--g1); box-shadow: 0 0 0 3px rgba(0, 168, 107, .15); }
.tf-input.tf-mal { border-color: #c0392b; }
textarea.tf-input { min-height: 84px; resize: vertical; }
.tf-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .tf-fila.tf-fila-apila { grid-template-columns: 1fr; } }
.tf-ayuda { margin: 5px 0 0; font-size: .82rem; color: var(--mut); }
.tf-bloque { margin-bottom: 18px; padding: 14px; background: #f7faf8; border: 1px solid var(--line); border-radius: 16px; }
.tf-bloque h3 { margin: 0 0 10px; font-size: 1rem; color: var(--ink); }
.tf-aviso { margin: 0 0 14px; padding: 10px 12px; font-size: .88rem; color: #6b4a00; background: #fff6df; border: 1px solid #f3d995; border-radius: 12px; }
.tf-aviso a { color: #6b4a00; font-weight: 800; text-decoration: underline; }
.tf-aviso.tf-info { color: var(--g3); background: #e9f7f0; border-color: #b9e6d1; }

/* Buscador de hoteles */
.tf-ac { position: relative; }
.tf-ac-lista {
    position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; margin: 0; padding: 4px; list-style: none;
    overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
}
.tf-ac-lista[hidden] { display: none; }
.tf-ac-lista li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.tf-ac-lista li strong { font-size: .95rem; color: var(--ink); }
.tf-ac-lista li small { color: var(--mut); font-size: .8rem; }
.tf-ac-lista li[aria-selected="true"], .tf-ac-lista li:hover { background: #e9f7f0; }
.tf-ac-vacio { padding: 12px; font-size: .88rem; color: var(--mut); }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tf-chip {
    padding: 8px 12px; font: inherit; font-size: .85rem; font-weight: 600; color: var(--g3); background: #e9f7f0;
    border: 1px solid #b9e6d1; border-radius: 999px; cursor: pointer; text-align: left; line-height: 1.2;
}
.tf-chip small { display: block; font-weight: 500; color: var(--mut); font-size: .74rem; }
.tf-chip:hover { background: #d7f1e5; }
.tf-chips-tit { margin: 14px 0 0; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); }
.tf-enlace { padding: 6px 0; font: inherit; font-size: .9rem; font-weight: 700; color: var(--g2); background: none; border: 0; text-decoration: underline; cursor: pointer; }

/* Tarjeta de selección y tarjeta fija de aeropuerto */
.tf-sel {
    display: flex; align-items: center; gap: 12px; padding: 14px; background: #f1fbf6; border: 2px solid var(--g1); border-radius: 16px;
}
.tf-sel .tf-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 12px; background: #fff; }
.tf-sel > div { flex: 1; min-width: 0; }
.tf-sel strong { display: block; color: var(--ink); overflow-wrap: anywhere; }
.tf-sel small { color: var(--mut); display: block; font-size: .84rem; }
.tf-sel button { flex: none; padding: 8px 14px; font: inherit; font-size: .86rem; font-weight: 700; color: var(--g2); background: #fff; border: 1px solid var(--g1); border-radius: 99px; cursor: pointer; }
.tf-aero select { margin-top: 10px; }

/* Contador */
.tf-contador { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 6px 0 4px; }
.tf-contador button {
    width: 54px; height: 54px; font-size: 1.7rem; line-height: 1; color: var(--g2); background: #e9f7f0; border: 0; border-radius: 50%; cursor: pointer;
}
.tf-contador button[disabled] { opacity: .4; cursor: not-allowed; }
.tf-contador output { min-width: 54px; text-align: center; font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.tf-sugs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.tf-sugs .tf-chip[aria-pressed="true"] { color: #fff; background: var(--g1); border-color: var(--g1); }

/* Resumen (paso 6) */
.tf-res { margin-bottom: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.tf-res-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tf-res-cab h3 { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--g2); }
.tf-res-cab button { padding: 2px 6px; font: inherit; font-size: .86rem; font-weight: 700; color: var(--g2); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.tf-res p { margin: 0 0 3px; font-size: .94rem; color: var(--ink); overflow-wrap: anywhere; }
.tf-res p span { color: var(--mut); }
.tf-mapa { margin-top: 10px; }
.tf-mapa iframe { display: block; width: 100%; height: 170px; border: 0; border-radius: 12px; background: #e3ece7; }
.tf-mapa.tf-grande iframe { height: 340px; }
.tf-mapa-acc { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: .88rem; }
.tf-mapa-acc a, .tf-mapa-acc button { padding: 0; font: inherit; font-size: .88rem; font-weight: 700; color: var(--g2); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.tf-precio { margin-bottom: 14px; padding: 16px; text-align: center; background: #f1fbf6; border: 2px solid var(--g1); border-radius: 18px; }
.tf-precio .tf-monto { font-size: 2.2rem; font-weight: 800; color: var(--g2); line-height: 1.1; }
.tf-precio p { margin: 4px 0 0; font-size: .86rem; color: var(--mut); }
.tf-precio.tf-cot { background: #fff9e8; border-color: #f0c75e; }
.tf-precio.tf-cot strong { font-size: 1.15rem; color: var(--ink); }
.tf-wa { display: block; margin: 12px 0 4px; text-align: center; font-size: .92rem; font-weight: 700; color: var(--g2); }

/* Confirmación */
.tf-ok { text-align: center; padding: 8px 0 4px; }
.tf-ok .tf-check { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; font-size: 2rem; color: #fff; background: var(--g1); border-radius: 50%; }
.tf-ok ol { max-width: 420px; margin: 14px auto 0; padding-left: 20px; text-align: left; color: var(--txt); }
.tf-ok ol li { margin-bottom: 6px; }

/* Móvil: tarjeta centrada (como en la referencia), con scroll por dentro */
@media (max-width: 600px) {
    .tf-modal { padding: 12px; }
    .tf-dialog { max-width: none; max-height: calc(100% - 4px); border-radius: 20px; }
    .tf-scroll { padding: 14px 14px 6px; }
    .tf-scroll h2 { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .tf-barra span, .tf-btn, .tf-tipo-card { transition: none; }
}

/* Sin JavaScript el formulario del asistente no se muestra */
body.page-transfers #reservar:not(.tf-modal) { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Los campos nunca se salen de la tarjeta (no depende de Bootstrap) */
.tf-modal, .tf-modal *, .tf-modal *::before, .tf-modal *::after { box-sizing: border-box; }
.tf-fila > * { min-width: 0; }
.tf-input[type="date"], .tf-input[type="time"] { min-width: 0; max-width: 100%; }

/* Páginas por hotel */
.tf-bread { margin: 0 0 12px; font-size: .85rem; color: #d3ece0; }
.tf-bread a { color: #fff; text-decoration: underline; }
.tf-enlaces { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tf-enlaces a { display: inline-block; padding: 8px 14px; font-size: .9rem; font-weight: 600; color: var(--g3); background: #e9f7f0; border: 1px solid #b9e6d1; border-radius: 999px; text-decoration: none; }
.tf-enlaces a:hover { background: #d7f1e5; text-decoration: none; }
.tf-precio-pag { max-width: 560px; margin: 0 auto; }
.tf-hub-zona { margin-bottom: 30px; }
.tf-hub-zona h2 { font-family: var(--hf); font-size: 1.5rem; color: var(--ink); margin-bottom: 4px; }
.tf-hub-zona p { color: var(--mut); margin-bottom: 10px; }
.tf-razones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tf-razones li { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--txt); }
.tf-razones strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ===== Vehículos: sección de la página (.tf-flota) y selector del asistente (.tf-veh) ===== */
.tf-flota { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tf-veh-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 80, 55, .07); }
.tf-veh-card img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 545; object-fit: cover; background: #f1f4f2; }
.tf-veh-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.tf-veh-body h3, .tf-veh-body .tf-veh-nombre { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.tf-veh-body p { margin: 0; font-size: .92rem; color: var(--txt); }
.tf-veh-body p.tf-veh-nombre { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.tf-veh-body .tf-veh-cap { font-weight: 700; color: var(--g3); }
.tf-veh-body .tf-veh-precio { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--ink); }
.tf-veh-body .tf-btn { margin-top: 10px; text-align: center; }
@media (max-width: 991px) { .tf-flota { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tf-flota { grid-template-columns: 1fr; } }

.tf-veh { display: grid; gap: 10px; margin-top: 6px; }
.tf-veh-op { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; text-align: left; font: inherit; color: var(--txt); background: #fff; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.tf-veh-op:hover { border-color: #9fd9bd; }
.tf-veh-op.tf-sel-on { border-color: var(--g1); background: #f1fbf6; box-shadow: 0 0 0 3px rgba(0, 168, 107, .15); }
.tf-veh-fijo { cursor: default; }
.tf-veh-op img { display: block; width: 96px; height: auto; aspect-ratio: 1000 / 545; object-fit: cover; border-radius: 10px; background: #f1f4f2; }
.tf-veh-t { display: flex; flex-direction: column; min-width: 0; }
.tf-veh-t strong { font-size: .98rem; color: var(--ink); line-height: 1.2; }
.tf-veh-t small, .tf-veh-p small { font-size: .78rem; color: var(--mut); }
.tf-veh-p { display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; }
.tf-veh-p b { font-size: 1.05rem; color: var(--g3); }
@media (max-width: 420px) {
    .tf-veh-op { grid-template-columns: 80px 1fr; }
    .tf-veh-op img { width: 80px; }
    .tf-veh-p { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px; text-align: left; white-space: normal; }
}

.tf-veh-foto { width: 100%; height: auto; border-radius: 14px; margin: 0 0 14px; display: block; }
.tf-veh-mas { display: inline-block; font-size: .85rem; margin: 2px 0 8px; text-decoration: underline; }

/* Botón de idioma dentro del asistente (discreto, abajo a la izquierda) */
.tf-pie-extra { position: relative; display: flex; align-items: center; justify-content: center; min-height: 30px; }
.tf-pie-extra #tf-borrar-zona { flex: 1; min-width: 0; }
.tf-idioma { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 5; }
.tf-idioma-btn { background: none; border: 0; padding: 4px 6px; font-size: .8rem; font-weight: 600; color: var(--mut); cursor: pointer; line-height: 1; opacity: .8; }
.tf-idioma-btn:hover { opacity: 1; }
.tf-idioma-lista { position: absolute; left: 0; bottom: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,.18); min-width: 150px; max-height: 50vh; overflow: auto; }
.tf-idioma-lista[hidden] { display: none; }
.tf-idioma-lista button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 8px; font-size: .9rem; cursor: pointer; color: #1d2d27; }
.tf-idioma-lista button:hover, .tf-idioma-lista button[aria-current] { background: #eaf5ef; font-weight: 700; }

/* Fotos: sin selección ni arrastre; la foto de portada no recibe clics (el menú "guardar imagen" no aparece sobre ella) */
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.tf-hero .tf-hero-bg { pointer-events: none; object-position: 72% 50%; }
/* Degradado de la portada: solo oscurece donde va el texto (izquierda) y deja ver la foto a la derecha */
.tf-hero .hero-shade {
    background:
        linear-gradient(100deg, rgba(4, 37, 27, .84) 0%, rgba(4, 37, 27, .64) 34%, rgba(4, 37, 27, .16) 58%, rgba(4, 37, 27, 0) 78%),
        linear-gradient(0deg, rgba(4, 37, 27, .32), transparent 30%);
}
/* Celular: la foto va arriba, entera y clara; el texto va debajo sobre fondo verde oscuro */
@media (max-width: 767px) {
    .tf-hero { background: #04251b; }
    .tf-hero .tf-hero-bg { top: 0; bottom: auto; height: 330px; object-position: 50% 18%; }
    .home #hero.tf-hero, .tf-hero { padding-top: 350px; }
    .tf-hero .hero-shade { background: linear-gradient(180deg, rgba(4, 37, 27, 0) 0, rgba(4, 37, 27, 0) 190px, rgba(4, 37, 27, .92) 335px, #04251b 360px); }
}

/* Títulos del pie de página (antes eran H2: demasiados encabezados) y precios sin etiqueta de negrita */
.site-footer .foot-h { position: relative; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #fff; margin: 0 0 18px; padding-bottom: 10px; }
.site-footer .foot-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: #00c389; }
.tf-zona-precios .tf-pb { font-weight: 700; font-size: 1.35rem; color: var(--g2); }
/* El mapa solo se mira: no se puede tocar, así el cliente no sale de la página (ni por los enlaces de Google dentro del mapa). */
.tf-mapa iframe { pointer-events: none; }
.tf-datos-tit { margin: 18px 0 8px; font-size: 1rem; font-weight: 800; color: var(--g3); }
.tf-campo.tf-pulso .tf-input { animation: tf-pulso 1.1s ease-in-out 2; }
@keyframes tf-pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 107, 0); } 50% { box-shadow: 0 0 0 5px rgba(0, 168, 107, .28); border-color: #00a86b; } }
@media (prefers-reduced-motion: reduce) { .tf-campo.tf-pulso .tf-input { animation: none; } }

/* Teléfono: foto más baja para que "Reservar mi transfer" se vea sin bajar (10 nov 2026) */
@media (max-width: 767px) {
  .tf-hero { --hh: clamp(170px, 30vh, 260px); }
  .tf-hero .tf-hero-bg { height: var(--hh); }
  .home #hero.tf-hero, .tf-hero { padding-top: calc(var(--hh) + 14px); padding-bottom: 36px; }
  .tf-hero .hero-shade { background: linear-gradient(rgba(4, 37, 27, 0) 0, rgba(4, 37, 27, 0) calc(var(--hh) * .55), rgba(4, 37, 27, .92) calc(var(--hh) - 4px), rgb(4, 37, 27) calc(var(--hh) + 20px)); }
  .tf-hero .hero-eyebrow { margin-bottom: 8px; }
  .tf-hero .hero-title { font-size: 1.95rem; line-height: 1.12; }
  .tf-hero .hero-title span { margin-top: 6px; }
  .tf-hero .hero-sub { font-size: .97rem; line-height: 1.5; margin: 10px 0 16px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .tf-hero { --hh: clamp(150px, 26vh, 200px); }
  .tf-hero .hero-title { font-size: 1.75rem; }
}
