/* ============================================================
   Free Tours — components: SiteHeader + SiteFooter (README §6.1–6.2)
   (TourCard / BookingCard / CheckoutForm / MeetingPoint arrive in Step 2.)
   ============================================================ */

/* ---------- City code badge (shared) ---------- */
.ft-citycode {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .08em;
  color: #FFFFFF;
  padding: 5px 6px;
  border-radius: 4px;
  flex: none;
}

/* ============================================================
   SiteHeader
   ============================================================ */
.ft-header {
  position: sticky; top: 0; z-index: 40;
  background: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.ft-header.is-compact, .ft-header.is-open { border-bottom-color: var(--border); }

.ft-header__bar {
  height: 76px;
  display: flex; align-items: center; gap: 28px;
  transition: height .2s ease;
}
.ft-header.is-compact .ft-header__bar { height: 60px; }

.ft-header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); flex: none; }
.ft-header__logo img { height: 36px; width: auto; transition: height .2s; }
.ft-header.is-compact .ft-header__logo img { height: 30px; }
.ft-header__city {
  border-left: 1px solid var(--dashed-inner); padding-left: 12px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-primary); white-space: nowrap;
}

.ft-header__nav { display: flex; gap: 4px; align-items: center; }
.ft-header__navbtn, .ft-header__navlink {
  display: inline-flex; align-items: center; gap: 4px;
  font: 500 15px var(--font-sans); color: var(--text-primary);
  background: transparent; border: 0; border-radius: var(--r-8);
  padding: 10px 12px; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.ft-header__navbtn:hover, .ft-header__navlink:hover { background: var(--surface-alt); color: var(--text-primary); }
.ft-header__chev { display: flex; transition: transform .18s; }
.ft-header__navbtn[aria-expanded="true"] { background: var(--surface-alt); }
.ft-header__navbtn[aria-expanded="true"] .ft-header__chev { transform: rotate(180deg); }

.ft-header__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.ft-header__city-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font: 500 14px var(--font-sans); color: var(--text-secondary);
  background: transparent; border: 0; border-radius: var(--r-8); padding: 10px; cursor: pointer;
}
.ft-header__city-btn:hover { background: var(--surface-alt); color: var(--text-primary); }

.ft-header__lang-btn {
  display: inline-flex; align-items: center; gap: 4px; height: 40px;
  font: 500 14px var(--font-mono); color: var(--text-primary);
  background: transparent; border: 1px solid var(--border); border-radius: var(--r-8);
  padding: 0 10px; cursor: pointer; transition: border-color .15s;
}
.ft-header__lang-btn:hover { border-color: var(--text-primary); }

.ft-header__reserve { height: 44px; padding: 0 18px; font-size: 15px; transition: background .18s, height .2s; }
.ft-header.is-compact .ft-header__reserve { height: 38px; }

/* Dropdowns */
.ft-dropdown { position: relative; }
.ft-dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--r-12);
  box-shadow: var(--sh-menu); z-index: 60; padding: 8px;
}
.ft-dropdown__menu[hidden] { display: none; }
.ft-dropdown__title { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); padding: 10px 10px 8px; }
.ft-citymenu { width: 300px; }
.ft-citymenu__item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px;
  background: transparent; border: 0; border-radius: var(--r-8); padding: 10px; cursor: pointer;
  font: 500 15px var(--font-sans); color: var(--text-primary); text-align: left; text-decoration: none;
}
.ft-citymenu__item:hover, .ft-citymenu__item.is-current { background: var(--hover-warm); color: var(--text-primary); }
.ft-citymenu__name { flex: 1; }
.ft-citymenu__lat { font: 400 12px var(--font-mono); color: var(--text-secondary); }

.ft-langmenu { width: 180px; padding: 6px; }
.ft-langmenu__item {
  display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px;
  background: transparent; border: 0; border-radius: var(--r-8); padding: 10px; cursor: pointer;
  font: 400 14px var(--font-sans); color: var(--text-primary);
}
.ft-langmenu__item:hover { background: var(--hover-warm); }
a.ft-langmenu__item { box-sizing: border-box; text-decoration: none; }
.ft-langmenu__item.is-current { font-weight: 600; }
.ft-langmenu__code { font: 500 12px var(--font-mono); color: var(--text-secondary); }

/* Megamenu */
.ft-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #FFFFFF; border-bottom: 1px solid var(--border); box-shadow: var(--sh-mega); z-index: 50;
}
.ft-mega[hidden] { display: none; }
.ft-mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 32px; padding-top: 28px; padding-bottom: 32px; }
.ft-mega__item { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--text-primary); text-decoration: none; color: var(--text-primary); }
.ft-mega__item:hover { color: var(--city-ink); }
.ft-mega__num { font: 500 11px/1 var(--font-mono); letter-spacing: .06em; color: var(--text-secondary); }
.ft-mega__short { font: 400 22px/1.15 var(--font-serif); }
.ft-mega__for { font-size: 14px; color: var(--text-secondary); }

/* Mobile menu */
.ft-header__menu-btn {
  margin-left: auto; display: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  font: 500 14px var(--font-sans); color: var(--text-primary);
  background: transparent; border: 1px solid var(--border); border-radius: var(--r-10); cursor: pointer;
}
.ft-header__menu-icon { display: flex; }
.ft-header__menu-icon[hidden] { display: none; }

.ft-mobilemenu {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100vh - 64px); max-height: 780px; overflow: auto;
  background: #FFFFFF; z-index: 50; padding: 8px 20px 28px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 4px;
}
.ft-mobilemenu[hidden] { display: none; }
.ft-mobilemenu__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  font: 400 26px/1.1 var(--font-serif); color: var(--text-primary); text-decoration: none;
}
.ft-mobilemenu__n { font: 500 12px var(--font-mono); color: var(--text-secondary); }
.ft-mobilemenu__label { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); padding: 24px 0 10px; }
.ft-mobilemenu__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-citychip {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--r-8); background: #FFFFFF;
  font: 500 14px var(--font-sans); color: var(--text-primary); cursor: pointer; text-decoration: none;
}
.ft-citychip.is-current { border-color: var(--text-primary); }
.ft-langchip {
  height: 44px; min-width: 52px; border-radius: var(--r-8); border: 1px solid var(--border);
  background: #FFFFFF; color: var(--text-primary); font: 500 13px var(--font-mono); cursor: pointer;
}
.ft-langchip.is-current { background: var(--text-primary); color: #FFFFFF; }
a.ft-langchip { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 12px; text-decoration: none; }
.ft-mobilemenu__cta { margin-top: 28px; height: 52px; width: 100%; }

.ft-mobilemenu__acc { border-bottom: 1px solid var(--border); }
.ft-mobilemenu__acc > summary { list-style: none; cursor: pointer; border-bottom: 0; }
.ft-mobilemenu__acc > summary::-webkit-details-marker { display: none; }
.ft-mobilemenu__acc > summary:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 2px; }
.ft-mobilemenu__acc > summary .ft-mobilemenu__n { display: inline-flex; align-items: center; gap: 8px; }
.ft-mobilemenu__chev { display: inline-flex; transition: transform .2s; }
.ft-mobilemenu__acc[open] .ft-mobilemenu__chev { transform: rotate(180deg); }
.ft-mobilemenu__accbody { display: flex; flex-direction: column; padding: 0 0 14px; }
.ft-mobilemenu__acc[open] .ft-mobilemenu__accbody { animation: ft-acc-in .22s ease both; }
.ft-mobilemenu__all { color: var(--text-secondary); }
@keyframes ft-acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Breakpoint: nav becomes "Menú" under 1100px (README §5) */
@media (max-width: 1099.98px) {
  .ft-header__nav, .ft-header__right { display: none; }
  .ft-header__menu-btn { display: inline-flex; }
  .ft-header__bar { height: 64px; }
  .ft-header__logo img { height: 28px; }
  .ft-mega { display: none !important; }
}
@media (min-width: 1100px) {
  .ft-mobilemenu { display: none !important; }
}

/* ============================================================
   SiteFooter
   ============================================================ */
.ft-footer { background: var(--dark); color: var(--text-inverse); }
.ft-footer__inner { display: flex; flex-direction: column; gap: 56px; padding-top: 88px; padding-bottom: 32px; }
.ft-footer__top { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.ft-footer__brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 20px; }
.ft-footer__plate { align-self: flex-start; display: flex; align-items: center; gap: 12px; background: var(--section-cream); border-radius: var(--r-10); padding: 12px 16px; }
.ft-footer__plate img { height: 34px; width: auto; }
.ft-footer__city { border-left: 1px solid var(--dashed-inner); padding-left: 12px; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-primary); }
.ft-footer__tagline { font: 400 20px/1.35 var(--font-serif); color: var(--text-inverse-muted-2); }
.ft-footer__coord { font: 400 12px var(--font-mono); color: var(--text-inverse-muted-3); letter-spacing: .04em; }

.ft-footer__cols { flex: 3 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 24px; }
.ft-footer__col { display: flex; flex-direction: column; gap: 4px; }
.ft-footer__coltitle { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-inverse-muted-3); padding-bottom: 10px; border-bottom: 1px solid var(--dark-line-2); margin-bottom: 6px; }
.ft-footer__col a { color: var(--text-inverse); text-decoration: none; font-size: 15px; padding: 7px 0; }
.ft-footer__col a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }

.ft-footer__cities { border-top: 1px solid var(--dark-line-2); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.ft-footer__label { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-inverse-muted-3); }
.ft-footer__citylist { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-footer__citybtn {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 6px;
  border-radius: var(--r-8); border: 1px solid var(--dark-line-2); background: transparent;
  color: var(--text-inverse); font: 500 15px var(--font-sans); cursor: pointer; text-decoration: none;
  transition: border-color .18s;
}
.ft-footer__citybtn:hover { border-color: var(--text-inverse); color: var(--text-inverse); }
.ft-footer__citybtn.is-current { border-color: var(--text-inverse); background: var(--dark-current); }

.ft-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-inverse-muted-3); }
.ft-footer__domain { font-family: var(--font-mono); }

@media (max-width: 720px) {
  .ft-footer__inner { padding-top: 56px; }
}

/* ============================================================
   TourCard (README §6.3)
   ============================================================ */
.ft-card { font-family: var(--font-sans); color: var(--text-primary); text-decoration: none; }
.ft-muted { color: var(--text-secondary); }

/* ---- Vertical ---- */
.ft-card--vertical {
  display: flex; flex-direction: column; gap: 14px;
  background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--r-16);
  padding: 8px 8px 14px; height: 100%; cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  outline-offset: 3px;
}
.ft-card--vertical:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--border-hover); }
.ft-card--vertical.is-selected { border-color: var(--brand); outline: 3px solid var(--city-soft); outline-offset: 3px; }
.ft-card--vertical.is-unavailable:hover { transform: none; box-shadow: var(--sh-sm); border-color: var(--border); }

.ft-card__media { position: relative; border-radius: var(--r-10); overflow: hidden; display: block; }
.ft-card__imgwrap { position: absolute; inset: 0; transition: transform .5s ease; }
.ft-card__imgwrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ft-card--vertical:hover .ft-card__imgwrap { transform: scale(1.02); }
.ft-card--vertical.is-unavailable .ft-card__media { filter: grayscale(1) opacity(.7); }
.ft-card--vertical.is-unavailable .ft-card__title { color: var(--text-secondary); }

.ft-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ft-card--vertical .ft-card__body { padding: 0 8px; }
.ft-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 20px; }
.ft-card__badge { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.ft-card__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dashed-inner); flex: none; }
.ft-card__badge.is-city { color: var(--city-ink); }
.ft-card__badge.is-city .ft-card__dot { background: var(--city-accent); }
.ft-card__badge.is-selected, .is-selected .ft-card__badge { color: var(--brand); }
.ft-card__badge.is-selected .ft-card__dot, .is-selected .ft-card__badge .ft-card__dot { background: var(--brand); }
.is-unavailable .ft-card__badge { color: var(--text-secondary); }
.is-unavailable .ft-card__badge .ft-card__dot { background: var(--text-disabled-2); }

.ft-card__rating { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--text-primary); white-space: nowrap; }
.ft-card__rating .ft-stars, .ft-card__rating svg { color: var(--success); }
.ft-card__rating strong { font-weight: 600; }
.ft-card__title { font: 400 27px/1.12 var(--font-serif); letter-spacing: -.01em; text-wrap: balance; color: var(--text-primary); }
.ft-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--text-secondary); }
.ft-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ft-card__desc { font-size: 15px; line-height: 1.5; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.ft-card__footvert { margin-top: auto; border-top: 1px dashed var(--dashed-inner); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.ft-card__avail { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ft-card__availrow { display: flex; align-items: center; gap: 10px; }
.ft-card__availday { font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); min-width: 48px; }
.ft-card__chips { display: flex; gap: 6px; }
.ft-timechip { font: 500 14px/1 var(--font-mono); padding: 7px 9px; border-radius: var(--r-6); border: 1px solid var(--border); color: var(--text-primary); background: #FFFFFF; }
.ft-timechip.is-last { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
.ft-timechip.is-off { background: #F4F1EB; border-color: var(--border); color: var(--text-disabled); text-decoration: line-through; }
.ft-card__note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); }
.ft-card__note.is-warning { color: var(--warning-text); }
.ft-card__footrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ft-card__free { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--success); }
.ft-card__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); border-bottom: 1.5px solid transparent; padding: 6px 0 3px; text-decoration: none; }
.ft-card--vertical:hover .ft-card__cta { border-bottom-color: var(--brand); }
.ft-card__arrow { display: inline-flex; transition: transform .18s; }
.ft-card--vertical:hover .ft-card__arrow { transform: translateX(3px); }
.is-unavailable .ft-card__cta { color: var(--text-primary); }

/* ---- Horizontal ---- */
.ft-card--horizontal { display: flex; flex-wrap: wrap; gap: 20px; background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--r-16); padding: 10px; box-shadow: var(--sh-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.ft-card--horizontal:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--border-hover); }
.ft-card--horizontal .ft-card__media { flex: 1 1 220px; max-height: 260px; }
.ft-card--horizontal .ft-card__body { flex: 2 1 280px; padding: 8px 8px 8px 0; }
.ft-card__for { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--city-ink); }
.ft-card--horizontal .ft-card__title { font-size: 26px; line-height: 1.15; }
.ft-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px dashed var(--dashed-inner); padding-top: 12px; }
.ft-card__firstslot { font: 500 13px/1 var(--font-mono); color: var(--text-primary); }
.ft-card--horizontal .ft-card__cta { border-bottom: 0; padding: 0; }

/* ---- Compact ---- */
.ft-card--compact { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-12); background: transparent; border: 1px solid transparent; transition: background .18s, border-color .18s; }
.ft-card--compact:hover { background: #FFFFFF; border-color: var(--border); }
.ft-card--compact.is-selected { background: var(--city-soft); border-color: var(--city-accent); }
.ft-card__thumb { width: 72px; height: 72px; flex: none; border-radius: var(--r-8); overflow: hidden; position: relative; }
.ft-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ft-card__compactbody { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.ft-card__compactname { font: 400 19px/1.2 var(--font-serif); }
.ft-card__compactmeta { font-size: 13px; color: var(--text-secondary); }
.ft-card__compactarrow { display: inline-flex; color: var(--text-secondary); }
.ft-card--compact.is-selected .ft-card__compactarrow { color: var(--city-ink); }

/* ============================================================
   BookingCard (README §6.4)
   ============================================================ */
.ft-booking { display: flex; flex-direction: column; gap: 20px; font-family: var(--font-sans); color: var(--text-primary); }
.ft-booking__field { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ft-booking__legend { padding: 0 0 10px; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.ft-booking__days { display: flex; gap: 6px; }
.ft-booking__notice { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 12px; border-radius: var(--r-6); background: var(--surface-alt); color: var(--text-primary); font-size: 14px; line-height: 1.4; }
.ft-booking__notice svg { flex: none; margin-top: 2px; color: var(--text-secondary); }
.ft-booking__day { flex: 1 1 0; min-height: 56px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 8px 12px; border-radius: var(--r-8); border: 1px solid var(--border); background: #FFFFFF; color: var(--text-primary); cursor: pointer; text-align: left; transition: background .15s, border-color .15s; }
.ft-booking__day.is-selected { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.ft-booking__daytitle { font-size: 15px; font-weight: 600; }
.ft-booking__daysub { font: 400 11px/1 var(--font-mono); opacity: .8; }

.ft-booking__calendar { border: 1px solid var(--border); border-radius: var(--r-10); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ft-booking__calhead { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.ft-booking__calhead span:last-child { font: 400 11px var(--font-mono); color: var(--text-secondary); }
.ft-booking__caldow, .ft-booking__calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.ft-booking__caldow { font: 400 11px var(--font-mono); color: var(--text-secondary); text-align: center; }
.ft-booking__calday { height: 40px; border-radius: var(--r-6); border: 1px solid transparent; background: transparent; color: var(--text-primary); font: 500 14px var(--font-sans); cursor: pointer; }
.ft-booking__calday:hover { border-color: var(--border); }
.ft-booking__calday[disabled] { color: var(--text-disabled-2); cursor: default; }
.ft-booking__calgrid.is-loading .ft-booking__calday:not([disabled]) { opacity: .45; pointer-events: none; }
.ft-booking__calday.is-selected { background: var(--text-primary); color: #FFFFFF; }

.ft-booking__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }
.ft-booking__time { min-height: 56px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 8px 12px; border-radius: var(--r-8); border: 1px solid var(--border); background: #FFFFFF; cursor: pointer; text-align: left; transition: background .15s, border-color .15s; }
.ft-booking__timeval { font: 500 18px/1 var(--font-mono); }
.ft-booking__timesub { font-size: 12px; color: var(--success); }
.ft-booking__time.is-last .ft-booking__timesub { color: var(--warning-text); }
.ft-booking__time.is-off { background: #F4F1EB; color: var(--text-disabled); cursor: not-allowed; }
.ft-booking__time.is-off .ft-booking__timeval { text-decoration: line-through; }
.ft-booking__time.is-off .ft-booking__timesub { color: var(--text-disabled); }
.ft-booking__time.is-selected { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.ft-booking__time.is-selected .ft-booking__timesub { color: #D8E4DD; }

.ft-booking__langs { display: flex; padding: 3px; border-radius: var(--r-10); background: var(--surface-alt); gap: 3px; }
.ft-booking__lang { flex: 1; height: 44px; border-radius: var(--r-8); border: 0; background: transparent; color: var(--text-primary); font: 500 15px var(--font-sans); cursor: pointer; transition: background .15s; }
.ft-booking__lang.is-selected { background: #FFFFFF; font-weight: 600; box-shadow: 0 1px 2px rgba(25,26,23,.12); }

.ft-booking__people { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ft-booking__peoplelabel { display: flex; flex-direction: column; gap: 3px; }
.ft-booking__peoplelabel .ft-booking__legend { padding: 0; }
.ft-booking__peoplenote { font-size: 12px; color: var(--text-secondary); }
.ft-booking__counter { display: flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: var(--r-10); padding: 3px; }
.ft-booking__pm { width: 44px; height: 44px; border-radius: var(--r-8); border: 0; background: transparent; color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ft-booking__pm:hover { background: var(--surface-alt); }
.ft-booking__pm[disabled] { opacity: .35; cursor: default; }
.ft-booking__count { min-width: 28px; text-align: center; font: 500 18px var(--font-mono); }
/* Adults / children (Ventrata units): one row per unit under the «Personas» label. */
.ft-booking__people--units { flex-direction: column; align-items: stretch; gap: 10px; }
.ft-booking__unit { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ft-booking__unitlabel { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ft-booking__unitname { font: 500 15px/1.2 var(--font-sans); color: var(--text-primary); }
.ft-booking__unitsub { font-size: 12px; color: var(--text-secondary); }
.ft-booking__groupnote { margin: 12px 0 0; }
.ft-booking__maxnote { margin: 8px 0 0; font-size: 12px; color: var(--text-secondary); }
.ft-booking__maxnote[hidden], .ft-booking__groupnote[hidden], .ft-booking__trust[hidden], [data-ft-head-free][hidden], [data-ft-head-group][hidden] { display: none; }

.ft-booking__footer { display: flex; flex-direction: column; gap: 12px; border-top: 1px dashed var(--dashed-inner); padding-top: 16px; }
.ft-booking__summary { font: 400 13px/1.3 var(--font-mono); color: var(--text-primary); }
.ft-booking__cta { width: 100%; }
.ft-booking__cta[disabled] { background: var(--text-disabled); cursor: not-allowed; }
.ft-booking__trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--success); font-weight: 500; }
.ft-booking__trust span { display: inline-flex; align-items: center; gap: 5px; }

/* ============================================================
   CheckoutForm (README §6.5)
   ============================================================ */
.ft-checkout { display: flex; flex-direction: column; gap: 18px; font-family: var(--font-sans); color: var(--text-primary); }
.ft-field { display: flex; flex-direction: column; gap: 8px; }
.ft-field__label { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; }
.ft-field__opt { font-weight: 400; color: var(--text-secondary); }
.ft-field__wrap { position: relative; display: block; }
.ft-input { height: 52px; width: 100%; border-radius: var(--r-10); border: 1.5px solid var(--border); background: #FFFFFF; padding: 0 14px; font: 400 16px var(--font-sans); color: var(--text-primary); outline: none; transition: border-color .15s, box-shadow .15s; }
.ft-input:focus { border-color: var(--text-primary); box-shadow: 0 0 0 3px var(--border); }
.ft-input[aria-invalid="true"] { border-color: var(--error); }
.ft-input.is-valid { border-color: var(--success); }
.ft-field__wrap .ft-input { padding-right: 44px; }
.ft-field__check { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--success); display: flex; }
.ft-field__check[hidden] { display: none; }
.ft-field__error { font-size: 13px; color: var(--error); display: flex; gap: 6px; align-items: center; }
.ft-field__error[hidden] { display: none; }
.ft-field__help { font-size: 13px; color: var(--text-secondary); }

.ft-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 4px 0; }
.ft-check__box { width: 24px; height: 24px; flex: none; border-radius: var(--r-6); border: 1.5px solid var(--border); background: #FFFFFF; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.ft-check__box svg { opacity: 0; }
.ft-check__box[aria-checked="true"] { background: var(--brand); border-color: var(--brand); }
.ft-check__box[aria-checked="true"] svg { opacity: 1; }
.ft-check__text { font-size: 14px; color: var(--text-body); }
.ft-check--optional .ft-check__text { color: var(--text-secondary); font-size: 13px; }
.ft-checkout .ft-iti { display: block; width: 100%; --iti-border-color: var(--border); --iti-hover-color: var(--surface-alt); --iti-dialcode-color: var(--text-secondary); --iti-arrow-color: var(--text-secondary); }
.ft-checkout .ft-iti .iti__country-container { padding: 1.5px; }
.ft-checkout .ft-iti .iti__selected-country { border-radius: var(--r-10) 0 0 var(--r-10); }
.ft-checkout .ft-iti .iti__dropdown-content { z-index: 40; border-radius: var(--r-8); font: 400 14px var(--font-sans); }
.ft-checkout .ft-iti .iti__search-input { font: 400 16px var(--font-sans); }

.ft-checkout__cta { width: 100%; }
.ft-checkout__cta.is-loading { background: var(--brand-loading); }
.ft-checkout__spinner { display: inline-flex; }
.ft-checkout__spinner[hidden] { display: none; }
.ft-checkout__spinner svg { animation: ft-spin .8s linear infinite; }
@keyframes ft-spin { to { transform: rotate(360deg); } }
.ft-checkout__note { font-size: 13px; color: var(--text-secondary); text-align: center; }

/* ============================================================
   MeetingPoint (README §6.6)
   ============================================================ */
.ft-meet { border-radius: var(--r-16); overflow: hidden; font-family: var(--font-sans); color: var(--text-primary); }
.ft-meet__top { display: flex; flex-wrap: wrap; }
.ft-meet__photo { position: relative; flex: 1 1 260px; aspect-ratio: 4/3; }
.ft-meet__map { position: relative; flex: 1 1 260px; aspect-ratio: 4/3; overflow: hidden; background-color: var(--map-bg); background-image: linear-gradient(var(--map-grid) 1px, transparent 1px), linear-gradient(90deg, var(--map-grid) 1px, transparent 1px); background-size: 32px 32px; }
.ft-meet__street { position: absolute; background: #FFFFFF; }
.ft-meet__street--h { left: -10%; right: -10%; top: 58%; height: 22px; transform: rotate(-8deg); border-top: 1px solid #E1DBCF; border-bottom: 1px solid #E1DBCF; }
.ft-meet__street--v { top: -10%; bottom: -10%; left: 30%; width: 18px; transform: rotate(12deg); border-left: 1px solid #E1DBCF; border-right: 1px solid #E1DBCF; }
.ft-meet__block { position: absolute; left: 44%; top: 26%; width: 26%; height: 26%; background: #E9E3D7; border: 1px solid #DCD5C7; border-radius: 3px; }
.ft-meet__pin { position: absolute; left: 57%; top: 39%; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: var(--city-accent); box-shadow: 0 0 0 7px var(--city-soft); border: 2px solid #FFFFFF; }
.ft-meet__pinlabel { position: absolute; left: 57%; top: 39%; transform: translate(18px, -50%); background: var(--text-primary); color: #FFFFFF; font: 500 12px/1 var(--font-sans); padding: 6px 8px; border-radius: var(--r-6); white-space: nowrap; }
.ft-meet__coord { position: absolute; left: 12px; bottom: 10px; font: 400 11px var(--font-mono); color: var(--text-secondary); }
.ft-meet__foot { padding: 24px; display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: flex-end; }
.ft-meet__info { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }
.ft-meet__place { font: 400 30px/1.1 var(--font-serif); letter-spacing: -.01em; }
.ft-meet__detail { font-size: 16px; color: var(--text-body); }
.ft-meet__sign { margin-top: 4px; font-size: 16px; color: var(--text-primary); display: flex; gap: 10px; align-items: flex-start; }
.ft-meet__signicon { display: flex; padding-top: 3px; color: var(--city-ink); }
.ft-meet__maps { height: 52px; flex: none; font-size: 15px; }


/* FAQ accordion (home + tour page) */
.ft-faq__item { border-top: 1px solid var(--border); }
.ft-faq__item:last-child { border-bottom: 1px solid var(--border); }
.ft-faq__h3 { margin: 0; }
.ft-faq__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 20px 0; background: transparent; border: 0; cursor: pointer; text-align: left; }
.ft-faq__q { font: 500 17px/1.35 var(--font-sans); color: var(--text-primary); }
.ft-faq__icon { width: 32px; height: 32px; flex: none; border-radius: var(--r-8); background: var(--surface-alt); display: flex; align-items: center; justify-content: center; color: var(--text-primary); }
.ft-faq__btn[aria-expanded="true"] .ft-faq__icon { background: var(--text-primary); color: #FFFFFF; }
.ft-faq__minus { display: none; }
.ft-faq__btn[aria-expanded="true"] .ft-faq__plus { display: none; }
.ft-faq__btn[aria-expanded="true"] .ft-faq__minus { display: inline-flex; }
.ft-faq__panel > div { overflow: hidden; }
.ft-faq__a { font-size: 16px; color: var(--text-body); max-width: 680px; padding: 0 48px 22px 0; }

/* Hidden helpers that some components override with display rules */
.ft-booking__calendar[hidden], [data-ft-bdates][hidden] { display: none !important; }

/* FAQ answers may contain HTML (paragraphs, bold for «solo efectivo») */
.ft-faq__a p { margin: 0; }
.ft-faq__a p + p { margin-top: .6em; }
.ft-faq__a strong { color: var(--text-primary); font-weight: 700; background: linear-gradient(transparent 62%, var(--warning-bg) 62%); padding: 0 2px; }

/* ---------- Booking card: body wrapper, loading state, month calendar with arrows ---------- */
.ft-booking__body { display: flex; flex-direction: column; gap: 20px; }
.ft-booking__times.is-loading .ft-booking__time { opacity: .45; cursor: progress; animation: ft-pulse 1.1s ease-in-out infinite; }
@keyframes ft-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ft-booking__times.is-loading .ft-booking__time { animation: none; } }
.ft-booking__empty { margin: 0; font-size: 14px; color: var(--text-secondary); grid-column: 1 / -1; }
.ft-booking__calnav { width: 32px; height: 32px; border-radius: var(--r-8); border: 1px solid var(--border); background: #FFFFFF; color: var(--text-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ft-booking__calnav:hover:not([disabled]) { border-color: var(--text-primary); }
.ft-booking__calnav[disabled] { opacity: .35; cursor: default; }
.ft-booking__calmonth { flex: 1; text-align: center; text-transform: none; font: 600 14px var(--font-sans); }
.ft-booking__calmonth::first-letter { text-transform: uppercase; }
.ft-booking__calhead span.ft-booking__calmonth { font: 600 14px var(--font-sans); color: var(--text-primary); }
.ft-booking__calday.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1px var(--text-secondary); }
.ft-booking__calblank { height: 40px; }

/* ---------- Bottom sheet (mobile) / modal (desktop) — shared by the tour page and the home ---------- */
.ft-sheet { position: fixed; inset: 0; z-index: 80; }
.ft-sheet[hidden] { display: none; }
.ft-sheet__veil { position: absolute; inset: 0; background: rgba(25,26,23,.45); }
.ft-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; background: #FFFFFF; border-radius: 20px 20px 0 0; max-height: 88vh; overflow: hidden; display: flex; flex-direction: column; padding: 16px 20px 20px; animation: ft-sheet-up .28s ease; }
/* Fixed head (tour name + close); only the content below scrolls, fading under the head.
   The scrollbar lives inside the panel padding, so the rounded corners stay clean. */
.ft-sheet__step { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.ft-sheet__step[hidden] { display: none; }
.ft-sheet__head { flex: none; position: relative; z-index: 2; padding-right: 48px; background: #FFFFFF; }
.ft-sheet__head::after { content: ""; position: absolute; left: 0; right: -20px; top: 100%; height: 28px; background: linear-gradient(#FFFFFF, rgba(255,255,255,0)); pointer-events: none; }
.ft-sheet__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-right: -14px; padding: 14px 14px 4px 0; scrollbar-width: thin; scrollbar-color: var(--border-hover) transparent; }
.ft-sheet__scroll::-webkit-scrollbar { width: 6px; }
.ft-sheet__scroll::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 6px; }
.ft-sheet .ft-booking__footer { position: sticky; bottom: 0; z-index: 1; background: #FFFFFF; padding-bottom: 4px; }
@keyframes ft-sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ft-sheet__handle { display: block; width: 44px; height: 5px; border-radius: 4px; background: var(--border-hover); margin: -4px auto 10px; box-sizing: content-box; padding: 8px 40px; background-clip: content-box; cursor: grab; touch-action: none; }
.ft-sheet__head { touch-action: none; }
.ft-sheet__close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ft-sheet__title { font: 400 26px var(--font-serif); margin: 6px 0 4px; }
.ft-sheet__back { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; cursor: pointer; font: 500 14px var(--font-sans); color: var(--text-secondary); padding: 6px 0; }
.ft-sheet__summary { background: var(--surface-alt); border-radius: var(--r-10); padding: 12px 14px; font: 400 13px var(--font-mono); margin-bottom: 16px; }
@media (min-width: 761px) {
	.ft-sheet--modal .ft-sheet__panel { left: 50%; right: auto; top: 50%; bottom: auto; width: min(520px, calc(100vw - 48px)); max-height: calc(100vh - 64px); border-radius: var(--r-20); padding: 28px 28px 24px; transform: translate(-50%, -50%); animation: ft-modal-in .22s ease; }
	.ft-sheet--modal .ft-sheet__handle { display: none; }
}
@keyframes ft-modal-in { from { opacity: 0; transform: translate(-50%, -47%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.ft-bmodal__loading { height: 320px; border-radius: var(--r-12); background: linear-gradient(90deg, var(--surface-alt), var(--hover-warm), var(--surface-alt)); background-size: 200% 100%; animation: ft-shimmer 1.2s linear infinite; }
@keyframes ft-shimmer { to { background-position: -200% 0; } }
.ft-bmodal__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font: 500 14px var(--font-sans); color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }
.ft-bmodal__more:hover { color: var(--text-primary); }

/* ---------- Meeting point: real Google map ---------- */
.ft-meet__map--gmap { background: var(--map-bg); }
.ft-meet__map--gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Aside scroll area: same thin, inset scrollbar */
.ft-tourpage__aside .ft-booking__body::-webkit-scrollbar { width: 6px; }
.ft-tourpage__aside .ft-booking__body::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 6px; }

/* ---------- Route map: pan with the finger, pinch / buttons to zoom, anchored top-left ---------- */
.ft-mapzoom { position: relative; }
.ft-mapzoom__view { --z: 1; position: relative; aspect-ratio: 4/3; overflow: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--map-bg); overscroll-behavior: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; touch-action: pan-x pan-y; cursor: grab; } /* overscroll auto: al llegar al borde del mapa el scroll continúa en la página, no se queda bloqueado. */
.ft-mapzoom__view.is-dragging { cursor: grabbing; }
.ft-mapzoom__view img { display: block; width: calc(var(--z) * 100%); max-width: none; height: auto; user-select: none; -webkit-user-drag: none; }
.ft-mapzoom__ctrl { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.ft-mapzoom__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-card); background: #FFFFFF; color: var(--text-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--sh-md); }
.ft-mapzoom__btn:disabled { opacity: .4; cursor: default; }
.ft-mapzoom__hint { display: none; margin-top: 8px; font: 400 12px var(--font-mono); color: var(--text-secondary); }
@media (max-width: 820px) { .ft-mapzoom__hint { display: block; } }

/* «Ayer reservaron X personas» (Ventrata, plugin people-yesterday) */
.ft-card__proof { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--city-ink); }
.ft-card__proof svg { flex: none; }

/* Fotos de viajeros (opiniones de Salesforce): home y ficha */
.ft-revphotos { margin: 24px 0; }
.ft-revphotos__h { margin: 0 0 12px; font: 600 14px var(--font-sans); color: var(--text-secondary); text-transform: uppercase; letter-spacing: .06em; }
.ft-revphotos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ft-revphotos__item { display: block; aspect-ratio: 1/1; border-radius: var(--r-8); overflow: hidden; }
.ft-revphotos__item img { width: 100%; height: 100%; object-fit: cover; }
