@font-face {
  font-family: "Barlow Condensed Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/BarlowCondensed-Regular.woff") format("woff");
}

@font-face {
  font-family: "Barlow Condensed Medium";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/BarlowCondensed-Medium.woff") format("woff");
}

@font-face {
  font-family: "Barlow Condensed SemiBold";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/BarlowCondensed-SemiBold.woff") format("woff");
}

@font-face {
  font-family: "Barlow Condensed ExtraBold";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/BarlowCondensed-ExtraBold.woff") format("woff");
}

:root {
  --navy: #053165;
  --navy-soft: #0d2c52;
  --orange: #f15121;
  --orange-deep: #e6460c;
  --orange-ink: #f0601e;
  --cream: #fff7f3;
  --peach: #fff1e8;
  --peach-icon: #fde7dc;
  --line: #f0e2d8;
  --muted: #6d7680;
  --ink: #243041;
  --shadow: 0 14px 36px rgba(23, 52, 90, 0.08);
}

* { box-sizing: border-box; }

button,
input,
textarea {
  font-family: inherit;
}

body {
  margin: 0;
  font-family: "Barlow Condensed Medium", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(880px 380px at 100% -40px, rgba(255, 84, 20, 0.08), transparent 60%),
    var(--cream);
}

body.editando { padding-top: 74px; }

.poster {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.4rem 1rem 2.4rem;
}

.portada {
  position: relative;
  aspect-ratio: 709 / 360;
  margin: 0 0 1.35rem;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #efe6df;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0.15rem 0 0.85rem;
}

.logo-img {
  height: 78px;
  width: auto;
  max-width: min(280px, 70vw);
  object-fit: contain;
}

.cambiar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
}

.slide.activa { display: block; }

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(23, 52, 90, 0.16);
  display: grid;
  place-items: center;
}

.slider-btn svg { width: 18px; height: 18px; }

.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #f0c3b0;
  padding: 0;
}

.slider-dots button.activa { background: var(--orange); }

.panel-slides {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: -0.3rem 0 1rem;
}

.miniatura {
  position: relative;
  width: 92px;
}

.miniatura img {
  width: 92px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.quitar-slide,
.quitar {
  border: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  width: 22px;
  height: 22px;
  line-height: 1;
  padding: 0;
}

.quitar-slide {
  position: absolute;
  top: -6px;
  right: -6px;
}

.info-card,
.precio-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.info-card { padding: 1.05rem 0.35rem 0.85rem; }

.info-item,
.incluye-item { text-align: center; padding: 0.45rem 0.4rem 0.55rem; }

.icono-navy,
.icono-suave {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.icono-navy img,
.icono-suave img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.icono-suave {
  width: 86px;
  height: 86px;
  margin-bottom: 0.35rem;
}

.subir-icono {
  display: block;
  margin: -0.15rem auto 0.35rem;
  max-width: 132px;
  color: var(--orange-deep);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.subir-icono .archivo {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 500;
}

.info-card p.info-label {
  margin: 0;
  color: #f25c2f;
  font-family: "Barlow Condensed SemiBold", sans-serif;
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
}

.campo,
.incluye-item p,
.nota,
.cierre {
  font-family: "Barlow Condensed Medium", sans-serif;
  font-weight: 400;
}

.info-valor {
  margin: 0.28rem 0.2rem 0;
  color: #12325a;
  font-family: "Barlow Condensed SemiBold", sans-serif;
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.15;
}

.subrayado {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-position: center 92%;
  background-size: 100% 3px;
  padding-bottom: 0.15rem;
}

.enlace {
  color: #f25c2f;
  font-family: "Barlow Condensed Medium", sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.enlace:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .info-item:not(:last-child) { box-shadow: inset -1px 0 0 var(--line); }
}

@media (max-width: 767.98px) {
  .info-item:nth-child(odd) { box-shadow: inset -1px 0 0 var(--line); }
  .info-item:nth-child(-n + 2) { box-shadow: inset 0 -1px 0 var(--line); }
  .info-item:nth-child(1) { box-shadow: inset -1px -1px 0 var(--line); }
}

.incluye { padding: 1.35rem 0 0.2rem; }

.titulo-seccion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-family: "Barlow Condensed ExtraBold", sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}

.chispa {
  width: 18px;
  height: 8px;
  background: linear-gradient(#f15121, #f15121) center / 100% 2px no-repeat;
}

.incluye-item p {
  margin: 0.15rem auto 0;
  max-width: 8.2rem;
  color: var(--navy);
  font-family: "Barlow Condensed Medium", sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.12;
}

.precio-card {
  margin-top: 1.15rem;
  background: #feefe8;
  padding: 1.35rem 1.1rem 1.15rem;
}

.etiqueta {
  margin: 0;
  color: var(--navy);
  font-family: "Barlow Condensed ExtraBold", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 1.28rem;
  line-height: 1;
}

.monto {
  margin: 0.12rem 0 0;
  color: var(--navy);
  font-family: "Barlow Condensed ExtraBold", sans-serif;
  font-weight: 400;
  font-size: clamp(2.55rem, 5.4vw, 3.15rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.trazo {
  display: block;
  width: min(190px, 68%);
  height: 14px;
  margin: 0.15rem auto 0;
}

body.editando .btn-reserva { display: block; }

.pastilla {
  display: inline-block;
  margin-top: 0.55rem;
  background: #f15121;
  color: #fff;
  font-family: "Barlow Condensed ExtraBold", sans-serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.2rem);
  line-height: 1;
  border-radius: 12px;
  padding: 0.32rem 0.72rem 0.4rem;
}

.nota {
  margin: 0.45rem auto 0;
  max-width: 190px;
  color: var(--navy);
  font-size: 0.98rem;
  font-family: "Barlow Condensed Medium", sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

.flecha {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 72px;
  transform: translate(-58%, -50%);
}

.btn-reserva {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  width: 100%;
  min-height: 92px;
  margin-top: 0.9rem;
  border: 0;
  border-radius: 999px;
  text-align: left;
  text-decoration: none;
  color: #fff;
  background: #f25c2f;
  box-shadow: none;
  padding: 0.7rem 1.4rem;
  line-height: 1;
  font-family: "Barlow Condensed Medium", sans-serif;
  font-weight: 400;
}

.btn-reserva:hover { color: #fff; filter: brightness(1.03); }

.ico-wa {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  display: block;
}

.btn-reserva span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-reserva strong {
  display: block;
  font-family: "Barlow Condensed ExtraBold", sans-serif;
  font-size: clamp(1.45rem, 2.15vw + 0.55rem, 1.72rem);
  font-weight: 400;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  line-height: 0.95;
  white-space: nowrap;
}

.btn-reserva small {
  display: block;
  margin-top: 0.12rem;
  font-family: "Barlow Condensed Medium", sans-serif;
  font-size: clamp(1.02rem, 1.1vw + 0.55rem, 1.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.cierre {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 0.8rem 0 0;
  color: #8b939c;
  font-family: "Barlow Condensed Regular", sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

.campo,
.campo-area,
.archivo {
  width: 100%;
  border: 1px dashed rgba(255, 84, 20, 0.75);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: inherit;
  padding: 0.28rem 0.4rem;
}

.campo-area { min-height: 74px; resize: vertical; }

.campo.monto,
.campo.pastilla {
  width: auto;
  display: inline-block;
}

.campo.pastilla { color: #fff; background: #f15121; }

.archivo {
  width: auto;
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
  background: #fff;
}

.btn-texto,
.btn-agregar {
  border: 0;
  background: transparent;
  color: var(--orange-deep);
  font-weight: 600;
  padding: 0;
}

.btn-agregar {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.4rem 0 0.2rem;
}

.opciones {
  margin-top: 1.2rem;
  background: #fff;
  border-radius: 22px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.opciones h2 {
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 600;
}

.opciones label {
  display: block;
  margin: 0.7rem 0 0.25rem;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
}

.barra-edicion {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: #fff;
}

.barra-edicion p { margin: 0; font-weight: 600; font-size: 1.15rem; }

.barra-acciones { display: flex; gap: 0.45rem; flex-wrap: wrap; }

.btn-guardar,
.btn-salir,
.btn-entrar {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-guardar,
.btn-entrar { background: var(--orange); color: #fff; }
.btn-salir { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }

.btn-editar {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 52, 90, 0.28);
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.aviso {
  margin: 0 0 0.8rem;
  background: #e8f7ee;
  color: #146c36;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  font-weight: 600;
}

.aviso.error { background: #ffece7; color: #a32000; }

.modal-fondo {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(23, 52, 90, 0.46);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-clave {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 1.3rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.modal-clave h2 { margin: 0; color: var(--navy); font-size: 1.35rem; }
.modal-clave p { color: var(--muted); }
.modal-clave .campo { text-align: left; margin-bottom: 0.8rem; }

.incluye-item .fila-edit {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .portada { border-radius: 24px; }
  .logo-img { height: 58px; }
  .logo-wrap { margin-bottom: 0.65rem; }
  .icono-navy { width: 48px; height: 48px; }
  .icono-suave { width: 72px; height: 72px; }
  .info-label { font-size: 1.05rem; }
  .titulo-seccion { font-size: 1.2rem; }
  .btn-reserva { min-height: 74px; gap: 0.5rem; padding: 0.55rem 0.8rem; }
  .ico-wa { width: 48px; height: 48px; }
  .btn-reserva strong { font-size: 1.22rem; }
  .btn-reserva small { font-size: 0.98rem; }
  .barra-edicion { align-items: flex-start; flex-direction: column; }
  body.editando { padding-top: 118px; }
}
