/* ============================================================
   AGENDA.CSS · Estilos propios de la página de reserva (agenda.html).
   Reutiliza variables, base y components. Solo añade lo específico:
   el pitch, la tarjeta de reserva y el contenedor del calendario real.
   ============================================================ */

/* ---------- Hero / pitch + tarjeta ---------- */
.agenda-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4rem));
  padding-bottom: var(--section-y);
  background: var(--bg-deep);
}
.agenda-hero__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 45% at 18% 6%, rgba(255, 255, 255, .10), transparent 70%),
    radial-gradient(40% 50% at 92% 0%, rgba(212, 21, 43, .12), transparent 70%);
}
.agenda-hero__grid { position: relative; display: grid; gap: var(--gap); align-items: start; }

.agenda-pitch__title { font-size: var(--fs-3xl); margin-top: 1rem; line-height: var(--lh-tight); }
.agenda-pitch__title .accent { color: var(--c-accent); }
.agenda-pitch__lead { color: var(--text-muted); margin-top: 1rem; font-size: var(--fs-lg); max-width: 48ch; }

.agenda-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
.spec {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.1rem;
}
.spec .spec__k { color: var(--text-dim); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.spec .spec__v { font-family: var(--font-head); font-size: var(--fs-lg); margin-top: .35rem; }

/* ---------- Tarjeta de reserva ---------- */
.booking-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  /* Halo de luz de marca (mismo sistema suave que el resto de tarjetas) */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 20px 48px -30px rgba(0, 0, 0, .55),
    0 30px 66px -36px rgba(212, 21, 43, .20);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.booking-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 26px 56px -30px rgba(0, 0, 0, .6),
    0 36px 90px -40px rgba(212, 21, 43, .34);
}
@media (prefers-reduced-motion: reduce) {
  .booking-card:hover { transform: none; }
}
.booking-card__head {
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  border-bottom: 1px solid var(--border);
  background: var(--grad-accent-soft);
}
.booking-card__type {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--c-cta-2);
}
.booking-card__name { font-family: var(--font-display); font-size: var(--fs-xl); margin-top: .4rem; line-height: 1.1; }
.booking-card__body { padding: clamp(1.4rem, 1rem + 1.4vw, 2rem); }
.booking-card__desc { color: var(--text-muted); margin-bottom: 1.4rem; }
.booking-card__note { color: var(--text-dim); font-size: var(--fs-sm); text-align: center; margin-top: 1rem; }
.booking-card__secure {
  display: flex; align-items: center; gap: .55rem;
  justify-content: center;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: var(--fs-sm);
}
.booking-card__secure svg { width: 18px; height: 18px; color: var(--c-accent); flex: none; }

/* ---------- Contenedor del calendario real ---------- */
.scheduler {
  margin-top: 2rem;
  min-height: 560px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}
.scheduler__cal { width: 100%; min-height: 720px; overflow: auto; }
.scheduler__embed { width: 100%; min-height: 720px; border: 0; display: block; }
.scheduler__placeholder {
  min-height: 420px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
  padding: 2rem;
}
.scheduler__placeholder svg { width: 54px; height: 54px; color: var(--c-accent); }

.scheduler__fallback { text-align: center; margin-top: 1.1rem; color: var(--text-muted); }
.scheduler__fallback a { color: var(--c-cta-2); font-weight: 600; }

/* ---------- Escritorio: pitch + tarjeta en dos columnas ---------- */
@media (min-width: 960px) {
  .agenda-hero__grid { grid-template-columns: 1.4fr .9fr; }
}
