/* =============================================================
   TALIKA — Carga de promos (mismo sistema visual que la landing)
   1. Tokens
   ============================================================= */
:root {
  --bg: #f4f2fb;
  --glass: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.65);
  --ink: #241f2e;
  --ink-soft: #574f66;
  --ink-mute: #837b93;
  --accent: #5b4fbf;
  --accent-deep: #4a3fa6;
  --accent-2: #7066d4;
  --accent-2-deep: #5b4fbf;
  --ok: #1f9d61;
  --warn: #b4541f;
  --line: rgba(36, 31, 46, 0.1);
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --radius: 24px;
  --radius-sm: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 20px 60px -20px rgba(76, 60, 110, 0.22);
  --shadow-lift: 0 36px 80px -24px rgba(76, 60, 110, 0.32);
  --gutter: clamp(1.2rem, 4vw, 4rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; }
::selection { background: var(--accent-2); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--ink); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Mesh de fondo
   ============================================================= */
.page-mesh {
  position: fixed; inset: -20%;
  z-index: -1;
  background:
    radial-gradient(at 18% 22%, rgba(255, 214, 165, 0.85) 0%, transparent 52%),
    radial-gradient(at 82% 12%, rgba(189, 178, 255, 0.75) 0%, transparent 50%),
    radial-gradient(at 70% 88%, rgba(255, 173, 173, 0.6) 0%, transparent 52%);
  filter: blur(70px) saturate(140%);
  animation: meshDrift 32s ease-in-out infinite;
  pointer-events: none;
}
@keyframes meshDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(2%, -3%, 0) scale(1.08); }
  66%      { transform: translate3d(-2%, 2%, 0) scale(1.04); }
}

/* =============================================================
   4. Tipos y componentes compartidos
   ============================================================= */
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2-deep);
}
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(240, 90, 56, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(240, 90, 56, 0.6); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  box-shadow: 0 6px 20px -10px rgba(76, 60, 110, 0.25);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.8); }

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
@supports (backdrop-filter: blur(20px)) {
  .glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
  }
}

.trust-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.trust-chips li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* =============================================================
   5. Nav (idéntica a la landing)
   ============================================================= */
.nav-glass {
  position: fixed;
  top: 1rem; left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 2rem));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.9rem 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px -16px rgba(76, 60, 110, 0.3);
  transition: box-shadow 0.4s var(--ease-out);
}
@supports (backdrop-filter: blur(18px)) {
  .nav-glass {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
  }
}
.nav-glass.is-scrolled { box-shadow: 0 16px 48px -16px rgba(76, 60, 110, 0.42); }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  color: #fff; font-size: 1rem; font-weight: 800;
}

.nav-links { display: none; gap: 1.6rem; }
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  transition: color 0.3s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: right 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.btn-nav { display: none; }
.nav-toggle { display: grid; gap: 5px; padding: 0.7rem; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 5rem; left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: min(480px, calc(100% - 2rem));
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.nav-mobile.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-mobile a { padding: 0.7rem 1rem; border-radius: 12px; font-weight: 500; }
.nav-mobile a:not(.btn):hover { background: rgba(124, 108, 244, 0.08); }
.nav-mobile .btn { margin-top: 0.4rem; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .btn-nav { display: inline-flex; }
  .nav-toggle, .nav-mobile { display: none; }
}

/* =============================================================
   6. Layout general
   ============================================================= */
main {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(6.5rem, 12vh, 8.5rem) var(--gutter) 3rem;
}

/* Intro */
.intro { display: grid; gap: 2.5rem; align-items: start; margin-bottom: 3rem; }
.intro-copy h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0.9rem;
  max-width: 18ch;
}
.intro-copy .lead { margin-top: 1.2rem; color: var(--ink-soft); max-width: 52ch; }
.intro-metrics { display: grid; gap: 0.8rem; margin-top: 1.8rem; }
.intro-metrics article { padding: 1.1rem 1.3rem; }
.intro-metrics strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent-2-deep), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro-metrics span { font-size: 0.84rem; color: var(--ink-soft); }
@media (min-width: 540px) { .intro-metrics { grid-template-columns: repeat(3, 1fr); } }

.intro-card { overflow: hidden; max-width: 420px; width: 100%; justify-self: center; }
.intro-card-image { position: relative; }
.intro-card-image img { width: 100%; height: 210px; object-fit: cover; }
.intro-card-image span {
  position: absolute; top: 0.9rem; left: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 700;
}
.intro-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.intro-card-body strong { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 0.5rem; }
.intro-card-tags { display: flex; gap: 0.4rem; margin-top: 0.8rem; }
.intro-card-tags small {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(124, 108, 244, 0.1);
  color: var(--accent-2-deep);
  font-weight: 600;
  font-size: 0.74rem;
}
.intro-card-body p { font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.9rem; }
@media (min-width: 960px) {
  .intro { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .intro-card { justify-self: end; }
}

/* =============================================================
   7. Progreso / autosave
   ============================================================= */
.form-progress { padding: 1.4rem 1.6rem; margin-bottom: 1.2rem; }
.progress-copy strong { display: block; font-size: 1.05rem; font-weight: 700; margin-top: 0.5rem; }
.progress-copy #quality-score { color: var(--accent-deep); }
.progress-copy small { color: var(--ink-soft); font-size: 0.82rem; }
.quality-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(36, 31, 46, 0.08);
  margin-top: 0.9rem;
  overflow: hidden;
}
.quality-track span {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent) 100%);
  transition: width 0.6s var(--ease-out);
}
.autosave-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
}
.autosave-status { font-size: 0.78rem; color: var(--ink-mute); }
#discard-draft {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-2-deep);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: background 0.3s;
}
#discard-draft:hover { background: rgba(124, 108, 244, 0.1); }

/* =============================================================
   8. Step nav
   ============================================================= */
.step-nav {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.2rem 0.2rem 0.8rem;
  margin-bottom: 1.2rem;
  scrollbar-width: none;
}
.step-nav::-webkit-scrollbar { display: none; }
.step-link {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px -14px rgba(76, 60, 110, 0.3);
  text-align: left;
  transition: transform 0.3s var(--ease-out), background 0.3s, opacity 0.3s;
}
.step-link:disabled { opacity: 0.45; cursor: not-allowed; }
.step-link:not(:disabled):hover { transform: translateY(-2px); }
.step-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: rgba(36, 31, 46, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.3s, color 0.3s;
}
.step-link.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.step-link.is-active .step-icon { background: rgba(255, 255, 255, 0.18); color: #fff; }
.step-link.is-active .step-label small { color: rgba(255, 255, 255, 0.7); }
.step-link.is-complete .step-icon { background: rgba(31, 157, 97, 0.15); color: var(--ok); }
.step-label { display: grid; line-height: 1.25; }
.step-label strong { font-size: 0.88rem; font-weight: 700; }
.step-label small { font-size: 0.72rem; color: var(--ink-mute); }

/* =============================================================
   9. Secciones del formulario
   ============================================================= */
.form-section { padding: clamp(1.4rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.wizard-step.is-current { animation: stepIn 0.5s var(--ease-out); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wizard-step.is-current { animation: none; }
}

.section-title { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.section-title > span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--accent-2);
}
.section-title h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; }
.section-title p { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* Campos */
.fields { display: grid; gap: 1rem; }
.fields label, .comments-label, .booking-link { display: grid; gap: 0.4rem; }
.fields label > span:first-child,
.comments-label > span:first-child,
.booking-link > span:first-child {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
input, select, textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
input::placeholder, textarea::placeholder { color: var(--ink-mute); }
input:hover, select:hover, textarea:hover { background: rgba(255, 255, 255, 0.9); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(124, 108, 244, 0.18);
  background: #fff;
}
textarea { resize: vertical; min-height: 96px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23574f66' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}
.phone-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.phone-field:focus-within {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(124, 108, 244, 0.18);
}
.phone-field b {
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(36, 31, 46, 0.05);
}
.phone-field input { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.phone-field input:focus { box-shadow: none; background: transparent; }

@media (min-width: 720px) {
  .fields.two-columns { grid-template-columns: 1fr 1fr; }
  .fields .full { grid-column: 1 / -1; }
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.step-actions > span { font-size: 0.8rem; color: var(--ink-mute); margin-right: auto; }
.step-actions .back-step { order: -1; }
.step-actions .back-step + span { margin-right: auto; }

/* =============================================================
   10. Promos: primer, editor y tarjetas de oferta
   ============================================================= */
.promo-primer {
  display: grid;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, rgba(124, 108, 244, 0.1), rgba(255, 122, 89, 0.1));
  border: 1px solid rgba(124, 108, 244, 0.16);
  margin-bottom: 1.6rem;
}
.promo-primer h3 { font-size: 1.05rem; font-weight: 700; margin-top: 0.4rem; }
.promo-primer ul { display: grid; gap: 0.4rem; }
.promo-primer li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.promo-primer li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
@media (min-width: 960px) { .promo-primer { grid-template-columns: 1fr 1.1fr; align-items: center; } }

.promo-editor { display: grid; gap: 1.4rem; align-items: start; }
@media (min-width: 960px) { .promo-editor { grid-template-columns: 1.25fr 0.75fr; } }

#offers { display: grid; gap: 1.2rem; }
.offer-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
  padding: 1.3rem 1.4rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.offer-form.active {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(124, 108, 244, 0.14), var(--shadow-soft);
}
.offer-form.has-warning { border-color: rgba(180, 84, 31, 0.5); }
.offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.offer-header > div { display: flex; align-items: baseline; gap: 0.7rem; }
.offer-number {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent-2);
}
.offer-header h3 { font-size: 1.02rem; font-weight: 700; }
.remove-offer {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--warn);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: background 0.3s;
}
.remove-offer:hover { background: rgba(180, 84, 31, 0.1); }

.discount-warning {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(180, 84, 31, 0.1);
  border: 1px solid rgba(180, 84, 31, 0.25);
}
.discount-warning strong { font-size: 0.86rem; color: var(--warn); }
.discount-warning p { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.2rem; }

.context-fields {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(124, 108, 244, 0.06);
  border: 1px dashed rgba(124, 108, 244, 0.3);
}
.context-title { font-size: 0.8rem; font-weight: 700; color: var(--accent-2-deep); margin-bottom: 0.8rem; }

.photo-upload {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px dashed rgba(36, 31, 46, 0.25);
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 0.3s, background 0.3s;
}
.photo-upload:hover { border-color: var(--accent-2); background: rgba(255, 255, 255, 0.85); }
.photo-upload input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0;
  cursor: pointer;
}
.photo-upload b { font-size: 0.9rem; font-weight: 700; color: var(--accent-2-deep); }
.photo-upload small { font-size: 0.76rem; color: var(--ink-mute); }
.photo-upload small.upload-error { color: var(--warn); font-weight: 600; }

.promo-guidance {
  margin-top: 1.3rem;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 214, 165, 0.22);
  border: 1px solid rgba(255, 122, 89, 0.2);
}
.guidance-title { font-size: 0.95rem; font-weight: 700; margin-top: 0.4rem; }
.guidance-text { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.3rem; }
.guidance-rules { display: grid; gap: 0.3rem; margin-top: 0.7rem; }
.guidance-rules li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.guidance-rules li::before { content: "•"; position: absolute; left: 0.3rem; color: var(--accent-deep); }

.add-offer {
  width: 100%;
  margin-top: 1.2rem;
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px dashed rgba(124, 108, 244, 0.45);
  background: rgba(124, 108, 244, 0.06);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-2-deep);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.add-offer:hover { background: rgba(124, 108, 244, 0.12); transform: translateY(-2px); }

/* =============================================================
   11. Vista previa cliente (sticky)
   ============================================================= */
.editor-preview { display: grid; gap: 0.6rem; align-content: start; }
@media (min-width: 960px) { .editor-preview { position: sticky; top: 100px; } }
.editor-preview h3 { font-size: 1.05rem; font-weight: 700; }
.editor-preview-hint { font-size: 0.8rem; color: var(--ink-soft); }

.sticky-market-preview article {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  margin-top: 0.4rem;
}
.sticky-preview-image { position: relative; }
.sticky-preview-image img { width: 100%; height: 150px; object-fit: cover; }
.sticky-preview-badge {
  position: absolute; top: 0.7rem; left: 0.7rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.sticky-market-preview[data-kind="2x1"] .sticky-preview-badge,
.sticky-market-preview[data-kind="membership"] .sticky-preview-badge { background: var(--accent-2); }
.sticky-preview-type {
  position: absolute; top: 0.7rem; right: 0.7rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
}
.sticky-preview-body { padding: 0.9rem 1rem 1.1rem; }
.sticky-preview-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2-deep);
}
.sticky-preview-title { font-size: 0.98rem; font-weight: 700; margin-top: 0.25rem; }
.sticky-preview-place { font-size: 0.76rem; color: var(--ink-mute); margin-top: 0.2rem; }
.sticky-preview-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}
.sticky-preview-reference { display: block; font-size: 0.72rem; color: var(--ink-mute); text-decoration: line-through; }
.sticky-preview-price { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.sticky-preview-saving { display: block; font-size: 0.72rem; color: var(--ok); font-weight: 600; }
.sticky-preview-bottom button {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  pointer-events: none;
}

.editor-tip {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(124, 108, 244, 0.08);
  border: 1px solid rgba(124, 108, 244, 0.16);
  margin-top: 0.4rem;
}
.editor-tip strong { font-size: 0.78rem; color: var(--accent-2-deep); }
.editor-tip span { font-size: 0.78rem; color: var(--ink-soft); }
.preview-quality {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
}
.preview-quality span { font-size: 0.76rem; color: var(--ink-soft); }
.preview-quality strong { font-size: 0.85rem; color: var(--accent-deep); }

/* =============================================================
   12. Reservas
   ============================================================= */
.booking-options { border: 0; padding: 0; display: grid; gap: 0.7rem; margin-bottom: 1.2rem; }
.booking-options legend { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.8rem; }
.booking-options label {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.booking-options label:hover { background: rgba(255, 255, 255, 0.85); }
.booking-options label:has(input:checked) {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(124, 108, 244, 0.14);
  background: #fff;
}
.booking-options input[type="radio"] {
  width: 18px; height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--accent-2-deep);
  flex: 0 0 auto;
  padding: 0;
}
.booking-options strong { display: block; font-size: 0.92rem; font-weight: 700; }
.booking-options strong em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ok);
  background: rgba(31, 157, 97, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.4rem;
}
.booking-options small { font-size: 0.8rem; color: var(--ink-soft); }
.booking-link { margin-bottom: 1.2rem; }

/* =============================================================
   13. Revisión y envío
   ============================================================= */
.final-review-layout { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 960px) { .final-review-layout { grid-template-columns: 1.1fr 0.9fr; gap: 2.4rem; } }

.review-grid { display: grid; gap: 0.7rem; margin-top: 1rem; }
@media (min-width: 540px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review-grid article {
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
}
.review-grid span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2-deep);
}
.review-grid strong { display: block; font-size: 0.95rem; font-weight: 700; margin-top: 0.25rem; }
.review-grid small { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.15rem; }

.publish-panel {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, rgba(124, 108, 244, 0.12), rgba(255, 122, 89, 0.12));
  border: 1px solid rgba(124, 108, 244, 0.2);
}
.publish-panel h3 { font-size: 1.15rem; font-weight: 700; margin-top: 0.5rem; }
.publish-panel > p:not(.kicker) { font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.5rem; }
.terms {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.terms input {
  width: 17px; height: 17px;
  margin-top: 0.15rem;
  accent-color: var(--accent-2-deep);
  flex: 0 0 auto;
  padding: 0;
}
.publish-actions { margin-top: 1.2rem; }
.submit-button { width: 100%; }
.privacy { font-size: 0.76rem; color: var(--ink-soft); margin-top: 0.7rem; text-align: center; }

/* =============================================================
   14. Éxito
   ============================================================= */
.success {
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 1.2rem;
}
.success-check {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 1.2rem;
  border-radius: 999px;
  background: rgba(31, 157, 97, 0.14);
  color: var(--ok);
  font-size: 1.6rem;
  font-weight: 800;
}
.success h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-top: 0.6rem; max-width: 24ch; margin-inline: auto; }
.success > p:not(.kicker) { color: var(--ink-soft); max-width: 52ch; margin: 0.9rem auto 0; }
.success-next { display: grid; gap: 0.8rem; margin: 1.8rem 0; text-align: left; }
@media (min-width: 720px) { .success-next { grid-template-columns: repeat(3, 1fr); } }
.success-next article {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
}
.success-next strong {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-size: 0.8rem;
  flex: 0 0 auto;
}
.success-next span { font-size: 0.84rem; color: var(--ink-soft); }

/* =============================================================
   15. Footer
   ============================================================= */
.footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer p { color: var(--ink-soft); font-size: 0.9rem; }
.footer-mail { font-weight: 600; color: var(--accent-2-deep); }

/* =============================================================
   16. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .page-mesh { animation: none; }
}
