:root {
  --navy: #17345a;
  --navy-soft: #23436e;
  --orange: #ff5414;
  --orange-deep: #e6460c;
  --orange-ink: #d8430c;
  --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; }

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  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;
}

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

.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: relative;
  margin-bottom: 1.15rem;
}

.slide { display: none; }
.slide.activa { display: block; }

.slide img {
  display: block;
  width: 100%;
  height: auto;
}

.slider-btn {
  position: absolute;
  top: 50%;
  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);
}

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

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 0.55rem;
}

.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.15rem 0.4rem 1rem; }

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

.icono-navy,
.icono-suave {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.icono-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 16px rgba(23, 52, 90, 0.16);
}

.icono-suave {
  width: 78px;
  height: 78px;
  background: var(--peach-icon);
  color: var(--navy);
}

.icono-navy i,
.icono-suave i { font-size: 1.15rem; }
.icono-suave i { font-size: 1.55rem; }

.info-label {
  margin: 0;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.info-valor,
.campo,
.incluye-item p,
.nota,
.cierre {
  font-family: "Outfit", sans-serif;
}

.info-valor {
  margin: 0.2rem 0.35rem 0;
  color: var(--orange-ink);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}

.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: var(--orange-ink);
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
}

.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.7rem 0 0.3rem; }

.titulo-seccion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.chispa {
  width: 26px;
  height: 10px;
  background: linear-gradient(var(--orange), var(--orange)) center / 100% 1.5px no-repeat;
}

.incluye-item p {
  margin: 0 auto;
  max-width: 9rem;
  color: var(--navy-soft);
  font-weight: 650;
  line-height: 1.25;
}

.precio-card {
  margin-top: 1.2rem;
  background: linear-gradient(180deg, #fff7f2 0%, var(--peach) 100%);
  padding: 1.45rem 1rem 1.3rem;
}

.etiqueta {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
}

.monto {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.trazo {
  display: block;
  width: min(190px, 68%);
  height: 14px;
  margin-top: 0.2rem;
}

.pastilla {
  display: inline-block;
  margin-top: 0.45rem;
  background: linear-gradient(180deg, #ff7a3a, #ff4d0d);
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1;
  border-radius: 14px;
  padding: 0.38rem 0.8rem 0.46rem;
  box-shadow: 0 10px 18px rgba(255, 77, 13, 0.22);
}

.nota {
  margin: 0.55rem auto 0;
  max-width: 230px;
  color: var(--muted);
  line-height: 1.3;
}

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

.btn-reserva {
  display: block;
  width: 100%;
  margin-top: 1rem;
  border: 0;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #ff7b3c, #ff4c0c);
  box-shadow: 0 14px 26px rgba(255, 76, 12, 0.28);
  padding: 0.9rem 1.2rem 1rem;
  line-height: 1.15;
}

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

.btn-reserva strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(1rem, 2.4vw, 1.28rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-reserva small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.cierre {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 0.8rem 0 0;
  color: #8b939c;
  font-size: 0.92rem;
}

.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: linear-gradient(180deg, #ff7a3a, #ff4d0d); }

.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: 700;
  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: 1rem;
  font-weight: 800;
}

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

.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: 700; }

.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.9rem;
  font-weight: 800;
  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: 700;
}

.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) {
  .logo-img { height: 62px; }
  .icono-suave { width: 68px; height: 68px; }
  .barra-edicion { align-items: flex-start; flex-direction: column; }
  body.editando { padding-top: 118px; }
}
