/* ==========================================================
   desayunossorpresa.co — Sistema "Amanecer Editorial"
   Fraunces (display) · Newsreader (lectura) · Hanken Grotesk (UI)
   Papel hueso · tinta espresso · terracota · oro viejo
   ========================================================== */
:root {
  --paper:   #F6EEE1;   /* fondo hueso cálido */
  --paper-2: #EFE4D0;   /* arena, secciones alternas */
  --cream:   #FBF7EF;   /* tarjetas / lo más claro */
  --ink:     #2B211A;   /* espresso, texto */
  --ink-2:   #6C5D4E;   /* marrón apagado, texto secundario */
  --terra:   #B4552F;   /* terracota quemada, acento principal */
  --terra-d: #90401F;   /* terracota profunda, hover */
  --gold:    #A6803D;   /* oro viejo, filetes y versalitas */
  --gold-l:  #C9A35E;   /* oro claro sobre fondos oscuros */
  --wa:      #1F7A50;   /* verde botella (WhatsApp) */
  --wa-d:    #17603D;
  --line:    rgba(43, 33, 26, .14);
  --line-2:  rgba(43, 33, 26, .28);
  --sh-s: 0 2px 10px -6px rgba(43, 33, 26, .28);
  --sh-m: 0 22px 50px -28px rgba(43, 33, 26, .45);
  --sh-arch: 0 40px 80px -34px rgba(43, 33, 26, .5);
  --w: 1200px;
  --fd: "Fraunces", Georgia, "Times New Roman", serif;   /* display */
  --fr: "Newsreader", Georgia, serif;                     /* lectura editorial */
  --ft: "Hanken Grotesk", system-ui, sans-serif;          /* utilitaria */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  font-family: var(--ft);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 82% -8%, rgba(180,85,47,.06), transparent 60%),
    radial-gradient(900px 500px at -5% 108%, rgba(166,128,61,.08), transparent 55%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-d); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: rgba(180,85,47,.2); }

.wrap { max-width: var(--w); margin-inline: auto; padding-inline: 30px; }
.wrap-narrow { max-width: 760px; }
.section { padding-block: clamp(52px, 8vw, 104px); position: relative; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--fd); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--ink); }
.sec-title { font-family: var(--fd); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.015em; margin: 0 0 .5em; }
.sec-title-s { font-family: var(--fd); font-weight: 500; font-size: 1.45rem; margin: 1.8em 0 .5em; }
.sec-head { max-width: 660px; margin-bottom: 40px; }
.sec-sub { color: var(--ink-2); font-size: 1.05rem; margin-top: 2px; }
.lead { font-family: var(--fr); font-size: 1.2rem; line-height: 1.55; color: var(--ink); }
.prose { color: var(--ink); max-width: 68ch; }
.prose + .prose { margin-top: 1.1em; }

/* Eyebrow editorial: versalitas + filete de oro */
.eyebrow, .kicker {
  font-family: var(--ft); font-weight: 700; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .2em; color: var(--terra);
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
}
.eyebrow-rule { width: 46px; height: 1px; background: var(--gold); display: inline-block; }
.kicker { display: inline-flex; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ft); font-weight: 700; font-size: .98rem; line-height: 1.1;
  padding: 15px 28px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s, border-color .25s;
}
.btn em { font-style: italic; font-family: var(--fr); font-weight: 500; }
.btn::after { content: "→"; font-family: var(--ft); transition: transform .3s var(--ease); }
.btn-line::after, .btn-wa::after, .btn-plum::after { content: none; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-sun { background: var(--terra); color: #FCEFE2; box-shadow: var(--sh-s); }
.btn-sun:hover { background: var(--terra-d); color: #fff; box-shadow: 0 16px 34px -18px rgba(144,64,31,.7); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--terra); color: var(--terra-d); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); color: #fff; }
.btn-plum { background: var(--ink); color: var(--cream); }
.btn-plum:hover { background: #3a2c22; color: var(--gold-l); }
.btn-s { padding: 10px 18px; font-size: .9rem; }
.btn-xl { padding: 17px 30px; font-size: 1.04rem; width: 100%; }
.btn-xl small { display: block; font-weight: 400; font-size: .72rem; opacity: .85; margin-top: 2px; }

/* ---------- Barra de anuncio ---------- */
.announce { background: var(--ink); color: #E8DAC4; font-family: var(--ft); font-size: .86rem; }
.announce-in { display: flex; align-items: center; gap: 11px; padding-block: 9px; flex-wrap: wrap; }
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-l); flex: none; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.announce-cta { color: var(--gold-l); font-weight: 700; text-decoration: none; margin-left: auto; letter-spacing: .02em; }
.announce-cta:hover { color: #fff; }
#countdown-msg b { color: var(--gold-l); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246,238,225,.82); backdrop-filter: blur(12px) saturate(1.1); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 13px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-sun { width: 40px; height: 40px; flex: none; position: relative; border-radius: 999px 999px 5px 5px; background: var(--terra); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.logo-sun::after { content: ""; position: absolute; inset: 6px 6px 5px; border-radius: 999px 999px 3px 3px; border: 1.5px solid rgba(251,247,239,.7); }
.logo-txt { font-family: var(--fd); font-weight: 500; font-size: 1.16rem; line-height: 1; letter-spacing: -.01em; }
.logo-txt b { font-weight: 500; color: var(--terra-d); }
.logo-txt i { display: block; font-style: normal; font-family: var(--ft); font-size: .58rem; font-weight: 700; letter-spacing: .24em; color: var(--gold); margin-top: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 9px 14px; font-family: var(--ft); font-weight: 600; font-size: .93rem; color: var(--ink); text-decoration: none; border-radius: 3px; transition: color .18s, background .18s; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--terra-d); background: rgba(180,85,47,.08); }
.nav-live { color: var(--terra-d) !important; }
.nav-live em { font-family: var(--fr); font-style: italic; }
.nav-live.is-active, .nav-live:hover { background: var(--terra) !important; color: #FCEFE2 !important; }
.nav-cta-li { margin-left: 8px; }
.nav-toggle { display: none; }

/* ==========================================================
   HERO EDITORIAL (la firma)
   ========================================================== */
.hero { position: relative; overflow: clip; padding-bottom: 8px; }
.hero-masthead {
  display: flex; align-items: center; gap: 18px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line);
  padding-block: 11px; margin-top: 6px;
  font-family: var(--ft); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em; color: var(--ink-2);
}
.mast-c { color: var(--gold); }
.mast-r { margin-left: auto; color: var(--terra); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 76px); align-items: center; padding-block: clamp(40px, 6vw, 76px); }

.hero-title { font-family: var(--fd); font-weight: 400; font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.03em; margin: 0 0 30px; }
.ht-line { display: block; overflow: hidden; }
.ht-in { display: block; }
.hero-title em { font-style: italic; font-weight: 500; color: var(--terra); }

.hero-lead { font-family: var(--fr); font-size: clamp(1.15rem, 1.7vw, 1.42rem); line-height: 1.5; color: var(--ink); max-width: 40ch; margin: 0 0 30px; }
.hero-lead a { color: var(--terra-d); text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-credentials { display: flex; gap: 0; list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.hero-credentials li { padding: 18px 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line); }
.hero-credentials li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-credentials b { display: block; font-family: var(--fd); font-weight: 500; font-size: 1.5rem; color: var(--terra-d); line-height: 1; }
.hero-credentials span { display: block; font-family: var(--ft); font-size: .8rem; color: var(--ink-2); margin-top: 6px; max-width: 15ch; }

/* Figura con arco — el motivo firma */
.hero-figure { position: relative; margin: 0; }
.hero-arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 9999px 9999px 12px 12px;
  overflow: hidden; box-shadow: var(--sh-arch);
  border: 1px solid rgba(43,33,26,.1);
}
.hero-arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 6px rgba(251,247,239,.5); pointer-events: none; }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-live-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(43,33,26,.72); backdrop-filter: blur(4px); color: #FBF7EF;
  font-family: var(--ft); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
}
.lt-dot { width: 7px; height: 7px; border-radius: 50%; background: #E8654A; box-shadow: 0 0 0 0 rgba(232,101,74,.7); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(232,101,74,0); } 100% { box-shadow: 0 0 0 0 rgba(232,101,74,0); } }
.hero-seal {
  position: absolute; right: -22px; bottom: 54px; z-index: 3;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--gold);
  display: grid; place-content: center; text-align: center; gap: 1px;
  box-shadow: var(--sh-m); transform: rotate(-8deg);
  font-family: var(--fd);
}
.hero-seal i { font-style: normal; font-family: var(--ft); font-weight: 700; font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.hero-seal b { font-weight: 500; font-size: 1.55rem; color: var(--terra); line-height: 1; }
.hero-figure figcaption { font-family: var(--fr); font-style: italic; font-size: .92rem; color: var(--ink-2); margin-top: 16px; padding-left: 4px; }

/* Animación de entrada orquestada */
@media (prefers-reduced-motion: no-preference) {
  .ht-in { transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
  .ht-line:nth-child(1) .ht-in { animation-delay: .1s; }
  .ht-line:nth-child(2) .ht-in { animation-delay: .22s; }
  .ht-line:nth-child(3) .ht-in { animation-delay: .34s; }
  @keyframes rise { to { transform: translateY(0); } }
  .hero-lead, .hero-ctas, .hero-credentials { opacity: 0; animation: fade .8s var(--ease) forwards; }
  .hero-lead { animation-delay: .5s; } .hero-ctas { animation-delay: .62s; } .hero-credentials { animation-delay: .74s; }
  .hero-arch { clip-path: inset(0 0 100% 0); animation: unveil 1.1s var(--ease) .3s forwards; }
  @keyframes unveil { to { clip-path: inset(0 0 0 0); } }
  .hero-seal { opacity: 0; transform: rotate(-30deg) scale(.6); animation: seal .8s var(--ease) 1.1s forwards; }
  @keyframes seal { to { opacity: 1; transform: rotate(-8deg) scale(1); } }
  .hero-figure figcaption { opacity: 0; animation: fade .8s var(--ease) 1s forwards; }
  @keyframes fade { to { opacity: 1; } }
}

/* ---------- Cinta editorial (reemplaza marquee) ---------- */
.ribbon { background: var(--ink); color: #E8DAC4; }
.ribbon-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; padding-block: 15px; font-family: var(--ft); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; text-align: center; }
.ribbon-in i { color: var(--gold-l); font-style: normal; font-size: .7rem; }

/* ---------- Standfirst: resumen answer-first (AEO) ---------- */
.standfirst { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.sf-in { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: start; padding-block: 34px; }
.sf-label { font-family: var(--ft); font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin: 6px 0 0; white-space: nowrap; }
.sf-text { font-family: var(--fr); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.5; margin: 0; max-width: 82ch; }
.sf-text strong { font-weight: 500; color: var(--terra-d); }
.sf-meta { font-family: var(--ft); font-size: .78rem; color: var(--ink-2); margin: 12px 0 0; letter-spacing: .02em; }

/* ---------- Índice de categorías (enlaces reales) ---------- */
.cat-index { margin-top: 54px; border-top: 1px solid var(--line-2); padding-top: 26px; }
.cat-index-h { font-family: var(--ft); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin: 0 0 8px; }
.cat-index ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 42px; }
.cat-index li { border-bottom: 1px solid var(--line); }
.cat-index a { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 2px; text-decoration: none; color: var(--ink); font-family: var(--fd); font-size: 1.06rem; transition: color .2s, padding .25s var(--ease); }
.cat-index a:hover { color: var(--terra-d); padding-left: 8px; }
.ci-go { color: var(--gold); font-family: var(--ft); }

/* ---------- Garantías (E-E-A-T) ---------- */
.trust-grid { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.trust-grid li { background: var(--cream); padding: 28px 24px; display: grid; gap: 9px; align-content: start; }
.trust-grid b { font-family: var(--fd); font-weight: 500; font-size: 1.1rem; line-height: 1.2; color: var(--terra-d); }
.trust-grid span { font-family: var(--ft); font-size: .92rem; color: var(--ink-2); }
.trust-note { font-family: var(--ft); font-size: .88rem; color: var(--ink-2); margin-top: 18px; }

/* ---------- Configurador ---------- */
.config-card { background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--terra); padding: clamp(26px, 4vw, 46px); box-shadow: var(--sh-m); margin-top: -60px; position: relative; z-index: 5; }
.config-card .sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.config-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 18px; align-items: end; margin-top: 8px; }
.config-form label { font-family: var(--ft); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); display: grid; gap: 8px; }
.config-form select { font-family: var(--ft); font-size: 1rem; font-weight: 500; color: var(--ink); padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); }
.config-form select:focus { border-color: var(--terra); outline: none; }
.config-result { font-family: var(--fr); font-size: 1.05rem; margin: 20px 0 0; min-height: 1.4em; }
.config-result strong { font-style: italic; color: var(--terra-d); font-weight: 500; }

/* ---------- Filtros ---------- */
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.pill { font-family: var(--ft); font-weight: 600; font-size: .86rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: all .18s; }
.pill:hover { border-color: var(--terra); color: var(--terra-d); }
.pill.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- Rejilla y tarjetas ---------- */
.grid { display: grid; gap: 30px; }
.prod-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--cream); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-m); border-color: var(--line-2); }
.card.is-hidden { display: none; }
.badge { position: absolute; z-index: 2; top: 0; left: 0; background: var(--terra); color: #FCEFE2; font-family: var(--ft); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 13px; }
.badge-big { font-size: .74rem; padding: 8px 15px; }
.card-media { overflow: hidden; display: block; }
.card-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card-title { font-family: var(--fd); font-weight: 500; font-size: 1.28rem; line-height: 1.15; margin: 0; }
.card-title a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.card:hover .card-title a { background-size: 100% 1.5px; }
.card-desc { font-family: var(--ft); margin: 0; color: var(--ink-2); font-size: .95rem; flex: 1; }
.card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-family: var(--fd); font-weight: 500; font-size: 1.4rem; margin: 0; color: var(--terra-d); }
.price span { display: block; font-family: var(--ft); font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 1px; }
.price-xl { font-size: 2.1rem; }
.price-xl span { display: inline; font-size: .82rem; letter-spacing: .04em; margin-right: 8px; }

/* ---------- Sección "en vivo" (bloque oscuro) ---------- */
.live-sec { background: var(--ink); color: #E8DAC4; }
.live-sec .sec-title, .live-sec h2, .live-sec h3 { color: var(--cream); }
.live-sec .eyebrow, .live-sec .kicker { color: var(--gold-l); }
.live-sec .eyebrow-rule { background: var(--gold-l); }
.live-sec .sec-title em { font-style: italic; color: var(--gold-l); }
.live-sec p { color: #D8C7AE; }
.live-sec a:not(.btn) { color: var(--gold-l); }
.live-sec .btn-line { color: var(--cream); border-color: rgba(232,218,196,.4); }
.live-sec .btn-line:hover { border-color: var(--gold-l); color: var(--gold-l); }
.live-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.live-media { position: relative; overflow: hidden; border: 1px solid rgba(232,218,196,.2); box-shadow: var(--sh-arch); }
.live-media img { object-fit: cover; aspect-ratio: 3 / 2; width: 100%; }
.live-pulse { position: absolute; top: 16px; left: 16px; background: rgba(43,33,26,.72); backdrop-filter: blur(4px); color: #FBF7EF; font-family: var(--ft); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; }
.check-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.check-list li { font-family: var(--ft); padding-left: 30px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 1px; background: var(--gold); }
.check-list.big li { padding-block: 4px; }
.live-sec .check-list li::before { background: var(--gold-l); }

/* ---------- Cómo funciona (secuencia real → numeración legítima) ---------- */
.how-sec { background: var(--paper-2); }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps-v { grid-template-columns: 1fr; max-width: 720px; }
.steps li { background: var(--paper-2); padding: 34px 30px; position: relative; }
.steps-v li { background: var(--cream); }
.step-n { font-family: var(--fd); font-weight: 400; font-size: 2.6rem; color: var(--terra); line-height: 1; display: block; }
.step-n::before { content: "N.º "; font-family: var(--ft); font-weight: 700; font-size: .82rem; letter-spacing: .1em; color: var(--gold); vertical-align: middle; margin-right: 2px; }
.steps h3 { font-family: var(--fd); font-weight: 500; font-size: 1.28rem; margin: 16px 0 8px; }
.steps p { font-family: var(--ft); margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ---------- Tablas editoriales ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--cream); font-size: .96rem; min-width: 460px; }
th { text-align: left; font-family: var(--ft); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); background: var(--ink); padding: 14px 20px; }
th:first-child { color: var(--cream); }
td { font-family: var(--ft); padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) { background: rgba(239,228,208,.5); }
.price-sec .table-wrap { margin-top: 24px; }

/* ---------- Bloque internacional ---------- */
.world-card { background: var(--ink); color: #E8DAC4; padding: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: 1.5fr .5fr; gap: 34px; align-items: center; border: 1px solid var(--line); position: relative; overflow: hidden; }
.world-card::before { content: "✦"; position: absolute; top: -10px; right: 26px; font-size: 8rem; color: rgba(201,163,94,.12); font-family: var(--fd); }
.world-card .sec-title { color: var(--cream); }
.world-card .sec-title em { font-style: italic; color: var(--gold-l); }
.world-card p { color: #D8C7AE; font-family: var(--fr); font-size: 1.1rem; }
.world-flags { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 0; font-size: 2rem; text-align: center; }
.world-flags li { background: rgba(232,218,196,.08); border: 1px solid rgba(232,218,196,.14); padding: 12px 0; }

/* ---------- Zonas ---------- */
.zone-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.zone-card { background: var(--cream); border: 1px solid var(--line); padding: 30px; text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; display: flex; flex-direction: column; gap: 10px; }
a.zone-card:hover { transform: translateY(-4px); box-shadow: var(--sh-m); border-color: var(--line-2); color: var(--ink); }
.zone-card h3 { font-family: var(--fd); font-weight: 500; margin: 0; font-size: 1.24rem; }
.zone-card p { font-family: var(--ft); margin: 0; color: var(--ink-2); font-size: .92rem; flex: 1; }
.zone-go { font-family: var(--ft); font-weight: 700; color: var(--terra-d); text-decoration: none; font-size: .92rem; letter-spacing: .01em; }
.zone-go:hover { color: var(--terra); }
.zone-card-all { background: var(--paper-2); border-style: dashed; border-color: var(--line-2); }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--paper-2); }
.faqs { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line-2); }
.faq { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--fd); font-size: 1.18rem; font-weight: 500; margin: 0; }
.faq-ico { flex: none; width: 24px; height: 24px; position: relative; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--terra); }
.faq-ico::before { width: 14px; height: 1.5px; }
.faq-ico::after { width: 1.5px; height: 14px; transition: transform .3s var(--ease); }
.faq[open] .faq-ico::after { transform: scaleY(0); }
.faq-a { padding: 0 4px 26px; color: var(--ink-2); font-family: var(--ft); max-width: 72ch; }
.faq-a p { margin: 0; }

/* ---------- Migas ---------- */
.crumbs { font-family: var(--ft); font-size: .8rem; padding-top: 22px; letter-spacing: .02em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--terra-d); }

/* ---------- Ficha de producto ---------- */
.prod-hero { padding-top: 30px; }
.prod-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.prod-media { position: relative; overflow: hidden; box-shadow: var(--sh-arch); border: 1px solid var(--line); position: sticky; top: 116px; border-radius: 6px; }
.prod-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.prod-info h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.prod-info .h1-sub { display: block; font-family: var(--fr); font-style: italic; font-size: .42em; font-weight: 400; color: var(--ink-2); margin-top: .3em; letter-spacing: 0; }
.prod-lead { font-family: var(--fr); font-size: 1.14rem; line-height: 1.55; color: var(--ink); border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; margin: 0 0 8px; }
.card-soft { background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--terra); padding: 28px; box-shadow: var(--sh-m); }
.price-xl { display: flex; align-items: baseline; gap: 6px; }
.addons { border: 0; padding: 0; margin: 20px 0; display: grid; gap: 8px; }
.addons legend { font-family: var(--ft); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 12px; padding: 0; }
.addon { display: flex; align-items: center; gap: 13px; background: var(--paper); border: 1px solid var(--line); padding: 12px 15px; cursor: pointer; transition: border-color .18s, background .18s; border-radius: 4px; }
.addon:hover { border-color: var(--gold); }
.addon:has(input:checked) { border-color: var(--terra); background: rgba(180,85,47,.06); }
.addon input { width: 19px; height: 19px; accent-color: var(--terra); flex: none; }
.addon-tx b { display: block; font-family: var(--ft); font-weight: 700; font-size: .93rem; }
.addon-tx small { font-family: var(--ft); color: var(--terra-d); font-weight: 700; }
.buy-btns { display: grid; gap: 10px; }
.buy-note { font-family: var(--ft); font-size: .8rem; color: var(--ink-2); margin: 14px 0 0; }
.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 32px 0; background: var(--line); border: 1px solid var(--line); }
.quick-facts div { background: var(--cream); padding: 16px 18px; font-family: var(--ft); font-size: .84rem; }
.quick-facts b { display: block; margin-bottom: 4px; color: var(--terra-d); }
.quick-facts span { color: var(--ink-2); }
.prod-detail .prose { font-family: var(--fr); font-size: 1.08rem; line-height: 1.6; margin-top: 1.2em; }
.prod-detail .check-list li { font-size: 1rem; }

/* ---------- Answer-first de categoría ---------- */
.cat-answer { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--terra); padding: 22px 26px; margin: 22px 0 26px; }
.ca-label { font-family: var(--ft); font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin: 5px 0 0; white-space: nowrap; }
.ca-text { font-family: var(--fr); font-size: 1.12rem; line-height: 1.5; margin: 0; }
.cat-updated, .prod-updated { font-family: var(--ft); font-size: .8rem; color: var(--ink-2); margin: 20px 0 0; letter-spacing: .02em; }

/* ---------- Garantías compactas en ficha ---------- */
.prod-trust { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.prod-trust li { font-family: var(--ft); font-size: .9rem; color: var(--ink-2); padding-left: 26px; position: relative; }
.prod-trust li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--terra); font-weight: 700; }
.prod-trust b { font-weight: 700; color: var(--ink); }

/* ---------- Categoría / zona hero ---------- */
.cat-hero { padding-bottom: 20px; }
.cat-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.cat-hero .h1-sub { display: block; font-family: var(--fr); font-style: italic; font-size: .38em; font-weight: 400; color: var(--ink-2); margin-top: .35em; }
.cat-hero .lead { margin-top: .6em; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0; }
.tag-list li { font-family: var(--ft); background: var(--cream); border: 1px solid var(--line-2); padding: 6px 15px; font-size: .86rem; font-weight: 600; }

/* ---------- Blog ---------- */
.post-date { font-family: var(--ft); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin: 0; }
.post-card .card-body { gap: 8px; }
.post h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: .5em; }
.post .kicker { margin-bottom: 20px; }
.answer-box { background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--terra); padding: 22px 26px; margin: 26px 0; }
.answer-box p { font-family: var(--fr); font-size: 1.1rem; margin: 0; }
.answer-box strong { font-family: var(--ft); font-weight: 700; }
.takeaways { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 26px 0; margin: 30px 0; }
.takeaways .sec-title-s { margin-top: 0; }
.post-fig { margin: 34px 0; overflow: hidden; box-shadow: var(--sh-m); border: 1px solid var(--line); }
.post-fig img { width: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.post-sec { margin-top: 44px; }
.post-sec h2 { font-family: var(--fd); font-weight: 500; font-size: 1.7rem; }
.post-sec p, .post-sec li { font-family: var(--fr); font-size: 1.08rem; line-height: 1.62; }
.post-sec ol, .post-sec ul { padding-left: 22px; display: grid; gap: 10px; }
.post-sec .table-wrap { margin: 20px 0; }
.post-sec .table-wrap td, .post-sec .table-wrap th { font-family: var(--ft); font-size: .94rem; }
/* Capitular editorial en el primer párrafo de sección */
.post-sec:first-of-type > p:first-of-type::first-letter { font-family: var(--fd); font-weight: 500; font-size: 3.4em; float: left; line-height: .82; padding: 6px 12px 0 0; color: var(--terra); }

.cta-final { text-align: center; padding: 46px clamp(22px, 4vw, 50px); margin-top: 52px; border: 1px solid var(--line); background: var(--cream); }
.cta-final.card-soft { border-top: 3px solid var(--terra); }
.cta-final h2 { margin-top: 0; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-final .hero-ctas { justify-content: center; }

/* ---------- Guía de elección y errores comunes ---------- */
.choose-sec { background: var(--paper-2); }
.mistakes { counter-reset: mk; list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.mistakes li { counter-increment: mk; position: relative; padding-left: 54px; font-family: var(--ft); color: var(--ink-2); }
.mistakes li::before { content: counter(mk); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); color: var(--terra); font-family: var(--fd); font-size: 1.1rem; display: grid; place-items: center; }
.mistakes strong { color: var(--ink); font-weight: 700; }

/* ---------- Fechas del año (home) ---------- */
.fechas-sec { background: var(--paper-2); }
.zone-card-next { border-color: var(--terra); box-shadow: var(--sh-m); position: relative; }
.zone-card-next .badge { position: static; align-self: flex-start; margin-bottom: 4px; }

/* ---------- Bloque empresas (home) ---------- */
.empresas-home { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.empresas-nums { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.empresas-nums li { background: var(--cream); padding: 18px 22px; }
.empresas-nums b { display: block; font-family: var(--fd); font-weight: 500; font-size: 1.6rem; color: var(--terra-d); line-height: 1; }
.empresas-nums span { font-family: var(--ft); font-size: .84rem; color: var(--ink-2); display: block; margin-top: 6px; }

/* ---------- Quién está detrás (home) ---------- */
.quien-sec .byline { border-top: 0; padding-top: 0; }

/* ---------- Firma de autor (E-E-A-T) ---------- */
.byline { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 20px 0; margin: 26px 0; }
.byline-img { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--gold); flex: none; }
.byline-role { font-family: var(--ft); font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin: 0 0 4px; }
.byline-name { font-family: var(--fd); font-weight: 500; font-size: 1.18rem; margin: 0 0 5px; }
.byline-name a { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--gold); }
.byline-name a:hover { color: var(--terra-d); }
.byline-name span { font-family: var(--ft); font-size: .82rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.byline-bio { font-family: var(--ft); font-size: .9rem; color: var(--ink-2); margin: 0; max-width: 62ch; }

/* ---------- Página de autor ---------- */
.author-hero { padding-bottom: 10px; }
.author-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.author-media { border-radius: 50%; overflow: hidden; box-shadow: var(--sh-m); border: 1px solid var(--gold); }
.author-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.author-lead { max-width: 46ch; }
.author-story .prose { font-family: var(--fr); font-size: 1.1rem; line-height: 1.66; }
.author-story .prose + .prose { margin-top: 1.15em; }
.prose-lead-drop::first-letter { font-family: var(--fd); font-weight: 500; font-size: 3.3em; float: left; line-height: .82; padding: 6px 12px 0 0; color: var(--terra); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #C9B79C; margin-top: 0; position: relative; border-top: 3px solid var(--terra); }
.foot-wave { display: none; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 34px; }
.foot-brand { font-family: var(--fd); font-weight: 500; font-size: 1.55rem; line-height: 1.1; margin: 0 0 14px; color: var(--cream); }
.foot-brand b { color: var(--gold-l); font-weight: 500; }
.foot-brand span { font-family: var(--ft); font-size: .62rem; font-weight: 700; letter-spacing: .24em; color: var(--gold); }
.foot-note { font-family: var(--fr); font-size: 1rem; color: #B0A088; max-width: 36ch; }
.foot-nap { font-family: var(--ft); font-size: .86rem; color: #B0A088; }
.foot-nap a { color: var(--gold-l); }
.foot-h { font-family: var(--ft); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .16em; color: var(--gold-l); margin: 0 0 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-foot ul a { font-family: var(--ft); color: #C9B79C; text-decoration: none; font-size: .92rem; }
.site-foot ul a:hover { color: var(--cream); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(201,183,156,.16); padding-block: 22px; font-family: var(--ft); font-size: .82rem; color: #93836C; }
.foot-social a { color: var(--gold-l); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,122,80,.6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-4deg); color: #fff; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .rv.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .prod-grid, .blog-grid, .zone-cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .config-form { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .live-grid, .prod-grid2 { grid-template-columns: 1fr; }
  .hero-figure { max-width: 440px; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-media { position: static; }
  .world-card, .empresas-home { grid-template-columns: 1fr; }
  .world-flags { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .prod-grid, .blog-grid, .zone-cards, .steps, .config-form, .foot-grid, .quick-facts, .trust-grid, .cat-index ul { grid-template-columns: 1fr; }
  .sf-in, .cat-answer, .byline { grid-template-columns: 1fr; gap: 12px; }
  .author-grid { grid-template-columns: 1fr; text-align: left; }
  .author-media { max-width: 180px; }
  .hero-masthead { font-size: .62rem; letter-spacing: .14em; gap: 10px; }
  .hero-credentials { flex-wrap: wrap; gap: 16px 0; }
  .hero-credentials li { padding-top: 14px; }
  .nav-toggle { display: grid; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { width: 24px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-list { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 14px 24px 22px; gap: 4px; border-bottom: 1px solid var(--line-2); box-shadow: var(--sh-m); }
  .nav-list.is-open { display: flex; }
  .nav-cta-li { margin: 6px 0 0; }
  .announce-cta { margin-left: 0; }
  .config-card { margin-top: -34px; }
  .hero-seal { width: 78px; height: 78px; right: -8px; bottom: 40px; }
}

/* ---------- Aviso de imagen de referencia (mientras el catálogo use fotos de banco) ---------- */
.foto-ref { font-family: var(--ft); font-size: .78rem; color: var(--ink-2); margin: 10px 2px 0; line-height: 1.45; }
