:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --paper-light: #fbf8f2;
  --ink: #151718;
  --ink-soft: #414545;
  --green: #3d7d36;
  --green-dark: #2d6128;
  --gold: #edb52a;
  --blue: #336a9c;
  --navy: #162336;
  --red: #d65a45;
  --rule: rgba(21, 23, 24, .24);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Nunito Sans', 'Avenir Next', Avenir, sans-serif;
  --hand: 'Kalam', 'Comic Sans MS', cursive;
  --page: min(1160px, calc(100% - 64px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.section-wrap { width: var(--page); margin-inline: auto; }
.site-header { width: var(--page); min-height: 88px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 3; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; font-family: var(--hand); line-height: .88; transform: rotate(-2deg); }
.wordmark span { font-size: 28px; font-weight: 700; letter-spacing: -.8px; }
.wordmark small { margin-left: 29px; font-size: 17px; font-weight: 700; color: var(--green); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.main-nav a { text-decoration: none; font-size: 17px; font-weight: 800; }
.main-nav a:not(.nav-contact):hover, .text-link:hover, .author-link:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.nav-contact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 28px; }
.nav-contact:hover { background: var(--gold); }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px 7px; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--ink); }

.hero { min-height: 645px; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; position: relative; padding-block: 40px 60px; }
.hero-copy { position: relative; z-index: 1; padding-block: 18px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 22px; font-family: var(--hand); font-size: clamp(64px, 7.5vw, 102px); line-height: .92; letter-spacing: -4.2px; font-weight: 700; }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 540px; margin-bottom: 12px; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.28; font-weight: 800; letter-spacing: -.6px; }
.hero-support { max-width: 520px; margin-bottom: 27px; color: var(--ink-soft); font-size: 16px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 20px; border: 0; border-radius: 4px 18px 5px 16px; font-family: var(--sans); font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px) rotate(-.5deg); box-shadow: 4px 5px 0 rgba(21,23,24,.18); }
.button-dark { background: var(--ink); color: #fffdf8; }
.text-link { font-size: 13px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-note { display: block; margin-top: 26px; margin-left: 3px; color: var(--green-dark); font-family: var(--hand); font-size: 20px; transform: rotate(-2deg); }
.hero-art { width: 112%; margin: 0 -8% 0 -4%; position: relative; }
.hero-art img { width: 100%; height: auto; }
.hero-cover { width: min(88%, 490px); justify-self: center; margin: 0; padding: 11px; background: var(--paper-light); border: 1px solid rgba(21,23,24,.24); box-shadow: 9px 12px 0 rgba(21,23,24,.12); transform: rotate(1.3deg); }
.hero-cover img { width: 100%; height: auto; }
.hero-art-note { position: absolute; bottom: 3%; right: -14%; max-width: 250px; padding: 5px 13px; color: var(--navy); background: var(--gold); font-family: var(--hand); font-size: 18px; transform: rotate(2deg); }

.book-section { padding-block: 84px 103px; border-top: 1px solid var(--rule); }
.section-label { margin-bottom: 11px; color: var(--green-dark); font-size: 12px; font-weight: 900; letter-spacing: 1.8px; }
.section-heading { max-width: 790px; margin-bottom: 46px; }
.section-heading h2, .journey-heading h2 { margin-bottom: 0; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.12; letter-spacing: -1.8px; }
.section-heading h2 span, .journey-heading h2 span { color: var(--green); }
.book-columns { display: grid; grid-template-columns: 1.12fr .88fr; gap: min(9vw, 112px); align-items: start; }
.book-copy { max-width: 655px; }
.book-copy p { color: var(--ink-soft); }
.book-copy .pull-note { display: inline-block; margin: 10px 0 0; padding: 9px 15px 7px; color: var(--ink); font-size: 22px; line-height: 1.22; background: linear-gradient(transparent 54%, rgba(237,181,42,.6) 54%, rgba(237,181,42,.6) 91%, transparent 91%); transform: rotate(-1.1deg); }
.handwritten { font-family: var(--hand); font-weight: 700; }
.book-purpose { position: relative; padding: 30px 30px 26px; border: 1.5px solid var(--ink); border-radius: 4px 22px 6px 20px; background: rgba(251,248,242,.48); transform: rotate(.7deg); }
.book-purpose::before, .book-purpose::after { content: ''; position: absolute; inset: 5px -4px -5px 4px; border: 1px solid var(--ink); border-radius: 5px 20px 5px 20px; pointer-events: none; }
.book-purpose::after { inset: -4px 5px 4px -5px; border-color: rgba(21,23,24,.48); }
.book-purpose h3 { position: relative; z-index: 1; margin-bottom: 12px; font-size: 22px; }
.book-purpose p { position: relative; z-index: 1; margin-bottom: 13px; color: var(--ink-soft); font-size: 15px; }
.book-purpose .purpose-small { margin-bottom: 0; color: var(--green-dark); font-family: var(--hand); font-size: 19px; line-height: 1.35; }
.purpose-mark { position: absolute; top: -29px; right: 18px; color: var(--gold); font-size: 42px; line-height: 1; }

.message-section { padding-block: 91px 96px; background: var(--navy); color: #fffdf8; }
.message-inner { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; }
.message-section .section-label { color: var(--gold); }
.message-intro h2 { margin-bottom: 19px; font-size: clamp(36px, 4vw, 50px); line-height: 1.1; letter-spacing: -1.4px; }
.message-intro > p:last-child { max-width: 420px; color: #e1e1db; font-size: 16px; }
.message-list { border-top: 1px solid rgba(255,255,255,.4); }
.message-item { min-height: 122px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.4); }
.message-number { width: 42px; height: 42px; display: grid; place-items: center; align-self: start; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--hand); font-size: 18px; font-weight: 700; line-height: 1; }
.message-item:nth-child(2) .message-number { background: var(--green); color: white; }
.message-item:nth-child(3) .message-number { background: var(--blue); color: white; }
.message-item h3 { margin-bottom: 4px; font-size: 19px; }
.message-item p { max-width: 470px; margin-bottom: 0; color: #d5d9da; font-size: 14px; }
.message-doodle { width: 56px; color: var(--gold); font-family: var(--hand); font-size: 46px; text-align: center; }
.doodle-talk { color: #91b8dd; }
.doodle-step { color: #8ec480; }

.journey-section { padding-block: 96px 98px; }
.journey-heading { max-width: 740px; margin-bottom: 60px; }
.journey-heading > p:last-child { max-width: 640px; margin: 22px 0 0; color: var(--ink-soft); }
.journey-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; position: relative; }
.journey-path::before { content: ''; position: absolute; top: 10px; left: 13px; right: 13px; height: 2px; border-top: 2px dashed rgba(21,23,24,.42); }
.journey-stop { position: relative; padding-top: 35px; }
.stop-dot { position: absolute; top: 0; left: 0; width: 22px; height: 22px; border: 3px solid var(--paper); outline: 1.5px solid var(--ink); border-radius: 50%; z-index: 1; }
.green-dot { background: var(--green); }.yellow-dot { background: var(--gold); }.blue-dot { background: var(--blue); }.red-dot { background: var(--red); }
.stop-label { margin-bottom: 6px; color: var(--ink-soft); font-size: 10px; font-weight: 900; letter-spacing: 1.1px; }
.journey-stop h3 { margin-bottom: 11px; font-size: 20px; line-height: 1.2; }
.journey-stop > p:not(.stop-label) { min-height: 128px; margin-bottom: 14px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.stop-tag { display: inline-block; padding: 3px 10px; border-bottom: 2px solid var(--green); font-family: var(--hand); font-size: 16px; font-weight: 700; }
.journey-end { margin: 47px 5px 0 0; color: var(--green-dark); font-size: 23px; text-align: right; transform: rotate(-1deg); }

.examples-section { padding-block: 81px 93px; background: var(--paper-light); border-block: 1px solid var(--rule); }
.examples-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.examples-heading h2 { margin-bottom: 0; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -1.5px; }
.examples-heading > p { max-width: 330px; margin-bottom: 3px; color: var(--ink-soft); font-size: 14px; }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.example-card { padding: 12px 12px 16px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 3px 4px 0 rgba(21,23,24,.12); }
.example-card:nth-child(2) { transform: rotate(.8deg); }
.example-card:nth-child(3) { transform: rotate(-.7deg); }
.example-image { height: 276px; display: grid; place-items: center; overflow: hidden; background: #fff; }
.example-image img { width: 100%; height: 100%; object-fit: contain; }
.example-card h3 { margin: 13px 4px 1px; font-family: var(--hand); font-size: 22px; line-height: 1.2; }
.example-card p { margin: 0 4px; color: var(--ink-soft); font-size: 13px; }

.author-section { display: grid; grid-template-columns: 1.03fr .97fr; gap: min(8vw, 92px); align-items: center; padding-block: 93px 102px; }
.author-art { margin: -20px 0 -15px -6%; mix-blend-mode: multiply; }
.author-art img { width: 100%; }
.author-copy h2 { margin-bottom: 18px; font-family: var(--hand); font-size: clamp(45px, 5vw, 66px); line-height: 1.02; }
.author-copy > p:not(.section-label) { color: var(--ink-soft); }
.author-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 9px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.contact-section { padding-block: 93px 101px; background: #e7eddf; border-top: 1px solid rgba(21,23,24,.2); }
.contact-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: start; }
.contact-copy h2 { margin-bottom: 16px; font-family: var(--hand); font-size: clamp(52px, 6vw, 74px); line-height: .95; }
.contact-copy > p:not(.section-label) { max-width: 355px; color: var(--ink-soft); }
.contact-scribble { display: inline-block; margin: 10px 0; color: var(--green-dark); font-size: 24px; transform: rotate(-4deg); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.contact-form label { align-self: end; margin-top: 9px; font-size: 13px; font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; grid-column: span 1; padding: 11px 12px; border: 1px solid rgba(21,23,24,.55); border-radius: 3px 10px 3px 10px; background: rgba(251,248,242,.76); color: var(--ink); font: 500 15px var(--sans); }
.contact-form textarea, .contact-form select, .contact-form label[for="reason"], .contact-form label[for="message"] { grid-column: 1 / -1; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(61,125,54,.27); border-color: var(--green-dark); }
.send-button { justify-self: start; margin-top: 9px; }
.form-note, .form-status { grid-column: 1 / -1; margin: 2px 0 0; color: #555b55; font-size: 12px; line-height: 1.4; }
.form-status:not(:empty) { padding: 9px 12px; border-left: 3px solid var(--green-dark); background: rgba(255,255,255,.4); font-size: 14px; }

.site-footer { min-height: 103px; width: var(--page); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-wordmark span { font-size: 22px; }.footer-wordmark small { margin-left: 22px; font-size: 14px; }
.site-footer > p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.back-top { font-size: 12px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* Ajustes de ritmo, cabecera y lectura del recorrido. */
.header-left { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-block: 10px; }
.site-header .wordmark, .footer-wordmark { flex-direction: row; align-items: baseline; gap: 5px; white-space: nowrap; transform: none; }
.site-header .wordmark span, .site-header .wordmark small, .footer-wordmark span, .footer-wordmark small { font-size: 22px; letter-spacing: -.5px; }
.site-header .wordmark small, .footer-wordmark small { margin-left: 0; }
.book-button { border: 1.5px solid var(--ink); border-radius: 20px; padding: 9px 13px; background: var(--gold); color: var(--ink); font: 800 13px var(--sans); white-space: nowrap; cursor: default; opacity: 1; }
.book-button-mobile { display: none; }
.main-nav { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max-content; justify-content: center; gap: clamp(16px, 2.4vw, 32px); }
.hero-button-green { background: var(--green-dark); color: white; }
.hero-button-gold { background: var(--gold); color: var(--ink); }
.hero-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; transform: none; }
.note-exclamation { color: var(--red); font-size: 23px; transform: rotate(-8deg); }
.back-top { margin-left: auto; }
.site-footer > p { text-align: right; }
.hero { min-height: 0; padding-block: 28px 34px; }
.book-section { padding-block: 48px 52px; }
.section-heading { margin-bottom: 30px; }
.message-section { padding-block: 55px; }
.journey-section { padding-block: 50px 55px; }
.journey-heading { margin-bottom: 40px; }
.journey-path::before { top: 16px; left: 17px; right: 17px; }
.journey-stop { padding-top: 48px; }
.stop-dot { width: 34px; height: 34px; }
.journey-stop > p:not(.stop-label) { min-height: 0; margin-bottom: 8px; }
.stop-tag { display: table; margin: 0 auto; padding: 2px 9px; font-size: 20px; text-align: center; }
.journey-end { margin-top: 30px; }
.examples-section { padding-block: 55px; }
.author-section { padding-block: 55px; }
.author-art img { height: auto; }
.contact-section { padding-block: 55px; }
.contact-form { grid-template-columns: 1fr; gap: 4px; }
.contact-form label { grid-column: 1; margin-top: 10px; font-size: 16px; }
.contact-form input, .contact-form select, .contact-form textarea { grid-column: 1; }
.contact-form label:first-child { margin-top: 0; }
.form-note, .form-status { grid-column: 1; }
@media (prefers-reduced-motion: no-preference) { .example-card, .journey-stop { animation: settle-in .45s ease-out both; } .journey-stop:nth-child(2) { animation-delay: .08s; }.journey-stop:nth-child(3) { animation-delay: .16s; }.journey-stop:nth-child(4) { animation-delay: .24s; } @keyframes settle-in { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; } } }
@media (max-width: 1050px) {
  .site-header { min-height: 74px; }
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; width: auto; transform: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 15px 15px; border: 1px solid var(--rule); background: var(--paper); box-shadow: 0 8px 15px rgba(21,23,24,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 7px; }
  .book-button-desktop { display: none; }
  .book-button-mobile { display: block; align-self: flex-start; margin-top: 8px; }
}
@media (max-width: 820px) {
  :root { --page: min(100% - 40px, 680px); }
  .site-header { min-height: 74px; }
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; width: auto; transform: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 15px 15px; border: 1px solid var(--rule); background: var(--paper); box-shadow: 0 8px 15px rgba(21,23,24,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 7px; }
  .header-left { flex-wrap: wrap; gap: 8px 14px; padding-block: 10px; }
  .site-header .wordmark span, .site-header .wordmark small, .footer-wordmark span, .footer-wordmark small { font-size: 20px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-block: 32px; }
  .hero-copy { max-width: 600px; }
  .hero-art { width: 100%; margin: -12px 0 -18px; }
  .hero-cover { width: min(76%, 390px); margin-inline: auto; }
  .hero-art-note { right: -4%; font-size: 16px; }
  .book-section, .journey-section { padding-block: 44px; }
  .book-columns, .message-inner, .author-section, .contact-inner { grid-template-columns: 1fr; gap: 33px; }
  .message-section { padding-block: 44px; }
  .message-intro > p:last-child { max-width: 600px; }
  .journey-path { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .journey-path::before { display: none; }
  .journey-stop { padding-top: 48px; }
  .journey-stop > p:not(.stop-label) { min-height: 0; }
  .examples-heading { align-items: start; flex-direction: column; gap: 13px; }
  .example-grid { gap: 14px; }
  .example-card { padding: 8px 8px 12px; }
  .example-image { height: 210px; }
  .example-card h3 { font-size: 19px; }
  .example-card p { font-size: 12px; }
  .author-art { margin: -15px 0 -28px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  :root { --page: calc(100% - 36px); }
  .wordmark span { font-size: 25px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(58px, 16vw, 78px); letter-spacing: -3.2px; }
  .hero-lead { font-size: 22px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-art { margin-top: 0; }
  .hero-cover { width: min(78%, 330px); }
  .hero-art-note { right: -7%; bottom: 2%; max-width: 190px; font-size: 14px; }
  .section-heading h2, .journey-heading h2 { font-size: 35px; }
  .book-purpose { padding: 25px 22px 22px; }
  .message-item { grid-template-columns: 42px 1fr auto; gap: 11px; }
  .message-doodle { width: 35px; font-size: 35px; }
  .journey-path { gap: 30px 18px; }
  .journey-stop h3 { font-size: 18px; }
  .journey-stop > p:not(.stop-label) { font-size: 13px; }
  .examples-section { padding-block: 44px; }
  .example-grid { grid-template-columns: 1fr; gap: 22px; max-width: 360px; }
  .example-card:nth-child(2), .example-card:nth-child(3) { transform: none; }
  .example-image { height: 310px; }
  .example-card h3 { font-size: 22px; }
  .example-card p { font-size: 14px; }
  .author-section { padding-block: 44px; }
  .contact-section { padding-block: 44px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form input, .contact-form select, .contact-form textarea, .contact-form label { grid-column: 1 / -1; }
  .site-footer { min-height: 130px; align-content: center; flex-wrap: wrap; padding-block: 22px; }
  .site-footer > p { max-width: none; margin-left: auto; }
  .back-top { margin-left: auto; }
}
