/* ==========================================================================
   INFINITY ELITE — servicios.css
   Estilos exclusivos de la página Portafolio de Servicios.
   Depende de css/styles.css (tokens, botones, header, footer).
   ========================================================================== */

/* ---------- 1. Hero de página interna ---------- */
.page-hero {
  position: relative;
  padding: 160px 0 72px;
  overflow: hidden;
  background: var(--navy-900);
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: blur(3px); transform: scale(1.03); }
.page-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,27,46,0.97) 0%, rgba(10,27,46,0.94) 45%, rgba(10,27,46,0.84) 70%, rgba(10,27,46,0.95) 100%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero__title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; text-transform: uppercase; margin-bottom: 18px; }
.page-hero__text { color: var(--text-muted); font-size: 17px; margin-bottom: 28px; max-width: 600px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.page-hero__meta span { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; color: var(--white); }
.page-hero__meta i, .page-hero__meta svg { color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- 2. Barra de herramientas (filtros + moneda) ---------- */
.catalogo { background: var(--navy-900); padding: 0 0 110px; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 34px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--navy-600);
  position: sticky;
  top: 84px;
  z-index: 20;
  background: var(--navy-900);
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--navy-600);
  background: var(--navy-800);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.filter-chip:hover { color: var(--white); border-color: var(--gold); transform: translateY(-2px); }
.filter-chip.active { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }

.toolbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.agenda-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.agenda-btn svg { width: 16px; height: 16px; color: var(--gold); transition: color 0.25s var(--ease-soft); }
.agenda-btn:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-2px); }
.agenda-btn:hover svg { color: var(--navy-900); }

.currency-switch { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.currency-switch__label { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.currency-switch__group {
  display: flex;
  border: 1px solid var(--gold);
  border-radius: 999px;
  overflow: hidden;
}
.currency-btn {
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  background: transparent;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
}
.currency-btn:hover { background: rgba(201,162,75,0.15); }
.currency-btn.active { background: var(--gold); color: var(--navy-900); }

.fx-note { width: 100%; font-size: 11px; color: #7E8A99; letter-spacing: 0.3px; }

/* ---------- 3. Grid de servicios ---------- */
.catalogo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.svc-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 24px 48px rgba(0,0,0,0.38); }

.svc-card__media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--navy-700);
  cursor: zoom-in;
  width: 100%;
  display: block;
  padding: 0;
}
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,33,56,0.95) 0%, rgba(15,33,56,0.15) 32%, transparent 60%);
  pointer-events: none;
}
.svc-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10,27,46,0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.svc-card__badge--hot { background: var(--gold); color: var(--navy-900); }
.svc-card__zoom {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(10,27,46,0.8);
  border: 1px solid rgba(201,162,75,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.svc-card__media:hover .svc-card__zoom { background: var(--gold); color: var(--navy-900); transform: scale(1.08); }
.svc-card__zoom i, .svc-card__zoom svg { width: 18px; height: 18px; }

.svc-card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card__title { font-size: 21px; text-transform: uppercase; margin-bottom: 6px; }
.svc-card__subtitle { font-size: 13px; color: var(--gold); letter-spacing: 0.5px; margin-bottom: 14px; }
.svc-card__when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 9px 12px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--navy-700);
  border: 1px solid var(--navy-600);
  font-size: 12px;
  color: var(--white);
}
.svc-card__when svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.svc-card__when em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #F0B35A; margin-left: auto; }
.svc-card__when em.is-out { color: #E5737A; }

.svc-card__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.svc-card__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.svc-card__list li i, .svc-card__list li svg { color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }

.svc-card__price {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--navy-600);
  margin-bottom: 18px;
}
.svc-card__price-label { display: block; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: #7E8A99; margin-bottom: 4px; }
.svc-card__amount { font-family: var(--font-display); font-size: 30px; color: var(--white); line-height: 1.1; }
.svc-card__amount small { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; margin-left: 6px; }
.svc-card__alt { display: block; font-size: 12px; color: #7E8A99; margin-top: 4px; }
.svc-card__pass { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(201,162,75,0.12); font-size: 12px; color: var(--gold-light); }
.svc-card__pass svg { width: 14px; height: 14px; }
.svc-card__pass strong { color: var(--white); }

.svc-card__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.svc-card__actions .btn { width: 100%; padding: 13px 18px; font-size: 12px; }

/* ---------- 4. Nota de precios ---------- */
.price-disclaimer {
  margin-top: 48px;
  padding: 24px 26px;
  border: 1px dashed rgba(201,162,75,0.45);
  border-radius: var(--radius);
  background: rgba(201,162,75,0.06);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.price-disclaimer i, .price-disclaimer svg { color: var(--gold); width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.price-disclaimer p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }
.price-disclaimer strong { color: var(--white); }

/* ---------- 5. Modal (flyer + checkout) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5,14,24,0.88);
  backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal__dialog {
  position: relative;
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius);
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .modal__dialog { animation: none; }
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10,27,46,0.9);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.modal__close:hover { background: var(--gold); color: var(--navy-900); }
.modal__close i, .modal__close svg { width: 20px; height: 20px; }

/* Modal: vista de flyer */
.modal--flyer .modal__dialog { max-width: 720px; background: transparent; border: none; }
.modal--flyer .modal__dialog img { width: 100%; border-radius: var(--radius); }

/* Modal: checkout por pasos */
.modal--checkout .modal__dialog { max-width: 1080px; }

.checkout {
  display: grid;
  grid-template-columns: 350px 1fr;
  min-height: min(640px, 86vh);
  background: linear-gradient(to right, var(--navy-700) 350px, transparent 350px);
}

.checkout__aside {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
  position: sticky;
  top: 0;
}
.co-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/11;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  margin-bottom: 16px;
}
.co-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,75,0.5);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.checkout__label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.checkout__title { font-size: 21px; text-transform: uppercase; margin-bottom: 6px; }
.co-sub { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.co-summary { display: flex; flex-direction: column; border-top: 1px solid var(--navy-600); }
.co-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--navy-600);
  font-size: 13px;
}
.co-summary dt { color: #7E8A99; flex-shrink: 0; }
.co-summary dd { color: var(--white); font-weight: 600; text-align: right; }
.co-summary__dates { flex-direction: column; }
.co-summary__dates dd { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; text-align: left; }
.co-summary__save dd { color: #6FD39B; }

.co-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201,162,75,0.14);
  border: 1px solid rgba(201,162,75,0.4);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 600;
}
.co-chip--empty { background: transparent; border-style: dashed; color: #7E8A99; }

.co-total { display: flex; flex-direction: column; gap: 2px; }
.co-total > span:first-child { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #7E8A99; }
.co-total strong { font-family: var(--font-display); font-size: 32px; color: var(--white); line-height: 1.15; }
.co-total__alt { font-size: 12px; color: #7E8A99; }

.co-secure { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7E8A99; }
.co-secure svg { width: 16px; height: 16px; color: #6FD39B; flex-shrink: 0; }

.checkout__main { padding: 30px 34px 0; display: flex; flex-direction: column; min-width: 0; }

/* Indicador de pasos */
.co-steps { display: flex; gap: 8px; margin: 0 56px 26px 0; counter-reset: none; }
.co-steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #7E8A99;
  transition: color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}
.co-steps__n {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--navy-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}
.co-steps li.is-active { color: var(--white); border-color: var(--gold); }
.co-steps li.is-active .co-steps__n { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.co-steps li.is-done { color: var(--gold); border-color: rgba(201,162,75,0.5); cursor: pointer; }
.co-steps li.is-done .co-steps__n { border-color: var(--gold); color: var(--gold); }

.co-head { margin-bottom: 18px; }
.co-h { font-size: 24px; text-transform: uppercase; }
.co-help { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.6; }

/* Modalidad: pase completo / por día */
.co-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.co-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--navy-600);
  background: var(--navy-700);
  text-align: left;
  color: var(--text-muted);
  transition: border-color 0.25s var(--ease-soft), background 0.25s var(--ease-soft);
}
.co-opt:hover { border-color: rgba(201,162,75,0.6); }
.co-opt.active { border-color: var(--gold); background: rgba(201,162,75,0.1); box-shadow: inset 0 0 0 1px var(--gold); }
.co-opt__name { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--white); }
.co-opt__name svg { width: 16px; height: 16px; color: var(--gold); }
.co-opt strong { font-family: var(--font-display); font-size: 20px; color: var(--white); }
.co-opt__save { font-size: 11.5px; font-weight: 600; color: #6FD39B; }
.co-opt__save--muted { color: #7E8A99; font-weight: 500; }

/* Calendario */
.co-cal { max-width: 460px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font-family: var(--font-display); font-size: 18px; color: var(--white); }
.cal__nav {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--navy-600);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.cal__nav:hover:not(:disabled) { border-color: var(--gold); background: rgba(201,162,75,0.12); }
.cal__nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__week { margin-bottom: 6px; }
.cal__week span { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: #7E8A99; }
.cal__day {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #4C5D74;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), transform 0.2s var(--ease-soft);
}
.cal__day:disabled { cursor: default; }
.cal__day.is-available { background: var(--navy-700); border-color: var(--navy-600); color: var(--white); }
.cal__day.is-available:hover { border-color: var(--gold); transform: translateY(-2px); }
.cal__day.is-low { border-color: rgba(240,179,90,0.65); }
.cal__day.is-soldout { color: #55657B; text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(255,255,255,0.03) 5px 10px); }
.cal__day.is-locked { background: rgba(201,162,75,0.12); color: var(--white); }
.cal__day.is-selected { background: var(--gold); border-color: var(--gold); color: var(--navy-900); box-shadow: 0 6px 16px rgba(201,162,75,0.28); }
.cal__day.is-today .cal__num { text-decoration: underline; text-underline-offset: 3px; }
.cal__meta { font-size: 9.5px; font-weight: 700; line-height: 1; color: #F0B35A; margin-top: 2px; }
.cal__day.is-soldout .cal__meta { color: #8B4A50; text-decoration: none; }
.cal__day.is-selected .cal__meta { color: var(--navy-900); }
.cal__dot { position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cal__day.is-selected .cal__dot { background: var(--navy-900); }
.cal__day.is-mark.is-available:not(.is-selected) { border-color: rgba(201,162,75,0.55); }

.cal.shake { animation: calShake 0.4s var(--ease-soft); }
@keyframes calShake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 20px; font-size: 11.5px; color: #7E8A99; }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.cal-legend__sw { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--navy-600); }
.cal-legend__sw--avail { background: var(--navy-700); }
.cal-legend__sw--sel { background: var(--gold); border-color: var(--gold); }
.cal-legend__sw--low { background: var(--navy-700); border-color: #F0B35A; }
.cal-legend__sw--out { background: repeating-linear-gradient(135deg, var(--navy-800) 0 3px, var(--navy-600) 3px 6px); }
.cal-legend__sw--event { background: var(--navy-700); border-color: var(--gold); position: relative; }
.cal-legend__sw--event::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }

/* Personas */
.co-people {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--navy-600);
  border-radius: 8px;
  background: var(--navy-700);
  max-width: 460px;
}
.co-people strong { display: block; color: var(--white); font-size: 14px; }
.co-people span { font-size: 11.5px; color: #7E8A99; }

.qty { display: flex; align-items: center; border: 1px solid var(--navy-600); border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.qty button { width: 38px; height: 38px; color: var(--gold); background: var(--navy-800); font-size: 18px; line-height: 1; transition: background 0.25s ease; }
.qty button:hover:not(:disabled) { background: var(--navy-600); }
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty output { width: 44px; text-align: center; font-size: 15px; font-weight: 700; color: var(--white); }

/* Alertas */
.co-alert {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid;
}
.co-alert--error { color: #F2A7AC; background: rgba(229,115,122,0.1); border-color: rgba(229,115,122,0.45); }
.co-alert--info { color: var(--text-muted); background: rgba(184,194,206,0.06); border-color: var(--navy-600); }
.co-alert strong { color: var(--white); }

/* Formulario */
.co-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; }
.co-field { display: flex; flex-direction: column; gap: 7px; }
.co-field--full { grid-column: 1 / -1; }
.co-field > span { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.co-field input, .co-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 6px;
  border: 1px solid var(--navy-600);
  background: var(--navy-900);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.co-field textarea { resize: vertical; min-height: 84px; }
.co-field input::placeholder, .co-field textarea::placeholder { color: #55657B; }
.co-field input:focus, .co-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,0.18); }
.co-field__err { font-size: 11.5px; color: #F2A7AC; min-height: 0; }
.co-field.has-error input { border-color: #E5737A; }

/* Revisión */
.co-review { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.co-review__block { padding: 16px; border: 1px solid var(--navy-600); border-radius: 8px; background: var(--navy-700); font-size: 13px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.co-review__block p { overflow-wrap: anywhere; }
.co-review__block strong { color: var(--white); }
.co-review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.co-review__head span { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.co-review__head button { font-size: 11.5px; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.co-review__head button:hover { color: var(--gold); }
.co-review__dates { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0; }
.co-review__math { color: #7E8A99; font-size: 12px; }
.co-review__notes { font-style: italic; color: #7E8A99; }

.co-wompi {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #F7F7F2;
  color: #2C2A29;
}
.co-wompi__brand { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; flex-shrink: 0; }
.co-wompi__text { font-size: 12.5px; font-weight: 500; flex: 1; line-height: 1.4; }
.co-wompi__icons { display: flex; gap: 6px; font-size: 24px; color: #2C2A29; }

.co-sim-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: #F0B35A; }
.co-sim-note svg { width: 15px; height: 15px; flex-shrink: 0; }
.checkout__note { font-size: 12px; color: #7E8A99; margin-top: 12px; line-height: 1.6; }
.co-wa-alt { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 10px; font-size: 12.5px; color: #7E8A99; }
.co-wa-alt a { color: #4BE08A; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.co-wa-alt a:hover { text-decoration: underline; }

/* Barra inferior fija con total y navegación */
.co-foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: auto;
  padding: 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  background: linear-gradient(to bottom, rgba(15,33,56,0.85), var(--navy-800) 30%);
  border-top: 1px solid var(--navy-600);
  backdrop-filter: blur(4px);
}
.co-panel { padding-bottom: 28px; }
.co-foot__total { display: none; flex-direction: column; margin-right: auto; }
.co-foot__total span { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #7E8A99; }
.co-foot__total strong { font-family: var(--font-display); font-size: 21px; color: var(--white); line-height: 1.2; }
.co-foot__btns { display: flex; gap: 10px; }
#coNext { min-width: 190px; }
#coNext.is-pay { background: #2C2A29; color: #B0F2AE; border: 1px solid #B0F2AE; }
#coNext.is-pay:hover { background: #B0F2AE; color: #2C2A29; box-shadow: 0 12px 24px rgba(176,242,174,0.25); }
#coNext [data-icon] { display: inline-flex; }

/* Confirmación */
.co-success { text-align: center; padding: 10px 0 34px; max-width: 520px; margin: 0 auto; width: 100%; }
.co-success__icon {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(111,211,155,0.14);
  border: 2px solid #6FD39B;
  color: #6FD39B;
  display: flex; align-items: center; justify-content: center;
  animation: popIn 0.5s var(--ease);
}
.co-success__icon svg { width: 38px; height: 38px; stroke-width: 2.5; }
@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.co-success .checkout__label { color: #6FD39B; }
.co-success__text { font-size: 14px; color: var(--text-muted); margin: 10px 0 22px; }
.co-receipt { text-align: left; border: 1px solid var(--navy-600); border-radius: 8px; padding: 6px 18px; background: var(--navy-700); }
.co-receipt > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--navy-600); font-size: 13px; }
.co-receipt > div:last-child { border-bottom: none; }
.co-receipt dt { color: #7E8A99; flex-shrink: 0; }
.co-receipt dd { color: var(--white); font-weight: 600; text-align: right; overflow-wrap: anywhere; text-transform: none; }
.co-receipt__total dd { font-family: var(--font-display); font-size: 20px; color: var(--gold); }
.co-success .co-sim-note { justify-content: center; }
.co-success__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.co-success__actions .btn { width: 100%; }
.checkout.is-done .checkout__main { justify-content: center; padding-top: 44px; }
.checkout.is-done .co-head { display: none; }

/* Modal: agenda de eventos */
.modal--agenda .modal__dialog { max-width: 1000px; }
.agenda { display: grid; grid-template-columns: 1.05fr 1fr; }
.agenda__cal { padding: 32px; }
.agenda__cal .co-cal { max-width: none; }
.agenda__list { background: var(--navy-700); padding: 32px 28px; display: flex; flex-direction: column; min-width: 0; }
.agenda__list-title { font-size: 20px; margin: 0 48px 18px 0; }
.agenda__items { display: flex; flex-direction: column; gap: 10px; }
.ag-group { font-family: var(--font-body); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); margin: 10px 0 2px; }
.ag-group:first-child { margin-top: 0; }
.ag-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px 10px 10px;
  border-radius: 8px;
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  transition: border-color 0.25s ease;
}
.ag-item:hover { border-color: rgba(201,162,75,0.6); }
.ag-item--event { border-left: 3px solid var(--gold); }
.ag-item img { width: 52px; height: 66px; object-fit: cover; object-position: top; border-radius: 5px; }
.ag-item__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ag-item__date { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; }
.ag-item h5 { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--white); line-height: 1.3; }
.ag-item__meta { font-size: 11.5px; color: #7E8A99; }
.ag-item__meta em { font-style: normal; }
.ag-item__meta em.is-low { color: #F0B35A; font-weight: 600; }
.ag-tip { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #7E8A99; margin-top: 8px; }
.ag-tip svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.ag-reset { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--gold); align-self: flex-start; }
.ag-reset svg { width: 15px; height: 15px; }
.ag-reset:hover { text-decoration: underline; }

/* Widget Wompi simulado */
.wsim {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5,10,16,0.7);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.wsim.open { opacity: 1; }
.wsim__card {
  width: 100%;
  max-width: 420px;
  max-height: 94vh;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 14px;
  background: #FFFFFF;
  color: #2C2A29;
  font-family: var(--font-body);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.wsim.open .wsim__card { transform: none; }
.wsim__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #2C2A29; }
.wsim__logo { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; color: #B0F2AE; }
.wsim__tag { font-size: 9.5px; font-weight: 700; letter-spacing: 1px; padding: 3px 8px; border-radius: 999px; background: #F0B35A; color: #2C2A29; }
.wsim__close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.wsim__close:hover { background: rgba(255,255,255,0.12); }
.wsim__close svg { width: 18px; height: 18px; }
.wsim__merchant { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 16px; background: #F5F5F0; font-size: 12.5px; color: #5E5B58; text-align: center; }
.wsim__merchant strong { color: #2C2A29; }
.wsim__amount { font-size: 26px; font-weight: 800; margin-top: 4px; }
.wsim__ref { font-size: 11px; color: #8A8784; }
.wsim__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.wsim__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wsim__tabs button {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 9px 4px;
  border-radius: 8px;
  border: 1px solid #E3E2DC;
  font-size: 10.5px;
  font-weight: 600;
  color: #5E5B58;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wsim__tabs button svg { width: 18px; height: 18px; }
.wsim__tabs button.active { border-color: #2C2A29; background: #F2FBEF; color: #2C2A29; box-shadow: inset 0 0 0 1px #2C2A29; }
.wsim__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.wsim__field { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; font-weight: 600; color: #5E5B58; }
.wsim__field--full { grid-column: 1 / -1; }
.wsim__field input, .wsim__field select {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #D9D7D0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #2C2A29;
  background: #FFFFFF;
}
.wsim__field input:focus, .wsim__field select:focus { outline: none; border-color: #2C2A29; box-shadow: 0 0 0 3px rgba(176,242,174,0.6); }
.wsim__info { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #5E5B58; padding: 10px 12px; border-radius: 8px; background: #F5F5F0; }
.wsim__info svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.wsim__terms { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: #5E5B58; line-height: 1.5; }
.wsim__terms input { margin-top: 2px; accent-color: #2C2A29; }
.wsim__terms a { color: #2C2A29; text-decoration: underline; }
.wsim__error { font-size: 12px; color: #C2353F; background: #FDECEC; padding: 8px 10px; border-radius: 6px; }
.wsim__pay { padding: 14px; border-radius: 8px; background: #2C2A29; color: #B0F2AE; font-size: 14px; font-weight: 700; transition: background 0.2s ease; }
.wsim__pay:hover { background: #000000; }
.wsim__hint { font-size: 10.5px; color: #8A8784; line-height: 1.5; text-align: center; }
.wsim__state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; text-align: center; }
.wsim__state strong { font-size: 16px; }
.wsim__state span:last-child { font-size: 12px; color: #8A8784; }
.wsim__spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid #E3E2DC; border-top-color: #2C2A29; animation: wsimSpin 0.8s linear infinite; margin-bottom: 6px; }
.wsim__state--ok .wsim__spinner, .wsim__state--fail .wsim__spinner { animation: popIn 0.4s var(--ease); border: none; display: flex; align-items: center; justify-content: center; color: #FFFFFF; font-size: 24px; font-weight: 700; }
.wsim__state--ok .wsim__spinner { background: #27A567; }
.wsim__state--ok .wsim__spinner::after { content: '✓'; }
.wsim__state--fail .wsim__spinner { background: #C2353F; }
.wsim__state--fail .wsim__spinner::after { content: '✕'; }
@keyframes wsimSpin { to { transform: rotate(360deg); } }
.wsim__foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-top: 1px solid #EEEDE8; font-size: 11px; color: #8A8784; }
.wsim__foot svg { width: 13px; height: 13px; }

/* ---------- 6. Responsive ---------- */
@media (max-width: 1279px) {
  .toolbar { top: 0; }
}

@media (max-width: 1023px) {
  .page-hero { padding: 130px 0 56px; }
  .catalogo { padding-bottom: 80px; }
  .catalogo__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .checkout { grid-template-columns: 1fr; background: none; min-height: 0; }
  .checkout__aside { position: static; padding: 20px 22px; gap: 14px; background: var(--navy-700); }
  .co-hero { display: flex; gap: 16px; align-items: center; padding-right: 44px; }
  .co-hero img { width: 92px; aspect-ratio: 3/4; margin-bottom: 0; flex-shrink: 0; }
  .checkout__title { font-size: 18px; }
  .co-summary, .co-total, .co-secure { display: none; }
  .checkout.is-done .checkout__aside { display: none; }
  .checkout__main { padding: 24px 22px 0; }
  .co-steps { margin-right: 0; }
  .co-cal, .co-people { max-width: none; }
  .co-foot__total { display: flex; }
  .agenda { grid-template-columns: 1fr; }
  .agenda__cal { padding: 26px 22px; }
  .agenda__list { padding: 24px 22px 28px; }
}

@media (max-width: 767px) {
  .page-hero { padding: 118px 0 48px; }
  .toolbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 0 26px;
    margin-bottom: 30px;
  }
  /* min-width:0 evita que la fila de chips sin wrap ensanche el toolbar
     y provoque scroll horizontal en toda la página. */
  .filters { overflow-x: auto; flex-wrap: nowrap; min-width: 0; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .filter-chip { flex-shrink: 0; }
  .currency-switch { justify-content: space-between; }
  .catalogo__grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-card__media { aspect-ratio: 4/5; }
  .price-disclaimer { flex-direction: column; gap: 10px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__dialog { max-height: 100dvh; border-radius: 14px 14px 0 0; border-left: none; border-right: none; border-bottom: none; }
  .modal--checkout .modal__dialog, .modal--agenda .modal__dialog { height: 100dvh; border-radius: 0; }
  .modal--flyer { padding: 14px; align-items: center; }
  .modal--checkout .modal__close, .modal--agenda .modal__close { top: 10px; right: 10px; width: 36px; height: 36px; }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .toolbar__right { justify-content: space-between; }
  .co-form, .co-review { grid-template-columns: 1fr; }
  .co-h { font-size: 20px; }
  .co-steps li { font-size: 11px; gap: 6px; }
  .co-foot { padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); gap: 12px; }
  .co-foot__btns { flex: 1; justify-content: flex-end; }
  #coNext { min-width: 0; flex: 1; padding: 13px 16px; }
  #coBack { padding: 13px 14px; }
  #coBack span { display: none; }
}

@media (max-width: 480px) {
  .page-hero__title { font-size: 27px; }
  .page-hero__text { font-size: 15px; }
  .svc-card__body { padding: 22px 20px 24px; }
  .svc-card__title { font-size: 19px; }
  .svc-card__amount { font-size: 26px; }
  .co-options { grid-template-columns: 1fr; }
  .cal__week, .cal__grid { gap: 4px; }
  .cal__day { font-size: 13px; border-radius: 6px; }
  .co-steps li > span:last-child { display: none; }
  .co-steps li.is-active > span:last-child { display: inline; }
  .co-foot__total strong { font-size: 18px; }
  .co-wompi { flex-wrap: wrap; }
  .ag-item { grid-template-columns: 44px 1fr; }
  .ag-item img { width: 44px; height: 58px; }
  .ag-item .btn { grid-column: 1 / -1; width: 100%; }
}

/* ---------- 7. Estados de carga del catálogo ---------- */
.svc-skeleton {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius);
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  overflow: hidden;
}
.svc-skeleton::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: svcShimmer 1.2s infinite;
}
@keyframes svcShimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.catalog-error {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 56px 20px;
  text-align: center;
  border: 1px dashed var(--navy-600);
  border-radius: var(--radius);
}
.catalog-error svg { width: 36px; height: 36px; color: var(--gold); }
.catalog-error p { max-width: 420px; }

.co-wa-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--text-muted); }
.co-wa-note i { color: var(--wa-green); font-size: 16px; }

@media (max-width: 767px) {
  .svc-skeleton { min-height: 480px; }
}
