/* ==========================================================
   SUITES CASA PAJARITOS — Motor de reservaciones · Paso 1
   Tema claro "Casa Pajaritos" (mismo lenguaje que la landing)
   Paleta: rojo del logo · negro/carbón · crema · oro
   Scoped a body.res-p1-page para no tocar los demás pasos.
   ========================================================== */

body.res-p1-page {
  --p1-nav-h: 76px;

  --p1-primary: #C8102E;
  --p1-primary-600: #A50D25;
  --p1-primary-700: #840A1E;
  --p1-primary-soft: #F8E7EA;
  --p1-primary-tint: #FCF1F2;

  --p1-gold: #C9A24B;
  --p1-gold-soft: #F6ECD3;

  --p1-cream: #FBF7F1;
  --p1-cream-2: #F6EFE7;
  --p1-white: #FFFFFF;

  --p1-ink: #1D1A18;
  --p1-ink-soft: #4A443E;
  --p1-muted: #867E75;
  --p1-line: #EBE1D3;
  --p1-line-soft: #F1E8DC;

  --p1-font-body: 'DM Sans', sans-serif;
  --p1-font-display: 'Playfair Display', serif;
  --p1-font-accent: 'Cormorant Garamond', serif;

  --p1-shadow-sm: 0 2px 10px rgba(46, 42, 38, 0.06);
  --p1-shadow-md: 0 12px 34px rgba(46, 42, 38, 0.10);
  --p1-shadow-lg: 0 28px 60px rgba(46, 42, 38, 0.16);
  --p1-shadow-primary: 0 14px 34px rgba(200, 16, 46, 0.28);

  --p1-radius: 16px;
  --p1-radius-sm: 12px;
  --p1-radius-pill: 999px;

  --p1-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  background-color: var(--p1-cream);
  color: var(--p1-ink);
  font-family: var(--p1-font-body);
}

/* Quitamos la foto fija oscura del tema anterior en este paso */
body.res-p1-page::before {
  display: none;
}

body.res-p1-page a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================
   NAVBAR
   ========================================================== */
body.res-p1-page .res-nav {
  height: var(--p1-nav-h);
  background: rgba(251, 247, 241, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(235, 225, 211, 0.75);
  box-shadow: none;
}

body.res-p1-page .res-nav--scrolled {
  background: rgba(251, 247, 241, 0.98);
  box-shadow: 0 2px 24px rgba(46, 42, 38, 0.08);
}

body.res-p1-page .res-nav__inner {
  max-width: 1280px;
  height: var(--p1-nav-h);
  padding: 0 2rem;
}

body.res-p1-page .res-nav__logo-img {
  width: auto;
  height: 42px;
  border-radius: 0;
  object-fit: contain;
}

body.res-p1-page .res-stepper {
  gap: 0.35rem;
}

body.res-p1-page .res-step {
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--p1-radius-pill);
  color: var(--p1-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.res-p1-page .res-step:hover {
  color: var(--p1-ink);
  background: rgba(200, 16, 46, 0.05);
}

body.res-p1-page .res-step__num {
  width: 28px;
  height: 28px;
  background: var(--p1-white);
  border: 1.5px solid var(--p1-line);
  color: var(--p1-muted);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(46, 42, 38, 0.04);
}

body.res-p1-page .res-step--done {
  color: var(--p1-ink);
}

body.res-p1-page .res-step--done .res-step__num {
  background: var(--p1-primary);
  border-color: var(--p1-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(200, 16, 46, 0.24);
}

body.res-p1-page .res-step--current {
  background: var(--p1-white);
  box-shadow: var(--p1-shadow-sm);
  color: var(--p1-ink);
}

body.res-p1-page .res-step--current .res-step__num {
  background: var(--p1-primary-soft);
  border-color: var(--p1-primary);
  color: var(--p1-primary);
}

body.res-p1-page .res-nav__exit {
  padding: 0.45rem 0.95rem;
  background: var(--p1-white);
  border: 1px solid var(--p1-line);
  border-radius: var(--p1-radius-pill);
  color: var(--p1-ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

body.res-p1-page .res-nav__exit:hover {
  background: var(--p1-primary);
  border-color: var(--p1-primary);
  color: #fff;
}

/* ==========================================================
   HERO
   ========================================================== */
body.res-p1-page .res-hero {
  margin-top: var(--p1-nav-h);
  min-height: 430px;
  padding: 4rem 2rem 7rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background-color: var(--p1-cream);
  background-image: url('/img/fachada.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

body.res-p1-page .res-hero__overlay {
  background: linear-gradient(
    100deg,
    rgba(251, 247, 241, 0.99) 0%,
    rgba(251, 247, 241, 0.94) 32%,
    rgba(251, 247, 241, 0.80) 55%,
    rgba(251, 247, 241, 0.34) 80%,
    rgba(251, 247, 241, 0.14) 100%
  );
}

body.res-p1-page .res-hero__content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

body.res-p1-page .res-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  color: var(--p1-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: none;
}

body.res-p1-page .res-hero__tag::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--p1-primary));
  border-radius: 2px;
}

body.res-p1-page .res-hero__title {
  max-width: 620px;
  margin-bottom: 0.55rem;
  color: var(--p1-ink);
  font-family: var(--p1-font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.2px;
  text-shadow: none;
}

body.res-p1-page .res-hero__title span {
  color: var(--p1-primary);
  font-style: italic;
  font-weight: 500;
}

body.res-p1-page .res-hero__subtitle {
  max-width: 520px;
  color: var(--p1-ink-soft);
  font-family: var(--p1-font-accent);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.55;
  text-shadow: none;
}

/* ==========================================================
   MAIN + CARD
   ========================================================== */
body.res-p1-page .res-main {
  position: relative;
  z-index: 2;
  min-height: 50vh;
  padding: 0 2rem 5rem;
  background: transparent;
}

body.res-p1-page .res-main__wrap {
  max-width: 880px;
  margin: -4.5rem auto 0;
  position: relative;
  z-index: 3;
}

body.res-p1-page .res-card {
  position: relative;
  background: var(--p1-white);
  border: 1px solid var(--p1-line);
  border-radius: 24px;
  box-shadow: var(--p1-shadow-lg);
  overflow: hidden;
}

body.res-p1-page .res-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--p1-primary) 0%, var(--p1-gold) 55%, var(--p1-primary) 100%);
  z-index: 1;
}

body.res-p1-page .res-card__body {
  padding: 2.5rem 2.5rem 2rem;
}

/* ==========================================================
   CABECERA DEL FORMULARIO
   ========================================================== */
body.res-p1-page .res-p1-head {
  margin-bottom: 1.6rem;
  text-align: center;
}

body.res-p1-page .res-p1-head__eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--p1-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.res-p1-page .res-p1-head__title {
  margin-bottom: 0.45rem;
  color: var(--p1-ink);
  font-family: var(--p1-font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

body.res-p1-page .res-p1-head__subtitle {
  max-width: 460px;
  margin: 0 auto;
  color: var(--p1-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================
   PROMO
   ========================================================== */
body.res-p1-page .res-p1-promo {
  max-width: none;
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(135deg, var(--p1-primary-tint) 0%, var(--p1-cream) 100%);
  border: 1px solid #F3D7DC;
  border-radius: 14px;
  box-shadow: none;
}

body.res-p1-page .res-p1-promo__icon {
  color: var(--p1-primary);
}

body.res-p1-page .res-p1-promo__text {
  color: var(--p1-ink-soft);
  font-size: 0.85rem;
  line-height: 1.45;
}

body.res-p1-page .res-p1-promo__text strong {
  color: var(--p1-primary);
  font-weight: 700;
}

/* ==========================================================
   CAMPOS: FECHAS + HUÉSPEDES
   ========================================================== */
body.res-p1-page .res-p1-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: none;
  margin: 0;
}

body.res-p1-page .res-p1-field-label {
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  color: var(--p1-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.res-p1-page .res-p1-field-label svg {
  color: var(--p1-primary);
  flex-shrink: 0;
}

/* Fechas */
body.res-p1-page .res-p1-date-pair {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.65rem 0.9rem;
  background: var(--p1-white);
  border: 1.5px solid var(--p1-line);
  border-radius: 14px;
  cursor: pointer;
  transition: var(--p1-transition);
}

body.res-p1-page .res-p1-date-pair:hover {
  border-color: rgba(200, 16, 46, 0.45);
}

body.res-p1-page .res-p1-date-pair:focus-within {
  border-color: var(--p1-primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.08);
}

body.res-p1-page .res-p1-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--p1-primary-tint);
  border-radius: 11px;
  color: var(--p1-primary);
}

body.res-p1-page .res-p1-date-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

body.res-p1-page .res-p1-date-values {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

body.res-p1-page .res-p1-date-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

body.res-p1-page .res-p1-date-tag {
  flex: 0 0 46px;
  color: var(--p1-muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

body.res-p1-page .res-p1-date-text {
  min-width: 0;
  overflow: hidden;
  color: var(--p1-ink);
  font-family: var(--p1-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.res-p1-page .res-p1-date-pair .inp-picker {
  width: 100%;
  padding: 0.15rem 0;
  background: transparent;
  border: none;
  color: var(--p1-ink);
  font-family: var(--p1-font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  outline: none;
  cursor: pointer;
}

body.res-p1-page .res-p1-date-pair .inp-picker::placeholder {
  color: var(--p1-muted);
  opacity: 0.75;
  font-weight: 500;
}

/* Input real del datepicker: cubre el campo, invisible pero clicable */
body.res-p1-page .res-p1-date-pair .res-p1-date-native {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
}

/* Huéspedes */
body.res-p1-page .res-p1-guest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

body.res-p1-page .res-p1-guest-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.1rem;
  min-height: 64px;
  padding: 0.6rem 0.85rem;
  background: var(--p1-white);
  border: 1.5px solid var(--p1-line);
  border-radius: 14px;
  cursor: pointer;
  transition: var(--p1-transition);
}

body.res-p1-page .res-p1-guest-item:hover {
  border-color: rgba(200, 16, 46, 0.45);
}

body.res-p1-page .res-p1-guest-item:focus-within {
  border-color: var(--p1-primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.08);
}

body.res-p1-page .res-p1-guest-name {
  color: var(--p1-muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.res-p1-page .res-p1-guest-item select {
  width: 100%;
  min-width: 0;
  padding: 0.1rem 1.25rem 0.1rem 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23C8102E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
  background-size: 11px 7px;
  border: none;
  border-radius: 0;
  color: var(--p1-ink);
  font-family: var(--p1-font-body);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ==========================================================
   ALERTA
   ========================================================== */
body.res-p1-page .res-alert {
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: var(--p1-primary-tint);
  border: 1px solid #F0C9D0;
  border-radius: 12px;
  color: var(--p1-primary-700);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================================
   CONFIANZA
   ========================================================== */
body.res-p1-page .res-p1-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 1.35rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--p1-cream);
  border: 1px solid var(--p1-line-soft);
  border-radius: 12px;
  color: var(--p1-ink-soft);
  font-size: 0.76rem;
  font-weight: 500;
}

body.res-p1-page .res-p1-trust > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body.res-p1-page .res-p1-trust > span::before {
  content: '✓';
  color: var(--p1-primary);
  font-size: 0.78rem;
  font-weight: 800;
}

body.res-p1-page .res-p1-trust__dot {
  display: none;
}

/* ==========================================================
   ACCIÓN
   ========================================================== */
body.res-p1-page .res-action {
  margin-top: 1.5rem;
  text-align: center;
}

body.res-p1-page .res-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1.6rem;
  border: none;
  border-radius: 13px;
  font-family: var(--p1-font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: var(--p1-transition);
}

body.res-p1-page .res-btn--primary {
  background: linear-gradient(135deg, var(--p1-primary) 0%, var(--p1-primary-600) 100%);
  color: #fff;
  box-shadow: var(--p1-shadow-primary);
}

body.res-p1-page .res-btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--p1-primary-600) 0%, var(--p1-primary-700) 100%);
  box-shadow: 0 18px 38px rgba(200, 16, 46, 0.36);
  transform: translateY(-2px);
}

body.res-p1-page .res-btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

body.res-p1-page .res-btn--primary:disabled {
  background: var(--p1-cream-2);
  color: #A79E93;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}

body.res-p1-page .res-btn svg {
  flex-shrink: 0;
}

body.res-p1-page .res-p1-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  color: var(--p1-muted);
  font-size: 0.76rem;
}

body.res-p1-page .res-p1-note svg {
  color: var(--p1-primary);
  flex-shrink: 0;
}

/* ==========================================================
   FOOTER
   ========================================================== */
body.res-p1-page .res-footer {
  padding: 3rem 2rem 2.5rem;
  background: var(--p1-cream-2);
  border-top: 1px solid var(--p1-line);
}

body.res-p1-page .res-footer__inner {
  max-width: 1280px;
  gap: 1.5rem;
}

body.res-p1-page .res-footer__brand {
  gap: 0.9rem;
  color: var(--p1-ink-soft);
}

body.res-p1-page .res-footer__logo-img {
  width: auto;
  height: 46px;
  border-radius: 0;
  object-fit: contain;
}

body.res-p1-page .res-footer__brand p {
  margin-top: 0.15rem;
  color: var(--p1-muted);
  font-size: 0.76rem;
}

body.res-p1-page .res-footer__links a {
  color: var(--p1-ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
}

body.res-p1-page .res-footer__links a:hover {
  color: var(--p1-primary);
}

/* ==========================================================
   DATEPICKER — hotel-datepicker, tema claro
   ========================================================== */
body.res-p1-page .datepicker {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(680px, calc(100vw - 2rem)) !important;
  margin: 0 !important;
  background-color: var(--p1-white);
  border: 1px solid var(--p1-line);
  border-radius: 20px;
  box-shadow:
    0 0 0 100vh rgba(29, 26, 24, 0.38),
    0 30px 70px rgba(29, 26, 24, 0.25);
  color: var(--p1-ink);
  font-family: var(--p1-font-body);
  font-size: 14px;
  line-height: 14px;
  overflow: hidden;
  z-index: 10001 !important;
  animation: p1-dp-in 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes p1-dp-in {
  from {
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

body.res-p1-page .datepicker--closed {
  display: none;
}

body.res-p1-page .datepicker--open {
  display: block;
}

body.res-p1-page .datepicker__inner {
  padding: 1.5rem 1.75rem 1.75rem;
}

body.res-p1-page .datepicker__topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'info close'
    'feedback close';
  align-items: center;
  gap: 0.15rem 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--p1-line-soft);
}

body.res-p1-page .datepicker__info--selected {
  grid-area: info;
  min-width: 0;
  color: var(--p1-ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

body.res-p1-page .datepicker__info-text {
  color: var(--p1-ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

body.res-p1-page .datepicker__info--selected-label {
  color: var(--p1-muted);
  font-weight: 600;
}

body.res-p1-page .datepicker__info-text--selected-days {
  color: var(--p1-primary);
  font-weight: 700;
}

body.res-p1-page .datepicker__info--feedback {
  grid-area: feedback;
  min-height: 1rem;
  padding: 0.1rem 0 0;
  color: var(--p1-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

body.res-p1-page .datepicker__info--error {
  color: var(--p1-primary-700);
  font-weight: 600;
}

body.res-p1-page .datepicker__info--help {
  color: var(--p1-muted);
}

body.res-p1-page .datepicker__close-button {
  grid-area: close;
  align-self: center;
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  background: var(--p1-primary);
  border: none;
  border-radius: var(--p1-radius-pill);
  color: #fff;
  font-family: var(--p1-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--p1-transition);
}

body.res-p1-page .datepicker__close-button:hover {
  background: var(--p1-primary-600);
  transform: translateY(-1px);
}

body.res-p1-page .datepicker__months {
  display: flex;
  gap: 2rem;
  position: relative;
}

body.res-p1-page .datepicker__months::before {
  content: '';
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: var(--p1-line-soft);
  transform: translateX(-50%);
}

body.res-p1-page .datepicker__month {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

body.res-p1-page .datepicker__month-caption {
  height: 3.2em;
  border-bottom: 1px solid var(--p1-line-soft);
  vertical-align: middle;
}

body.res-p1-page .datepicker__month-name {
  padding-bottom: 0.65rem;
  color: var(--p1-primary);
  font-family: var(--p1-font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

body.res-p1-page .datepicker__week-name {
  padding: 0.65rem 0 0.45rem;
  color: var(--p1-muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

body.res-p1-page .datepicker__month-day {
  padding: 0.6rem 0.35rem;
  border-radius: 9px;
  color: var(--p1-muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  cursor: default;
  transition: background-color 0.18s ease, color 0.18s ease;
}

body.res-p1-page .datepicker__month-day--valid {
  color: var(--p1-ink);
  cursor: pointer;
}

body.res-p1-page .datepicker__month-day--valid:hover {
  background: var(--p1-primary-tint);
  color: var(--p1-primary);
}

body.res-p1-page .datepicker__month-day--invalid {
  color: #C9C0B5;
  opacity: 0.6;
}

body.res-p1-page .datepicker__month-day--disabled {
  color: #C9C0B5;
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}

body.res-p1-page .datepicker__month-day--selected {
  background-color: var(--p1-primary-soft) !important;
  border-radius: 0;
  color: var(--p1-primary-700) !important;
  font-weight: 600;
}

body.res-p1-page .datepicker__month-day--hovering {
  background-color: var(--p1-primary-tint);
  color: var(--p1-primary);
}

body.res-p1-page .datepicker__month-day--today {
  color: var(--p1-primary);
  font-weight: 800;
  position: relative;
}

body.res-p1-page .datepicker__month-day--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  background-color: var(--p1-primary);
  border-radius: 50%;
  transform: translateX(-50%);
}

body.res-p1-page .datepicker__month-day--first-day-selected,
body.res-p1-page .datepicker__month-day--last-day-selected {
  background-color: var(--p1-primary) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(200, 16, 46, 0.28);
}

body.res-p1-page .datepicker__month-day--first-day-selected {
  border-radius: 9px 0 0 9px;
}

body.res-p1-page .datepicker__month-day--last-day-selected {
  border-radius: 0 9px 9px 0;
}

body.res-p1-page .datepicker__month-day--first-day-selected.datepicker__month-day--last-day-selected {
  border-radius: 9px;
}

body.res-p1-page .datepicker__month-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--p1-cream);
  border: 1px solid var(--p1-line-soft);
  border-radius: 9px;
  color: var(--p1-ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: var(--p1-transition);
}

body.res-p1-page .datepicker__month-button:hover {
  background: var(--p1-primary);
  border-color: var(--p1-primary);
  color: #fff;
}

/* Solo mostramos las flechas exteriores (prev del mes 1 / next del mes 2) */
body.res-p1-page .datepicker__month--month1 .datepicker__month-button--next,
body.res-p1-page .datepicker__month--month2 .datepicker__month-button--prev {
  visibility: hidden;
  pointer-events: none;
}

body.res-p1-page .datepicker__month-button--disabled {
  opacity: 0.35;
  cursor: default;
}

body.res-p1-page .datepicker__month-button--disabled:hover {
  background: var(--p1-cream);
  border-color: var(--p1-line-soft);
  color: var(--p1-ink-soft);
}

body.res-p1-page .datepicker__tooltip {
  padding: 6px 12px;
  background: var(--p1-ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  z-index: 10000;
  box-shadow: var(--p1-shadow-md);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  body.res-p1-page .res-p1-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.res-p1-page {
    --p1-nav-h: 66px;
  }

  body.res-p1-page .res-nav__inner {
    padding: 0 1.25rem;
  }

  body.res-p1-page .res-nav__logo-img {
    height: 36px;
  }

  body.res-p1-page .res-hero {
    min-height: 360px;
    padding: 3rem 1.25rem 5.5rem;
    background-position: center 30%;
  }

  body.res-p1-page .res-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(251, 247, 241, 0.96) 0%,
      rgba(251, 247, 241, 0.9) 45%,
      rgba(251, 247, 241, 0.72) 100%
    );
  }

  body.res-p1-page .res-hero__title {
    font-size: clamp(1.95rem, 8vw, 2.5rem);
  }

  body.res-p1-page .res-main {
    padding: 0 1.1rem 3.5rem;
  }

  body.res-p1-page .res-main__wrap {
    margin-top: -3rem;
  }

  body.res-p1-page .res-card {
    border-radius: 20px;
  }

  body.res-p1-page .res-card__body {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  body.res-p1-page .res-p1-head {
    text-align: left;
  }

  body.res-p1-page .res-p1-head__subtitle {
    margin: 0;
  }

  body.res-p1-page .res-p1-trust {
    justify-content: flex-start;
    gap: 0.5rem 1rem;
  }

  body.res-p1-page .res-footer {
    padding: 2.5rem 1.25rem 2rem;
  }

  body.res-p1-page .res-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  body.res-p1-page .datepicker {
    width: calc(100vw - 1.5rem) !important;
    max-width: 400px !important;
  }

  body.res-p1-page .datepicker__inner {
    padding: 1.15rem 1rem 1.25rem;
  }

  body.res-p1-page .datepicker__months {
    gap: 0;
  }

  body.res-p1-page .datepicker__months::before {
    display: none;
  }

  body.res-p1-page .datepicker__month--month2 {
    display: none;
  }

  body.res-p1-page .datepicker__month-day {
    padding: 0.55rem 0.2rem;
    font-size: 0.76rem;
  }

  body.res-p1-page .datepicker__topbar {
    gap: 0.15rem 0.65rem;
  }

  body.res-p1-page .datepicker__month--month1 .datepicker__month-button--next {
    visibility: visible;
    pointer-events: auto;
  }

  body.res-p1-page .datepicker__close-button {
    padding: 0.45rem 0.9rem;
  }
}

@media (max-width: 480px) {
  body.res-p1-page .res-nav__inner {
    gap: 0.4rem;
    padding: 0 1rem;
  }

  body.res-p1-page .res-stepper {
    gap: 0.1rem;
  }

  body.res-p1-page .res-step {
    padding: 0.38rem 0.55rem;
  }

  body.res-p1-page .res-p1-guest-row {
    gap: 0.6rem;
  }

  body.res-p1-page .res-p1-date-pair,
  body.res-p1-page .res-p1-guest-item {
    min-height: 60px;
    padding: 0.55rem 0.7rem;
  }

  body.res-p1-page .res-p1-trust {
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  body.res-p1-page .res-nav__inner {
    gap: 0.3rem;
    padding: 0 0.75rem;
  }

  body.res-p1-page .res-nav__logo-img {
    height: 30px;
  }

  body.res-p1-page .res-step {
    padding: 0.35rem 0.4rem;
  }

  body.res-p1-page .res-step__num {
    width: 24px;
    height: 24px;
  }

  body.res-p1-page .res-nav__exit {
    padding: 0.35rem 0.6rem;
  }
}
