/* Quito Airport Transfer: destination pages and cards, matched to the Remons theme
   (yellow #F5A900, navy #0B1F3A headings in Roboto, Lexend text). Scoped under .qat. */
.qat, .qat-cards {
  --qat-yellow: #F5A900; --qat-yellow-dark: #D99500; --qat-yellow-soft: #FFF3D6;
  --qat-navy: #0B1F3A; --qat-muted: #77797E; --qat-line: #E6E6E6; --qat-bg: #F7F7F7;
  --qat-ok: #1D7349; --qat-warn: #A3420F; --qat-wa: #16794A; --qat-r: 14px; --qat-r-sm: 10px;
  --qat-shadow: 0 1px 2px rgb(11 31 58 / .06), 0 10px 28px rgb(11 31 58 / .09);
}
.qat *, .qat *::before, .qat *::after { box-sizing: border-box; }
.qat [hidden] { display: none !important; }
.qat p { margin: 0; }
.qat-page { padding: 36px 0 80px; color: var(--qat-muted); }
.qat-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.qat .qat-crumbs { font-size: .88rem; margin-bottom: 10px; }
.qat .qat-crumbs a { color: var(--qat-muted); text-decoration: none; }
.qat .qat-crumbs a:hover { color: var(--qat-yellow-dark); }
.qat .qat-title { font-family: Roboto, sans-serif; font-weight: 600; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1.15; color: var(--qat-navy); margin: 0 0 10px; }
.qat .qat-lead { font-size: 1.1rem; color: var(--qat-muted); max-width: 70ch; }
.qat .qat-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; margin-top: 28px; align-items: start; }
.qat .qat-main { min-width: 0; display: grid; gap: 28px; }
.qat .qat-photo { margin: 0; border-radius: var(--qat-r); overflow: hidden; }
.qat .qat-photo img { width: 100%; height: auto; max-height: 460px; object-fit: cover; display: block; }
.qat .qat-content { line-height: 1.7; }
.qat .qat-content > * { margin: 0 0 14px; }
.qat .qat-content h2, .qat .qat-content h3, .qat .qat-how h2 { font-family: Roboto, sans-serif; font-weight: 600; color: var(--qat-navy); margin: 0 0 12px; }
.qat .qat-how h2 { font-size: 1.5rem; }
.qat .qat-how ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; line-height: 1.6; }
.qat .qat-how b { color: var(--qat-navy); }
.qat .qat-booking { position: sticky; top: 110px; min-width: 0; scroll-margin-top: 100px; }
@media (max-width: 991px) { .qat .qat-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .qat .qat-booking { position: static; } }

/* Booking box */
.qat .qat-card-box { background: #fff; border: 1px solid var(--qat-line); border-radius: var(--qat-r); box-shadow: var(--qat-shadow); padding: 22px; display: grid; gap: 16px; color: var(--qat-navy); }
.qat .qat-price-now { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.qat .qat-amt { font-family: Roboto, sans-serif; font-weight: 700; font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--qat-navy); }
.qat .qat-per, .qat .qat-price-sub { color: var(--qat-muted); }
.qat .qat-price-sub { font-size: .9rem; margin-top: 4px; }
.qat .qat-tiers-head, .qat .qat-tiers button { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.qat .qat-tiers-head { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--qat-muted); padding: 0 12px 6px; }
.qat .qat-tiers-head span:last-child, .qat .qat-t-total { text-align: right; }
.qat .qat-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.qat .qat-tiers li { margin: 0; padding: 0; }
.qat .qat-tiers li::before { display: none; }
.qat .qat-tiers button, .qat .qat-tiers button:hover, .qat .qat-tiers button:focus { width: 100%; font: inherit; font-size: .93rem; text-align: left; background: transparent; color: var(--qat-navy); border: 1px solid transparent; border-radius: var(--qat-r-sm); padding: 7px 12px; margin: 0; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; min-height: 0; line-height: 1.4; }
.qat .qat-tiers button:hover { background: var(--qat-bg); }
.qat .qat-tiers button.on, .qat .qat-tiers button.on:hover { background: var(--qat-yellow-soft); border-color: var(--qat-yellow); }
.qat .qat-t-pp { font-weight: 700; }
.qat .qat-t-total { color: var(--qat-muted); }
.qat .qat-fields { display: grid; gap: 12px; margin: 0; }
.qat .qat-field { display: grid; gap: 5px; min-width: 0; margin: 0; }
.qat .qat-field label { font-size: .85rem; font-weight: 600; margin: 0; color: var(--qat-navy); }
.qat .qat-opt { font-weight: 400; color: var(--qat-muted); }
.qat .qat-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qat .qat-card-box input, .qat .qat-card-box textarea, .qat .qat-card-box select { font: inherit; font-size: 16px; color: var(--qat-navy); background: #fff; border: 1px solid var(--qat-line); border-radius: var(--qat-r-sm); padding: 10px 12px; width: 100%; min-width: 0; margin: 0; box-shadow: none; height: auto; }
.qat .qat-card-box input:focus, .qat .qat-card-box textarea:focus, .qat .qat-card-box select:focus { outline: none; border-color: var(--qat-yellow); box-shadow: 0 0 0 3px var(--qat-yellow-soft); }
.qat .qat-card-box textarea { resize: vertical; }
.qat .qat-card-box select { font-variant-numeric: tabular-nums; font-size: 15px; -webkit-appearance: none; appearance: none; cursor: pointer; padding: 10px 28px 10px 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2377797E' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center; }
.qat .qat-card-box #qatDate + input { cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2377797E' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 10px center; padding-right: 34px; }
@media (max-width: 480px) { .qat .qat-card-box select { font-size: 14px; padding-left: 8px; padding-right: 22px; background-position: right 7px center; } }
.qat .qat-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qat .qat-trav-lbl { font-weight: 600; font-size: .92rem; }
.qat .qat-stepper { display: flex; align-items: center; border: 1px solid var(--qat-line); border-radius: var(--qat-r-sm); overflow: hidden; width: 148px; }
.qat .qat-stepper button, .qat .qat-stepper button:hover, .qat .qat-stepper button:focus { width: 44px; height: 42px; border: 0; border-radius: 0; padding: 0; margin: 0; background: var(--qat-bg); color: var(--qat-navy); font-size: 1.25rem; line-height: 1; cursor: pointer; box-shadow: none; min-height: 0; }
.qat .qat-stepper button:hover { background: var(--qat-line); }
.qat .qat-stepper button:disabled { color: var(--qat-line); background: var(--qat-bg); cursor: not-allowed; }
.qat .qat-stepper output { flex: 1; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qat .qat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qat .qat-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px dashed var(--qat-line); padding-top: 12px; }
.qat .qat-total span { color: var(--qat-muted); }
.qat .qat-total strong { font-family: Roboto, sans-serif; font-size: 1.45rem; font-variant-numeric: tabular-nums; text-align: right; }
.qat .qat-cta, .qat .qat-cta:hover, .qat .qat-cta:focus, .qat .qat-cta:visited {
  display: inline-flex; justify-content: center; align-items: center; width: 100%; font: inherit; font-weight: 600; font-size: 1rem; background: var(--qat-yellow); color: #fff;
  border: 0; border-radius: var(--qat-r-sm); padding: 14px 18px; margin: 0; cursor: pointer; text-decoration: none; box-shadow: none; text-transform: none; line-height: 1.2; min-height: 0; }
.qat .qat-cta:hover { background: var(--qat-yellow-dark); }
.qat .qat-cta:disabled { opacity: .7; cursor: progress; }
.qat .qat-fine { font-size: .8rem; color: var(--qat-muted); text-align: center; }
.qat .qat-err { font-size: .86rem; color: var(--qat-warn); }
.qat .qat-back, .qat .qat-back:hover, .qat .qat-back:focus { justify-self: start; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: .88rem; color: var(--qat-yellow-dark); cursor: pointer; box-shadow: none; min-height: 0; }
.qat .qat-summary { background: var(--qat-bg); border-radius: var(--qat-r-sm); padding: 10px 12px; font-size: .88rem; display: grid; gap: 2px; }
.qat .qat-sent { display: grid; gap: 12px; text-align: center; justify-items: center; }
.qat .qat-sent h3 { margin: 0; font-family: Roboto, sans-serif; color: var(--qat-navy); }
.qat .qat-sent-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--qat-ok); color: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; }
.qat .qat-sent p { color: var(--qat-muted); font-size: .93rem; }
.qat .qat-btn-wa, .qat .qat-btn-wa:hover, .qat .qat-btn-wa:visited { display: inline-flex; justify-content: center; width: 100%; background: var(--qat-wa); color: #fff; text-decoration: none; font-weight: 600; border-radius: var(--qat-r-sm); padding: 12px 16px; }
.qat .qat-link, .qat .qat-link:hover, .qat .qat-link:focus { background: none; border: 0; padding: 0; font: inherit; font-size: .86rem; color: var(--qat-muted); text-decoration: underline; cursor: pointer; box-shadow: none; min-height: 0; }

/* Phone bar */
.qat .qat-bar { display: none; }
@media (max-width: 991px) {
  .qat .qat-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-top: 1px solid var(--qat-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); transition: transform .2s; }
  .qat .qat-bar.qat-bar-off { transform: translateY(110%); }
  .qat .qat-bar .qat-cta, .qat .qat-bar .qat-cta:hover, .qat .qat-bar .qat-cta:visited { width: auto; padding: 11px 20px; }
  .qat .qat-bar-price { font-size: .86rem; color: var(--qat-muted); line-height: 1.3; }
  .qat .qat-bar-price b { font-family: Roboto, sans-serif; font-size: 1.15rem; color: var(--qat-navy); }
  .qat-page { padding-bottom: 110px; }
}

/* Destination cards ([qat_destinos]) */
.qat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.qat-cards .qat-card, .qat-cards .qat-card:hover, .qat-cards .qat-card:visited { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--qat-yellow); border-radius: var(--qat-r); overflow: hidden; color: var(--qat-navy); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.qat-cards .qat-card:hover { box-shadow: var(--qat-shadow); transform: translateY(-2px); }
.qat-cards .qat-card img, .qat-cards .qat-card-noimg { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--qat-yellow-soft); max-width: none; }
.qat-cards .qat-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.qat-cards .qat-card-title { font-family: Roboto, sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--qat-navy); }
.qat-cards .qat-card-text { color: var(--qat-muted); font-size: .93rem; line-height: 1.5; }
.qat-cards .qat-card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.qat-cards .qat-card-from { font-size: .9rem; color: var(--qat-muted); }
.qat-cards .qat-card-from b { font-family: Roboto, sans-serif; font-size: 1.15rem; color: var(--qat-navy); }
.qat-cards .qat-card-btn { background: var(--qat-yellow); color: #fff; font-weight: 600; font-size: .85rem; border-radius: var(--qat-r-sm); padding: 8px 14px; }

/* Phone field (intl-tel-input) */
.qat .iti { display: block; width: 100%; }
.qat .iti .iti__selected-country, .qat .iti .iti__selected-country:hover, .qat .iti .iti__selected-country:focus {
  display: flex; align-items: center; height: 100%; width: auto; background: transparent; color: var(--qat-navy); border: 0; border-radius: var(--qat-r-sm) 0 0 var(--qat-r-sm);
  padding: 0 6px 0 12px; margin: 0; font-size: 15px; line-height: 1; box-shadow: none; min-height: 0; }
.qat .iti .iti__selected-country:hover { background: var(--qat-bg); }
.qat .iti .iti__selected-dial-code { color: var(--qat-navy); margin-left: 6px; }
.qat .iti .iti__dropdown-content { border: 1px solid var(--qat-line); border-radius: var(--qat-r-sm); box-shadow: var(--qat-shadow); }
.qat .iti .iti__search-input, .iti--container .iti__search-input { border: 0; border-bottom: 1px solid #E6E6E6; border-radius: 0; padding: 10px 36px 10px 34px; box-shadow: none; background: #fff; font-size: 15px; color: #0B1F3A; height: auto; }
.qat .iti .iti__search-input:focus, .iti--container .iti__search-input:focus { outline: none; box-shadow: none; border-bottom: 2px solid #F5A900; }
body .iti .iti__search-clear, body .iti .iti__search-clear:hover, body .iti .iti__search-clear:focus { position: absolute; right: 8px; width: 24px; height: 24px; min-height: 0; padding: 4px; margin: 0; border: 0; border-radius: 6px; background: transparent; box-shadow: none; display: flex; align-items: center; justify-content: center; }
body .iti .iti__search-clear.iti__hide { display: none; }
.qat .iti .iti__country { padding: 8px 12px; font-size: .92rem; }
.qat .iti .iti__country.iti__highlight { background: var(--qat-yellow-soft); }
.iti--fullscreen-popup .iti__search-input { font-size: 16px; padding: 12px 40px 12px 36px; }
.iti--fullscreen-popup .iti__search-icon { left: 12px; }

/* Calendar (flatpickr) */
/* Time picker (timepick.js), in the calendar's style. The pop-up sits outside .qat, so its colors are literal. */
.qat .qat-card-box .tp-field { cursor: pointer; font-variant-numeric: tabular-nums; font-size: 15px; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2377797E' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") no-repeat right 11px center; }
.qat .qat-card-box .tp-field.tp-open { border-color: var(--qat-yellow); box-shadow: 0 0 0 3px var(--qat-yellow-soft); }
@media (max-width: 480px) { .qat .qat-card-box .tp-field { font-size: 14px; padding-left: 9px; padding-right: 28px; background-position: right 8px center; } }
body .tp-pop { position: absolute; z-index: 99999; box-sizing: border-box; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #E6E6E6; border-radius: 14px; box-shadow: 0 10px 28px rgb(11 31 58 / .12); padding: 2px 10px 10px; font-family: Lexend, sans-serif; animation: tp-in .14s ease-out; }
body .tp-pop[hidden] { display: none; }
@keyframes tp-in { from { opacity: 0; transform: translateY(-4px); } }
body .tp-pop .tp-head { position: sticky; top: -2px; background: #fff; padding: 10px 4px 6px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #77797E; }
body .tp-pop .tp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
body .tp-pop button, body .tp-pop button:hover, body .tp-pop button:focus { display: grid; justify-items: center; gap: 1px; width: 100%; min-height: 0; margin: 0; padding: 7px 2px; border: 1px solid transparent; border-radius: 8px; background: transparent; box-shadow: none; color: #0B1F3A; font: inherit; text-transform: none; letter-spacing: 0; line-height: 1.2; cursor: pointer; }
body .tp-pop button b { font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
body .tp-pop button span { font-size: .7rem; color: #77797E; white-space: nowrap; }
body .tp-pop button:hover { background: #FFF3D6; }
body .tp-pop button:focus-visible { outline: 2px solid #F5A900; outline-offset: -2px; }
body .tp-pop button[aria-selected="true"], body .tp-pop button[aria-selected="true"]:hover { background: #F5A900; color: #fff; }
body .tp-pop button[aria-selected="true"] span { color: rgb(255 255 255 / .85); }
body .flatpickr-calendar { border-radius: 14px; box-shadow: 0 10px 28px rgb(11 31 58 / .12); border: 1px solid #E6E6E6; }
body .flatpickr-calendar .flatpickr-current-month { white-space: nowrap; font-size: 118%; font-weight: 700; }
body .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months { display: inline-block; width: auto; font-weight: 700; }
body .flatpickr-calendar .flatpickr-current-month input.cur-year { font-weight: 700; }
body .flatpickr-calendar .flatpickr-current-month .numInputWrapper { width: 6.5ch; }
body .flatpickr-calendar .flatpickr-day { border-radius: 8px; }
body .flatpickr-calendar .flatpickr-day:hover { background: #FFF3D6; border-color: #FFF3D6; }
body .flatpickr-calendar .flatpickr-day.today { border-color: #F5A900; }
body .flatpickr-calendar .flatpickr-day.selected, body .flatpickr-calendar .flatpickr-day.selected:hover { background: #F5A900; border-color: #F5A900; color: #fff; }

/* Book Your Transfer box: heading and trip type */
.qat .qat-lbl { font-size: .85rem; font-weight: 600; color: var(--qat-navy); }
.qat .qat-quote-head { font-size: 1.5rem; }
.qat .qat-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--qat-bg); border: 1px solid var(--qat-line); border-radius: var(--qat-r-sm); padding: 4px; }
.qat .qat-seg button, .qat .qat-seg button:hover, .qat .qat-seg button:focus { background: transparent; color: var(--qat-navy); border: 0; border-radius: 8px; padding: 10px 8px; font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2; cursor: pointer; box-shadow: none; }
.qat .qat-seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgb(11 31 58 / .15); }
.qat .qat-seg button:focus-visible { outline: 2px solid var(--qat-yellow); outline-offset: 1px; }
.qat .qat-preview-note { background: var(--qat-yellow-soft); color: var(--qat-navy); border-radius: var(--qat-r-sm); padding: 10px 14px; margin-bottom: 18px; font-weight: 600; }

/* Time picker: the minutes step, with a way back to the hours */
body .tp-pop.tp-hm .tp-hm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-transform: none; letter-spacing: 0; font-size: .8rem; z-index: 1; }
body .tp-pop.tp-hm .tp-hm-back, body .tp-pop.tp-hm .tp-hm-back:hover, body .tp-pop.tp-hm .tp-hm-back:focus { display: inline-flex; width: auto; padding: 6px 10px; border: 1px solid #E6E6E6; border-radius: 999px; background: #fff; color: #0B1F3A; font-size: .8rem; font-weight: 600; }

/* Round trip: the return leg, set apart under the first one */
.qat .qat-return { border-top: 1px dashed var(--qat-line); padding-top: 14px; }
.qat .qat-return-head { font-family: Roboto, sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--qat-navy); }

/* [qat_transfer_form] on Contact Us or any page */
.qat-form-sc .qat-booking { position: static; max-width: 520px; margin: 0 auto; }
