/* =========================================================
   Soysusanavaldes — estilos
   Paleta de su identidad: crema, dusty rose, espresso y salvia
   ========================================================= */
:root {
  --bg: #fcfaf7;
  --cream: #f6efe9;
  --blush: #f1e2dd;
  --rose: #d8adab;
  --rose-deep: #a5656a;
  --rose-dark: #7c4a4e;
  --sage: #8c9a7c;
  --ink: #3b2d29;
  --text: #4f423d;
  --muted: #7b6d66;
  --line: #ece2db;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 12px 34px rgba(59, 45, 41, .08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.12; margin: 0 0 .45em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
.container { width: min(1160px, 100% - 44px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { display: block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rose-deep); font-weight: 500; margin-bottom: 14px; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.bg-cream { background: var(--cream); }
.head { max-width: 620px; margin-bottom: 52px; }
.head.center { text-align: center; margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .95em 1.8em; border-radius: 999px; background: var(--rose-deep); color: var(--white); text-decoration: none; font: 500 .98rem var(--sans); letter-spacing: .02em; border: 0; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(165, 101, 106, .25); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-sm { padding: .65em 1.25em; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--cream); color: var(--ink); }
.btn.disabled { background: var(--rose); pointer-events: none; }
.btn.grow { flex: 1; }
.link { color: var(--rose-deep); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rose); font-size: .95rem; }
.link:hover { color: var(--rose-dark); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }

/* Encabezado */
.promo-bar { display: block; text-align: center; background: var(--ink); color: #f3e8e3; text-decoration: none; font-size: .85rem; padding: .6em 1em; letter-spacing: .03em; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 250, 247, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.logo { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1; }
.logo em { color: var(--rose-deep); margin-right: .18em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .95rem; position: relative; padding: 4px 0; color: var(--ink); }
.nav-links a:not(.btn)[aria-current="page"]::after, .nav-links a:not(.btn):hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--rose-deep); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* Portada */
.hero { padding: 72px 0 110px; background: linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 240px 240px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1.5px solid var(--rose); border-radius: 240px 240px var(--radius) var(--radius); z-index: -1; }
.hero-chip { position: absolute; left: -36px; bottom: 44px; background: var(--white); border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.4; }
.hero-chip strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }

/* Sello de confianza bajo la portada */
.signature { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; color: var(--muted); font-size: .95rem; }
.signature .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }

/* Tarjetas de producto */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(59, 45, 41, .04); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-media { position: relative; display: block; background: var(--white); padding: 20px; }
.card-media img { aspect-ratio: 1; object-fit: contain; width: 100%; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: 16px; left: 16px; background: var(--rose-deep); color: var(--white); font-size: .8rem; font-weight: 500; padding: .25em .8em; border-radius: 999px; }
.card-body { padding: 4px 24px 26px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.card-body h3 { font-size: 1.5rem; margin: 4px 0 2px; }
.card-body h3 a { text-decoration: none; }
.card-body > p { color: var(--muted); font-size: .97rem; margin-bottom: 14px; }
.card-price { margin: auto 0 14px; }
.tag { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 500; }
.price-wrap { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; color: var(--ink); }
.price-old { color: var(--muted); font-size: 1rem; }
.price-wrap.big .price { font-size: 2.3rem; }
.price-wrap.big .price-old { font-size: 1.15rem; }

/* Bloque dividido */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.photo-round { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-arch { border-radius: 260px 260px var(--radius) var(--radius); }
blockquote { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1.35; color: var(--rose-dark); border-left: 2px solid var(--rose); padding-left: 26px; margin: 30px 0; }

/* Galería de 3 */
.gallery { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; align-items: end; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery figure:nth-child(1) img { aspect-ratio: 4 / 5; }
.gallery figure:nth-child(2) img { aspect-ratio: 4 / 4.6; }
.gallery figure:nth-child(3) img { aspect-ratio: 4 / 5; }
.gallery img { width: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 18px; bottom: 14px; color: var(--white); font-family: var(--serif); font-style: italic; font-size: 1.3rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: paso; }
.step { text-align: center; }
.step::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; border: 1.5px solid var(--rose); font-family: var(--serif); font-size: 1.5rem; color: var(--rose-deep); background: var(--white); }
.step p { color: var(--muted); }

/* Descuento */
.discount { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: var(--white); border-radius: 30px; padding: 60px; box-shadow: var(--shadow); }
.discount .big { font-family: var(--serif); font-style: italic; font-size: clamp(4.5rem, 10vw, 7rem); line-height: .9; color: var(--rose-deep); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.form input[type=text], .form input[type=email], .form input[type=tel] { font: inherit; font-size: 1rem; padding: .9em 1.1em; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); }
.form input:focus { outline: 2px solid var(--rose); border-color: var(--rose); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.consent input, .r-check input { accent-color: var(--rose-deep); width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }
.form-error { color: var(--rose-dark); font-size: .9rem; min-height: 1.2em; margin: 0; }
.success { text-align: center; }
.code { display: inline-block; font-family: var(--serif); font-size: 2.1rem; letter-spacing: .12em; padding: .25em .9em; border: 1.5px dashed var(--rose-deep); border-radius: 14px; color: var(--rose-deep); margin: 8px 0 20px; }

/* Banda con foto */
.band { position: relative; border-radius: 30px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 75%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59, 45, 41, 0) 25%, rgba(59, 45, 41, .8) 100%); }
.band-text { position: relative; z-index: 1; padding: 48px; color: #f8efea; max-width: 640px; }
.band-text h2 { color: var(--white); }

/* Páginas internas */
.page-hero { padding: 80px 0 56px; text-align: center; background: linear-gradient(180deg, var(--cream), var(--bg)); }
.page-hero p { max-width: 620px; margin-inline: auto; color: var(--muted); font-size: 1.12rem; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.chip { font: 500 .92rem var(--sans); padding: .55em 1.4em; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Línea de tiempo */
.timeline { display: grid; gap: 64px; }
.t-item { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.t-item:nth-child(even) .t-photo { order: 2; }
.t-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.t-year { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--rose); line-height: 1; display: block; margin-bottom: 8px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { background: var(--white); border-radius: var(--radius); padding: 34px 30px; }
.value p { color: var(--muted); margin: 0; }
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 980px; margin-inline: auto; }
.pains .value h3 { font-size: 1.35rem; }
.community { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
.community img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.community img:first-child { grid-row: span 2; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li::before { content: "✓"; color: var(--sage); font-weight: 600; margin-right: 10px; }

/* Producto */
.breadcrumb { font-size: .88rem; color: var(--muted); margin: 34px 0 30px; }
.breadcrumb a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pdp-media { position: sticky; top: 110px; background: var(--white); border-radius: 28px; padding: 32px; box-shadow: 0 2px 12px rgba(59, 45, 41, .05); }
.pdp-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pdp-info h1 { font-size: clamp(2.3rem, 4vw, 3.2rem); margin: 8px 0 4px; }
.pdp-lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 18px; }
.pdp-desc { margin-top: 20px; }
.pdp-box { background: var(--cream); border-radius: 16px; padding: 20px 24px; margin: 24px 0; }
.label { display: block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pdp-actions { display: flex; gap: 12px; align-items: center; margin: 26px 0 16px; }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-top: 80px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 0; font-family: var(--serif); font-size: 1.4rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--rose-deep); }
.tab-panel { padding: 28px 0; max-width: 760px; }
.mini-reps { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.mini-rep { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 14px; padding: 10px 16px 10px 10px; text-decoration: none; font-size: .95rem; box-shadow: 0 2px 8px rgba(59, 45, 41, .05); }
.mini-rep img { width: 56px; height: 56px; object-fit: contain; }
.related { margin: 64px 0 40px; }

/* Cantidad */
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.qty button { width: 40px; height: 46px; border: 0; background: none; font-size: 1.2rem; color: var(--rose-deep); cursor: pointer; }
.qty input { width: 38px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; background: none; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Resurtido */
.r-list { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.r-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--white); border: 1.5px solid transparent; border-radius: var(--radius); padding: 14px 22px 14px 16px; transition: border-color .2s; box-shadow: 0 2px 10px rgba(59, 45, 41, .04); }
.r-row.on { border-color: var(--rose-deep); }
.r-check { display: flex; align-items: center; gap: 16px; cursor: pointer; flex: 1; }
.r-check img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; }
.r-info { display: grid; line-height: 1.4; }
.r-info strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.r-info small { color: var(--muted); font-size: .9rem; }
.r-summary { position: sticky; bottom: 18px; max-width: 860px; margin: 30px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: var(--white); border-radius: 999px; padding: 14px 14px 14px 30px; box-shadow: 0 14px 34px rgba(59, 45, 41, .25); }

/* Preguntas */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { background: var(--white); border-radius: 16px; padding: 22px 28px; margin-bottom: 12px; }
.faq summary { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--rose-deep); }
.faq details[open] summary::before { content: "− "; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.cta { text-align: center; padding: 72px 28px; border-radius: 30px; background: var(--blush); }
.cta p { max-width: 520px; margin: 0 auto 26px; color: var(--muted); }
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.empty { text-align: center; padding: 80px 0; }

/* Pie */
.site-footer { background: var(--ink); color: #e8dcd7; padding: 72px 0 30px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo em { color: var(--rose); }
.foot-note { color: #b9a9a3; margin-top: 14px; max-width: 340px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font: 500 .76rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.footer-grid a:not(.logo) { display: block; text-decoration: none; font-size: .95rem; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--white); }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; font-size: .78rem; color: #a3938d; }
.legal p { margin-bottom: .4em; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 31px; height: 31px; }
.page-resurtido .wa-float { bottom: 104px; }

/* Responsivo */
@media (max-width: 980px) {
  .hero-grid, .split, .discount, .pdp, .t-item { grid-template-columns: 1fr; gap: 44px; }
  .t-item:nth-child(even) .t-photo { order: 0; }
  .hero-photo { justify-self: center; max-width: 380px; }
  .steps, .values, .pains { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(2) { grid-column: span 2; order: -1; }
  .community { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 200px; }
  .community img:first-child { grid-column: span 2; grid-row: auto; }
  .pdp-media { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .discount { padding: 36px 24px; }
  .section { padding: 80px 0; }
}
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: -22px; right: -22px; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 28px 30px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links a:not(.btn) { font-family: var(--serif); font-size: 1.5rem; }
  .menu-open .nav-links { display: flex; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .logo { font-size: 1.5rem; }
  .row-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-chip { left: 0; }
  .band-text { padding: 30px 24px; }
  .grid-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-body { padding: 0 16px 20px; }
  .card-body h3 { font-size: 1.2rem; }
  .card-body > p { display: none; }
  .r-row { flex-wrap: wrap; }
  .r-check { flex: 1 1 100%; }
  .r-row .qty { margin-left: auto; }
  .r-summary { flex-direction: column; border-radius: 22px; padding: 18px; text-align: center; }
  .r-summary .btn { width: 100%; }
  .page-resurtido .wa-float { bottom: 170px; }
  .pdp-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* =========================================================
   Mejoras v2
   ========================================================= */
/* Franja de confianza bajo la portada */
.trust { padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transform: translateY(-50px); margin-bottom: -50px; position: relative; z-index: 2; }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 26px 30px; line-height: 1.35; font-size: .92rem; color: var(--muted); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.trust-item svg { width: 42px; height: 42px; flex-shrink: 0; padding: 9px; border-radius: 50%; background: var(--blush); fill: none; stroke: var(--rose-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.center-cta { text-align: center; margin: 48px 0 0; }

/* Línea entre pasos */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 16.6%; right: 16.6%; height: 1px; background: var(--rose); opacity: .6; }
.step { position: relative; }

/* Tarjeta: acciones */
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.card-wa { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--rose-deep); transition: background .2s, color .2s; }
.card-wa:hover { background: var(--rose-deep); color: var(--white); }
.card-wa svg { width: 20px; height: 20px; }

/* Encabezado con sombra al hacer scroll */
.site-header { transition: box-shadow .25s; }
.scrolled .site-header { box-shadow: 0 6px 24px rgba(59, 45, 41, .07); }

/* Quién soy: foto a la derecha */
.split.rev > :first-child { order: 2; }

/* Código copiable */
.code-wrap { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 20px; }
.code-wrap .code { margin: 0; }
.copy { font: 500 .88rem var(--sans); padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--rose); background: var(--white); color: var(--rose-deep); cursor: pointer; }
.copy:hover { background: var(--blush); }

/* Aparición suave al hacer scroll */
.reveal:not(.in) { opacity: 0; transform: translateY(22px); }
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .4s, border-color .3s, background .3s; }
.reveal.in { opacity: 1; }

/* Botón flotante: etiqueta en escritorio */
.wa-float::after { content: attr(data-label); position: absolute; right: 72px; white-space: nowrap; background: var(--white); color: var(--ink); font-size: .88rem; padding: .45em 1em; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none; }
.wa-float:hover::after { opacity: 1; transform: none; }

/* Producto: barra fija para pedir en celular */
.pdp-bar { display: none; }

@media (max-width: 980px) {
  .steps::before { display: none; }
  .split.rev > :first-child { order: 0; }
}
@media (max-width: 800px) {
  .trust-grid { grid-template-columns: 1fr; transform: translateY(-36px); margin-bottom: -36px; }
  .trust-item { padding: 18px 22px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .menu-open { overflow: hidden; }
  .nav-links { max-height: calc(100vh - 120px); overflow-y: auto; }
  .card-actions .link { font-size: .88rem; }
  .code-wrap { flex-direction: column; }
  .pdp-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(252, 250, 247, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s; }
  .pdp-bar.show { transform: none; }
  .pdp-bar .price { font-size: 1.4rem; }
  .page-producto .wa-float { bottom: 92px; }
  .page-producto .site-footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
/* Rejilla de productos: 4 columnas o 2×2, nunca un producto suelto */
.grid-cards { grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .grid-cards { gap: 14px; } }
/* Correcciones */
[hidden] { display: none !important; }
.discount > *, .hero-grid > *, .split > * { min-width: 0; }
.form input { width: 100%; min-width: 0; }
.code { font-size: clamp(1.4rem, 6vw, 2.1rem); max-width: 100%; }

/* =========================================================
   v3 — Diseño elaborado (misma paleta y tipografías)
   ========================================================= */
:root {
  --sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 240' fill='none' stroke='%23c9999a' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M60 236C57 180 63 120 60 12'/%3E%3Cpath d='M59 200C40 195 28 180 26 164C42 167 55 182 59 200Z'/%3E%3Cpath d='M61 170C80 165 92 150 94 134C78 137 65 152 61 170Z'/%3E%3Cpath d='M59 136C42 131 32 117 30 102C45 105 56 118 59 136Z'/%3E%3Cpath d='M61 102C77 97 87 84 88 69C74 72 64 85 61 102Z'/%3E%3Cpath d='M59 70C46 66 38 55 37 43C49 46 57 56 59 70Z'/%3E%3Cpath d='M60 12C55 22 55 34 60 42C65 34 65 22 60 12Z'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .18 0 0 0 0 .16 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* Textura de papel muy sutil en todo el sitio */
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; background-image: var(--grain); opacity: .07; mix-blend-mode: multiply; }

/* Acentos en cursiva dentro de los títulos */
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--rose-deep); }
.band-text h2 em, .ritual h2 em, .site-footer em { color: var(--rose); }
.display { font-size: clamp(3rem, 6.4vw, 5.3rem); line-height: 1.02; letter-spacing: -.01em; }
.display em { display: inline-block; }

/* Eyebrow con líneas decorativas en encabezados centrados */
.head.center .eyebrow, .page-hero .eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.head.center .eyebrow::before, .head.center .eyebrow::after,
.page-hero .eyebrow::before, .page-hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .5; }

/* Botón con flecha */
.btn-arrow::after { content: "→"; font-size: 1.05em; transition: transform .3s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s var(--ease); }
.btn:hover::before { transform: translateX(100%); }
.btn-ghost::before { display: none; }

/* ---------- Portadas ---------- */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: min(640px, 70vw); aspect-ratio: 1; right: -8%; top: -10%; background: radial-gradient(circle at 40% 40%, var(--blush), rgba(241, 226, 221, 0) 68%); border-radius: 50%; }
.hero::after { content: ""; position: absolute; z-index: -1; left: -30px; bottom: 30px; width: 130px; height: 260px; background: var(--sprig) no-repeat center / contain; opacity: .8; transform: rotate(-18deg); }
.hero-photo img { animation: aparecer 1.1s var(--ease) both; }
.hero-photo::before { animation: aparecer 1.1s .15s var(--ease) both; }
.hero-grid > div:first-child > * { animation: subir .9s var(--ease) both; }
.hero-grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
.hero-grid > div:first-child > :nth-child(3) { animation-delay: .16s; }
.hero-grid > div:first-child > :nth-child(4) { animation-delay: .24s; }
.hero-grid > div:first-child > :nth-child(5) { animation-delay: .32s; }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } }
@keyframes aparecer { from { opacity: 0; transform: scale(.96); } }
.hero-chip { animation: flotar 6s ease-in-out infinite; border: 1px solid var(--line); }
@keyframes flotar { 50% { transform: translateY(-8px); } }

.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); line-height: 1.3; }
.hero-meta span { display: grid; }
.hero-meta strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; font-style: italic; color: var(--rose-deep); line-height: 1.1; }

/* Sello giratorio */
.hero-badge { position: absolute; top: 24px; right: -44px; width: 132px; height: 132px; border-radius: 50%; background: var(--ink); color: #f3e8e3; display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 28s linear infinite; }
.hero-badge text { font: 500 13.2px var(--sans); letter-spacing: .18em; text-transform: uppercase; fill: currentColor; }
.hero-badge span { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--rose); margin-top: -6px; }
@keyframes girar { to { transform: rotate(360deg); } }

/* Portadas internas */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0 72px; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; z-index: -1; width: 120px; height: 240px; background: var(--sprig) no-repeat center / contain; opacity: .75; top: 50%; }
.page-hero::before { left: max(2%, calc(50% - 560px)); transform: translateY(-50%) rotate(-24deg); }
.page-hero::after { right: max(2%, calc(50% - 560px)); transform: translateY(-50%) rotate(24deg) scaleX(-1); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }

/* ---------- Tarjetas de producto ---------- */
.card { border: 1px solid rgba(236, 226, 219, .7); }
.card-media { background: linear-gradient(180deg, var(--white), #fbf6f3); overflow: hidden; }
.card-media::before { content: ""; position: absolute; left: 50%; top: 52%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.92); border-radius: 50%; background: radial-gradient(circle, var(--blush) 0%, rgba(241, 226, 221, 0) 70%); transition: transform .6s var(--ease); }
.card:hover .card-media::before { transform: translate(-50%, -50%) scale(1.12); }
.card-media img { position: relative; mix-blend-mode: multiply; }
.card-body h3 { transition: color .2s; }
.card:hover .card-body h3 a { color: var(--rose-deep); }

/* ---------- Cinta en movimiento ---------- */
.marquee { overflow: hidden; background: var(--rose-deep); color: #fbeeea; padding: 20px 0; transform: rotate(-1.2deg); margin: -10px -10px 0; position: relative; z-index: 3; box-shadow: 0 10px 30px rgba(124, 74, 78, .2); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: cinta 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); white-space: nowrap; line-height: 1; }
.marquee i { font-style: normal; color: var(--rose); font-size: 1rem; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Ritual (sección oscura) ---------- */
.ritual { position: relative; background: var(--ink); color: #e8dcd7; padding: 140px 0 120px; margin-top: -24px; overflow: hidden; isolation: isolate; }
.ritual::before { content: ""; position: absolute; z-index: -1; width: 720px; aspect-ratio: 1; left: 50%; top: 40%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(165, 101, 106, .35), rgba(59, 45, 41, 0) 65%); }
.ritual::after { content: ""; position: absolute; z-index: -1; right: 3%; bottom: 40px; width: 140px; height: 280px; background: var(--sprig) no-repeat center / contain; opacity: .35; transform: rotate(16deg); }
.ritual h2 { color: var(--white); }
.ritual .head p { color: #b9a9a3; }
.ritual .eyebrow { color: var(--rose); }
.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ritual-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; padding: 40px 30px 36px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 200px 200px var(--radius) var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); transition: transform .5s var(--ease), border-color .3s, background .3s; }
.ritual-step:hover { transform: translateY(-8px); border-color: rgba(216, 173, 171, .45); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); }
.ritual-num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--rose); letter-spacing: .1em; margin-bottom: 18px; }
.ritual-img { display: grid; place-items: center; width: 190px; aspect-ratio: 1; border-radius: 50%; background: var(--white); margin-bottom: 26px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .04), 0 0 0 11px rgba(216, 173, 171, .25); overflow: hidden; }
.ritual-img img { width: 78%; transition: transform .6s var(--ease); }
.ritual-step:hover .ritual-img img { transform: scale(1.08) rotate(-3deg); }
.ritual-step h3 { color: var(--white); font-size: 2rem; font-style: italic; font-weight: 500; margin-bottom: .3em; }
.ritual-step p { color: #b9a9a3; font-size: .96rem; }
.ritual-link { margin-top: auto; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); border-bottom: 1px solid rgba(216, 173, 171, .4); padding-bottom: 2px; }
.ritual-link::after { content: " →"; }

/* ---------- Quién soy (inicio) ---------- */
.about-photos { position: relative; padding: 0 40px 60px 0; }
.about-photos::before { content: ""; position: absolute; inset: 30px 10px 30px -30px; border-radius: 260px 260px var(--radius) var(--radius); border: 1.5px solid var(--rose); z-index: -1; }
.about-home { position: relative; isolation: isolate; }
.about-mini { position: absolute; right: 0; bottom: 0; width: 46%; margin: 0; padding: 10px 10px 0; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); transform: rotate(4deg); transition: transform .5s var(--ease); }
.about-mini:hover { transform: rotate(0) scale(1.03); }
.about-mini img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.about-mini figcaption { font-family: var(--serif); font-style: italic; font-size: 1.15rem; text-align: center; padding: 6px 0 8px; color: var(--ink); }
.about-stat { position: absolute; left: -24px; top: 18%; background: var(--rose-deep); color: var(--white); border-radius: 50%; width: 136px; height: 136px; display: grid; place-content: center; text-align: center; line-height: 1.15; padding: 14px; box-shadow: 0 14px 30px rgba(124, 74, 78, .3); }
.about-stat strong { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2.6rem; line-height: 1; }
.about-stat span { font-size: .72rem; letter-spacing: .02em; opacity: .92; }
blockquote { position: relative; border-left: 0; padding: 18px 0 0 0; }
blockquote::before { content: "“"; position: absolute; left: -8px; top: -40px; font-size: 7rem; line-height: 1; color: var(--rose); opacity: .45; font-style: normal; }
blockquote cite { display: block; margin-top: 12px; font: 500 .78rem var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
blockquote cite::before { content: "— "; }

/* Galería */
.gallery figure { box-shadow: var(--shadow); }
.gallery figure:nth-child(2) { border-radius: 220px 220px var(--radius) var(--radius); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(59, 45, 41, .45)); pointer-events: none; }
.gallery figcaption { z-index: 1; font-size: 1.6rem; }

/* Pasos */
.how { background: linear-gradient(180deg, var(--bg), var(--cream)); }
.step { background: var(--white); border-radius: var(--radius); padding: 0 30px 34px; margin-top: 30px; box-shadow: 0 2px 12px rgba(59, 45, 41, .04); }
.step::before { width: 64px; height: 64px; margin: -32px auto 18px; font-style: italic; font-size: 1.8rem; background: var(--blush); border: 0; box-shadow: 0 0 0 7px var(--white), 0 0 0 8px var(--rose); }
.steps::before { top: 30px; z-index: 0; }

/* Descuento */
.discount { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.discount::before { content: ""; position: absolute; z-index: -1; left: -120px; top: -120px; width: 420px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--blush); box-shadow: 0 0 0 40px rgba(241, 226, 221, .35), 0 0 0 41px var(--blush); }
.discount::after { content: ""; position: absolute; z-index: -1; right: 26px; bottom: -20px; width: 100px; height: 200px; background: var(--sprig) no-repeat center / contain; opacity: .5; transform: rotate(20deg); }
.discount .big { font-size: clamp(5rem, 12vw, 9rem); background: linear-gradient(135deg, var(--rose-deep), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Banda */
.band { min-height: 520px; box-shadow: var(--shadow); }
.band img { transition: transform 1.4s var(--ease); }
.band:hover img { transform: scale(1.04); }
.band::after { background: linear-gradient(90deg, rgba(59, 45, 41, .85) 0%, rgba(59, 45, 41, .35) 55%, rgba(59, 45, 41, 0) 100%); }
.band { align-items: center; }
.band-text { padding: 64px; }
.band-text h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* Bloques de valores / CTA */
.value { position: relative; border: 1px solid rgba(236, 226, 219, .8); transition: transform .4s var(--ease), box-shadow .4s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value h3::before { content: "✦"; display: block; font-size: .9rem; color: var(--rose); margin-bottom: 12px; }
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; width: 90px; height: 180px; background: var(--sprig) no-repeat center / contain; opacity: .7; top: 50%; }
.cta::before { left: 4%; transform: translateY(-50%) rotate(-20deg); }
.cta::after { right: 4%; transform: translateY(-50%) rotate(20deg) scaleX(-1); }
.faq details { border: 1px solid rgba(236, 226, 219, .8); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }

/* ---------- Encabezado y pie ---------- */
.promo-bar { background: linear-gradient(90deg, var(--ink), var(--rose-dark), var(--ink)); background-size: 200% 100%; animation: brillo 12s ease-in-out infinite; }
@keyframes brillo { 50% { background-position: 100% 0; } }
.logo em { font-weight: 500; }
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding-top: 96px; }
.site-footer::before { content: "soy Susana"; position: absolute; z-index: -1; left: 50%; bottom: -0.18em; transform: translateX(-50%); font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 19vw, 17rem); line-height: 1; white-space: nowrap; color: rgba(255, 255, 255, .035); pointer-events: none; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; font-weight: 500; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .ritual-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .hero-badge { right: -10px; top: -10px; width: 110px; height: 110px; }
  .about-photos { max-width: 480px; margin-inline: auto; }
  .step { margin-top: 36px; }
  .band::after { background: linear-gradient(180deg, rgba(59, 45, 41, .1) 20%, rgba(59, 45, 41, .85) 100%); }
  .band { align-items: flex-end; }
}
@media (max-width: 800px) {
  .display { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .hero::after { display: none; }
  .hero-meta { gap: 12px 22px; margin-top: 32px; }
  .hero-meta strong { font-size: 1.7rem; }
  .hero-badge { width: 92px; height: 92px; right: -6px; }
  .hero-badge text { font-size: 15px; }
  .hero-badge span { font-size: 2rem; }
  .page-hero { padding: 64px 0 48px; }
  .page-hero::before, .page-hero::after { width: 70px; height: 140px; opacity: .45; }
  .page-hero::before { left: -14px; } .page-hero::after { right: -14px; }
  .ritual { padding: 110px 0 90px; }
  .ritual-img { width: 160px; }
  .about-photos { padding: 0 24px 50px 0; }
  .about-stat { width: 108px; height: 108px; left: -8px; }
  .about-stat strong { font-size: 2rem; }
  .about-stat span { font-size: .62rem; }
  .band-text { padding: 30px 24px; }
  .cta::before, .cta::after { opacity: .3; }
  .discount::before { left: -220px; top: -220px; }
  .foot-cta { padding-bottom: 40px; margin-bottom: 40px; }
  blockquote::before { font-size: 5rem; top: -26px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-badge svg, .hero-chip, .promo-bar, .hero-photo img, .hero-photo::before, .hero-grid > div:first-child > * { animation: none !important; }
}
.form input[type=checkbox] { width: 19px; min-width: 19px; }
.discount::before { left: -200px; top: -200px; }
html, body { overflow-x: clip; }
@media (max-width: 800px) {
  .eyebrow { letter-spacing: .16em; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; font-size: .78rem; }
  .hero-meta strong { font-size: 1.6rem; }
}
