/* Landings para Google Ads (single-landing.php) */
.tqlp-hero {
    position: relative; display: flex; align-items: flex-end; min-height: 440px; padding: 80px 24px 64px;
    background: radial-gradient(700px 360px at 100% 0, rgba(247, 147, 30, .35), rgba(247, 147, 30, 0) 70%), linear-gradient(135deg, #0b1f33 0%, #2e47ab 100%);
    color: #fff; font-family: 'Montserrat', sans-serif;
}
.tqlp-hero.has-img { background: linear-gradient(0deg, rgba(7, 18, 36, .88) 0%, rgba(7, 18, 36, .35) 60%, rgba(7, 18, 36, .2) 100%), var(--tqlp-img) center / cover no-repeat; }
.tqlp-hero__inner { width: 100%; max-width: 1100px; margin: 0 auto; }
.tqlp-hero .tqlp-hero__title { position: static; margin: 0 0 14px; padding: 0; border: 0; font-family: 'Poppins', sans-serif; font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -1px; color: #fff; text-align: left; text-transform: none; }
.tqlp-hero .tqlp-hero__title::before, .tqlp-hero .tqlp-hero__title::after { content: none; }
.tqlp-hero__lead { max-width: 680px; margin: 0 0 26px !important; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); text-align: left; }
.tqlp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.tqlp-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: transform .2s ease, background .2s ease; }
.tqlp-btn.is-wa { background: #25d366; color: #fff !important; box-shadow: 0 12px 28px rgba(37, 211, 102, .35); }
.tqlp-btn.is-wa:hover { transform: translateY(-2px); background: #1fb957; }
.tqlp-btn.is-ghost { border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); color: #fff !important; }
.tqlp-btn.is-ghost:hover { background: #fff; color: #0b1f33 !important; }
.tqlp-btn i { font-size: 17px; }

/* Contenido del editor de bloques */
.tqlp-content { max-width: 1100px; margin: 0 auto; padding: 56px 24px 72px; font-family: 'Montserrat', sans-serif; font-size: 16.5px; line-height: 1.75; color: #334155; }
.tqlp-content > .alignwide { max-width: 1280px; margin-left: auto; margin-right: auto; }
.tqlp-content > .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.tqlp-content :is(h2, h3, h4) { position: static; margin: 1.6em 0 .6em; padding: 0; border: 0; font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.25; color: #0b1f33; text-transform: none; }
.tqlp-content :is(h2, h3, h4)::before, .tqlp-content :is(h2, h3, h4)::after { content: none; }
.tqlp-content h2 { font-size: clamp(24px, 2.4vw, 32px); }
.tqlp-content h3 { font-size: 21px; }
.tqlp-content img { max-width: 100%; height: auto; border-radius: 14px; }
.tqlp-content .wp-block-button__link { border-radius: 999px; background: #f7931e; font-family: 'Poppins', sans-serif; font-weight: 600; }

@media (max-width: 575.98px) {
    .tqlp-hero { min-height: 380px; padding: 64px 16px 40px; }
    .tqlp-hero__lead { font-size: 16px; }
    .tqlp-hero__ctas { flex-direction: column; }
    .tqlp-btn { justify-content: center; }
    .tqlp-content { padding: 40px 16px 56px; }
}

/* =====================================================================================================
   Plantilla «Camino Inca 2 y 4 días» (formulario → WhatsApp). Página propia, sin el menú del sitio.
   ===================================================================================================== */
.tqlp-page {
    --l-navy: #0b1f33; --l-blue: #2e47ab; --l-accent: #f7931e; --l-accent-d: #e07b06; --l-wa: #25d366; --l-wa-d: #1ea952;
    --l-ink: #334155; --l-muted: #64748b; --l-line: #e6eaf2; --l-soft: #f5f7fc; --l-ok: #16a34a; --l-err: #dc2626;
    margin: 0; background: #fff; color: var(--l-ink); font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.tqlp-page *, .tqlp-page *::before, .tqlp-page *::after { box-sizing: border-box; }
.tqlp-page :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.tqlp-page :where(h1, h2, h3, p) { margin: 0; }
.tqlp-page img { max-width: 100%; height: auto; }
.tqlp-page a { color: inherit; }
.tqlp-page :where(h1, h2, h3) { font-family: 'Poppins', sans-serif; color: var(--l-navy); line-height: 1.2; letter-spacing: -.3px; }
.tqlp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tqlp-wrap.is-narrow { max-width: 820px; }

/* Cabecera mínima */
.tqlp-top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--l-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tqlp-top__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1240px; margin: 0 auto; padding: 8px 24px; }
.tqlp-top__logo { flex: none; display: block; }
.tqlp-top__logo img { display: block; width: auto; height: 64px; }
.tqlp-top__end { display: flex; align-items: center; gap: 14px; }
.tqlp-top__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--l-muted); }
.tqlp-top__cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border-radius: 999px; background: var(--l-accent); color: #fff !important; font-family: 'Poppins', sans-serif; font-size: 14.5px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 18px rgba(247, 147, 30, .3); transition: background .2s ease; }
.tqlp-top__cta:hover { background: var(--l-accent-d); }
/* Menú */
.tqlp-nav ul { display: flex; align-items: center; gap: 4px; }
.tqlp-nav a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--l-navy); font-family: 'Poppins', sans-serif; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: background .2s ease, color .2s ease; }
.tqlp-nav a:hover { background: var(--l-soft); color: var(--l-blue); }
.tqlp-nav a.is-active { background: #eef2ff; color: var(--l-blue); font-weight: 600; }
.tqlp-nav a:focus-visible, .tqlp-top__cta:focus-visible, .tqlp-burger:focus-visible { outline: 3px solid rgba(46, 71, 171, .4); outline-offset: 2px; }
.tqlp-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--l-line); border-radius: 12px; background: #fff; cursor: pointer; }
.tqlp-burger span { display: block; height: 2px; border-radius: 2px; background: var(--l-navy); transition: transform .2s ease, opacity .2s ease; }
.tqlp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tqlp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tqlp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html { scroll-behavior: smooth; }
.tqlp-page [id] { scroll-margin-top: 86px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Galería */
.tqlp-gal__filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tqlp-gal__filters button { min-height: 40px; padding: 0 18px; border: 1.5px solid var(--l-line); border-radius: 999px; background: #fff; color: var(--l-navy); font: 600 14px 'Poppins', sans-serif; cursor: pointer; transition: all .2s ease; }
.tqlp-gal__filters button:hover { border-color: rgba(46, 71, 171, .35); }
.tqlp-gal__filters button.is-on { border-color: var(--l-blue); background: var(--l-blue); color: #fff; }
.tqlp-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 12px; }
.tqlp-gal li[hidden] { display: none; }
.tqlp-gal li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.tqlp-gal li:nth-child(6n + 4) { grid-row: span 2; }
.tqlp-gal__item { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: var(--l-soft); cursor: zoom-in; }
.tqlp-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tqlp-gal__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 36, 0) 55%, rgba(7, 18, 36, .55) 100%); opacity: .8; transition: opacity .3s ease; }
.tqlp-gal__item:hover img { transform: scale(1.06); }
.tqlp-gal__item:focus-visible { outline: 3px solid var(--l-accent); outline-offset: 3px; }
.tqlp-gal__tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--l-navy); font-size: 11.5px; font-weight: 700; }
.tqlp-gal__zoom { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(7, 18, 36, .5); color: #fff; font-size: 13px; opacity: 0; transition: opacity .2s ease; }
.tqlp-gal__item:hover .tqlp-gal__zoom, .tqlp-gal__item:focus-visible .tqlp-gal__zoom { opacity: 1; }
/* Visor */
.tqlp-lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(5, 12, 26, .96); color: #fff; }
.tqlp-lb[open] { display: flex; align-items: center; justify-content: center; }
.tqlp-lb::backdrop { background: rgba(5, 12, 26, .9); }
.tqlp-lb__fig { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(1200px, 92vw); margin: 0; }
.tqlp-lb__fig img { max-width: 100%; max-height: 80dvh; border-radius: 12px; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.tqlp-lb__fig figcaption { font-size: 14px; color: rgba(255, 255, 255, .85); text-align: center; }
.tqlp-lb__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; cursor: pointer; transition: background .2s ease; }
.tqlp-lb__btn:hover { background: rgba(255, 255, 255, .26); }
.tqlp-lb__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.tqlp-lb__btn.is-x { top: 16px; right: 16px; }
.tqlp-lb__btn.is-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.tqlp-lb__btn.is-next { right: 16px; top: 50%; transform: translateY(-50%); }
.tqlp-top__rating strong { font-family: 'Poppins', sans-serif; font-size: 16px; color: var(--l-navy); }
.tqlp-ta { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #34e0a1; color: #000; }
.tqlp-ta svg { width: 20px; height: auto; }

/* Portada con formulario */
.tqlp-main { position: relative; isolation: isolate; padding: 56px 0 72px; color: #fff; }
.tqlp-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 18, 36, .92) 0%, rgba(7, 18, 36, .72) 45%, rgba(7, 18, 36, .35) 100%), var(--tqlp-img) center / cover no-repeat; }
.tqlp-main__inner { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tqlp-main__copy { padding-top: 24px; }
.tqlp-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px !important; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tqlp-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34e0a1; }
.tqlp-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34e0a1; animation: tqlp-ping 2.2s ease-out infinite; }
@keyframes tqlp-ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.tqlp-page .tqlp-h1 { margin-bottom: 18px; font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -1.2px; color: #fff; }
.tqlp-h1 span { display: block; color: var(--l-accent); }
.tqlp-lead { max-width: 560px; margin-bottom: 22px !important; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.tqlp-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px !important; }
.tqlp-bullets li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tqlp-bullets i { color: #34e0a1; font-size: 18px; }
.tqlp-prices { display: flex; flex-wrap: wrap; gap: 12px; }
.tqlp-prices a { display: flex; flex-direction: column; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 16px; background: rgba(255, 255, 255, .1); text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s ease; }
.tqlp-prices a:hover { background: rgba(255, 255, 255, .2); }
.tqlp-prices small { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.tqlp-prices strong { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 800; line-height: 1.1; color: #fff; }

/* Tarjeta del formulario */
.tqlp-formcard { scroll-margin-top: 80px; padding: 26px 24px 22px; border-radius: 24px; background: #fff; color: var(--l-ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.tqlf__title { font-family: 'Poppins', sans-serif; font-size: 21px; font-weight: 800; line-height: 1.25; color: var(--l-navy); }
.tqlf__sub { display: flex; align-items: center; gap: 7px; margin: 4px 0 18px !important; font-size: 13.5px; color: var(--l-muted); }
.tqlf__sub i { color: var(--l-wa); font-size: 16px; }
.tqlf fieldset { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.tqlf legend, .tqlf__field > span { display: block; margin-bottom: 6px; padding: 0; font-size: 13px; font-weight: 700; color: var(--l-navy); }
.tqlf__routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tqlf__routes legend { grid-column: 1 / -1; float: left; width: 100%; }
.tqlf__route { position: relative; cursor: pointer; }
.tqlf__route input { position: absolute; opacity: 0; pointer-events: none; }
.tqlf__route > span { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 9px; border: 1.5px solid var(--l-line); border-radius: 14px; background: #fff; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.tqlf__route strong { font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--l-navy); }
.tqlf__route small { font-size: 11.5px; line-height: 1.3; color: var(--l-muted); }
.tqlf__route em { margin-top: 4px; font-size: 12px; font-style: normal; font-weight: 700; color: var(--l-blue); }
.tqlf__route input:checked + span { border-color: var(--l-blue); background: #eef2ff; box-shadow: 0 0 0 3px rgba(46, 71, 171, .12); }
.tqlf__route input:focus-visible + span { outline: 3px solid rgba(46, 71, 171, .4); outline-offset: 2px; }
.tqlf__row { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 10px; }
.tqlf__field { display: block; margin-bottom: 12px; }
.tqlf input[type="text"], .tqlf input[type="email"], .tqlf input[type="tel"], .tqlf input[type="date"], .tqlf input[type="number"], .tqlf textarea {
    width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--l-line); border-radius: 12px; background: #fff;
    font: inherit; font-size: 15px; color: var(--l-navy); transition: border-color .15s ease, box-shadow .15s ease;
}
.tqlf textarea { min-height: 64px; resize: vertical; }
.tqlf input:focus, .tqlf textarea:focus { border-color: var(--l-blue); box-shadow: 0 0 0 3px rgba(46, 71, 171, .12); outline: none; }
.tqlf__pax { display: flex; align-items: stretch; border: 1.5px solid var(--l-line); border-radius: 12px; overflow: hidden; }
.tqlf__pax button { flex: none; width: 38px; border: 0; background: var(--l-soft); color: var(--l-blue); font-size: 18px; font-weight: 700; cursor: pointer; }
.tqlf__pax button:hover { background: #e6ecfb; }
.tqlf .tqlf__pax input { min-height: 43px; border: 0; border-radius: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.tqlf__pax input::-webkit-outer-spin-button, .tqlf__pax input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Campo de fecha + calendario propio (js/landing-form.js) */
.tqlf__datefield { min-width: 0; }
.tqlf__datebtn {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--l-line); border-radius: 12px;
    background: #fff; color: var(--l-navy); font: 600 14.5px/1.3 'Montserrat', sans-serif; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
.tqlf__datebtn:hover { border-color: rgba(46, 71, 171, .4); }
.tqlf__datebtn:focus-visible, .tqlf__datebtn[aria-expanded="true"] { border-color: var(--l-blue); box-shadow: 0 0 0 3px rgba(46, 71, 171, .12); outline: none; }
.tqlf__datebtn > i:first-child { color: var(--l-blue); font-size: 16px; }
.tqlf__datebtn span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tqlf__datebtn span.is-empty { color: #94a3b8; font-weight: 500; }
.tqlf__datecaret { font-size: 11px; color: var(--l-muted); transition: transform .2s ease; }
.tqlf__datebtn[aria-expanded="true"] .tqlf__datecaret { transform: rotate(180deg); }

.tqlf-dp { margin: -2px 0 14px; padding: 14px 14px 12px; border: 1px solid var(--l-line); border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(11, 31, 51, .14); animation: tqlp-pop .2s ease; }
.tqlf-dp[hidden] { display: none; }
.tqlf-dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tqlf-dp__month { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; color: var(--l-navy); }
.tqlf-dp__nav { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--l-line); border-radius: 50%; background: #fff; color: var(--l-blue); font-size: 12px; cursor: pointer; }
.tqlf-dp__nav:hover:not(:disabled) { background: var(--l-soft); border-color: rgba(46, 71, 171, .3); }
.tqlf-dp__nav:disabled { opacity: .35; cursor: default; }
.tqlf-dp__week, .tqlf-dp__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tqlf-dp__week { margin-bottom: 4px; }
.tqlf-dp__week span { padding: 4px 0; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--l-muted); text-align: center; }
.tqlf-dp__day {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; aspect-ratio: 1 / 1; min-height: 38px;
    padding: 0; border: 1.5px solid transparent; border-radius: 12px; background: var(--l-soft); color: var(--l-navy); cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.tqlf-dp__day b { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; line-height: 1; }
.tqlf-dp__day i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.tqlf-dp__day.is-ok { background: #effaf3; } .tqlf-dp__day.is-ok i { background: var(--l-ok); }
.tqlf-dp__day.is-few { background: #fff7ed; } .tqlf-dp__day.is-few i { background: var(--l-accent); }
.tqlf-dp__day:hover:not(:disabled) { border-color: var(--l-blue); background: #eef2ff; }
.tqlf-dp__day:focus-visible { outline: 3px solid rgba(46, 71, 171, .4); outline-offset: 1px; }
.tqlf-dp__day.is-sel { border-color: var(--l-blue); background: var(--l-blue); color: #fff; box-shadow: 0 6px 14px rgba(46, 71, 171, .3); }
.tqlf-dp__day.is-sel i { background: #fff; }
.tqlf-dp__day:disabled { background: transparent; color: #cbd5e1; cursor: default; }
.tqlf-dp__day.is-out b { text-decoration: line-through; }
.tqlf-dp.is-loading .tqlf-dp__days { opacity: .6; }
.tqlf-dp__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--l-line); }
.tqlf-dp__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 11.5px; color: var(--l-muted); }
.tqlf-dp__legend i { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; }
.tqlf-dp__legend i:first-child { margin-left: 0; }
.tqlf-dp__legend .is-ok { background: var(--l-ok); } .tqlf-dp__legend .is-few { background: var(--l-accent); } .tqlf-dp__legend .is-out { background: #cbd5e1; }
.tqlf-dp__clear { padding: 4px 0; border: 0; background: none; color: var(--l-blue); font: 700 12.5px 'Montserrat', sans-serif; cursor: pointer; }
.tqlf-dp__clear:hover { text-decoration: underline; }

.tqlf__check { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-size: 13.5px; color: var(--l-ink); cursor: pointer; }
.tqlf__check input { width: 17px; height: 17px; accent-color: var(--l-blue); }
.tqlf .iti { display: block; width: 100%; }
.tqlf__field.has-error input, .tqlf__field.has-error textarea { border-color: var(--l-err); }
.tqlf__msg { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--l-err); }
.tqlf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tqlf__submit {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 4px; padding: 0 20px;
    border: 0; border-radius: 14px; background: linear-gradient(135deg, #2fe07a 0%, var(--l-wa) 50%, var(--l-wa-d) 100%); color: #fff !important;
    font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
    box-shadow: 0 12px 26px rgba(37, 211, 102, .35); transition: transform .2s ease, box-shadow .2s ease;
}
.tqlf__submit:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 211, 102, .45); }
.tqlf__submit:focus-visible { outline: 3px solid var(--l-blue); outline-offset: 3px; }
.tqlf__submit:disabled { opacity: .7; cursor: wait; transform: none; }
.tqlf__submit i { font-size: 22px; }
.tqlf__note { margin-top: 10px !important; font-size: 12.5px; line-height: 1.45; color: var(--l-muted); text-align: center; }
.tqlf__privacy { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px !important; font-size: 11.5px; color: #94a3b8; }
.tqlf__error { margin-top: 12px !important; padding: 10px 12px; border-radius: 10px; background: #fef2f2; color: #991b1b; font-size: 13px; }
.tqlf__error a { font-weight: 700; color: var(--l-wa-d); }
/* Confirmación */
.tqlf-ok { padding: 24px 6px 10px; text-align: center; outline: none; }
.tqlf-ok__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: #dcfce7; color: var(--l-ok); font-size: 28px; }
.tqlf-ok__title { font-family: 'Poppins', sans-serif; font-size: 23px; font-weight: 800; color: var(--l-navy); }
.tqlf-ok__text { margin: 8px 0 18px !important; font-size: 15px; color: var(--l-ink); }
.tqlf-ok__mail { margin-top: 14px !important; font-size: 13px; color: var(--l-muted); }

/* Secciones */
.tqlp-sec { padding: 76px 0; }
.tqlp-sec.is-soft { background: var(--l-soft); }
.tqlp-kicker { margin-bottom: 8px !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--l-accent-d); text-align: center; }
.tqlp-page .tqlp-h2 { margin-bottom: 36px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; text-align: center; }

/* Comparativa 2 vs 4 */
.tqlp-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tqlp-route { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--l-line); border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(11, 31, 51, .07); }
.tqlp-route.is-hl { border: 2px solid var(--l-accent); box-shadow: 0 18px 40px rgba(247, 147, 30, .18); }
.tqlp-route__media { position: relative; height: 200px; background: var(--l-navy); }
.tqlp-route__media img { width: 100%; height: 100%; object-fit: cover; }
.tqlp-route__badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: var(--l-accent); color: #fff; font-size: 12px; font-weight: 700; }
.tqlp-route__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.tqlp-route__days { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-accent-d); }
.tqlp-page .tqlp-route__name { margin: 4px 0 16px; font-size: 24px; font-weight: 800; }
.tqlp-route__rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px !important; }
.tqlp-route__rows li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--l-line); font-size: 14.5px; }
.tqlp-route__rows i { color: var(--l-blue); }
.tqlp-route__rows span { color: var(--l-muted); }
.tqlp-route__rows strong { color: var(--l-navy); text-align: right; }
.tqlp-route__ideal { margin-bottom: 18px !important; font-size: 14.5px; font-style: italic; color: var(--l-ink); }
.tqlp-route__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.tqlp-route__price { display: flex; flex-direction: column; line-height: 1.1; }
.tqlp-route__price small { font-size: 12px; color: var(--l-muted); }
.tqlp-route__price strong { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 800; color: var(--l-blue); }
.tqlp-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--l-accent); color: #fff !important; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px rgba(247, 147, 30, .35); transition: transform .2s ease, background .2s ease; }
.tqlp-cta:hover { transform: translateY(-2px); background: var(--l-accent-d); }
.tqlp-cta.is-big { min-height: 58px; padding: 0 30px; font-size: 17px; }
.tqlp-both { display: flex; align-items: flex-start; gap: 10px; max-width: 860px; margin: 26px auto 0 !important; padding: 14px 18px; border-radius: 14px; background: var(--l-soft); font-size: 14.5px; color: var(--l-ink); }
.tqlp-both i { margin-top: 3px; color: var(--l-blue); }

/* Por qué */
.tqlp-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tqlp-why li { padding: 24px 20px; border: 1px solid var(--l-line); border-radius: 20px; background: #fff; }
.tqlp-why__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border-radius: 15px; background: linear-gradient(135deg, #fff4e6 0%, #ffe7cc 100%); color: var(--l-accent-d); font-size: 20px; }
.tqlp-why strong { display: block; margin-bottom: 6px; font-family: 'Poppins', sans-serif; font-size: 17px; color: var(--l-navy); }
.tqlp-why p { font-size: 14.5px; line-height: 1.6; color: var(--l-muted); }

/* Pasos */
.tqlp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tqlp-steps li { position: relative; padding: 0 8px; text-align: center; }
.tqlp-steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: repeating-linear-gradient(90deg, #c9d3ee 0 6px, transparent 6px 11px); }
.tqlp-steps__n { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: var(--l-blue); color: #fff; font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; box-shadow: 0 10px 22px rgba(46, 71, 171, .3); }
.tqlp-steps strong { display: block; margin-bottom: 6px; font-family: 'Poppins', sans-serif; font-size: 16.5px; color: var(--l-navy); }
.tqlp-steps p { font-size: 14.5px; color: var(--l-muted); }

/* Preguntas frecuentes */
.tqlp-faq { display: flex; flex-direction: column; gap: 10px; }
.tqlp-faq details { border: 1px solid var(--l-line); border-radius: 16px; background: #fff; }
.tqlp-faq summary { position: relative; padding: 18px 52px 18px 20px; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; color: var(--l-navy); list-style: none; cursor: pointer; }
.tqlp-faq summary::-webkit-details-marker { display: none; }
.tqlp-faq summary::after { content: "\f078"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 900 13px/1 "Font Awesome 6 Free"; color: var(--l-blue); transition: transform .2s ease; }
.tqlp-faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.tqlp-faq summary:focus-visible { outline: 3px solid rgba(46, 71, 171, .35); outline-offset: 2px; border-radius: 16px; }
.tqlp-faq details p { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: var(--l-ink); }

/* Llamada final y pie */
.tqlp-final { padding: 72px 0; background: radial-gradient(600px 300px at 100% 0, rgba(247, 147, 30, .3), rgba(247, 147, 30, 0) 70%), linear-gradient(135deg, var(--l-navy) 0%, var(--l-blue) 100%); color: #fff; text-align: center; }
.tqlp-page .tqlp-final__title { margin-bottom: 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #fff; }
.tqlp-final p { margin-bottom: 24px !important; font-size: 17px; color: rgba(255, 255, 255, .88); }
.tqlp-foot { padding: 22px 24px 26px; background: #08172a; color: rgba(255, 255, 255, .7); font-size: 13px; text-align: center; }
.tqlp-foot strong { color: #fff; }

/* Calendario de disponibilidad */
.tqlp-wrap.is-mid { max-width: 1000px; }
.tqlp-page .tqlp-h2.is-tight { margin-bottom: 10px; }
.tqlp-sub { max-width: 620px; margin: 0 auto 28px !important; font-size: 16px; color: var(--l-muted); text-align: center; }
.tqlp-cal .tic { margin: 0; }
.tqlf__picked { display: flex; align-items: center; gap: 8px; margin: 0 0 14px !important; padding: 10px 12px; border-radius: 12px; background: #ecfdf3; color: #166534; font-size: 13px; }
.tqlf__picked[hidden] { display: none; }
.tqlf__picked i { font-size: 15px; }
.tqlf__picked span { flex: 1; }
.tqlf__picked a { font-weight: 700; color: var(--l-blue); text-decoration: underline; }

/* Reseñas dentro de la landing (inc/reviews.php) */
.tqlp-page .tqr { padding: 72px 0; }
.tqlp-page .tqr__side { top: 100px; }

/* Botón de WhatsApp (derecha) */
.tqlp-wa { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.tqlp-wa__label { padding: 9px 14px; border-radius: 12px; background: #fff; color: var(--l-navy); font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 28px rgba(11, 31, 51, .18); }
.tqlp-wa__btn { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(145deg, #2fe07a 0%, var(--l-wa) 45%, #128c7e 100%); color: #fff; font-size: 30px; box-shadow: 0 12px 28px rgba(18, 140, 126, .45); transition: transform .2s ease; }
.tqlp-wa__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--l-wa); animation: tqlp-ring 2.6s ease-out infinite; }
@keyframes tqlp-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.tqlp-wa:hover .tqlp-wa__btn { transform: scale(1.06); }
.tqlp-wa:focus-visible .tqlp-wa__btn { outline: 3px solid var(--l-blue); outline-offset: 3px; }

/* Alertas de actividad (izquierda) */
.tqlp-act { position: fixed; left: 22px; bottom: 22px; z-index: 65; width: 340px; max-width: calc(100vw - 44px); pointer-events: none; }
.tqlp-act__card {
    position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 13px 34px 13px 14px; border: 1px solid var(--l-line); border-radius: 16px;
    background: #fff; box-shadow: 0 16px 40px rgba(11, 31, 51, .18); pointer-events: auto;
    opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease;
}
.tqlp-act__card.is-in { opacity: 1; transform: none; }
.tqlp-act__flag.iti__flag { flex: none; margin-top: 3px; transform: scale(1.4); transform-origin: left top; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.tqlp-act__flag + .tqlp-act__txt { margin-left: 10px; }
.tqlp-act__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff4e6; color: var(--l-accent-d); font-size: 16px; }
.tqlp-act__txt { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; color: var(--l-ink); }
.tqlp-act__txt strong { display: block; font-family: 'Poppins', sans-serif; font-size: 13.5px; color: var(--l-navy); }
.tqlp-act__txt small { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 11.5px; color: var(--l-muted); }
.tqlp-act__txt small i { color: var(--l-ok); }
.tqlp-act__x { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #94a3b8; font-size: 18px; line-height: 1; cursor: pointer; }
.tqlp-act__x:hover { background: var(--l-soft); color: var(--l-navy); }

/* Ventana emergente con el formulario */
html.tqlp-lock, html.tqlp-lock body { overflow: hidden; }
.tqlp-modal {
    width: min(480px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0;
    border-radius: 24px; background: #fff; color: var(--l-ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden;
}
.tqlp-modal[open] { display: flex; flex-direction: column; animation: tqlp-pop .28s cubic-bezier(.16, 1, .3, 1); }
.tqlp-modal::backdrop { background: rgba(7, 18, 36, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes tqlp-pop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.tqlp-modal__body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.tqlp-modal__x {
    position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
    border: 0; border-radius: 50%; background: var(--l-soft); color: var(--l-navy); font-size: 17px; cursor: pointer;
}
.tqlp-modal__x:hover { background: #e6ecfb; }
.tqlp-modal__x:focus-visible { outline: 3px solid rgba(46, 71, 171, .4); outline-offset: 2px; }
.tqlp-formcard.is-modal { max-width: none; margin: 0; border-radius: 0; box-shadow: none; }
.tqlp-formcard.is-modal .tqlf__title { padding-right: 44px; }

/* Botón fijo (solo móvil) */
.tqlp-sticky { display: none; }

@media (max-width: 1099.98px) {
    /* Menú desplegable bajo la cabecera */
    .tqlp-burger { display: flex; }
    .tqlp-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 10px 16px 16px; border-bottom: 1px solid var(--l-line); background: #fff; box-shadow: 0 18px 30px rgba(11, 31, 51, .12); }
    .tqlp-nav.is-open { display: block; }
    .tqlp-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .tqlp-nav a { padding: 13px 14px; border-radius: 12px; font-size: 16px; }
}
@media (max-width: 1023.98px) {
    .tqlp-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 160px; }
    .tqlp-main__inner { grid-template-columns: 1fr; gap: 28px; }
    .tqlp-main__copy { padding-top: 0; }
    .tqlp-formcard { max-width: 560px; width: 100%; margin: 0 auto; }
    .tqlp-why, .tqlp-steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
    .tqlp-steps li::after { display: none; }
}
@media (max-width: 767.98px) {
    .tqlp-top__inner { gap: 10px; padding: 6px 16px; }
    .tqlp-top__logo img { height: 50px; }
    .tqlp-top__end { gap: 8px; }
    .tqlp-top__cta { display: none; }   /* en móvil ya está el botón fijo de abajo */
    .tqlp-page [id] { scroll-margin-top: 70px; }
    .tqlp-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 8px; }
    .tqlp-gal li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
    .tqlp-gal li:nth-child(6n + 4) { grid-row: span 1; }
    .tqlp-gal__item { border-radius: 14px; }
    .tqlp-gal__tag { left: 8px; bottom: 8px; font-size: 10.5px; }
    .tqlp-lb__btn.is-prev, .tqlp-lb__btn.is-next { top: auto; bottom: 24px; transform: none; }
    .tqlp-lb__btn.is-prev { left: calc(50% - 60px); }
    .tqlp-lb__btn.is-next { right: calc(50% - 60px); }
    .tqlp-main { padding: 32px 0 44px; }
    .tqlp-main::before { background: linear-gradient(180deg, rgba(7, 18, 36, .75) 0%, rgba(7, 18, 36, .88) 100%), var(--tqlp-img) center / cover no-repeat; }
    .tqlp-main__inner, .tqlp-wrap { padding: 0 16px; }
    .tqlp-lead { font-size: 16px; }
    .tqlp-prices strong { font-size: 22px; }
    .tqlp-formcard { padding: 22px 16px 18px; border-radius: 20px; }
    .tqlf__routes { gap: 6px; }
    .tqlf__route > span { padding: 9px 7px; }
    .tqlf__route strong { font-size: 14px; }
    .tqlf__route small { font-size: 10.5px; }
    .tqlf__row { grid-template-columns: minmax(0, 1fr) 118px; }
    .tqlp-sec { padding: 52px 0; }
    .tqlp-page .tqlp-h2 { margin-bottom: 24px; }
    .tqlp-cmp { grid-template-columns: 1fr; }
    .tqlp-route__media { height: 170px; }
    .tqlp-route__body { padding: 18px; }
    .tqlp-route__foot { flex-direction: column; align-items: stretch; }
    .tqlp-cta { justify-content: center; }
    .tqlp-why { grid-template-columns: 1fr; }
    .tqlp-steps { grid-template-columns: 1fr; }
    .tqlp-steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; text-align: left; }
    .tqlp-steps__n { grid-row: span 2; margin: 0; }
    .tqlp-final { padding: 52px 0 88px; }
    .tqlp-foot { padding-bottom: 90px; }
    /* Móvil: la ventana del formulario sube desde abajo y ocupa casi toda la pantalla */
    .tqlp-modal { width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
    .tqlp-modal[open] { animation-name: tqlp-sheet; }
    @keyframes tqlp-sheet { from { transform: translateY(100%); } to { transform: none; } }
    .tqlp-formcard.is-modal { padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); }
    html.tqlp-lock .tqlp-act, html.tqlp-lock .tqlp-sticky, html.tqlp-lock .tqlp-wa { display: none; }

    /* Móvil: botón fijo a la izquierda + WhatsApp a la derecha en la misma fila; las alertas encima */
    .tqlp-wa { right: 12px; bottom: 12px; }
    .tqlp-wa__label { display: none; }
    .tqlp-wa__btn { width: 54px; height: 54px; font-size: 27px; }
    .tqlp-act { left: 12px; right: 12px; bottom: 78px; width: auto; max-width: none; }
    .tqlp-act__card { padding: 11px 32px 11px 12px; border-radius: 14px; }
    .tqlp-act__txt { font-size: 12.5px; }
    .tqlp-page .tqr { padding: 52px 0; }
    .tqlp-sticky {
        position: fixed; left: 12px; right: 78px; bottom: 12px; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px;
        min-height: 54px; border-radius: 16px; background: linear-gradient(135deg, #2fe07a 0%, var(--l-wa) 50%, var(--l-wa-d) 100%); color: #fff !important;
        font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    }
    .tqlp-sticky i { font-size: 21px; }
    .tqlp-sticky { transition: transform .25s ease, opacity .25s ease; }
    .tqlp-sticky.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
    .tqlp-modal[open] { animation: none; }
    .tqlp-wa__btn::before { animation: none; }
    .tqlp-act__card { transition: none; }
    .tqlp-dot::after { animation: none; }
    .tqlf__submit, .tqlp-cta, .tqlp-prices a { transition: none; }
}
