/* =========================================================
   V30 - Ajustes solicitados
   1) Se elimina el resumen flotante de reserva.
   2) Fecha/hora seleccionada en leyenda verde parpadeante.
   3) Botón de reserva visible en móvil.
   4) Inicio centrado y proporcionado en PC.
   ========================================================= */

/* El resumen viejo no debe ocupar espacio ni aparecer en ninguna vista. */
html body .reservation-live-summary,
html body .reservation-live-summary.active,
html body[data-active-view="reservas"] .reservation-live-summary,
html body[data-active-view="reservas"] .reservation-live-summary.active {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* Desactiva el círculo/flash de transición que podía tapar el calendario. */
html body .magic-particle-burst {
  display: none !important;
}

/* Leyenda de fecha/hora seleccionada. */
html body #selectedDateLabel.selected-date-blink,
html body .submit-selected-label.is-visible {
  color: #13b86f !important;
  font-weight: 950 !important;
  text-shadow: 0 0 14px rgba(19, 184, 111, .28) !important;
  animation: selectedReservationBlink 1.05s ease-in-out infinite !important;
}

@keyframes selectedReservationBlink {
  0%, 100% { opacity: 1; filter: saturate(1.15); }
  48% { opacity: .45; filter: saturate(1.85); }
}

html body .reservation-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
  text-align: center !important;
  line-height: 1.25 !important;
}

html body .submit-selected-label {
  display: none;
  white-space: nowrap;
  font-size: .94em;
  letter-spacing: .05em;
}

html body .submit-selected-label.is-visible {
  display: inline-flex !important;
  align-items: center;
}

html body .submit-selected-label.is-visible::before {
  content: '•';
  margin-right: 10px;
  color: #13b86f;
}

/* Reserva: más aire al no existir el resumen flotante. */
html body .reservation-flow-controls {
  margin-top: clamp(18px, 2.6vh, 30px) !important;
  margin-bottom: clamp(26px, 4vh, 42px) !important;
}

html body[data-active-view="reservas"] #reservas.active-focus {
  padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px)) !important;
}

/* HOME escritorio: pantalla completa, centrada y sin textos cortados. */
@media (min-width: 761px) {
  html body[data-active-view="inicio"] .hero-content,
  html body.app-single-focus[data-active-view="inicio"] .hero-content,
  html body:not([data-active-view]) .hero-content {
    position: absolute !important;
    left: 50% !important;
    top: clamp(118px, 24vh, 190px) !important;
    right: auto !important;
    width: min(1040px, calc(100vw - 96px)) !important;
    max-width: 1040px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  html body[data-active-view="inicio"] .hero-content .eyebrow,
  html body.app-single-focus[data-active-view="inicio"] .hero-content .eyebrow,
  html body:not([data-active-view]) .hero-content .eyebrow {
    text-align: center !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(.68rem, .72vw, .86rem) !important;
    letter-spacing: .25em !important;
  }

  html body[data-active-view="inicio"] .hero h1,
  html body.app-single-focus[data-active-view="inicio"] .hero h1,
  html body:not([data-active-view]) .hero h1 {
    width: min(100%, 920px) !important;
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    font-size: clamp(2.85rem, 4.7vw, 5.15rem) !important;
    line-height: .98 !important;
    letter-spacing: .075em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body[data-active-view="inicio"] .reserve-pill,
  html body.app-single-focus[data-active-view="inicio"] .reserve-pill,
  html body:not([data-active-view]) .reserve-pill {
    left: 50% !important;
    right: auto !important;
    bottom: clamp(98px, 14vh, 128px) !important;
    width: min(520px, calc(100vw - 96px)) !important;
    max-width: 520px !important;
    min-height: 62px !important;
    padding: 0 30px !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }

  html body[data-active-view="inicio"] .reserve-pill:hover,
  html body.app-single-focus[data-active-view="inicio"] .reserve-pill:hover,
  html body:not([data-active-view]) .reserve-pill:hover {
    transform: translateX(-50%) translateY(-4px) !important;
  }

  html body[data-active-view="inicio"] .home-video-bg,
  html body.app-single-focus[data-active-view="inicio"] .home-video-bg,
  html body:not([data-active-view]) .home-video-bg,
  html body[data-active-view="inicio"] .hero-bg,
  html body.app-single-focus[data-active-view="inicio"] .hero-bg,
  html body:not([data-active-view]) .hero-bg {
    object-position: center center !important;
    background-position: center center !important;
  }
}

/* HOME móvil: sube el botón para que siempre se vea sobre la botonera inferior. */
@media (max-width: 760px) {
  html body[data-active-view="inicio"] .hero,
  html body.app-single-focus[data-active-view="inicio"] .hero,
  html body:not([data-active-view]) .hero {
    min-height: 100dvh !important;
    height: 100dvh !important;
  }

  html body[data-active-view="inicio"] .hero-content,
  html body.app-single-focus[data-active-view="inicio"] .hero-content,
  html body:not([data-active-view]) .hero-content {
    position: absolute !important;
    left: 50% !important;
    top: clamp(82px, 19vh, 136px) !important;
    width: min(100% - 28px, 620px) !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }

  html body[data-active-view="inicio"] .hero h1,
  html body.app-single-focus[data-active-view="inicio"] .hero h1,
  html body:not([data-active-view]) .hero h1 {
    font-size: clamp(2.05rem, 11vw, 3.65rem) !important;
    line-height: .96 !important;
    letter-spacing: .085em !important;
  }

  html body[data-active-view="inicio"] .reserve-pill,
  html body.app-single-focus[data-active-view="inicio"] .reserve-pill,
  html body:not([data-active-view]) .reserve-pill {
    left: 50% !important;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    width: min(352px, calc(100vw - 36px)) !important;
    min-height: 54px !important;
    padding: 0 18px !important;
    font-size: .78rem !important;
    letter-spacing: .24em !important;
    transform: translateX(-50%) !important;
    z-index: 40 !important;
  }
}

@media (max-width: 390px) {
  html body[data-active-view="inicio"] .hero h1,
  html body.app-single-focus[data-active-view="inicio"] .hero h1,
  html body:not([data-active-view]) .hero h1 {
    font-size: clamp(1.86rem, 10.6vw, 3.1rem) !important;
  }

  html body[data-active-view="inicio"] .reserve-pill,
  html body.app-single-focus[data-active-view="inicio"] .reserve-pill,
  html body:not([data-active-view]) .reserve-pill {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: 50px !important;
    font-size: .72rem !important;
  }
}
