/* ¡Cásate Contigo! — rediseño 2026
   Paleta tomada de la portada del libro: negro, marfil, dorado del anillo y rojo de "AMAR". */
:root {
  --ink: #0d0b0a;
  --ink-2: #1b1714;
  --ink-3: #2a2420;
  --paper: #faf6ef;
  --paper-2: #f2ebdf;
  --line: #e4d9c6;
  --text: #2b2521;
  --muted: #6f655c;
  --gold: #c9a24a;
  --gold-2: #e3c77d;
  --gold-dark: #8f6f24;
  --red: #b3202a;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(13, 11, 10, .35);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
.amar { color: var(--red); font-weight: 600; letter-spacing: .04em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 1em;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.8em; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: .04em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-dark)); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(201, 162, 74, .7); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: rgba(250, 246, 239, .6); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn-sm { padding: .6em 1.2em; font-size: .85rem; white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-gold { color: var(--gold-dark); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Header ---------- */
/* Cintillo superior: secciones de contenido + WhatsApp. Se pliega al hacer scroll. */
.cintillo {
  background: #070605; border-bottom: 1px solid rgba(201, 162, 74, .18);
  font-size: .8rem; letter-spacing: .04em;
  max-height: 40px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease;
}
.cintillo-in { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-height: 38px; }
.cintillo-txt { margin-right: auto; color: rgba(250, 246, 239, .55); font-family: var(--serif); font-style: italic; font-size: .98rem; letter-spacing: .01em; white-space: nowrap; }
.cintillo-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.cintillo-nav a { display: block; padding: 4px 12px; color: rgba(250, 246, 239, .7); text-decoration: none; white-space: nowrap; border-left: 1px solid rgba(250, 246, 239, .12); }
.cintillo-nav li:first-child a { border-left: 0; }
.cintillo-nav a:hover, .cintillo-nav a[aria-current="page"] { color: var(--gold-2); }
.cintillo-wa { color: #4fdc84; text-decoration: none; font-weight: 500; white-space: nowrap; }
.cintillo-wa:hover { color: #7ff0a8; }
.site-header.is-scrolled .cintillo { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.nav li.solo-movil { display: none; }
@media (max-width: 1180px) { .cintillo-txt { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 11, 10, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 74, .25);
  color: var(--paper);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
/* Logo = tarjeta con la foto de Myrna (el mismo de producción). Cuelga del header sobre el hero
   y se encoge al hacer scroll (.is-scrolled lo pone main.js). */
.brand { position: relative; display: flex; align-items: center; text-decoration: none; flex: none; padding-left: 130px; min-height: 74px; transition: padding-left .3s ease; }
.brand-foto {
  position: absolute; left: 0; top: 8px; z-index: 2;
  height: 160px; width: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45));
  transition: height .3s ease, top .3s ease;
}
.site-header.is-scrolled .brand, .site-header.menu-open .brand { padding-left: 58px; }
.site-header.is-scrolled .brand-foto, .site-header.menu-open .brand-foto { height: 62px; top: 6px; }
@media (max-width: 860px) {
  .brand { padding-left: 92px; }
  .brand-foto { height: 112px; }
  .site-header.is-scrolled .brand, .site-header.menu-open .brand { padding-left: 54px; }
  .site-header.is-scrolled .brand-foto, .site-header.menu-open .brand-foto { height: 60px; }
}
.brand-ring {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 4px solid var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold-2), 0 0 14px rgba(201, 162, 74, .45);
}
.brand-txt { white-space: nowrap; font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1; color: var(--paper); }
.brand-txt em { color: var(--gold-2); font-style: normal; }
.brand-txt small { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: rgba(250, 246, 239, .6); margin-top: 5px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; flex-wrap: nowrap; }
.nav a:not(.btn) {
  display: block; padding: 8px 12px; text-decoration: none; white-space: nowrap;
  font-size: .92rem; letter-spacing: .03em; color: rgba(250, 246, 239, .82);
  border-radius: 6px; transition: color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold-2); }
.nav { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; transition: .25s; }

@media (max-width: 980px) {
  .cintillo { display: none; }
  .nav li.solo-movil { display: block; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 10px 20px 24px;
    border-bottom: 1px solid rgba(201, 162, 74, .3);
    max-height: calc(100vh - 74px); overflow-y: auto;
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid rgba(250, 246, 239, .08); border-radius: 0; }
  .nav-cta { margin-top: 16px; }
  .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); }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: rgba(250, 246, 239, .86); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .eyebrow { color: var(--gold-2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--paper);
  min-height: min(86vh, 800px); display: flex; align-items: center;
  padding: clamp(120px, 12vw, 160px) 0 clamp(64px, 9vw, 110px);
  background:
    linear-gradient(90deg, rgba(13, 11, 10, .05) 0%, rgba(13, 11, 10, .35) 38%, rgba(13, 11, 10, .88) 58%, rgba(13, 11, 10, .96) 100%),
    url(../img/hero-libro.jpg) left center / cover no-repeat;
  background-color: var(--ink);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(transparent, rgba(13, 11, 10, .6)); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--paper); margin-bottom: .35em; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.hero h1 em { color: var(--gold-2); font-style: normal; }
.hero .eyebrow { color: var(--gold-2); }
.hero .lead { color: rgba(250, 246, 239, .86); max-width: 560px; }
.hero-quote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: rgba(250, 246, 239, .92); border-left: 2px solid var(--gold); padding-left: 18px; margin: 28px 0 14px; }
.hero-meta { font-size: .88rem; letter-spacing: .04em; color: rgba(250, 246, 239, .6); margin-bottom: 30px; }
.hero-meta strong { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-2); font-weight: 600; }
@media (max-width: 860px) {
  .hero {
    min-height: 0; padding: 130px 0 72px;
    background:
      linear-gradient(180deg, rgba(13, 11, 10, .55) 0%, rgba(13, 11, 10, .82) 45%, rgba(13, 11, 10, .95) 100%),
      url(../img/hero-libro.jpg) 20% center / cover no-repeat;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-spacer { display: none; }
}

/* Encabezado de páginas internas */
.page-hero {
  background:
    linear-gradient(90deg, rgba(13, 11, 10, .96) 0%, rgba(13, 11, 10, .86) 55%, rgba(13, 11, 10, .62) 100%),
    url(../img/fondo-libros-rosa.jpg) center 35% / cover no-repeat;
  background-color: var(--ink);
  color: var(--paper); padding: clamp(120px, 12vw, 150px) 0 clamp(48px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -90px; bottom: -150px; width: 360px; height: 360px; border-radius: 50%;
  border: 2px solid rgba(201, 162, 74, .22);
}
.page-hero h1 { color: var(--paper); font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero .eyebrow { color: var(--gold-2); }
.page-hero p { color: rgba(250, 246, 239, .75); max-width: 640px; font-size: 1.12rem; }

/* ---------- Tarjetas y listas ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.card-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.section-dark .card { background: var(--ink-2); border-color: rgba(201, 162, 74, .2); }
.section-dark .card p { color: rgba(250, 246, 239, .72); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--gold); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 10px var(--gold);
}
.section-alt .checklist li::before { box-shadow: inset 0 0 0 3px var(--paper-2), inset 0 0 0 10px var(--gold); }

.img-frame { position: relative; }
.img-frame img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.img-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
@media (max-width: 860px) { .img-frame::before { inset: 12px -8px -12px 12px; } }
.img-round img { border-radius: 50% 50% var(--radius) var(--radius); }

.quote-block {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.45;
  color: var(--ink); text-align: center; max-width: 820px; margin: 0 auto;
}
.section-dark .quote-block { color: var(--paper); }
.quote-block cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.ornament { display: block; width: 46px; height: 46px; margin: 0 auto 26px; border-radius: 50%; border: 3px solid var(--gold); box-shadow: 0 0 18px rgba(201, 162, 74, .4); }

.prose { max-width: 760px; }
.prose p { font-size: 1.08rem; }
.prose h3 { margin-top: 1.6em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--gold); background: var(--paper-2); border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 1.22rem; font-style: italic; }
.prose .firma { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-dark); }

.tag { display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: rgba(201, 162, 74, .15); color: var(--gold-dark); margin-bottom: 12px; }
.section-dark .tag { color: var(--gold-2); }

/* Libros de la autora */
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.book-item { border-top: 2px solid var(--gold); padding-top: 18px; }
.book-item h3 { font-size: 1.45rem; }
.book-item p { color: var(--muted); font-size: .98rem; }
@media (max-width: 760px) { .books { grid-template-columns: 1fr; } }

/* ---------- Frases para compartir ("Este libro es para ti") ---------- */
.frases {
  position: relative; overflow: hidden; color: var(--paper);
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(179, 32, 42, .22), transparent 70%),
    radial-gradient(ellipse 55% 45% at 90% 90%, rgba(201, 162, 74, .2), transparent 70%),
    var(--ink);
}
.frases h2 { color: var(--paper); }
.frases .eyebrow { color: var(--gold-2); }
.frases-sub { color: rgba(250, 246, 239, .7); font-size: 1.12rem; }
.frases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.frase {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 28px 22px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid rgba(201, 162, 74, .22);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.frase::before {
  content: "“"; position: absolute; top: -18px; right: 20px;
  font-family: var(--serif); font-size: 7.5rem; line-height: 1; color: rgba(201, 162, 74, .22);
  transition: color .3s, transform .3s;
}
.frase:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 50px -22px rgba(201, 162, 74, .55); }
.frase:hover::before { color: rgba(201, 162, 74, .55); transform: scale(1.08); }
.frase-num { font-size: .75rem; letter-spacing: .25em; color: var(--gold); margin-bottom: 14px; }
.frase-txt {
  margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.3; color: var(--paper);
}
.frase-remate { margin: 0 0 22px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.frase-ancha { grid-column: span 2; align-self: center; padding: 22px 28px 14px; background: linear-gradient(135deg, #d42a35, #b8141f); border-color: rgba(255, 255, 255, .6); }
.frase-ancha .frase-num { color: #fff; margin-bottom: 8px; }
.frase-ancha .frase-remate { color: #fff; font-weight: 500; margin-bottom: 12px; }
.frase-ancha::before { color: rgba(255, 255, 255, .35); font-size: 6rem; top: -14px; }
.frase-ancha .frase-txt { color: #fff; font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: 8px; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.frase-ancha .frase-share { padding-top: 12px; border-top-color: rgba(255, 255, 255, .3); }
.frase-ancha .fs-btn:not(.fs-copiar):not(.fs-nativo) { color: #fff; border-color: rgba(255, 255, 255, .55); }
.frase-total {
  grid-column: 1 / -1; text-align: center; align-items: center; padding: 48px 28px 30px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-dark)); border: 0;
}
.frase-total::before { color: rgba(13, 11, 10, .14); left: 50%; right: auto; transform: translateX(-50%); }
.frase-total:hover::before { color: rgba(13, 11, 10, .25); transform: translateX(-50%) scale(1.08); }
.frase-total .frase-num { color: var(--ink-3); }
.frase-total .frase-txt { color: var(--ink); font-size: clamp(2rem, 4.4vw, 3.4rem); font-style: normal; font-weight: 700; }
.frase-total .frase-remate { color: var(--ink-3); }
.frase-share { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(250, 246, 239, .1); }
.frase-total .frase-share { border-top-color: rgba(13, 11, 10, .15); justify-content: center; }
.fs-btn {
  display: inline-flex; align-items: center; gap: 5px; height: 34px; min-width: 34px; padding: 0 10px;
  border-radius: 999px; border: 1px solid rgba(250, 246, 239, .2); background: rgba(250, 246, 239, .06);
  color: var(--paper); font: 500 .8rem var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  justify-content: center; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.fs-btn:hover { transform: translateY(-2px); }
.fs-btn[hidden] { display: none; }
.fs-copiar, .fs-nativo { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.fs-copiar:hover, .fs-nativo:hover { background: var(--gold-2); }
.fs-copiar.ok { background: #3fbf6b; border-color: #3fbf6b; color: #fff; }
.fs-wa:hover { background: #25d366; border-color: #25d366; }
.fs-fb:hover { background: #1877f2; border-color: #1877f2; }
.fs-x:hover { background: #000; border-color: #fff; }
.fs-img:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); border-color: transparent; }
.frase-total .fs-btn { border-color: rgba(13, 11, 10, .25); background: rgba(13, 11, 10, .08); color: var(--ink); }
.frase-total .fs-copiar { background: var(--ink); border-color: var(--ink); color: var(--gold-2); }
.frase-total .fs-btn:hover { color: #fff; }
.frases-tip { text-align: center; margin: 34px auto 0; color: rgba(250, 246, 239, .65); font-size: .95rem; }
.frases-tip strong { color: var(--paper); }
@media (max-width: 960px) { .frases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .frases-grid { grid-template-columns: 1fr; }
  .frase-ancha { grid-column: auto; }
  .fs-btn span { display: none; }
  .fs-copiar span, .fs-nativo span { display: inline; }
}
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 30px);
  background: var(--ink); color: var(--paper); border: 1px solid var(--gold); border-radius: 999px;
  padding: 12px 22px; font-size: .92rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Tarjetas de servicio con botón de WhatsApp al pie */
.card-servicio { display: flex; flex-direction: column; }
.card-servicio p:last-of-type { margin-bottom: 20px; }
.card-servicio .btn-wa { margin-top: auto; align-self: flex-start; }
.btn-wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn-wa:hover { background: #1ebe5a; }
.btn-wa svg { width: 18px; height: 18px; }

/* ---------- Galería ---------- */
.gallery { columns: 4 220px; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 10px; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform .5s ease, filter .3s; }
.gallery a:hover img { transform: scale(1.04); filter: brightness(1.05); }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strip a { aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.strip a:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(3, 1fr); } }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(13, 11, 10, .94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.lb-btn { position: absolute; background: rgba(250, 246, 239, .1); color: var(--paper); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb-btn:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Poesía ---------- */
.poems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }
.poem {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px 34px 24px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.poem::after {
  content: ""; position: absolute; left: 34px; right: 34px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--red));
}
.poem::before { content: "“"; position: absolute; top: -6px; right: 24px; font-family: var(--serif); font-size: 6.5rem; color: rgba(201, 162, 74, .22); line-height: 1; transition: color .3s; }
.poem:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201, 162, 74, .5); }
.poem:hover::before { color: rgba(201, 162, 74, .45); }
.poem-num { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 8px; }
.poem h3 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); font-style: italic; margin-bottom: .55em; }
.poem .verses { font-family: var(--serif); font-size: 1.22rem; line-height: 1.65; color: var(--ink-3); white-space: pre-line; max-height: 13.5em; overflow: hidden; position: relative; transition: max-height .5s ease; }
.poem .verses::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4em; background: linear-gradient(transparent, #fff); transition: opacity .3s; }
.poem.open .verses { max-height: 200em; }
.poem.open .verses::after { opacity: 0; }
.poem .verses.short { max-height: none; }
.poem .verses.short::after { display: none; }
.poem-toggle { align-self: flex-start; margin-top: 14px; background: none; border: 0; padding: 0; color: var(--gold-dark); font: 500 .9rem var(--sans); letter-spacing: .06em; cursor: pointer; border-bottom: 1px solid currentColor; }
.poem .autor { margin: 16px 0 0; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.poem .frase-share { margin-top: 18px; border-top-color: var(--line); }
/* Botones sobre tarjeta clara */
.poem:not(.poem-destacado) .fs-btn { border-color: var(--line); background: var(--paper); color: var(--ink); }
.poem:not(.poem-destacado) .fs-copiar, .poem:not(.poem-destacado) .fs-nativo { background: var(--ink); border-color: var(--ink); color: var(--gold-2); }
.poem:not(.poem-destacado) .fs-btn:hover { color: #fff; }
.poem:not(.poem-destacado) .fs-copiar.ok { background: #3fbf6b; border-color: #3fbf6b; color: #fff; }
@media (min-width: 641px) { .poem:not(.poem-destacado) .fs-img span { display: inline; } }

/* Poema destacado: oscuro, centrado, grande */
.poesia-destacada { padding-bottom: clamp(40px, 6vw, 70px); }
.poem-destacado {
  max-width: 860px; margin: 0 auto; text-align: center; align-items: center;
  padding: clamp(44px, 7vw, 72px) clamp(24px, 6vw, 70px) 34px;
  color: var(--paper); border: 0;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(179, 32, 42, .4), transparent 70%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(201, 162, 74, .3), transparent 70%),
    var(--ink);
  box-shadow: 0 40px 80px -40px rgba(13, 11, 10, .6);
}
.poem-destacado::after { left: 50%; right: auto; width: 140px; transform: translateX(-50%); }
.poem-destacado::before { color: rgba(201, 162, 74, .2); right: 40px; font-size: 9rem; }
.poem-destacado .poem-num { color: var(--gold-2); }
.poem-destacado h2 { color: var(--paper); font-style: italic; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.poem-destacado .verses { color: var(--paper); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; font-style: italic; }
.poem-destacado .autor { color: var(--gold-2); }
.poem-destacado .frase-share { justify-content: center; border-top-color: rgba(250, 246, 239, .12); width: 100%; }
.poem-destacado:hover { transform: none; }
@media (max-width: 860px) { .poems { grid-template-columns: 1fr; } .poem { padding: 34px 22px 20px; } .poem::after { left: 22px; right: 22px; } }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--shadow); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .5s; }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); border: 0; cursor: pointer; }
.video .play::before { content: ""; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 400px) { .videos { grid-template-columns: 1fr; } }

/* ---------- Eventos ---------- */
.event { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event img { border-radius: 12px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .event { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-card .ico { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { font-weight: 500; font-size: 1.08rem; color: var(--ink); }
.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.form label { font-size: .85rem; font-weight: 500; letter-spacing: .05em; color: var(--ink-3); display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form .note { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- PDF ---------- */
.pdf-frame { width: 100%; height: 80vh; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }

/* ---------- CTA final y footer ---------- */
.cta-final { background: linear-gradient(120deg, var(--ink) 0%, #231c16 100%); color: var(--paper); padding: 64px 0; border-top: 1px solid rgba(201, 162, 74, .3); }
.cta-final-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-final h2, .cta-final .cta-final-h { color: var(--paper); margin-bottom: .2em; }
.cta-final .cta-final-h { font-family: var(--serif); font-weight: 600; line-height: 1.12; font-size: clamp(2rem, 4vw, 3rem); max-width: none; }
.cta-final p { color: rgba(250, 246, 239, .72); margin: 0; max-width: 560px; }
.cta-final .eyebrow { color: var(--gold-2); margin-bottom: .6em; }
.cta-final-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: #070605; color: rgba(250, 246, 239, .62); padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand { margin-bottom: 1em; }
.footer-brand img { width: 220px; border-radius: 4px; }
.footer-brand em { color: var(--gold-2); font-style: normal; }
.footer-h { color: var(--paper); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .site-footer .link-gold { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(250, 246, 239, .08); padding-top: 20px; padding-bottom: 26px; font-size: .82rem; }
.footer-bottom a { color: var(--gold-2); text-decoration: none; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 600; line-height: 1.15;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .wa-float-txt { font-size: .9rem; white-space: nowrap; }
/* Celular: solo el círculo, para no tapar botones del contenido (el texto queda en el aria-label) */
@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float .wa-float-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Aparición suave al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.fs-btn svg { width: 16px; height: 16px; flex: none; }
.frase:not(.frase-ancha):not(.frase-total) .fs-img span { display: none; }
.card-servicio .tag { align-self: flex-start; }

/* ================= Tienda ================= */
.btn-lg { padding: 1.05em 2.1em; font-size: 1rem; }
.btn-block { width: 100%; }
.nav-carrito { position: relative; display: inline-flex; align-items: center; gap: 6px; color: rgba(250, 246, 239, .85); text-decoration: none; padding: 6px; }
.nav-carrito:hover { color: var(--gold-2); }
.nav-carrito-n { position: absolute; top: -2px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 600; display: grid; place-items: center; }
.nav-carrito-n[hidden] { display: none; }
.solo-movil-txt { display: none; }
@media (max-width: 980px) { .nav-carrito { padding: 12px 4px; } .solo-movil-txt { display: inline; } .nav-carrito-n { position: static; } }

.migas { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.migas a { color: var(--gold-dark); text-decoration: none; }
.tienda-ficha { padding-top: clamp(130px, 13vw, 170px); }
.ficha-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.ficha-img { position: sticky; top: 110px; background: radial-gradient(circle at 50% 40%, var(--paper-2), transparent 70%); padding: 30px; border-radius: 22px; }
.ficha-img img { max-width: 380px; margin: 0 auto; border-radius: 4px 10px 10px 4px; box-shadow: -18px 30px 60px -18px rgba(13, 11, 10, .55); transform: rotate(-2deg); }
.ficha-info h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.ficha-precio { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--ink); margin: 8px 0 4px; }
.ficha-precio small { font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--muted); }
.ficha-antes { color: var(--muted); margin: 0; }
.ficha-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; margin: 26px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cantidad { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--ink-3); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 48px; height: 46px; border: 0; text-align: center; font: 600 1.05rem var(--sans); -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ficha-puntos { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ficha-puntos li { padding-left: 30px; position: relative; }
.ficha-puntos li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--gold); }
.ficha-desc { color: var(--text); }
.ficha-meta { color: var(--muted); font-size: .92rem; }
.ficha-dudas { margin-top: 18px; font-size: .95rem; }
.ficha-dudas a { color: #1a9e4b; font-weight: 500; }
@media (max-width: 860px) { .ficha-grid { grid-template-columns: 1fr; } .ficha-img { position: static; } .ficha-img img { max-width: 240px; } }

.catalogo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .catalogo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .catalogo-grid { grid-template-columns: 1fr; } }
.producto-card { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; padding: 34px 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.producto-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.producto-img { width: 100%; height: 340px; display: grid; place-items: center; border-radius: 14px; background: radial-gradient(circle at 50% 45%, var(--paper-2), transparent 72%); margin-bottom: 6px; }
.producto-img img { max-height: 300px; width: auto; max-width: 100%; box-shadow: -10px 18px 34px -14px rgba(13, 11, 10, .5); }
.producto-nombre { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.producto-card .btn { margin-top: auto; }
.producto-precio { margin-bottom: 8px; }
.producto-precio { font-weight: 600; color: var(--gold-dark); font-size: 1.15rem; }

.tienda-paso { padding-top: clamp(130px, 13vw, 170px); }
.pasos { list-style: none; padding: 0; margin: 0 0 26px; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: paso; font-size: .82rem; letter-spacing: .06em; }
.pasos li { counter-increment: paso; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.pasos li::before { content: counter(paso) ". "; }
.pasos li.activo { background: var(--ink); color: var(--gold-2); }
.pasos li.hecho { background: rgba(201, 162, 74, .2); color: var(--gold-dark); }
.aviso { background: #fff3f0; border: 1px solid #f0c4bb; color: #8a2a1c; border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; }
.aviso ul { margin: 6px 0 0; padding-left: 20px; }
.carrito-vacio { text-align: center; padding: 50px 0; }
.carrito-grid { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.linea { display: grid; grid-template-columns: 80px 1fr auto auto 34px; gap: 18px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; }
.linea img { border-radius: 4px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.linea-nombre { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); text-decoration: none; display: block; }
.linea-precio { color: var(--muted); font-size: .9rem; }
.linea-sub { font-weight: 600; min-width: 90px; text-align: right; }
.linea-quitar { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.linea-quitar:hover { background: var(--red); color: #fff; border-color: var(--red); }
.resumen { position: sticky; top: 110px; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 26px; }
.resumen h2 { color: var(--paper); font-size: 1.6rem; }
.resumen p { display: flex; justify-content: space-between; gap: 14px; margin: 0 0 10px; color: rgba(250, 246, 239, .8); }
.resumen-total { border-top: 1px solid rgba(250, 246, 239, .15); padding-top: 12px; margin-top: 6px !important; font-size: 1.2rem; color: var(--paper) !important; }
.resumen-total strong { color: var(--gold-2); font-family: var(--serif); font-size: 1.6rem; }
.resumen .nota { display: block; font-size: .82rem; color: rgba(250, 246, 239, .6); }
.resumen .btn { margin: 14px 0 12px; }
.resumen .link-gold { color: var(--gold-2); font-size: .9rem; }
@media (max-width: 860px) {
  .carrito-grid { grid-template-columns: 1fr; }
  .resumen { position: static; }
  .linea { grid-template-columns: 60px 1fr 34px; }
  .linea-qty { grid-column: 2; }
  .linea-sub { grid-column: 2; text-align: left; }
  .linea > form:last-child { grid-column: 3; grid-row: 1; }
}
.checkout h3 { margin: 10px 0 0; font-size: 1.4rem; }
.checkout .dos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout .tres { display: grid; grid-template-columns: 1.4fr 1.2fr .7fr; gap: 14px; }
.checkout .check { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 400; }
.checkout .check input { width: 20px; height: 20px; accent-color: var(--gold-dark); }
.checkout [hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pago-box { background: var(--paper-2); border-radius: 14px; padding: 18px 20px; }
.pago-box p { margin-bottom: .6em; }
@media (max-width: 640px) { .checkout .dos, .checkout .tres { grid-template-columns: 1fr; } }
.gracias { max-width: 680px; text-align: center; }
.gracias .pasos { justify-content: center; }
.gracias .pago-box { text-align: left; margin: 26px 0; }
.folio { font-size: 1.2rem; }
.folio strong { font-family: var(--serif); font-size: 2.2rem; color: var(--red); letter-spacing: .04em; }
.banco { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0 16px; }
.banco dt { color: var(--muted); }
.banco dd { margin: 0; font-weight: 600; font-family: ui-monospace, monospace; }

/* ================= Comunidad ================= */
.comunidad-home {
  position: relative; color: var(--paper); padding: clamp(56px, 7vw, 90px) 0;
  background:
    radial-gradient(ellipse 50% 70% at 0% 50%, rgba(179, 32, 42, .35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(201, 162, 74, .25), transparent 70%),
    #120d0b;
  border-top: 1px solid rgba(201, 162, 74, .25);
}
.comunidad-home-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.comunidad-home h2 { color: var(--paper); font-size: clamp(2rem, 3.6vw, 2.9rem); }
.comunidad-home h2 em { color: var(--gold-2); font-style: normal; white-space: nowrap; }
.comunidad-home .eyebrow { color: var(--gold-2); }
.comunidad-home p { color: rgba(250, 246, 239, .78); }
.comunidad-home-n { margin-top: 20px; font-size: .92rem; }
.comunidad-home-n strong { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2); }
.comunidad-home-lado { display: grid; gap: 14px; }
.tema-mini { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; text-decoration: none; color: var(--paper); background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 162, 74, .22); font-family: var(--serif); font-size: 1.25rem; font-style: italic; transition: transform .25s, border-color .25s, background .25s; }
.tema-mini b { margin-left: auto; color: var(--gold-2); font-style: normal; }
.tema-mini:hover { transform: translateX(6px); border-color: var(--gold); background: rgba(255, 255, 255, .09); }
@media (max-width: 860px) { .comunidad-home-in { grid-template-columns: 1fr; } .comunidad-home h2 em { white-space: normal; } }

.comentario { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.comentario header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comentario header strong { display: block; color: var(--ink); }
.comentario header small { color: var(--muted); font-size: .8rem; }
.comentario header small a { color: var(--gold-dark); }
.comentario p { margin: 0; }
.avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold-dark)); color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.avatar-myrna { background: linear-gradient(135deg, #d24a53, var(--red)); color: #fff; }
.comentario-mini { display: block; text-decoration: none; background: rgba(255, 255, 255, .06); border-color: rgba(201, 162, 74, .22); transition: transform .25s, border-color .25s; }
.comentario-mini:hover { transform: translateY(-3px); border-color: var(--gold); }
.comentario-mini header strong { color: var(--paper); }
.comentario-mini header small { color: rgba(250, 246, 239, .55); }
.comentario-mini p { color: rgba(250, 246, 239, .85) !important; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.respuesta { margin: 16px 0 0 26px; padding: 14px 16px; border-left: 3px solid var(--red); background: var(--paper); border-radius: 0 12px 12px 0; }
.respuesta header { margin-bottom: 6px; }
.respuesta .avatar { width: 32px; height: 32px; font-size: 1rem; }

.temas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tema-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .3s, box-shadow .3s, border-color .3s; }
.tema-card::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--red)); border-radius: 0 0 3px 3px; }
.tema-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201, 162, 74, .5); }
.tema-num { font-size: .75rem; letter-spacing: .25em; color: var(--gold-dark); }
.tema-card h3 { font-style: italic; margin: 8px 0 8px; }
.tema-card p { color: var(--muted); }
.tema-pie { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.tema-n { color: var(--muted); }
.tema-ir { color: var(--gold-dark); font-weight: 600; }
.comentarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .comentarios-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .temas-grid, .comentarios-grid { grid-template-columns: 1fr; } }

.tema-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 5vw, 60px); align-items: start; }
.tema-intro { margin-bottom: 30px; }
.tema-h { font-size: 1.7rem; margin: 10px 0 18px; }
.tema-vacio { color: var(--muted); font-style: italic; }
.comentarios-lista { display: grid; gap: 16px; }
.tema-lado { position: sticky; top: 110px; display: grid; gap: 22px; }
.comentar h3 { margin: 0; }
.ok-msg { background: #eaf7ee; border: 1px solid #b9e2c6; color: #1b6b37; border-radius: 12px; padding: 12px 14px; margin: 0; }
.otros-temas { display: grid; gap: 8px; }
.otros-temas a { color: var(--ink); text-decoration: none; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.otros-temas a:hover { border-color: var(--gold); }
.otros-temas small { color: var(--muted); }
@media (max-width: 900px) { .tema-grid { grid-template-columns: 1fr; } .tema-lado { position: static; } }

/* Tienda: oferta del paquete y formas de entrega */
.ficha-oferta { display: grid; gap: 4px; margin: 6px 0 20px; padding: 18px 22px; border-radius: 16px; text-decoration: none; color: var(--paper);
  background: linear-gradient(120deg, #1f3a6e, #2b4f8f); border: 2px solid var(--gold); box-shadow: 0 16px 32px -18px rgba(31, 58, 110, .8); transition: transform .25s; }
.ficha-oferta:hover { transform: translateY(-3px); }
.ficha-oferta-tag { justify-self: start; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.ficha-oferta strong { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.ficha-oferta span:last-child { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.entregas { display: grid; gap: 10px; }
.entrega-op { display: flex !important; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--paper); }
.entrega-op:has(input:checked) { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201, 162, 74, .18); }
.entrega-op input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold-dark); flex: none; }
.entrega-op span { display: grid; }
.entrega-op small { color: var(--muted); font-weight: 400; }
#dir-envio { display: grid; gap: 16px; }
#dir-envio[hidden] { display: none; }

/* Gracias: datos de pago (tiendafpago) */
.fpagos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 18px; }
.fpago { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fpago h4 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.fpago .banco { margin: 0; grid-template-columns: auto 1fr; align-items: center; }
.fpago dd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fpago dd.solo { grid-column: 1 / -1; font-weight: 400; font-family: inherit; color: var(--muted); }
.copiar-dato { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 2px 10px; font: 500 .72rem var(--sans); cursor: pointer; color: var(--gold-dark); }
.copiar-dato.ok { background: #3fbf6b; border-color: #3fbf6b; color: #fff; }
@media (max-width: 640px) { .fpagos { grid-template-columns: 1fr; } }

/* Títulos más discretos en el flujo de compra (carrito · envío y pago · confirmación) */
.tienda-paso h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .6em; }
.tienda-paso .gracias h1, .gracias h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.tienda-paso h2, .resumen h2 { font-size: 1.3rem; }
.tienda-paso h3, .checkout h3 { font-size: 1.15rem; }
.linea-nombre { font-size: 1.12rem; }
.resumen-total strong { font-size: 1.35rem; }
.folio strong { font-size: 1.8rem; }
