/* Sección: agenda (Calendly) */
.section-booking { background: #fff; }
.booking-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1.5rem;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.booking-points li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; color: var(--brand-navy); font-weight: 600; }
.booking-points i { color: var(--brand-blue); font-size: 1.15rem; line-height: 1.3; }
.booking-points small { display: block; font-weight: 500; color: var(--brand-slate); }

/* Contenedor del widget: altura fija para que la página no "salte" al cargar */
.calendly-mount { position: relative; min-width: 280px; height: 700px; background: var(--brand-cloud); }
.calendly-mount .calendly-inline-widget, .calendly-mount iframe { width: 100%; height: 100%; }
.calendly-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem;
  color: var(--brand-slate);
}
.calendly-placeholder i { font-size: 2.2rem; color: var(--brand-blue); display: block; margin-bottom: .75rem; }
.calendly-mount.is-loading .calendly-placeholder .ph-text::after { content: " …"; }
.calendly-mount.is-ready .calendly-placeholder { display: none; }
.calendly-mount.is-failed .calendly-placeholder .ph-failed { display: block; }
.calendly-placeholder .ph-failed { display: none; margin-top: .5rem; font-size: .9rem; }

.booking-foot { border-top: 1px solid var(--line); background: #fff; }

@media (max-width: 575.98px) { .calendly-mount { height: 760px; } }
.calendly-mount.is-failed .ph-text { display: none; }

/* Sin URL de Calendly aprobada: aviso con el correo de ventas */
.calendly-placeholder .ph-pending { display: none; margin-top: .5rem; }
.calendly-mount.is-pending .ph-text { display: none; }
.calendly-mount.is-pending .ph-pending { display: block; }
