/* ============================================
   DESEI — CSS COMPLETO v4
   Fiel al preview HTML aprobado
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,300..900;1,6..96,300..900&family=Inter:wght@300;400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* MOSTAZA — suavizada arena */
  --M:   #D4AF6A;
  --MD:  #A8873E;
  --MS:  #E8C96A;

  /* SALMÓN — sin cambios */
  --S:   #C4735A;
  --SD:  #A35A43;
  --SS:  #E8A48E;
  --SL:  rgba(196,115,90,.08);

  /* FONDOS OSCUROS — chocolate, no negro-tinta */
  --BG-DARK:  #3D2010;   /* fondo secciones oscuras: proceso, producto, editorial, cierre */
  --BG-DARK2: #4A2A18;   /* variante secundaria */

  /* TEXTO — marrón chocolate oscuro (antes era --INK) */
  --INK:  #3D2010;        /* texto principal sobre fondos claros */
  --INK2: #3D2010;        /* mismo valor — evita confusión */
  --MID:  #7A4D2E;        /* texto secundario sobre fondos claros */

  /* CREMAS — más luminosas */
  --CR:  #FFFDF7;         /* fondo principal (antes #FDFAF4) */
  --PA:  #F5EDD8;
  --PAW: #F4EBD9;

  --d:   'Bodoni Moda', Georgia, serif;
  --b:   'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

.desei-page {
  font-family: var(--b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--INK);
  background: var(--CR);
  overflow-x: hidden;
}

/* ── REVEAL ANIMATIONS ── */
.r {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.r.v  { opacity: 1; transform: none; }
.r.d1 { transition-delay: .12s; }
.r.d2 { transition-delay: .24s; }
.r.d3 { transition-delay: .38s; }
.r.d4 { transition-delay: .52s; }
.rfade     { opacity: 0; transition: opacity 1s ease; }
.rfade.v   { opacity: 1; }

/* ── NAV ── */
.desei-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.25rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, padding .4s;
}
.desei-nav.scrolled {
  background: rgba(61,32,16,.96);
  backdrop-filter: blur(8px);
  padding: .9rem 2.5rem;
}
.desei-nav.light .nav-logo { color: var(--INK); }
.nav-logo {
  font-family: var(--d);
  font-size: 1.5rem; font-weight: 300; letter-spacing: .08em;
  color: var(--INK);
  text-decoration: none;
  transition: color .3s;
}
.nav-cta {
  font-family: var(--b);
  font-size: .65rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: var(--M);
  border: 1px solid rgba(201,153,30,.4); border-radius: 1px;
  padding: .55rem 1.4rem; cursor: pointer;
  transition: background .2s, border-color .2s;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: rgba(201,153,30,.1); border-color: var(--M); }

/* ── BOTONES ── */
.btn-pri {
  font-family: var(--b);
  font-size: .65rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--S); color: var(--CR);
  border: none; border-radius: 1px;
  padding: .9rem 2.2rem; cursor: pointer;
  min-height: 48px; display: inline-flex; align-items: center;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-pri:hover {
  background: var(--SD);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,115,90,.35);
  color: var(--CR);
}
.btn-sec {
  font-family: var(--b);
  font-size: .65rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: var(--S);
  border: 1px solid var(--S); border-radius: 1px;
  padding: .9rem 2.2rem; cursor: pointer;
  min-height: 48px; display: inline-flex; align-items: center;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.btn-sec:hover { background: var(--S); color: var(--CR); transform: translateY(-2px); }
.btn-ghost {
  font-family: var(--b);
  font-size: .65rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(253,250,244,.4);
  border: none; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none;
  transition: color .2s;
}
.btn-ghost::after { content: '→'; }
.btn-ghost:hover { color: var(--CR); }

/* ── TAG / EYEBROW ── */
.tag {
  font-size: .62rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--S);
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 2rem;
}
.tag::before { content: ''; width: 28px; height: 1px; background: var(--S); }
.tag-c { justify-content: center; }
.tag-c::after { content: ''; width: 28px; height: 1px; background: var(--S); }

/* ── SECCIONES BASE ── */
.sec { padding: 8rem 2rem; }
@media (max-width: 700px) { .sec { padding: 5rem 1.5rem; } }
.sec-inner    { max-width: 1200px; margin: 0 auto; }
.sec-narrow   { max-width: 640px;  margin: 0 auto; }
.sec-mid      { max-width: 800px;  margin: 0 auto; }

/* ══════════════════════════════════════
   S1 — HERO
══════════════════════════════════════ */
.s-hero {
  min-height: 100vh;
  background: var(--CR);
  display: grid;
  position: relative;
  overflow: hidden;
}
.hero-bg-letter {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--d);
  font-size: 52vw; font-weight: 700; font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(61,32,16,.05);
  pointer-events: none; user-select: none; line-height: .8;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 480px;
  min-height: 100vh;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
}
.hero-left {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem 3rem 5rem 5rem;
}
@media (max-width: 900px) { .hero-left { padding: 7rem 2rem 3rem; } }

.hero-tag {
  font-size: .62rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--S);
  margin-bottom: 2.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.hero-tag::before { content: ''; width: 28px; height: 1px; background: var(--S); }

.hero-h1 {
  font-family: var(--d);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 300; font-style: italic;
  line-height: .95; letter-spacing: -.03em;
  color: var(--INK);
  margin-bottom: 2.5rem;
}
.hero-h1 strong {
  font-weight: 900; font-style: normal;
  color: var(--S);
  display: block;
}
.hero-sub {
  font-size: 1rem; font-weight: 300; line-height: 1.7;
  color: rgba(61,32,16,.5);
  max-width: 380px;
  margin-bottom: 3.5rem;
}
.hero-actions {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.hero-note {
  margin-top: 2.5rem;
  font-size: .62rem; letter-spacing: .08em;
  color: rgba(61,32,16,.3); text-transform: uppercase;
}
.hero-right {
  background: #3D2010;
  border-left: 1px solid rgba(196,115,90,.08);
  position: relative; overflow: hidden;
}
@media (max-width: 900px) {
  .hero-right { min-height: 340px; border-left: none; border-top: 1px solid rgba(196,115,90,.08); }
}
.hero-img { position: absolute; inset: 0; }
.hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .28; filter: sepia(.4);
}
.hero-scroll {
  position: absolute; bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 3;
  animation: desei-bounce 2s ease-in-out infinite;
}
@keyframes desei-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(196,115,90,.5), transparent);
}
.hero-scroll-txt {
  font-size: .52rem; letter-spacing: .2em;
  color: rgba(196,115,90,.4); text-transform: uppercase;
}

/* ══════════════════════════════════════
   S2 — DECLARACIÓN
══════════════════════════════════════ */
.s-decl { background: var(--CR); position: relative; }
.decl-num {
  font-family: var(--d); font-size: .75rem; font-weight: 400;
  color: var(--S); letter-spacing: .2em;
  position: absolute; top: 4rem; left: 5rem;
  writing-mode: vertical-rl;
}
@media (max-width: 700px) { .decl-num { display: none; } }
.decl-h2 {
  font-family: var(--d);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 300; font-style: italic;
  line-height: 1.05; letter-spacing: -.025em;
  color: var(--INK);
  margin-bottom: 4rem;
}
.decl-h2 em { color: var(--S); font-style: italic; }
.decl-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 700px) { .decl-body { grid-template-columns: 1fr; } }
.decl-p { font-size: 1.05rem; line-height: 1.8; color: var(--MID); font-weight: 300; }
.decl-divider { width: 1px; height: 80px; background: var(--S); margin: 4rem 0 0; opacity: .35; }

/* ══════════════════════════════════════
   S3 — PROCESO
══════════════════════════════════════ */
.s-proc { background: var(--BG-DARK); padding: 8rem 5rem; position: relative; overflow: hidden; }
@media (max-width: 700px) { .s-proc { padding: 6rem 2rem; } }
.proc-bg {
  position: absolute; right: -5%; top: -10%;
  font-family: var(--d); font-size: 28rem;
  font-weight: 700; font-style: italic;
  color: transparent; -webkit-text-stroke: 1px rgba(201,153,30,.04);
  pointer-events: none; line-height: 1; user-select: none;
}
.proc-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 6rem; position: relative; z-index: 1;
}
@media (max-width: 700px) { .proc-header { flex-direction: column; gap: 2rem; } }
.proc-h2 {
  font-family: var(--d);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300; font-style: italic;
  line-height: .95; letter-spacing: -.03em;
  color: var(--CR); max-width: 500px;
}
.proc-steps {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  border-top: 1px solid rgba(196,115,90,.12);
  position: relative; z-index: 1;
}
@media (max-width: 700px) { .proc-steps { grid-template-columns: 1fr; } }
.proc-step {
  padding: 3.5rem 2.5rem 3.5rem 0;
  border-right: 1px solid rgba(196,115,90,.08);
  transition: background .3s;
}
.proc-step:last-child { border-right: none; padding-right: 0; }
.proc-step + .proc-step { padding-left: 2.5rem; }
.proc-step:hover { background: rgba(196,115,90,.04); }
@media (max-width: 700px) {
  .proc-step { border-right: none; border-bottom: 1px solid rgba(196,115,90,.08); padding: 2.5rem 0; }
  .proc-step + .proc-step { padding-left: 0; }
}
.proc-n {
  font-family: var(--d); font-size: 5rem;
  font-weight: 300; font-style: italic;
  color: rgba(196,115,90,.18); line-height: 1;
  margin-bottom: 1.5rem;
  transition: color .3s;
}
.proc-step:hover .proc-n { color: var(--S); }
.proc-t { font-family: var(--d); font-size: 1.6rem; font-weight: 300; color: var(--CR); margin-bottom: 1rem; letter-spacing: -.01em; }
.proc-b { font-size: .9rem; line-height: 1.75; color: rgba(253,250,244,.38); font-weight: 300; }

/* ══════════════════════════════════════
   S4 — BILLBOARD
══════════════════════════════════════ */
.s-billboard { background: var(--M); padding: 6rem 2rem; overflow: hidden; }
.billboard-inner { max-width: 1200px; margin: 0 auto; }
.billboard-quote {
  font-family: var(--d);
  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 300; font-style: italic;
  line-height: .95; letter-spacing: -.04em;
  color: var(--INK);
}
.billboard-quote span { display: inline-block; border-bottom: 3px solid rgba(28,15,8,.18); }
.billboard-attr {
  font-size: .65rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(61,32,16,.45);
  margin-top: 2.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.billboard-attr::before { content: ''; width: 28px; height: 1px; background: rgba(61,32,16,.3); }

/* ══════════════════════════════════════
   S5 — MOMENTOS
══════════════════════════════════════ */
.s-mom { background: var(--CR); padding: 9rem 2rem; overflow: hidden; }
.mom-header {
  display: grid; grid-template-columns: 2fr 1fr; gap: 4rem;
  align-items: end; margin-bottom: 6rem;
}
@media (max-width: 700px) { .mom-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; } }
.mom-h2 {
  font-family: var(--d);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 300; font-style: italic;
  line-height: .95; letter-spacing: -.03em;
  color: var(--INK);
}
.mom-sub { font-size: .9rem; line-height: 1.8; color: var(--MID); font-weight: 300; }
.mom-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem;
}
@media (max-width: 700px) { .mom-grid { grid-template-columns: 1fr; } }
.mc {
  background: var(--PAW); padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), background .3s, box-shadow .3s;
  cursor: default;
}
.mc:hover { transform: translateY(-4px); background: var(--PA); box-shadow: 0 16px 40px rgba(196,115,90,.08); }
.mc-1 { grid-column: 1/8; }
.mc-2 { grid-column: 8/13; }
.mc-3 { grid-column: 1/6; }
.mc-4 { grid-column: 6/13; }
@media (max-width: 700px) { .mc-1, .mc-2, .mc-3, .mc-4 { grid-column: 1; } }
.mc-roman {
  font-family: var(--d); font-size: 5rem; font-weight: 300; font-style: italic;
  color: rgba(196,115,90,.15); line-height: 1;
  position: absolute; top: .5rem; right: 1rem;
  pointer-events: none;
  transition: color .3s;
}
.mc:hover .mc-roman { color: rgba(196,115,90,.35); }
.mc-tag { font-size: .58rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--S); margin-bottom: 1.25rem; }
.mc-title { font-family: var(--d); font-size: 1.4rem; font-weight: 300; line-height: 1.2; color: var(--INK); margin-bottom: 1rem; }
.mc-body { font-size: .85rem; line-height: 1.75; color: var(--MID); font-weight: 300; }
.mc-border-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--S);
  transform: scaleX(0); transition: transform .4s cubic-bezier(.22,1,.36,1);
  transform-origin: left;
}
.mc:hover .mc-border-bottom { transform: scaleX(1); }

/* ══════════════════════════════════════
   S6 — PRODUCTO
══════════════════════════════════════ */
.s-prod {
  background: var(--BG-DARK);
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
@media (max-width: 700px) { .s-prod { grid-template-columns: 1fr; } }
.prod-img { background: var(--BG-DARK); position: relative; overflow: hidden; min-height: 500px; }
.prod-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .65; filter: sepia(.3);
  transition: opacity .5s, transform .8s cubic-bezier(.22,1,.36,1);
}
.prod-img:hover img { opacity: .8; transform: scale(1.03); }
.prod-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--INK2));
}
.prod-content { padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 700px) { .prod-content { padding: 3rem 2rem; } }
.prod-h2 {
  font-family: var(--d);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; font-style: italic;
  line-height: 1.1; letter-spacing: -.02em;
  color: var(--CR); margin-bottom: 3.5rem;
}
.spec {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(196,115,90,.1);
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  align-items: start;
  transition: border-color .3s;
}
.spec:last-of-type { border-bottom: 1px solid rgba(196,115,90,.1); }
.spec:hover { border-color: rgba(196,115,90,.35); }
.spec-dot { width: 5px; height: 5px; background: var(--S); border-radius: 50%; margin-top: .55rem; flex-shrink: 0; }
.spec-t { font-family: var(--d); font-size: 1.1rem; font-weight: 400; color: var(--CR); margin-bottom: .3rem; }
.spec-b { font-size: .82rem; line-height: 1.7; color: rgba(253,250,244,.38); font-weight: 300; }

/* ══════════════════════════════════════
   S7 — EDITORIAL
══════════════════════════════════════ */
.s-edit { background: var(--BG-DARK); padding: 10rem 2rem; position: relative; overflow: hidden; }
.edit-glyph {
  position: absolute; left: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--d); font-size: 50vw; font-weight: 700; font-style: italic;
  color: transparent; -webkit-text-stroke: 1px rgba(201,153,30,.03);
  pointer-events: none; user-select: none; line-height: 1;
}
.edit-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.edit-lines { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 3rem; }
.edit-line-big {
  font-family: var(--d);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 300; font-style: italic;
  line-height: 1.1; letter-spacing: -.025em;
  color: var(--CR);
}
.edit-line-sm { font-size: 1rem; line-height: 1.8; color: rgba(253,250,244,.4); font-weight: 300; }
.edit-line-em {
  font-family: var(--d);
  font-size: 1.35rem; font-style: italic; font-weight: 300;
  color: var(--S); line-height: 1.3;
}

/* ══════════════════════════════════════
   S8 — FAQs
══════════════════════════════════════ */
.s-faq { background: var(--CR); padding: 9rem 2rem; }
.faq-h2 {
  font-family: var(--d);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; font-style: italic;
  line-height: 1.1; letter-spacing: -.025em;
  color: var(--INK); margin-bottom: 5rem;
}
.faq-item { border-top: 1px solid rgba(28,15,8,.1); }
.faq-item:last-child { border-bottom: 1px solid rgba(28,15,8,.1); }
.faq-q {
  font-family: var(--d);
  font-size: 1.15rem; font-weight: 300;
  color: var(--INK);
  padding: 1.6rem 3rem 1.6rem 0;
  cursor: pointer; position: relative;
  line-height: 1.3; letter-spacing: -.01em;
  user-select: none;
  transition: color .2s;
}
.faq-q:hover { color: var(--S); }
.faq-q::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--d); font-size: 1.3rem; font-weight: 300;
  color: var(--S); transition: transform .35s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.22,1,.36,1); }
.faq-ai { font-size: .92rem; line-height: 1.8; color: var(--MID); font-weight: 300; padding-bottom: 1.75rem; }
.faq-item.open .faq-a { max-height: 300px; }

/* ══════════════════════════════════════
   S9 — CIERRE
══════════════════════════════════════ */
.s-close {
  background: var(--BG-DARK);
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 8rem 2rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.close-bg-d {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--d); font-size: 90vw;
  font-weight: 700; font-style: italic;
  color: transparent; -webkit-text-stroke: 1px rgba(212,175,106,.08);
  pointer-events: none; user-select: none;
  white-space: nowrap; line-height: 1;
}
.close-inner { position: relative; z-index: 1; }
.close-pre {
  font-size: .62rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--S); margin-bottom: 3rem;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
}
.close-pre::before, .close-pre::after { content: ''; width: 28px; height: 1px; background: var(--S); }
.close-h2 {
  font-family: var(--d);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 300; font-style: italic;
  color: var(--CR); line-height: .9; letter-spacing: -.04em;
  margin-bottom: .5rem;
}
.close-h2 em { color: var(--S); display: block; }
.close-sub { font-size: 1rem; line-height: 1.7; color: rgba(253,250,244,.38); font-weight: 300; max-width: 420px; margin: 3rem auto 4rem; }
.close-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.close-note { font-size: .6rem; letter-spacing: .12em; color: rgba(196,115,90,.28); text-transform: uppercase; margin-top: 2rem; }

/* ── FOOTER ── */
.desei-footer {
  background: var(--BG-DARK);
  border-top: 1px solid rgba(196,115,90,.07);
  padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
}
.ft-logo { font-family: var(--d); font-size: 1.1rem; font-weight: 300; color: rgba(196,115,90,.4); letter-spacing: .08em; }
.ft-links { display: flex; gap: 2rem; }
.ft-links a { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(253,250,244,.18); text-decoration: none; transition: color .2s; }
.ft-links a:hover { color: var(--S); }

/* ── Ocultar elementos Astra en esta página ── */
.desei-page ~ .ast-footer-area,
body.desei-template .site-header,
body.desei-template #masthead,
body.desei-template .ast-above-header,
body.desei-template .ast-main-header-wrap { display: none !important; }
