@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --black:   #0a0a0a;
  --near:    #1a1a1a;
  --dark:    #2d2d2d;
  --mid:     #6b6b6b;
  --light:   #b0b0b0;
  --line:    #e8e8e8;
  --soft:    #f6f6f6;
  --white:   #ffffff;
  --radius:  14px;
  --rad-lg:  22px;
  --rad-xl:  30px;
  --ease:    cubic-bezier(.25,.8,.25,1);
  --nav-h:   68px;
  --search-max: 920px;
  --icon-stroke: 1.75;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f3f5f9;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

/* ─── TOP HEADER (negro) ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0; z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6ebf2;
  height: 64px;
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-brand {
  display: flex; align-items: center; gap: .75rem;
}
.site-logo { height: 42px; width: auto; }
.site-brand__text { line-height: 1.1; }
.site-brand__title {
  font-size: .92rem; font-weight: 800;
  letter-spacing: -.025em; color: #1a1f2c;
}
.site-brand__sub {
  font-size: .7rem; color: #6b7283;
  font-weight: 400;
}
.site-nav {
  display: flex; align-items: center; gap: .2rem;
}
.site-nav a {
  color: #344053;
  padding: .55rem .85rem; border-radius: 10px;
  font-size: .85rem; font-weight: 500;
  transition: background .18s, color .18s;
}
.site-nav a:hover { background: #eef2f8; color: #111827; }
.site-nav .nav-cta {
  background: #111827; color: #fff;
  font-weight: 700; padding: .55rem 1.1rem;
}
.site-nav .nav-cta:hover { background: #232f42; color: #fff; }
.mobile-toggle {
  display: none; width: 40px; height: 40px;
  background: none; border: 1px solid #d6ddea;
  border-radius: 50%; cursor: pointer;
  color: #1f2937; align-items: center; justify-content: center;
}
.nav-close { display: none; }

/* ─── HOME LAYOUT (booking-like) ─────────────────────── */
.home-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2.5rem;
}
.home-hero {
  background: linear-gradient(155deg, #0f1729 0%, #1f3d73 65%, #345a97 100%);
  border-radius: 28px;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 22px 50px rgba(16, 31, 61, 0.26);
}
.home-hero__grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 1.5rem;
  align-items: start;
}
.home-kicker {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  padding: .3rem .72rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .9rem;
}
.home-title {
  font-size: clamp(1.95rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}
.home-subtitle {
  color: rgba(255,255,255,.85);
  max-width: 54ch;
  line-height: 1.5;
}
.home-stats {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.home-stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: .7rem .95rem;
  min-width: 120px;
}
.home-stat strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -.02em;
}
.home-stat span {
  display: block;
  margin-top: .15rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .85;
}
.hero-sidecard {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}
.hero-sidecard h3 {
  font-size: .95rem;
  margin-bottom: .55rem;
}
.hero-sidecard ol {
  margin-left: 1rem;
  display: grid;
  gap: .45rem;
  font-size: .88rem;
  line-height: 1.4;
}
.booking-search {
  margin-top: 1.25rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e7ecf5;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: stretch;
  overflow: hidden;
}
.booking-field {
  padding: .78rem 1rem;
  border-right: 1px solid #e7ecf5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .15rem;
}
.booking-field label {
  font-size: .69rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6b7283;
  font-weight: 700;
}
.booking-field select,
.booking-field span {
  color: #182132;
  font-size: .94rem;
  font-weight: 600;
}
.booking-field select {
  border: 0;
  background: transparent;
  outline: none;
  padding-right: 1rem;
}
.booking-btn {
  border: 0;
  background: #111827;
  color: #fff;
  font-weight: 700;
  padding: 0 1.15rem;
  cursor: pointer;
}
.booking-btn:hover { background: #1f2937; }
.filters-bar {
  margin-top: 1rem;
}
.filters-bar__inner {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 16px;
  padding: .8rem .95rem;
}
.filters-title {
  display: block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #5f6b7e;
  margin-bottom: .65rem;
}
.results-section {
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 22px;
  padding: .4rem 0 1.15rem;
}

/* ─── HERO (negro) ───────────────────────────────────── */
.hero {
  background: var(--black);
  padding: 2.35rem 1.5rem 4.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: clamp(2.2rem, 6.2vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .98;
  color: var(--white);
  margin-bottom: .85rem;
}
.hero__title em {
  font-style: normal;
  color: rgba(255,255,255,.4);
}
.hero__subtitle {
  color: rgba(255,255,255,.55);
  font-size: 1rem;
  font-weight: 400;
  max-width: 30rem; margin: 0 auto 2rem;
  line-height: 1.55;
}
.hero__stats {
  display: inline-flex; gap: .75rem;
  flex-wrap: wrap; justify-content: center;
  margin-top: 1.75rem;
}
.hero__stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: .75rem 1.3rem;
  text-align: left;
}
.hero__stat strong {
  display: block;
  color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em;
}
.hero__stat span {
  color: rgba(255,255,255,.45);
  font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
}

/* ─── SEARCH BAR (flota entre negro y blanco) ─────────── */
.search-wrap {
  position: relative; z-index: 50;
  margin-top: -2.25rem;
  padding: 0 1.5rem 1.25rem;
  max-width: var(--search-max);
  margin-left: auto;
  margin-right: auto;
}
.search-wrap__hint {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.search-bar {
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 44px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.08);
  display: flex;
  align-items: stretch;
  padding: .45rem .55rem .45rem 0;
  gap: 0;
  border: 1px solid rgba(0,0,0,.06);
}
.search-seg {
  flex: 1;
  min-width: 0;
  min-height: 58px;
  padding: .5rem 1.25rem .5rem 1.5rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: .2rem;
}
.search-seg--tipo { flex: 0.85; }
.search-seg:last-of-type { border-right: 0; }
.search-seg__label {
  display: block;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
  margin: 0;
}
.search-seg__field {
  display: flex;
  align-items: center;
  min-height: 1.35em;
  width: 100%;
}
.search-select {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 1.75rem 0 0;
  border: 0;
  background: transparent;
  background-image: 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='%236b6b6b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px 16px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--black);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  border-radius: 0;
}
.search-select::-ms-expand { display: none; }
.search-select option {
  font-weight: 500;
  color: var(--black);
}
.search-seg__value {
  display: block;
  width: 100%;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mid);
  margin: 0;
  padding: 0;
}
.search-btn {
  flex-shrink: 0;
  align-self: center;
  width: 46px;
  height: 46px;
  background: var(--black);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .18s var(--ease), box-shadow .18s;
  margin: 0 .35rem 0 .5rem;
}
.search-btn:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.search-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: var(--icon-stroke);
}

/* ─── FILTROS (alineados con el buscador) ─────────────── */
.filters-section {
  max-width: var(--search-max);
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
}
.filters-section__head {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: .75rem;
  padding-left: .15rem;
}
.filters-section__title {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black);
}
.filters-section__sub {
  font-size: .8125rem;
  color: var(--mid);
  font-weight: 500;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .65rem;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .62rem 1.15rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.01em;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}
.filter-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
  transition: background .18s;
}
.filter-pill:hover {
  border-color: var(--dark);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.filter-pill:hover .filter-pill__dot { background: var(--mid); }
.filter-pill.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.filter-pill.active .filter-pill__dot {
  background: var(--white);
  box-shadow: 0 0 0 2px rgba(255,255,255,.35);
}

/* ─── SECTION HEAD ───────────────────────────────────── */
.section-head {
  max-width: 1280px; margin: 0 auto;
  padding: 1.25rem 1.5rem .85rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  flex-wrap: wrap;
}
.section-head__title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em;
}
.section-head__meta { font-size: .88rem; color: var(--mid); }

/* ─── GRID ───────────────────────────────────────────── */
.grid-events {
  max-width: 1280px; margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 2rem 1.6rem;
}

/* ─── CARD (Airbnb puro: sin border, sin sombra en card) */
.card-event {
  position: relative;
  padding: .35rem;
  border-radius: 18px;
  border: 1px solid #e8edf4;
  background: #fff;
  animation: fadeUp .4s var(--ease) both;
}
.card-event:nth-child(2) { animation-delay: .05s; }
.card-event:nth-child(3) { animation-delay: .10s; }
.card-event:nth-child(4) { animation-delay: .15s; }
.card-event:nth-child(5) { animation-delay: .20s; }
.card-event:nth-child(6) { animation-delay: .25s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-event__img-wrap {
  position: relative; overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}
.card-event__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.card-event:hover .card-event__img { transform: scale(1.04); }

.card-event__tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  background: rgba(255,255,255,.92);
  border-radius: 999px; padding: .35rem .75rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
}
.card-event__fav {
  position: absolute; top: .85rem; right: .85rem; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.88);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  transition: background .18s;
}
.card-event__fav:hover { background: #fff; }
.card-event__fav svg { color: var(--dark); }
.card-event__fav svg {
  width: 14px;
  height: 14px;
  stroke-width: var(--icon-stroke);
}

.card-event__body { padding: .85rem 0 0; }
.card-event__top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem;
}
.card-event__city {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--mid);
}
.card-event__title {
  font-size: 1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  margin-top: .05rem; color: #162133;
}
.card-event__title a { color: inherit; }
.card-event__meta {
  display: flex; gap: .5rem 1rem; flex-wrap: wrap;
  margin-top: .46rem; font-size: .83rem; color: #677489;
}
.card-event__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.card-event__meta svg { width: 13px; height: 13px; }
.card-event__meta svg { stroke-width: var(--icon-stroke); }

.card-event__bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: .65rem; padding-top: .65rem;
  border-top: 1px solid #e6ebf2;
}
.card-event__price {
  font-size: 1rem; font-weight: 800; letter-spacing: -.02em; color: #0f172a;
}
.card-event__price small { font-weight: 500; color: #697589; font-size: .8rem; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-weight: 700; border: 0; cursor: pointer;
  transition: all .18s var(--ease); text-align: center;
}
.btn-primary, .btn-outline { padding: .88rem 1.35rem; border-radius: var(--radius); font-size: .92rem; }
.btn-primary { background: #111827; color: #fff; box-shadow: 0 6px 18px rgba(17, 24, 39, .2); }
.btn-primary:hover { background: #1f2937; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--black); border: 1.5px solid var(--dark); }
.btn-outline:hover { background: var(--soft); }
.btn-sm { padding: .55rem .85rem; font-size: .78rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ─── BOTTOM NAV (fija, tipo app) ────────────────────── */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 18px));
  z-index: 300;
  height: 60px;
  background: rgba(255,255,255,.93);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 .4rem env(safe-area-inset-bottom, .2rem);
  border: 1px solid #dbe2ef;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(20, 31, 49, .2), 0 2px 6px rgba(20, 31, 49, .12);
  backdrop-filter: blur(10px);
}
.bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: .18rem; padding: .45rem 0;
  color: #66748a;
  font-size: .58rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; transition: color .18s;
  position: relative;
}
.bnav-item:hover, .bnav-item.active { color: #111827; }
.bnav-item.active::after {
  content: "";
  position: absolute; bottom: 2px;
  width: 18px; height: 2px;
  background: #111827; border-radius: 999px;
}
.bnav-item svg {
  width: 17px;
  height: 17px;
  stroke-width: var(--icon-stroke);
}

.bnav-search {
  background: #111827; color: #fff !important;
  width: 40px; height: 40px; border-radius: 50%;
  flex-direction: row; gap: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(17,24,39,.28);
  margin-top: -7px;
}
.bnav-search svg { width: 18px; height: 18px; }
.bnav-search::after { display: none !important; }

/* ─── EMPTY STATE ────────────────────────────────────── */
.empty-state {
  max-width: 1280px; margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.empty-state__panel {
  text-align: center;
  background: var(--soft); border-radius: var(--rad-xl);
  padding: 3rem 1.5rem;
}
.empty-state svg { width: 52px; height: 52px; margin: 0 auto 1rem; opacity: .3; }
.empty-state p:first-of-type { font-weight: 700; font-size: 1.05rem; }
.empty-state p + p { color: var(--mid); font-size: .9rem; margin-top: .4rem; }

/* ─── PAGE DETAIL ────────────────────────────────────── */
.page-detail {
  max-width: 1280px; margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) 370px;
  gap: 2rem; align-items: start;
}
.detail-main {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--rad-xl); overflow: hidden;
}
.page-detail__hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.detail-main__content { padding: 1.75rem; }
.detail-header h1 {
  font-size: clamp(1.75rem,4vw,2.8rem);
  font-weight: 900; letter-spacing: -.05em; line-height: 1.05;
}
.detail-sub {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  color: var(--mid); font-size: .9rem; margin-top: .65rem;
}
.detail-sub span { display: inline-flex; align-items: center; gap: .35rem; }
.detail-info {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: .85rem; margin: 1.25rem 0 1.5rem;
}
.detail-info__item {
  background: var(--soft); border-radius: 16px; padding: 1rem;
}
.detail-info__label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--mid); margin-bottom: .3rem;
}
.detail-info__value { font-weight: 700; font-size: .96rem; }
.detail-desc { font-size: .95rem; line-height: 1.7; color: #333; white-space: pre-wrap; }

.detail-side {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--rad-xl); padding: 1.5rem;
  position: sticky; top: 80px;
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
}
.booking-price { font-size: 2rem; font-weight: 800; letter-spacing: -.06em; }
.booking-price small { font-size: .9rem; font-weight: 500; color: var(--mid); }
.booking-status {
  margin: .75rem 0; padding: .9rem; border-radius: 14px;
  background: var(--soft); font-size: .88rem; color: #333;
}
.booking-list { display: grid; gap: .7rem; margin-bottom: 1.25rem; }
.booking-row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .88rem; color: var(--mid);
}
.booking-row strong { color: var(--black); }

/* ─── FORM LAYOUT ────────────────────────────────────── */
.form-layout {
  display: grid; grid-template-columns: minmax(0,1fr) 340px;
  gap: 1.75rem; align-items: start;
}
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--rad-xl); padding: 1.75rem;
}
.summary-card {
  background: var(--soft); border: 1px solid var(--line);
  border-radius: var(--rad-xl); padding: 1.35rem;
  position: sticky; top: 80px;
}
.summary-card__eyebrow {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--mid); margin-bottom: .5rem;
}
.summary-card__title { font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em; }
.summary-card__meta { display: grid; gap: .6rem; margin-top: .85rem; font-size: .88rem; color: var(--mid); }
.summary-card__meta strong { color: var(--black); }

.form-stack { display: grid; gap: .95rem; }
.form-group { display: grid; gap: .38rem; }
.form-group label { font-size: .82rem; font-weight: 700; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .92rem 1rem;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; font-size: .95rem;
  transition: border-color .18s, box-shadow .18s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.form-group input.input-readonly,
.form-group input[readonly] {
  background: var(--soft);
  color: #334155;
  cursor: not-allowed;
}
.form-group input.input-readonly:focus {
  border-color: var(--line);
  box-shadow: none;
}
.form-group textarea { min-height: 100px; resize: vertical; }

.form-hint-muted {
  font-size: .8rem;
  color: var(--mid);
  margin: .35rem 0 0;
  line-height: 1.45;
}
.edad-hint {
  font-size: .88rem;
  font-weight: 600;
  color: #0369a1;
  margin: .45rem 0 0;
  min-height: 1.25em;
}
.edad-hint--small {
  font-size: .8rem;
  font-weight: 600;
  margin: .25rem 0 .5rem;
}
.acompanantes-fields { display: grid; gap: .75rem; margin: .25rem 0 .5rem; }
.acompanante-block {
  padding: 1rem 1rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.acompanante-block__title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mid);
  margin: 0 0 .65rem;
}
.form-check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--black); flex-shrink: 0; }

.form-group--terms { margin-top: .25rem; margin-bottom: .15rem; }
.form-check--terms {
  padding: .95rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  line-height: 1.45;
  cursor: pointer;
}
.form-check--terms:focus-within {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}
.form-check--terms a { font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-check--terms a:hover { color: #0369a1; }

.btn-primary:disabled,
.btn-primary.btn-block:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.summary-inline { background: var(--soft); border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem; }
.summary-inline__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); }
.summary-inline__value { margin-top: .35rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -.04em; }
.summary-inline__detail {
  margin-top: .35rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--fg, #0f172a);
}
.summary-inline__strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(100, 116, 139, 0.85);
  color: var(--muted, #64748b);
  font-weight: 600;
}
.summary-inline__descuento {
  margin: .45rem 0 0;
  font-size: .92rem;
  font-weight: 700;
  color: #b45309;
}
.summary-inline__total {
  margin: .55rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.summary-inline__total--final {
  font-size: 1.22rem;
  color: #047857;
}
.summary-inline__cupon-msg {
  margin: .5rem 0 0;
  font-size: .82rem;
  font-weight: 600;
  color: #b91c1c;
}
.detail-header { margin-bottom: 1.25rem; }
.card-event__city-detail { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--mid); margin-bottom: .25rem; }

/* ─── PAGO ───────────────────────────────────────────── */
.pay-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 1.75rem; align-items: start; }
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-xl); padding: 1.75rem; }
.pay-total { background: var(--black); color: #fff; border-radius: var(--rad-xl); padding: 1.5rem; position: sticky; top: 80px; }
.pay-total__eyebrow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; opacity: .55; margin-bottom: .35rem; }
.pay-total__value { font-size: 2.2rem; font-weight: 900; letter-spacing: -.06em; }
.pay-total__sub { margin-top: .5rem; font-size: .88rem; color: rgba(255,255,255,.65); }
.pay-grid { display: grid; gap: 1rem; }
.pay-option { border: 1.5px solid var(--line); border-radius: 20px; padding: 1.25rem; background: #fff; transition: border-color .18s, box-shadow .18s; }
.pay-option:hover { border-color: var(--black); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.pay-option__top { display: flex; align-items: center; gap: .85rem; margin-bottom: .75rem; }
.pay-option__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pay-option__title { font-size: 1rem; font-weight: 800; letter-spacing: -.03em; }
.pay-option__desc { font-size: .87rem; color: var(--mid); margin-bottom: .9rem; }
.qr-box { max-width: 200px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: .9rem; }
.qr-box--btn {
  display: block;
  width: 100%;
  max-width: 220px;
  padding: 0;
  background: #fff;
  cursor: zoom-in;
  transition: transform .16s ease, box-shadow .16s ease;
}
.qr-box--btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(3, 7, 18, 0.86);
  backdrop-filter: blur(3px);
  padding: 1rem;
}
.qr-modal[hidden] {
  display: none !important;
}
.qr-modal__content {
  width: min(92vw, 720px);
  max-height: 88vh;
  display: grid;
  place-items: center;
}
.qr-modal__content img {
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.qr-modal__close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 0px));
  right: max(14px, env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #111827;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .28);
}

/* ─── PAGE CARD (terminos, etc) ──────────────────────── */
.page-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-xl); padding: 1.75rem; }
.terms-copy { font-size: .96rem; line-height: 1.75; color: #333; display: grid; gap: 1rem; }

/* ─── TÉRMINOS (Planes en Bogotá SAS) ───────────────── */
.page-detail--terms {
  max-width: 820px;
  padding-top: 1.25rem;
  padding-bottom: 3.5rem;
}

.terms-doc {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 48px -12px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.terms-doc__hero {
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 48%, #0f172a 100%);
  color: #f8fafc;
  position: relative;
}

.terms-doc__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(56, 189, 248, 0.15), transparent 55%);
  pointer-events: none;
}

.terms-doc__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  margin: 0 0 0.65rem;
}

.terms-doc__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.terms-doc__company {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: -0.02em;
}

.terms-doc__body {
  padding: 2rem 2rem 2.25rem;
  font-size: 0.95rem;
  line-height: 1.78;
  color: #334155;
}

.terms-doc__body > p:first-of-type {
  font-size: 1rem;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.terms-doc__section {
  margin-bottom: 1.65rem;
}

.terms-doc__section:last-of-type {
  margin-bottom: 1.25rem;
}

.terms-doc__section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.terms-doc__section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.terms-doc__section p {
  margin: 0 0 0.85rem;
}

.terms-doc__section p:last-child {
  margin-bottom: 0;
}

.terms-doc__list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.5rem;
}

.terms-doc__list li {
  padding-left: 0.25rem;
}

.terms-doc__list li::marker {
  color: #0ea5e9;
  font-weight: 700;
}

.terms-doc__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.92rem;
  color: #475569;
}

.terms-doc__footer p {
  margin: 0 0 0.75rem;
}

.terms-doc__updated {
  color: #1e293b;
}

.terms-doc__back {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}

.terms-doc__back a {
  font-weight: 700;
  color: #0369a1;
  text-decoration: none;
  transition: color 0.18s ease;
}

.terms-doc__back a:hover {
  color: #0c4a6e;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .page-detail--terms {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .terms-doc__hero {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .terms-doc__body {
    padding: 1.35rem 1.25rem 1.65rem;
    font-size: 0.92rem;
  }

  .terms-doc__section h2 {
    font-size: 1rem;
  }
}

/* ─── ALERTS ─────────────────────────────────────────── */
.alert { padding: 1rem 1.1rem; border-radius: 14px; font-size: .9rem; font-weight: 600; margin-bottom: 1rem; }
.alert-error { background: #fff; border: 1.5px solid var(--black); }
.alert-ok { background: var(--soft); border: 1.5px solid var(--line); }

/* ─── SITE FOOTER ────────────────────────────────────── */
.site-footer {
  background: #0f172a; color: rgba(255,255,255,.66);
  font-size: .82rem; padding: 2rem 1.5rem;
  margin-bottom: calc(var(--nav-h) + 18px);  /* above floating bottom nav */
}
.site-footer__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.site-footer__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer__links a { color: rgba(255,255,255,.55); transition: color .18s; }
.site-footer__links a:hover { color: #fff; }

/* ─── ADMIN CSS override (no pisar) ──────────────────── */
.admin-page .bottom-nav { display: none !important; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .detail-grid, .form-layout, .pay-layout { grid-template-columns: 1fr; }
  .detail-side, .summary-card, .pay-total { position: static; }
}

@media (max-width: 760px) {
  .mobile-toggle { display: inline-flex; }
  .site-brand__text { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: 400;
    background: rgba(255,255,255,.98);
    flex-direction: column; justify-content: center;
    border-radius: 0; padding: 2rem;
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1.05rem; width: 100%; text-align: center; padding: .9rem; color: #1f2a3d; }
  .site-nav .nav-cta { background: #111827; color: #fff; }
  .nav-close {
    display: flex; position: absolute; top: 1.25rem; right: 1.25rem;
    width: 42px; height: 42px; background: #eef2f8;
    border: 1px solid #d6dfef; border-radius: 50%;
    align-items: center; justify-content: center; cursor: pointer;
    font-size: 1.5rem; color: #1f2937; line-height: 1;
  }

  .home-shell { padding: .85rem .85rem 2rem; }
  .home-hero { padding: 1.2rem; border-radius: 20px; }
  .home-hero__grid { grid-template-columns: 1fr; gap: .8rem; }
  .hero-sidecard { display: none; }
  .home-title { font-size: 1.55rem; }
  .booking-search { grid-template-columns: 1fr; }
  .booking-field { border-right: 0; border-bottom: 1px solid #e7ecf5; }
  .booking-btn { padding: .8rem 1rem; }
  .filters-bar { margin-top: .75rem; }

  .search-bar { border-radius: 24px; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem .5rem .65rem; }
  .search-seg {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: .75rem 1rem;
    min-height: 0;
  }
  .search-seg:first-child { padding-top: .85rem; }
  .search-seg:last-of-type { border-bottom: 0; padding-bottom: .85rem; }
  .search-btn {
    width: 100%;
    border-radius: 16px;
    height: 48px;
    margin: .25rem 0 0;
    align-self: stretch;
  }
  .filters-section { margin-bottom: 1.25rem; }
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .35rem;
    margin: 0 -.25rem;
    padding-left: .25rem;
    padding-right: .25rem;
  }
  .filter-pills::-webkit-scrollbar { display: none; }

  .hero { padding: 2rem 1.25rem 4.5rem; }
  .hero__title { letter-spacing: -.04em; }
  .hero__stats { gap: .5rem; }
  .hero__stat { padding: .6rem 1rem; }

  .grid-events { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; padding: 0 1.25rem 3rem; }
  .card-event__title { font-size: .92rem; }
  .card-event__bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .card-event__bottom .btn { display: none; }

  .page-detail { padding: 1rem 1.25rem 3rem; }
  .detail-info { grid-template-columns: 1fr; }
  .section-head { padding: 1rem 1.25rem .65rem; }
  .section-head__title { font-size: 1.15rem; }

  .bottom-nav {
    width: calc(100% - 12px);
    bottom: 6px;
    height: 56px;
  }
  .bnav-item { font-size: .54rem; }
  .bnav-item svg { width: 16px; height: 16px; }
  .bnav-search { width: 36px; height: 36px; margin-top: -4px; }
  .bnav-search svg { width: 16px; height: 16px; }
}

@media (max-width: 460px) {
  .grid-events { grid-template-columns: 1fr; }
  .filters-section { padding: 0 1.25rem; }
  .results-section .section-head,
  .results-section .grid-events { padding-left: .85rem; padding-right: .85rem; }
}

/* =========================================================
   NUEVO DISEÑO TURISMO (AIRBNB/BOOKING LIKE)
   ========================================================= */
/* cache-bust marker: mobile-polish-v1 */
.has-fixed-nav {
  background: #f6f8fc;
  padding-top: 70px;
  padding-bottom: 0;
}

.app-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e4eaf3;
  backdrop-filter: blur(10px);
  padding-top: env(safe-area-inset-top, 0px);
}

.app-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: .65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #0f172a;
  font-weight: 800;
  font-size: .92rem;
  white-space: nowrap;
}

.app-nav__brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
}

.app-nav__menu {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .3rem;
  margin-left: auto;
}

.app-nav__menu a {
  color: #1f2a3d;
  font-size: .82rem;
  font-weight: 700;
  padding: .45rem .7rem;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}

.app-nav__menu a:hover {
  background: #edf3ff;
  color: #0f172a;
}

.tour-page {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 0;
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  padding-bottom: max(2.4rem, env(safe-area-inset-bottom, 0px));
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
}

.tour-hero {
  margin-top: .35rem;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  min-height: 380px;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 50px rgba(11, 23, 47, 0.23);
}

.tour-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5, 10, 20, 0.76) 0%, rgba(13, 29, 58, 0.5) 45%, rgba(30, 64, 175, 0.2) 100%);
}

.tour-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: min(780px, 100%);
  padding: 1.8rem 1.8rem;
}

.tour-hero__badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.38);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .68rem;
  margin-bottom: .9rem;
}

.tour-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: .98;
  margin-bottom: .75rem;
  letter-spacing: -.04em;
}

.tour-hero p {
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

.hero-search {
  margin-top: 1.2rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e5ebf5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.9fr) auto;
  box-shadow: 0 12px 28px rgba(10, 21, 42, 0.16);
  overflow: hidden;
}

.hero-search__field--range {
  min-width: 0;
}

.hero-search__range-legend {
  display: block;
  font-size: 0.66rem;
  color: #66758b;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.hero-search__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.6rem;
  align-items: end;
}

.hero-search__date-item {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.hero-search__date-item label {
  font-size: 0.58rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hero-search__date-item input[type="date"] {
  width: 100%;
  min-width: 0;
}

.hero-search__field {
  padding: .8rem .95rem;
  border-right: 1px solid #edf1f8;
  display: grid;
  gap: .2rem;
}

.hero-search__field label {
  font-size: .66rem;
  color: #66758b;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-search__field input,
.hero-search__field select {
  border: 0;
  outline: none;
  background: transparent;
  color: #111827;
  font-size: .9rem;
  font-weight: 600;
}

.hero-search button {
  border: 0;
  background: #f97316;
  color: #fff;
  padding: 0 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.hero-search button:hover {
  background: #ea580c;
}

.tour-filters {
  margin-top: 1rem;
}

.tour-filters__row {
  background: #fff;
  border: 1px solid #e6ebf4;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: .6rem;
  padding: .9rem;
}

.tour-filter {
  display: grid;
  gap: .28rem;
}

.tour-filter label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #66758b;
  font-weight: 700;
}

.tour-filter input,
.tour-filter select {
  border: 1px solid #dde4f0;
  border-radius: 12px;
  padding: .55rem .7rem;
  background: #fff;
}

.tour-filter span,
.tour-filter strong {
  color: #0f172a;
  font-weight: 700;
}

.tour-filter--count {
  place-content: center;
  text-align: center;
}

.tour-filter--count strong {
  font-size: 1.5rem;
}

.tour-section {
  margin-top: 1.25rem;
}

.tour-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: .8rem;
  margin-bottom: .85rem;
}

.tour-section__head h2 {
  font-size: 1.45rem;
  letter-spacing: -.03em;
}

.tour-section__head p {
  color: #66758b;
  font-size: .92rem;
}

/* Destinos: 2 columnas en móvil (col-6); 3 en tablet; 4 en PC */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .tour-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tour-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tour-card {
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  border-color: #cfd8e7;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.12);
}

.tour-card__image {
  position: relative;
  display: block;
  background: #eef2f7;
  line-height: 0;
}

/* Respeta la proporción de la imagen que sube el admin (horizontal, cuadrada, etc.) */
.tour-card__image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.tour-card__body {
  padding: .85rem .9rem 1rem;
}

.tour-card__body h3 {
  font-size: 1rem;
  letter-spacing: -.01em;
}

.tour-card__meta {
  margin-top: .4rem;
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  color: #66758b;
  font-size: .84rem;
}

.tour-card__price {
  margin-top: .55rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: #111827;
}

.tour-card__price small {
  color: #66758b;
  font-size: .8rem;
  font-weight: 500;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .9rem;
}

.experience-card {
  background: linear-gradient(170deg, #ffffff 0%, #eef3fb 100%);
  border: 1px solid #e0e8f5;
  border-radius: 16px;
  padding: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(20, 30, 52, 0.12);
}

.experience-card h3 {
  font-size: 1rem;
  margin-bottom: .45rem;
  color: #111827;
}

.experience-card p {
  color: #66758b;
  line-height: 1.5;
  font-size: .9rem;
}

.site-footer {
  margin-top: 2.2rem;
  margin-bottom: 0;
  background: #0f172a;
  color: #d7deea;
  padding: 2rem max(1.25rem, env(safe-area-inset-left, 0px)) max(2rem, env(safe-area-inset-bottom, 12px)) max(1.25rem, env(safe-area-inset-right, 0px));
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.site-footer__inner h4 {
  color: #fff;
  margin-bottom: .25rem;
}

.site-footer__inner p {
  font-size: .9rem;
}

.site-footer__links {
  display: flex;
  gap: .9rem;
}

.site-footer__links a {
  color: #d7deea;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer small {
  color: #94a3b8;
}

@media (max-width: 900px) {
  .has-fixed-nav {
    padding-top: 72px;
  }

  .app-nav__menu a {
    font-size: .76rem;
    padding: .38rem .55rem;
  }

  .tour-hero {
    min-height: 330px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 680px) {
  .tour-page {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom, 0px));
  }

  .tour-hero {
    min-height: auto;
    border-radius: 18px;
    margin-top: 0.95rem;
  }

  .tour-hero__content {
    padding: 1rem 1rem 1.15rem;
    width: 100%;
  }

  .tour-hero__badge {
    font-size: 0.65rem;
    padding: 0.28rem 0.6rem;
  }

  .tour-hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
    line-height: 1.08;
    margin-bottom: 0.55rem;
  }

  .tour-hero p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .hero-search {
    grid-template-columns: 1fr;
    border-radius: 14px;
    margin-top: 1rem;
  }

  .hero-search__field {
    border-right: 0;
    border-bottom: 1px solid #edf1f8;
    padding: 0.65rem 0.85rem;
    min-height: 3.25rem;
  }

  .hero-search__field:last-of-type {
    border-bottom: 1px solid #edf1f8;
  }

  /* iOS: 16px evita zoom automático al enfocar inputs */
  .hero-search__field input,
  .hero-search__field select {
    font-size: 16px;
    min-height: 44px;
  }

  .hero-search button {
    padding: 0.85rem 1rem;
    min-height: 48px;
    font-size: 1rem;
    width: 100%;
  }

  .tour-filters {
    margin-top: 0.85rem;
  }

  .tour-filters__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .tour-filter input[type="range"] {
    width: 100%;
    min-height: 44px;
  }

  .tour-filter select {
    font-size: 16px;
    min-height: 48px;
    padding: 0.6rem 0.75rem;
  }

  .tour-filter--count strong {
    font-size: 1.35rem;
  }

  .tour-section {
    margin-top: 1rem;
  }

  .tour-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .tour-section__head h2 {
    font-size: 1.2rem;
  }

  .tour-section__head p {
    font-size: 0.86rem;
  }

  .tour-grid {
    gap: 0.85rem;
  }

  .tour-card {
    border-radius: 16px;
  }

  .tour-card__body {
    padding: 0.75rem 0.85rem 0.95rem;
  }

  .tour-card__body h3 {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .experience-grid {
    gap: 0.75rem;
  }

  .experience-card {
    padding: 0.9rem;
    border-radius: 14px;
  }
}

/* Navbar móvil: dos filas + menú horizontal deslizable */
@media (max-width: 640px) {
  .has-fixed-nav {
    padding-top: 102px;
  }

  .tour-hero {
    margin-top: 1.1rem;
  }

  .app-nav__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.5rem max(0.65rem, env(safe-area-inset-left, 0px)) 0.55rem max(0.65rem, env(safe-area-inset-right, 0px));
  }

  .app-nav__brand {
    font-size: 0.88rem;
  }

  .app-nav__menu {
    margin-left: 0;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.2rem;
    padding: 0.1rem 0 0.2rem;
  }

  .app-nav__menu::-webkit-scrollbar {
    display: none;
  }

  .app-nav__menu a {
    flex: 0 0 auto;
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .has-fixed-nav {
    padding-top: 74px;
  }
}

/* ─── PÁGINA EVENTO: 50/50 + imagen según proporción del archivo ─── */
.page-event .page-detail.event-detail {
  max-width: 1120px;
  padding: 1rem 1.25rem 2rem;
}

.event-detail__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.event-detail__img-frame {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #eef2f8;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  border: 1px solid #e4eaf3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-detail__img-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(88vh, 920px);
  object-fit: contain;
}

.event-detail__main {
  background: #fff;
  border: 1px solid #e6ebf4;
  border-radius: 22px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.page-event .detail-header h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  letter-spacing: -0.03em;
}

.page-event .detail-info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.1rem;
}

.page-event .detail-info__item {
  padding: 0.85rem;
  border-radius: 14px;
}

.page-event .detail-desc {
  color: #475569;
  line-height: 1.65;
}

.event-detail__booking--desktop {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid #e6ebf4;
  border-radius: 22px;
  padding: 1.25rem 1.35rem;
  position: sticky;
  top: 96px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.booking-card__price {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.booking-card__price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

.booking-card__status {
  margin: 0.75rem 0;
  padding: 0.85rem;
  border-radius: 14px;
  background: #f1f5f9;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.45;
}

.booking-card__list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.booking-card__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  color: #64748b;
}

.booking-card__row strong {
  color: #0f172a;
  font-weight: 700;
}

.event-detail__back {
  margin-top: 1rem;
  font-size: 0.88rem;
}

.event-detail__back a {
  color: #2563eb;
  font-weight: 600;
}

.event-detail__sticky {
  display: none;
}

@media (max-width: 900px) {
  .event-detail__split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-detail__col--media {
    order: 0;
  }

  .event-detail__col--content {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .event-detail__img-frame {
    max-width: 360px;
    border-radius: 20px;
  }

  .event-detail__booking--desktop {
    position: static;
    top: auto;
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .page-event .page-detail.event-detail {
    padding: 0.65rem max(0.65rem, env(safe-area-inset-left, 0px)) 5.75rem max(0.65rem, env(safe-area-inset-right, 0px));
  }

  .event-detail__main {
    border-radius: 18px;
    padding: 1rem 1.05rem;
  }

  .page-event .detail-info {
    grid-template-columns: 1fr;
  }

  .event-detail__img-frame {
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  }

  .event-detail__booking--desktop {
    display: none;
  }

  .event-detail__sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 420;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
  }

  .event-detail__sticky-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .event-detail__sticky-price span {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
  }

  .event-detail__sticky-price small {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
  }

  .event-detail__sticky-btn {
    flex-shrink: 0;
    padding: 0.72rem 1.15rem;
    border-radius: 14px;
    font-size: 0.88rem;
  }

  .event-detail__sticky-muted {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
  }

  .page-event .site-footer {
    margin-bottom: 0;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Evento: offset del body según altura del navbar (debe ir al final para ganar en cascada) */
@media (max-width: 900px) and (min-width: 641px) {
  .page-event.has-fixed-nav {
    padding-top: 78px;
  }
}

@media (max-width: 640px) {
  .page-event.has-fixed-nav {
    padding-top: 102px;
  }
}

/* ───────────────────────────────────────────────────────────
   Result page (verificar_bancolombia, banco_ok, etc.)
   ─────────────────────────────────────────────────────────── */
.result-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}

.result-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10), 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.result-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-card__icon svg {
  width: 36px;
  height: 36px;
}

.result-card--success .result-card__icon {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.18);
}

.result-card--error .result-card__icon {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.18);
}

.result-card--warning .result-card__icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.18);
}

.result-card--info .result-card__icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

.result-card__heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.result-card__message {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
}

.result-card__message p {
  margin: 0.35rem 0;
}

.result-card__message strong {
  color: #1e293b;
}

.result-card__extra {
  margin-top: 1rem;
}

.result-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.result-card__actions .btn {
  min-width: 140px;
  font-size: 0.92rem;
}

.btn-outline {
  background: transparent;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.18s ease;
}

.btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #1e293b;
}

@media (max-width: 480px) {
  .result-card {
    padding: 2rem 1.25rem 1.5rem;
    border-radius: 18px;
  }

  .result-card__heading {
    font-size: 1.3rem;
  }

  .result-card__actions {
    flex-direction: column;
  }

  .result-card__actions .btn {
    width: 100%;
  }
}
