/* =============================================================
   Mi Búho — styles.css
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components
   6. Sections
   7. Effects
   8. Responsive
   9. Reduced motion / print
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette */
  --bg:          #FBF7F1;   /* blanco cálido */
  --bg-2:        #F3E9DA;   /* crema */
  --bg-3:        #EFE2CE;   /* beige suave */
  --paper:       #FFFFFF;
  --ink:         #33261E;   /* marrón oscuro cálido — texto principal */
  --ink-soft:    #5C4A3B;   /* marrón medio — texto secundario */
  --ink-mute:    #8A7967;   /* marrón claro — metadatos */
  --rosa:        #E7C7C4;   /* rosa empolvado */
  --rosa-deep:   #C98E88;
  --azul:        #B9C3CC;   /* azul grisáceo */
  --azul-deep:   #7C8C9A;
  --crema-sw:    #EDE2CB;
  --accent:      #B9764F;   /* terracota cálido — CTAs */
  --accent-dark: #96603B;
  --line:        rgba(51, 38, 30, 0.12);
  --line-soft:   rgba(51, 38, 30, 0.07);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --script: "Alex Brush", "Brush Script MT", cursive;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
body.nav-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-weight: 500; }
::selection { background: var(--rosa); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem;
  background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 500; font-size: .9rem;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--narrow { max-width: 760px; }
.container--wide { max-width: 1320px; }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-bg-2 { background: var(--bg-2); }
.section-bg-3 { background: var(--bg-3); }
.section-paper { background: var(--paper); }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); font-weight: 600; margin-bottom: 1rem;
}
.kicker::before {
  content: ""; width: 20px; height: 1px; background: var(--accent);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow-line { display: flex; align-items: center; gap: .6rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll (subtle) */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }

/* =============================================================
   4. Typography
   ============================================================= */
.h-display {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
  line-height: 1.04;
}
.h-display em, .h-serif em { font-style: italic; color: var(--accent-dark); }

.h-section {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
}

.h-card {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 46ch;
}
.section-head--center .lede { margin-inline: auto; }

.text-mute { color: var(--ink-mute); }
.text-soft { color: var(--ink-soft); }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: .96rem;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(150, 96, 59, .55);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(150, 96, 59, .6); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); transform: translateY(-2px); }
.btn-light {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
}
.btn-light:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.btn-sm { padding: .7rem 1.3rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-block: 1.1rem;
  background: rgba(251, 247, 241, 0);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out), padding .35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(251, 247, 241, .92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
  padding-block: .75rem;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: flex; align-items: center; gap: .4rem;
  color: var(--ink);
  white-space: nowrap; flex-shrink: 0;
}
.brand-mark { width: 40px; height: auto; flex-shrink: 0; }
.brand-name {
  font-family: var(--script); font-weight: 400;
  font-size: 1.9rem; line-height: 1; padding-top: .3rem;
}

.nav-links {
  display: none;
  align-items: center; gap: 2.1rem;
  font-size: .94rem; font-weight: 500; color: var(--ink-soft);
}
.nav-links a { position: relative; padding-block: .3rem; transition: color .25s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--accent); transition: right .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
@media (max-width: 419px) {
  .nav-actions .btn-sm { display: none; }
}
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin-inline: auto; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-panel {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
  background: var(--bg); padding: 2rem 1.5rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
  overflow-y: auto;
}
.nav-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nav-panel ul { display: flex; flex-direction: column; gap: 1.5rem; font-family: var(--serif); font-size: 1.5rem; }
.nav-panel .btn { margin-top: 1.5rem; }

/* Cards */
.card {
  background: var(--bg-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(51, 38, 30, .22);
  border-color: var(--line);
}
/* Product photos are studio shots on white — object-fit:contain keeps them
   uncropped, and multiply blend lets the white background melt into the
   card's warm tone instead of sitting on top of it as a stark rectangle. */
.card-media {
  aspect-ratio: 4/5; overflow: hidden; background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.4rem, 5vw, 2.4rem);
}
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.5rem; }

/* FAQ accordion */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { font-size: 1rem; }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; text-align: left; font-weight: 500; font-size: 1.05rem;
}
.faq-icon {
  position: relative; width: 20px; height: 20px; flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq-trigger[aria-expanded="true"] .faq-icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq-a { padding-bottom: 1.4rem; max-width: 62ch; }
.faq-a p { color: var(--ink-soft); }

/* Badge / pill */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
}

/* Notice / disclaimer box */
.notice {
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  padding: 1.1rem 1.4rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .94rem; color: var(--ink-soft);
}

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(51,38,30,.06) 0%, rgba(51,38,30,.08) 45%, rgba(51,38,30,.72) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg); opacity: .92; font-weight: 600; margin-bottom: 1.2rem;
}
.hero-kicker::before { content: ""; width: 22px; height: 1px; background: var(--bg); opacity: .8; }
.hero-title {
  font-family: var(--serif); font-weight: 460; color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.03;
  max-width: 15ch; margin-inline: auto 0;
  text-wrap: balance;
}
.hero-sub {
  color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 46ch; margin-top: 1.3rem; line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-actions .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* --- Benefits strip --- */
.benefits-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.benefit {
  background: var(--paper); padding: 2rem 1.6rem;
  display: flex; flex-direction: column; gap: .8rem;
}
.benefit-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-2); color: var(--accent-dark);
}
.benefit-title { font-family: var(--serif); font-size: 1.15rem; }
.benefit-text { font-size: .92rem; color: var(--ink-mute); }

/* --- Product presentation --- */
.product-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: 1fr;
}
.product-media { border-radius: var(--radius); overflow: hidden; }
.product-media img { width: 100%; object-fit: cover; }
.product-pieces {
  display: grid; gap: 1rem; margin-top: 2rem;
}
.piece {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
}
.piece-num {
  font-family: var(--serif); font-size: 1.3rem; color: var(--accent-dark);
  flex-shrink: 0; width: 2.2rem;
}
.piece-title { font-weight: 600; margin-bottom: .25rem; }
.piece-text { font-size: .9rem; color: var(--ink-mute); }

/* --- Colors section --- */
.color-tabs {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.color-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1.1rem 0.6rem .6rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-weight: 600; font-size: .92rem;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.color-btn.is-active { border-color: var(--ink); background: var(--bg-2); }
.color-dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
.color-dot.rosa { background: var(--rosa); }
.color-dot.azul { background: var(--azul); }
.color-dot.crema { background: var(--crema-sw); }

.color-panels { position: relative; }
.color-panel {
  display: none;
  grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.color-panel.is-active { display: grid; }
.color-panel-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; }
.color-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.color-panel-name { font-family: var(--serif); font-size: 1.8rem; margin-bottom: .8rem; }

/* --- Details & quality --- */
.details-grid {
  display: grid; gap: 1.6rem; grid-template-columns: 1fr;
}
.detail-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/4; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-list { display: grid; gap: 1.4rem; }
.detail-item { display: flex; gap: 1rem; }
.detail-mark {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  margin-top: .55rem; flex-shrink: 0;
}
.detail-title { font-weight: 600; margin-bottom: .2rem; }
.detail-text { font-size: .92rem; color: var(--ink-mute); }

/* --- Story / historia --- */
.story-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1fr;
}
.story-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-values { display: grid; gap: .9rem; margin-top: 1.8rem; }
.story-value { display: flex; gap: .8rem; align-items: baseline; font-size: .95rem; color: var(--ink-soft); }
.story-value strong { color: var(--ink); font-weight: 600; }

/* --- Packaging --- */
.packaging-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
.packaging-media { border-radius: var(--radius); overflow: hidden; }
.packaging-media img { width: 100%; object-fit: cover; }
.packaging-media--tall { aspect-ratio: 4/5; }
.packaging-media--wide { aspect-ratio: 16/10; }
.packaging-media--single { aspect-ratio: 4/3; max-width: 900px; margin-inline: auto; }

/* --- Guide CTA --- */
.guide-box {
  border-radius: 24px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  padding: clamp(2.2rem, 6vw, 4rem);
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1fr;
  position: relative; overflow: hidden;
}
.guide-topics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.4rem;
  margin: 1.6rem 0 2rem;
}
.guide-topic { font-size: .92rem; color: var(--ink-soft); display: flex; gap: .55rem; }
.guide-topic::before { content: "—"; color: var(--accent-dark); flex-shrink: 0; }

/* --- Final CTA --- */
.final-cta {
  text-align: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 28px;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 6vw, 4rem);
}
.final-cta .h-section { color: #fff; }
.final-cta .lede { color: rgba(251,247,241,.78); margin-inline: auto; }
.final-cta .btn-primary { background: var(--rosa); color: var(--ink); box-shadow: none; }
.final-cta .btn-primary:hover { background: #fff; }

/* --- Footer --- */
.site-footer {
  padding-block: 4rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
.footer-brand .brand { margin-bottom: .9rem; }
.footer-brand p { color: var(--ink-mute); font-size: .9rem; max-width: 32ch; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { font-size: .92rem; color: var(--ink-soft); transition: color .25s var(--ease-out); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .82rem; color: var(--ink-mute);
}
.footer-legal-addr { max-width: 60ch; }

/* --- Simple content page (legal/guide) --- */
.page-hero {
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 2rem;
}
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.6rem; margin-bottom: .9rem; }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.8rem; margin-bottom: .6rem; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose ul { margin: 0 0 1.1rem; display: grid; gap: .5rem; }
.prose li { color: var(--ink-soft); padding-left: 1.3rem; position: relative; }
.prose li::before { content: "—"; position: absolute; left: 0; color: var(--accent-dark); }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 2rem; }
.back-link:hover { color: var(--ink); }

/* --- Products grid (home) --- */
.products-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.product-card-name { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .4rem; }
.product-card-pitch { font-size: .92rem; color: var(--ink-mute); margin-bottom: 1.2rem; }

/* Guide topic cards (guia-para-padres.html) */
.topic-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.topic-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.8rem;
}
.topic-num { font-family: var(--serif); color: var(--accent-dark); font-size: 1.1rem; margin-bottom: .6rem; display: block; }
.topic-card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: .6rem; font-weight: 500; }
.topic-card p { font-size: .93rem; color: var(--ink-mute); }
.checklist { display: grid; gap: .7rem; }
.checklist li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .2rem 0; color: var(--ink-soft); font-size: .96rem;
}
.checklist li::before {
  content: ""; flex-shrink: 0; margin-top: .3rem;
  width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--accent);
}

/* --- Guide page: extra components (guía larga / Los primeros días juntos) --- */
.guide-toc {
  display: grid; gap: .2rem; grid-template-columns: 1fr;
}
.guide-toc a {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .95rem; color: var(--ink-soft);
  transition: color .25s var(--ease-out), padding-left .25s var(--ease-out);
}
.guide-toc a:hover { color: var(--ink); padding-left: .3rem; }
.guide-toc .num { color: var(--ink-mute); font-variant-numeric: tabular-nums; flex-shrink: 0; }

.guide-section { padding-block: clamp(2.2rem, 5vw, 3.6rem); border-top: 1px solid var(--line-soft); }
.guide-section > .container { max-width: 760px; }

.split-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-block: 1.4rem; }
.split-col { border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; }
.split-col h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .9rem; font-weight: 700; }
.split-col ul { display: grid; gap: .55rem; }
.split-col li { font-size: .93rem; color: var(--ink-soft); padding-left: 1.1rem; position: relative; }
.split-col li::before { content: "•"; position: absolute; left: 0; }
.split-col--good { background: #E7EEE1; }
.split-col--good h4 { color: #4F6B41; }
.split-col--bad { background: #F3E2DD; }
.split-col--bad h4 { color: #A85A45; }
.split-col--neutral { background: var(--paper); border: 1px solid var(--line-soft); }
.split-col--neutral h4 { color: var(--accent-dark); }

.notice--blue { background: #E4EAF0; border-left-color: var(--azul-deep); }
.notice--pink { background: #F3E2E4; border-left-color: var(--rosa-deep); }
.notice + .notice { margin-top: .9rem; }

.info-table { width: 100%; border-collapse: collapse; margin-block: 1.2rem; font-size: .92rem; }
.info-table th, .info-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line-soft); }
.info-table th { color: var(--ink-mute); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }

.quote-stack { display: grid; gap: .8rem; margin-block: 1.4rem; }
.quote-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink);
}

.step-list { display: grid; gap: 1rem; counter-reset: step; margin-block: 1.2rem; }
.step-list li { display: flex; gap: 1rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.step-list li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); color: var(--accent-dark); font-size: 1.05rem; flex-shrink: 0; width: 2.1rem;
}

.keepsake-box {
  display: grid; gap: 1rem;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border-radius: var(--radius); padding: 1.8rem 2rem; margin-top: 1rem;
}
.keepsake-box h4 { font-family: var(--serif); font-size: 1.2rem; }
.keepsake-box p { font-size: .92rem; color: var(--ink-soft); }

.section-anchor { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* =============================================================
   7. Effects
   ============================================================= */
.hairline { height: 1px; background: var(--line); border: none; margin: 0; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .guide-topics { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  .product-pieces { grid-template-columns: repeat(3, 1fr); }
  .details-grid { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .packaging-grid { grid-template-columns: repeat(3, 1fr); }
  .packaging-media--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); }
  .split-grid { grid-template-columns: 1fr 1fr; }
  .guide-toc { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
  .keepsake-box { grid-template-columns: 1fr auto; align-items: center; }
}

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

  .product-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-grid.reverse { direction: rtl; }
  .story-grid.reverse > * { direction: ltr; }
  .guide-box { grid-template-columns: 1.1fr .9fr; text-align: left; }
  .topic-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .hero-title { max-width: 17ch; }
}

/* =============================================================
   9. Reduced motion / print
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition-duration: .25s; }
  .card:hover .card-media img { transform: none; }
}
