/* El Primer Gran Paso · myfirstbigstep.com
   Palette from tinmarinmiami.com (indigo, pink, yellow, sky, green, purple) on warm storybook cream. */
:root {
  --indigo: #3a3d72;
  --indigo-deep: #2a2c58;
  --pink: #fe4980;
  --pink-soft: #ffe1ea;
  --yellow: #fbac18;
  --yellow-soft: #fff1d2;
  --sky: #16c4e3;
  --sky-soft: #dcf6fb;
  --green: #7dbe48;
  --green-soft: #e8f5dc;
  --purple: #9e49fe;
  --purple-soft: #f0e4ff;
  --red: #fe4949;
  --cream: #fff9f1;
  --paper: #ffffff;
  --ink: #2f3163;
  --muted: #6b6e93;
  --line: #ece4d6;
  --radius: 26px;
  --shadow: 0 18px 40px -22px rgba(58, 61, 114, 0.35);
  --shadow-sm: 0 8px 22px -14px rgba(58, 61, 114, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --font-head: "Amaranth", "Baloo 2", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 1.06rem; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.005em; color: var(--indigo); margin: 0; text-wrap: balance; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--indigo-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: 0.7rem 1rem; border-radius: 12px; background: var(--pink); color: #fff; transform: translateY(-160%); transition: transform 0.2s; }
.skip:focus { transform: none; }
.wrap { width: min(100%, var(--max)); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.1rem; padding: 0 1.4rem; border: 0; border-radius: 999px; font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 10px 22px -10px rgba(254, 73, 128, 0.75); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 28px -12px rgba(254, 73, 128, 0.8); }
.btn-amazon { background: var(--indigo); color: #fff; box-shadow: 0 10px 22px -12px rgba(58, 61, 114, 0.7); }
.btn-amazon:hover { transform: translateY(-2px); background: var(--indigo-deep); }
.btn-ghost { background: #fff; color: var(--indigo); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--indigo); transform: translateY(-2px); }
.btn-small { min-height: 2.5rem; padding: 0 1rem; font-size: 0.92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 241, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow 0.3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(58, 61, 114, 0.5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark { width: 2.6rem; height: 2.6rem; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 1.28rem; color: var(--indigo); line-height: 1; }
.brand-name small { display: block; margin-top: 0.2rem; color: var(--pink); font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 0.55rem 0.85rem; border-radius: 999px; font-weight: 500; font-size: 0.97rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--pink-soft); color: var(--pink); }
.nav-cta { margin-left: 0.5rem; }
.menu-btn { display: none; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 14px; background: #fff; color: var(--indigo); box-shadow: var(--shadow-sm); cursor: pointer; }
.menu-btn svg { width: 1.5rem; height: 1.5rem; margin: auto; }

/* Hero */
.hero { position: relative; padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--yellow-soft); color: #8a5a00; font-size: 0.85rem; font-weight: 600; }
.eyebrow::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--yellow); }
.hero h1 { margin-top: 1.1rem; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.02; }
.hero h1 .accent { position: relative; color: var(--pink); white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; right: 0; bottom: -0.25em; width: 100%; height: 0.4em; color: var(--yellow); }
.hero h1 .accent svg path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { margin-top: 0.9rem; font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.65rem); color: var(--indigo); }
.hero-text { max-width: 36rem; margin-top: 1rem; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.hero-badges li { display: flex; align-items: center; gap: 0.5rem; }
.hero-badges b { font-family: var(--font-head); font-size: 1.6rem; color: var(--indigo); }
.hero-visual { position: relative; }
.hero-book { position: relative; z-index: 2; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(42, 44, 88, 0.6); transform: perspective(1200px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)); transition: transform 0.6s var(--ease); }
.hero-book img { width: 100%; }
.sticker { position: absolute; z-index: 3; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: 0.92rem; animation: float 6s ease-in-out infinite; }
.sticker .dot { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 12px; color: #fff; }
.sticker-a { left: -1.4rem; bottom: 12%; }
.sticker-a .dot { background: var(--green); }
.sticker-b { right: -1rem; top: 8%; animation-delay: -3s; }
.sticker-b .dot { background: var(--pink); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }

/* Decorations */
.deco { position: absolute; z-index: 0; pointer-events: none; }
.blob { border-radius: 50%; filter: blur(2px); opacity: 0.55; animation: drift 14s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, -16px) scale(1.06); } }
.star { width: 34px; height: 34px; animation: spin-float 9s ease-in-out infinite; }
@keyframes spin-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(25deg); } }

/* Sections */
.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; margin-bottom: 0.8rem; color: var(--pink); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.section h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.12rem; }
.bg-white { background: #fff; }
.bg-indigo { background: var(--indigo); color: #e9eaff; }
.bg-indigo h2, .bg-indigo h3 { color: #fff; }
.bg-indigo .kicker { color: var(--yellow); }
.wave { display: block; width: 100%; height: 60px; }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; }

/* Momentos strip */
.momentos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.momento { position: relative; padding: 1rem 1rem 1.3rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); text-align: center; transition: box-shadow 0.35s var(--ease); }
.momento:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow); }
.momento img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.momento .num { position: absolute; top: 0.6rem; left: 0.6rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--c, var(--pink)); color: #fff; font-family: var(--font-head); font-size: 1.1rem; box-shadow: 0 6px 12px -6px rgba(0,0,0,.4); }
.momento h3 { margin-top: 0.9rem; font-size: 1.35rem; }
.momento p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* Split blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 32px; box-shadow: var(--shadow); }
.quote { margin: 1.6rem 0 0; padding: 1.2rem 1.4rem; border-left: 5px solid var(--yellow); border-radius: 0 18px 18px 0; background: var(--yellow-soft); font-family: var(--font-head); font-size: 1.3rem; color: var(--indigo); }
.checks { display: grid; gap: 0.7rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }

/* Ritual stepper */
.ritual { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.ritual-tabs { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.ritual-tab { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 0; border-radius: 20px; background: rgba(255,255,255,0.08); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 0.3s, transform 0.3s var(--ease); }
.ritual-tab:hover { background: rgba(255,255,255,0.14); }
.ritual-tab[aria-selected="true"] { background: #fff; color: var(--indigo); transform: translateX(8px); }
.ritual-tab .ico { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 16px; background: var(--c); color: #fff; }
.ritual-tab .ico svg { width: 1.5rem; height: 1.5rem; }
.ritual-tab b { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.ritual-tab small { opacity: 0.75; }
.ritual-panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: 32px; background: #fff; color: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.ritual-panel[hidden] { display: none; }
.ritual-panel .say { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--pink); line-height: 1.15; animation: pop 0.5s var(--ease); }
.ritual-panel .why { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); }
.ritual-panel .step-num { position: absolute; right: 1.2rem; bottom: -1.6rem; font-family: var(--font-head); font-size: 9rem; line-height: 1; color: var(--yellow-soft); z-index: 0; }
.ritual-panel > * { position: relative; z-index: 1; }
.ritual-progress { display: flex; gap: 0.4rem; margin-top: 1.6rem; }
.ritual-progress i { height: 6px; flex: 1; border-radius: 6px; background: var(--line); transition: background 0.3s; }
.ritual-progress i.on { background: var(--pink); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Resource cards */
.resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.resource { position: relative; display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.35s var(--ease); }
.resource:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.resource::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--c); }
.resource .r-ico { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 20px; background: var(--cs); color: var(--c); margin-bottom: 1.2rem; transition: transform 0.4s var(--ease); }
.resource:hover .r-ico { transform: rotate(-8deg) scale(1.08); }
.resource .r-ico svg { width: 1.8rem; height: 1.8rem; }
.resource h3 { font-size: 1.6rem; }
.resource p { margin-top: 0.6rem; color: var(--muted); flex: 1; }
.resource .r-thumbs { display: flex; gap: 0.4rem; margin: 0.4rem 0 1.2rem; }
.resource .r-thumbs img { width: 3.6rem; height: 4.5rem; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease); }
.resource:hover .r-thumbs img:nth-child(1) { transform: rotate(-6deg) translateY(-3px); }
.resource:hover .r-thumbs img:nth-child(2) { transform: translateY(-6px); }
.resource:hover .r-thumbs img:nth-child(3) { transform: rotate(6deg) translateY(-3px); }
.resource .r-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Author */
.author { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.author-card { position: relative; padding: 1rem; border-radius: 36px; background: linear-gradient(145deg, var(--pink-soft), var(--yellow-soft)); }
.author-card img { border-radius: 28px; }
.author-tag { position: absolute; left: 50%; bottom: -1.2rem; transform: translateX(-50%); padding: 0.7rem 1.3rem; border-radius: 999px; background: var(--indigo); color: #fff; font-family: var(--font-head); font-size: 1.15rem; white-space: nowrap; box-shadow: var(--shadow); }
.stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.stat { flex: 1 1 9rem; padding: 1.1rem 1.2rem; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--pink); }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* Community & events */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.slot { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; min-height: 13rem; padding: 1.6rem; border: 2px dashed #d9cfbd; border-radius: var(--radius); background: rgba(255,255,255,0.6); }
.slot .slot-logo { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 18px; background: var(--cs, var(--sky-soft)); color: var(--c, var(--sky)); }
.slot .slot-logo svg { width: 2rem; height: 2rem; }
.slot h3 { font-size: 1.3rem; }
.slot p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 2rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 28px; background: var(--pink); color: #fff; box-shadow: 0 20px 40px -24px rgba(254, 73, 128, 0.9); }
.cta-band h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band .btn-ghost { box-shadow: none; }
.events-media img { border-radius: 32px; box-shadow: var(--shadow); }
.event-list { display: grid; gap: 0.9rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.event-list li { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.event-list .ev-ico { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 16px; background: var(--cs); color: var(--c); }
.event-list .ev-ico svg { width: 1.5rem; height: 1.5rem; }
.event-list b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--indigo); }
.event-list span { color: var(--muted); font-size: 0.93rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-card { padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 32px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.6rem; }
.contact-mail { display: inline-flex; align-items: center; gap: 0.6rem; margin: 1rem 0 1.4rem; font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--pink); text-decoration: none; word-break: break-all; }
.contact-mail svg { width: 1.6rem; height: 1.6rem; flex: none; }
.topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.topics li { padding: 0.45rem 0.9rem; border-radius: 999px; background: rgba(255,255,255,0.1); font-size: 0.92rem; }

/* Footer */
.site-footer { padding: 3rem 0 2rem; background: var(--indigo-deep); color: #c9cbef; font-size: 0.95rem; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.footer-grid .brand-name { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.footer-note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; opacity: 0.8; }

/* Inner page hero */
.page-hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.2rem; font-size: 0.92rem; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--indigo); text-decoration: none; }
.crumbs a svg { width: 1rem; height: 1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero p.lead { max-width: 44rem; margin-top: 1rem; color: var(--muted); font-size: 1.15rem; }
.page-hero .hero-actions { margin-top: 1.4rem; }
.toolbar { position: sticky; top: 4.6rem; z-index: 30; padding: 0.7rem 0; background: rgba(255, 249, 241, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1rem; border: 0; border-radius: 999px; background: #fff; color: var(--indigo); font: 600 0.92rem var(--font-body); text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 2px var(--line); transition: background 0.2s, box-shadow 0.2s, color 0.2s; }
.chip:hover { box-shadow: inset 0 0 0 2px var(--c, var(--indigo)); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--c, var(--indigo)); color: #fff; box-shadow: none; }
.chip i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--c, var(--indigo)); }
.chip[aria-pressed="true"] i, .chip.is-active i { background: #fff; }

/* Guide */
.guide-block { padding: clamp(3rem, 6vw, 5rem) 0; }
.guide-block + .guide-block { border-top: 2px dashed var(--line); }
.prep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.prep { position: relative; padding: 1.4rem 1.4rem 1.2rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; transition: box-shadow 0.3s; }
.prep:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prep input { position: absolute; opacity: 0; }
.prep .tick { position: absolute; top: 1rem; right: 1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid var(--line); transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.prep input:checked ~ .tick { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; border-color: var(--green); transform: scale(1.1); }
.prep input:focus-visible ~ .tick { outline: 3px solid var(--pink); outline-offset: 2px; }
.prep .n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 12px; background: var(--c); color: #fff; font-family: var(--font-head); }
.prep h3 { margin: 0.8rem 2rem 0.4rem 0; font-size: 1.3rem; }
.prep p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
.prep input:checked ~ h3 { color: var(--green); }
.progress { display: flex; align-items: center; gap: 0.9rem; margin: 0 0 1.4rem; font-weight: 600; color: var(--indigo); }
.progress-bar { flex: 1; max-width: 22rem; height: 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--sky)); transition: width 0.6s var(--ease); }
.routines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.routine { padding: 1.6rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.routine h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; }
.routine h3 svg { width: 1.8rem; height: 1.8rem; color: var(--c); }
.timeline { margin: 1.2rem 0 0; padding: 0; list-style: none; counter-reset: t; }
.timeline li { position: relative; padding: 0 0 0.9rem 2.4rem; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0.05rem; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--c); color: #fff; font-size: 0.82rem; font-weight: 700; }
.timeline li::after { content: ""; position: absolute; left: 0.83rem; top: 1.8rem; bottom: 0.1rem; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.steps-acc { display: grid; gap: 0.8rem; }
.acc { border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.acc summary { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.35rem; color: var(--indigo); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 14px; background: var(--c); color: #fff; font-size: 1.1rem; }
.acc summary .chev { margin-left: auto; width: 1.4rem; height: 1.4rem; transition: transform 0.3s var(--ease); }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc .acc-body { padding: 0 1.3rem 1.3rem 4.7rem; color: var(--muted); }
.acc .acc-body q { display: block; margin-bottom: 0.5rem; font-family: var(--font-head); font-size: 1.25rem; color: var(--pink); quotes: "«" "»"; }
.flip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.flip { position: relative; height: 11.5rem; border: 0; padding: 0; background: none; perspective: 1000px; cursor: pointer; font: inherit; text-align: left; }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.7s var(--ease); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 1.3rem 1.4rem; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--shadow-sm); }
.flip-front { background: #fff; color: var(--muted); }
.flip-front small, .flip-back small { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.flip-front b { margin-top: 0.4rem; font-family: var(--font-head); font-size: 1.4rem; color: var(--indigo); text-decoration: line-through; text-decoration-color: rgba(254, 73, 73, 0.6); text-decoration-thickness: 3px; }
.flip-front em { margin-top: auto; color: var(--pink); font-style: normal; font-size: 0.85rem; font-weight: 600; }
.flip-back { transform: rotateY(180deg); background: var(--green); color: #fff; }
.flip-back b { margin-top: 0.4rem; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.25; }
.note-card { padding: 1.6rem; border-radius: var(--radius); background: var(--c, var(--sky-soft)); }
.note-card h3 { font-size: 1.5rem; }
.note-card p { margin: 0.6rem 0 0; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.download-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.download-band .db-info { display: flex; align-items: center; gap: 1rem; }
.download-band img { width: 3.4rem; border-radius: 8px; border: 1px solid var(--line); }

/* Activities */
.acts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.act { position: relative; display: flex; flex-direction: column; padding: 1.3rem 1.3rem 1.1rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow 0.35s var(--ease), background 0.3s; }
.act:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.act.is-hidden { display: none; }
.act .act-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.act .act-n { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--c); }
.act .act-m { padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--cs); color: var(--c); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.act h3 { margin: 0.7rem 0 0.4rem; font-size: 1.3rem; }
.act p { flex: 1; margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
.act .done-btn { align-self: flex-start; margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.9rem; border: 0; border-radius: 999px; background: var(--cream); color: var(--indigo); font: 600 0.88rem var(--font-body); cursor: pointer; box-shadow: inset 0 0 0 2px var(--line); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.act .done-btn svg { width: 1rem; height: 1rem; }
.act.is-done { background: var(--green-soft); }
.act.is-done .done-btn { background: var(--green); color: #fff; box-shadow: none; }
.momento-head { display: flex; align-items: center; gap: 1rem; margin: 2.6rem 0 1.2rem; }
.momento-head img { width: 4.2rem; height: 4.2rem; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow-sm); }
.momento-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.momento-head span { display: block; color: var(--c); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.momento-group.is-hidden { display: none; }
.ring { position: relative; width: 4.4rem; height: 4.4rem; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .bg { stroke: #fff; }
.ring .fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 0.7s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.15rem; color: var(--indigo); }
.closing { margin-top: 3rem; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 32px; background: var(--indigo); color: #fff; text-align: center; }
.closing p { margin: 0; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; }
.closing small { display: block; margin-top: 1rem; opacity: 0.8; font-size: 0.95rem; }

/* Fichas */
.ficha-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.7rem; }
.ficha-link { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.9rem 1rem; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform 0.3s var(--ease); }
.ficha-link:hover { transform: translateY(-3px); }
.ficha-link span { color: var(--c); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ficha-link b { font-family: var(--font-head); font-size: 1.1rem; color: var(--indigo); line-height: 1.2; }
.ficha { margin-top: 2.2rem; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 32px; background: #fff; box-shadow: var(--shadow-sm); scroll-margin-top: 8rem; }
.ficha-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.ficha-head .tag { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--cs); color: var(--c); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ficha-head h2 { margin-top: 0.6rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ficha-head p { margin: 0.5rem 0 0; color: var(--muted); }
.ficha-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checklist { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.checklist label { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.9rem 1rem; border-radius: 16px; background: var(--cream); cursor: pointer; transition: background 0.25s; }
.checklist input { appearance: none; -webkit-appearance: none; flex: none; width: 1.6rem; height: 1.6rem; margin: 0.05rem 0 0; border-radius: 8px; border: 2px solid #cfc5b3; background: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.checklist input:checked { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/75% no-repeat; transform: scale(1.08); }
.checklist label:has(input:checked) { background: var(--green-soft); }
.checklist label:has(input:checked) span { color: #3d6b1d; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.2rem; }
.field { display: grid; gap: 0.35rem; }
.field.wide { grid-column: 1 / -1; }
.field span { font-weight: 600; font-size: 0.92rem; color: var(--indigo); }
.field input, .field textarea { width: 100%; padding: 0.75rem 0.95rem; border: 2px solid var(--line); border-radius: 14px; background: var(--cream); color: var(--ink); font: 1rem var(--font-body); transition: border-color 0.2s, background 0.2s; }
.field textarea { min-height: 4.6rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; }
.ritual-card-builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; align-items: center; }
.ritual-card { position: relative; padding: 2rem 1.8rem; border-radius: 28px; background: linear-gradient(150deg, #fff 0%, var(--pink-soft) 100%); border: 3px solid var(--pink); text-align: center; box-shadow: var(--shadow); overflow: hidden; }
.ritual-card::before, .ritual-card::after { content: ""; position: absolute; width: 7rem; height: 7rem; border-radius: 50%; opacity: 0.35; }
.ritual-card::before { top: -2.5rem; left: -2.5rem; background: var(--yellow); }
.ritual-card::after { bottom: -2.5rem; right: -2.5rem; background: var(--sky); }
.ritual-card > * { position: relative; }
.ritual-card .heart { width: 3rem; height: 3rem; margin: 0 auto 0.6rem; color: var(--pink); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(1); } }
.ritual-card p { margin: 0.5rem 0; font-family: var(--font-head); font-size: 1.35rem; color: var(--indigo); line-height: 1.3; }
.ritual-card mark { padding: 0 0.3rem; border-radius: 6px; background: var(--yellow-soft); color: var(--pink); }
.sequence { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.seq-item { position: relative; border-radius: 18px; background: var(--cream); box-shadow: var(--shadow-sm); overflow: hidden; cursor: grab; transition: transform 0.25s var(--ease), box-shadow 0.25s, outline-color 0.2s; outline: 3px solid transparent; }
.seq-item img { width: 100%; aspect-ratio: 1.45; object-fit: cover; pointer-events: none; }
.seq-item .seq-n { position: absolute; top: 0.4rem; left: 0.4rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; font-size: 0.85rem; }
.seq-item.is-now { outline-color: var(--pink); transform: translateY(-4px); }
.seq-item.is-dragging { opacity: 0.4; }
.seq-item .seq-move { display: flex; justify-content: space-between; padding: 0.3rem; }
.seq-item .seq-move button { width: 2rem; height: 2rem; border: 0; border-radius: 10px; background: #fff; color: var(--indigo); cursor: pointer; }
.seq-item .seq-move button svg { width: 1rem; height: 1rem; }
.seq-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.seq-now { font-family: var(--font-head); font-size: 1.3rem; color: var(--pink); }
.story { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: center; min-height: 18rem; }
.story-slide { display: none; }
.story-slide.is-active { display: contents; }
.story-slide img { border-radius: 24px; box-shadow: var(--shadow-sm); animation: pop 0.5s var(--ease); }
.story-slide p { margin: 0; font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--indigo); animation: pop 0.5s var(--ease); }
.story-nav { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.2rem; }
.story-dots { display: flex; gap: 0.35rem; }
.story-dots i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line); transition: background 0.3s, width 0.3s; }
.story-dots i.on { width: 1.6rem; border-radius: 999px; background: var(--pink); }
.round-btn { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: var(--indigo); color: #fff; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s; }
.round-btn:hover { transform: scale(1.08); background: var(--pink); }
.round-btn:disabled { opacity: 0.35; cursor: default; transform: none; background: var(--indigo); }
.round-btn svg { width: 1.3rem; height: 1.3rem; }
.feelings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.feeling { border: 0; padding: 0; border-radius: 22px; background: var(--cream); cursor: pointer; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, outline-color 0.2s; outline: 4px solid transparent; }
.feeling:hover { transform: translateY(-4px) rotate(-1deg); }
.feeling[aria-pressed="true"] { outline-color: var(--pink); transform: scale(1.04); box-shadow: var(--shadow); }
.feeling img { width: 100%; }
.feeling-answer { min-height: 3.2rem; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 18px; background: var(--sky-soft); font-family: var(--font-head); font-size: 1.3rem; color: var(--indigo); text-align: center; }
.logs { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.log { padding: 1rem 1.2rem; border-radius: 18px; background: var(--cream); font-size: 0.95rem; }
.log header { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; font-weight: 700; color: var(--indigo); }
.log dl { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.25rem 1rem; margin: 0; }
.log dt { color: var(--muted); }
.log dd { margin: 0; }
.log button { border: 0; background: none; color: var(--red); font: 600 0.85rem var(--font-body); cursor: pointer; }
.privacy { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 18px; background: var(--sky-soft); font-size: 0.92rem; color: var(--indigo); }
.privacy svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.15rem; }
.saved-pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--green-soft); color: #3d6b1d; font-size: 0.8rem; font-weight: 600; opacity: 0; transition: opacity 0.3s; }
.saved-pill.show { opacity: 1; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* Responsive */
@media (max-width: 1023px) {
  .momentos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .resources, .cards-3 { grid-template-columns: 1fr 1fr; }
  .prep-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 4.6rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.2rem; padding: 1rem var(--gutter) 1.4rem; background: var(--cream); box-shadow: 0 20px 30px -20px rgba(58,61,114,0.4); transform: translateY(-120%); transition: transform 0.4s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin: 0.4rem 0 0; }
  .menu-btn { display: grid; }
  .hero-grid, .split, .ritual, .author, .contact, .ritual-card-builder, .story, .two-col, .routines { grid-template-columns: 1fr; }
  .hero-visual { max-width: 34rem; margin: 0 auto; }
  .sticker-a { left: 0.4rem; }
  .sticker-b { right: 0.4rem; }
  .ritual-tab[aria-selected="true"] { transform: none; }
  .author-card { max-width: 26rem; margin: 0 auto 1.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .toolbar { top: 4.6rem; }
}
@media (max-width: 640px) {
  .momentos, .resources, .cards-3, .prep-grid { grid-template-columns: 1fr; }
  .momento { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; align-items: center; text-align: left; }
  .momento h3 { margin-top: 0; }
  .feelings { grid-template-columns: 1fr 1fr; }
  .acc .acc-body { padding-left: 1.3rem; }
  .log dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Print: only the ficha being printed */
@media print {
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer, .page-hero, .toolbar, .ficha-tools, .ficha-nav, .privacy, .no-print, .deco, .skip { display: none !important; }
  body.printing-one .ficha:not(.is-printing), body.printing-one section:not(:has(.is-printing)) { display: none !important; }
  .ficha { box-shadow: none; margin: 0; padding: 0; break-inside: avoid; }
  .field input, .field textarea { border: 0; border-bottom: 1px solid #999; border-radius: 0; background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.page-hero-art img { border-radius: 30px; box-shadow: var(--shadow); transform: rotate(1.2deg); transition: transform 0.6s var(--ease); }
.page-hero-art:hover img { transform: rotate(0deg) scale(1.01); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }
.feelings { max-width: 46rem; }
