/* =========================================================
   Tenteenpie — Guía del ritual (rediseño)
   Mobile-first · responsivo · accesible
   ========================================================= */

:root {
  --cream: #F7F4EE;
  --cream-dark: #EFEBE2;
  --card: #FBF9F4;
  --forest: #1B3A32;
  --forest-dark: #12291F;
  --orange: #E06D3B;
  --yellow: #F2B94B;
  --sage: #B9C7A4;
  --muted: #5E6B66;

  --tint-peach: #F6E2D4;
  --tint-sage: #DDE6CF;
  --tint-pink: #F3DAD9;
  --tint-blue: #D9E4EC;
  --tint-yellow: #F7E7BF;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1040px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(27, 58, 50, 0.08);
  --shadow-card: 0 14px 34px rgba(224, 109, 59, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--forest);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; }
p { margin: 0; }
a { color: inherit; }
svg { display: block; }
ol, ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 1.1rem;
}
.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
}
.eyebrow-yellow { color: var(--yellow); }
.eyebrow-white { color: #fff; }
.line-yellow, .line-white { background: currentColor; }

.accent-italic {
  font-style: italic;
  color: var(--orange);
}
.muted-italic { color: var(--muted); }
.accent-yellow { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.btn-pill-dark { background: var(--forest); color: #fff; }
.btn-pill-dark:hover { background: var(--forest-dark); }
.btn-pill-orange { background: var(--orange); color: #fff; box-shadow: var(--shadow-soft); }
.btn-pill-orange:hover { background: #c95a2b; }
.btn-pill-cream { background: var(--cream); color: var(--forest-dark); }
.btn-pill-cream:hover { background: #fff; }

.link-underline {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--forest);
}
.link-underline:hover { color: var(--orange); }

/* ---------- Announcement ---------- */
.announce {
  background: var(--forest);
  color: #fff;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}
.announce-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  flex: none;
}
.announce-arrow { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(27, 58, 50, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.brand-text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.nav {
  display: none;
  gap: 1.8rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a { text-decoration: none; color: var(--forest); }
.nav a:hover { color: var(--orange); }
.header-cta { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 3.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.8rem, 12vw, 4.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
}
.hero-title .accent-italic { display: block; }
.hero-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 460px;
  margin-bottom: 1.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
  margin-bottom: 2rem;
}
.hero-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.avatars { display: inline-flex; }
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.hero-social-text { font-size: 0.86rem; color: var(--muted); }
.hero-social-text strong { color: var(--forest); }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; }
.hero-oval {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 5 / 6;
  background: linear-gradient(170deg, #EFE9DB, var(--sage));
  border-radius: 50% / 46%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.oval-sun {
  position: absolute;
  top: 16%; right: 20%;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--yellow);
}
.oval-mountains { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; }
.pouch-card {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  width: 140px;
  padding: 1rem 0.9rem;
  background: var(--orange);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 16px 30px rgba(27, 58, 50, 0.25);
}
.pouch-label {
  font-size: 0.6rem; letter-spacing: 0.22em; font-weight: 700;
  opacity: 0.9;
}
.pouch-bowl { margin: 0.1rem 0; }
.pouch-title { font-family: var(--serif); font-size: 1.1rem; }
.pouch-sub { font-size: 0.68rem; font-style: italic; opacity: 0.92; }

.badge-pill {
  position: absolute;
  background: #fff;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(27, 58, 50, 0.18);
  white-space: nowrap;
}
.badge-top { top: 14%; left: 4%; transform: rotate(-8deg); }
.badge-bottom { bottom: 16%; right: 4%; }
.badge-circle { position: absolute; right: -6px; top: 42%; }

/* ---------- Ritual ---------- */
.ritual { padding: 3.5rem 0; }
.ritual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.ritual-rail { display: none; }
.ritual-title {
  font-size: clamp(1.9rem, 6vw, 3rem);
  letter-spacing: -0.01em;
}
.ritual-title .accent-italic { display: inline; }
.ritual-note { color: var(--muted); max-width: 320px; margin-bottom: 1.6rem; }
.ritual-stats { display: flex; gap: 2.5rem; }
.stat-num { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.66rem; letter-spacing: 0.18em; font-weight: 700; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { background: var(--cream-dark); padding: 4rem 0; }
.steps-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}
.steps-title { font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -0.02em; }
.steps-title .accent-italic { display: inline; }
.route-tip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--forest);
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  align-self: start;
  max-width: 360px;
}
.route-tip p { font-size: 0.85rem; }
.route-tip strong { color: var(--yellow); letter-spacing: 0.1em; font-size: 0.72rem; }
.tip-icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Stepper */
.stepper-wrap { overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 2.4rem; }
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 420px;
}
.stepper li { display: flex; align-items: center; flex: 1; }
.stepper li:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(27, 58, 50, 0.22);
  margin: 0 0.4rem;
}
.stepper-dot {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(27, 58, 50, 0.3);
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stepper-dot:hover { border-color: var(--orange); color: var(--orange); }
.stepper-dot:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.stepper-dot.is-active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(224, 109, 59, 0.22);
}
.stepper-dot.is-done { border-color: var(--orange); color: var(--orange); }

/* Steps body */
.steps-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.steps-panel { }
.panel-inner {
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
}
.panel-eyebrow { font-size: 0.66rem; letter-spacing: 0.2em; font-weight: 700; color: var(--sage); margin-bottom: 0.8rem; }
.panel-count { font-family: var(--serif); font-size: 3rem; color: var(--orange); line-height: 1; margin-bottom: 0.6rem; }
.panel-total { color: rgba(255,255,255,0.5); font-size: 1.6rem; }
.panel-name { font-size: 1.5rem; margin-bottom: 0.8rem; }
.panel-line { display: block; width: 46px; height: 3px; background: var(--orange); border-radius: 3px; margin-bottom: 1rem; }
.panel-hint { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.step-cards { display: flex; flex-direction: column; gap: 1rem; }
.step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: start;
  gap: 1rem;
  background: var(--card);
  border: 1px solid rgba(27, 58, 50, 0.1);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.step-card:hover { transform: translateY(-2px); }
.step-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.step-card.is-active {
  border-color: var(--orange);
  box-shadow: var(--shadow-card);
}
.card-num { font-family: var(--serif); font-size: 1.5rem; color: rgba(27, 58, 50, 0.3); line-height: 1.2; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  flex: none;
}
.tint-peach .card-icon { background: var(--tint-peach); }
.tint-sage .card-icon { background: var(--tint-sage); }
.tint-pink .card-icon { background: var(--tint-pink); }
.tint-blue .card-icon { background: var(--tint-blue); }
.tint-yellow .card-icon { background: var(--tint-yellow); }

.card-verb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.35rem;
}
.verb-line { display: inline-block; flex: 1; height: 1px; background: rgba(224,109,59,0.4); max-width: 60px; }
.card-title { font-size: 1.4rem; margin-bottom: 0.45rem; }
.card-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest);
  background: rgba(27, 58, 50, 0.05);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.card-chev {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(27,58,50,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  align-self: center;
  transition: all 0.2s ease;
}
.step-card.is-active .card-chev { background: var(--orange); color: #fff; border-color: var(--orange); }

.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 1.8rem;
}
.pager-btn {
  background: none;
  border: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest);
  cursor: pointer;
  padding: 0.4rem 0.2rem;
}
.pager-btn:hover { color: var(--orange); }
.pager-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pager-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.pager-count { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* ---------- Cold band ---------- */
.cold-band { background: var(--forest); color: #fff; padding: 3.2rem 0; }
.cold-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: center;
}
.cold-left { display: flex; align-items: center; gap: 1rem; }
.cold-drop {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cold-title { font-size: clamp(1.6rem, 5vw, 2.4rem); color: #fff; }
.cold-mid { color: rgba(255,255,255,0.72); font-size: 0.98rem; max-width: 380px; }
.cold-right { font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2rem); color: var(--yellow); }

/* ---------- Important band ---------- */
.important-band { background: var(--orange); color: #fff; padding: 4rem 0; }
.important-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
}
.important-visual { display: flex; justify-content: center; }
.important-circle {
  width: 210px; height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.important-circle::before,
.important-circle::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.important-circle::before { top: 24px; left: 40px; }
.important-circle::after { bottom: 30px; right: 36px; }
.packet {
  background: var(--cream);
  color: var(--forest);
  width: 108px;
  padding: 1.2rem 0.6rem;
  border-radius: 10px;
  transform: rotate(-6deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 14px 26px rgba(0,0,0,0.2);
}
.packet-label { font-size: 0.7rem; letter-spacing: 0.18em; font-weight: 700; }
.important-title { font-size: clamp(2rem, 7vw, 3.2rem); color: #fff; letter-spacing: -0.01em; }
.important-title .accent-italic { display: block; }
.important-text { color: rgba(255,255,255,0.9); margin: 1.2rem 0 1.6rem; max-width: 440px; }
.checks { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.check { font-size: 0.74rem; letter-spacing: 0.14em; font-weight: 700; }
.check-sep { opacity: 0.55; }

/* ---------- CTA ---------- */
.cta-band { background: var(--forest-dark); color: #fff; padding: 4rem 0; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
}
.cta-title { font-size: clamp(2.2rem, 8vw, 3.6rem); color: #fff; letter-spacing: -0.02em; }
.cta-title .accent-italic { display: block; }
.cta-text { color: rgba(255,255,255,0.78); margin: 1.2rem 0 1.8rem; max-width: 420px; }
.cta-visual { display: flex; justify-content: center; }
.cta-visual svg { max-width: 220px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.footer-brand .brand-text { color: #fff; }
.footer-center { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-right { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ---------- FAQ ---------- */
.faq-band { background: var(--cream); padding: 4rem 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: start;
}
.faq-title { font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -0.02em; }
.faq-title .accent-italic { display: inline; }
.faq-lead { color: var(--muted); margin: 1.1rem 0 1.6rem; max-width: 320px; }
.faq-cta { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--card);
  border: 1px solid rgba(27, 58, 50, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: var(--orange);
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.faq-q {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--forest);
}
.faq-icon {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(27, 58, 50, 0.25);
  transition: transform 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--forest);
  transition: background 0.2s ease;
}
.faq-icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon {
  transform: rotate(135deg);
  border-color: var(--orange);
  background: var(--orange);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-a { padding: 0 1.3rem 1.25rem; }
.faq-a p { color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .steps-head { grid-template-columns: 1fr auto; align-items: end; }
  .ritual-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .cold-grid { grid-template-columns: 1.1fr 1fr auto; }
  .important-grid { grid-template-columns: 0.8fr 1.2fr; }
  .cta-grid { grid-template-columns: 1.3fr 0.7fr; }
  .faq-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .nav { display: flex; }
}

@media (min-width: 900px) {
  .hero { padding: 4rem 0 5rem; }
  .steps-body { grid-template-columns: 300px 1fr; gap: 2rem; }
  .steps-panel { position: relative; }
  .panel-inner { position: sticky; top: 90px; }

  /* Ritual vertical rail */
  .ritual-grid {
    grid-template-columns: auto 1.3fr 1fr;
    gap: 2.5rem;
  }
  .ritual-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 0.4rem;
  }
  .rail-line { width: 1px; height: 60px; background: rgba(224,109,59,0.5); }
  .rail-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--orange);
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
