/* Mismos tokens que storybook-web/app/globals.css. Si cambian alli, cambian aqui. */
:root {
  --cream-50: #fffefb; --cream-100: #fdfaf4; --cream-200: #f6f0e6; --cream-300: #e9e0d2;
  --mist-100: #eff7fd;
  --brand-50: #f0f9fe; --brand-100: #d9eefc; --brand-300: #85caf5; --brand-500: #1d9ce4; --brand-600: #1481cc; --brand-700: #0f66a6;
  --navy-800: #0e1b3e; --navy-700: #14306a;
  --ink-900: #2b2620; --ink-700: #4a4239; --ink-500: #7a6f62; --ink-300: #a99e90;
  --radius-card: 1.5rem;
  --shadow-soft: 0 2px 8px rgba(88,72,48,.05), 0 8px 24px rgba(88,72,48,.06);
  --shadow-lift: 0 4px 12px rgba(88,72,48,.07), 0 16px 40px rgba(88,72,48,.09);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--cream-100); color: var(--ink-900);
  font-family: "Nunito", ui-sans-serif, system-ui, sans-serif; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: "Fraunces", ui-serif, Georgia, serif; font-weight: 400; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  border-radius: 999px; font-weight: 600; background: var(--brand-500); color: #fff;
  box-shadow: var(--shadow-soft); transition: background-color .15s;
  padding: .625rem 1.25rem; font-size: .9375rem;
}
@media (hover: hover) { .btn:hover { background: var(--brand-600); } }
.btn:active { background: var(--brand-700); }
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }

/* Cabecera */
header.site { border-bottom: 1px solid rgba(246,240,230,.8); background: rgba(255,254,251,.8); backdrop-filter: blur(4px); }
header.site .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: .75rem; padding-bottom: .75rem; }
header.site .logo img { height: 3.5rem; width: auto; }
header.site .cta { display: none; justify-self: end; }
@media (min-width: 640px) { header.site .logo img { height: 4rem; } header.site .cta { display: block; } }

/* Hero */
.hero { background: var(--cream-100); padding: 3rem 0; }
.hero .grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: 2.25rem; line-height: 1.14; text-wrap: balance; }
.hero .lead { margin-top: 1.25rem; max-width: 32rem; font-size: 1.125rem; line-height: 1.625; color: var(--ink-700); }
.hero .actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.hero .actions .btn { width: 100%; }
.hero .note { font-size: .875rem; color: var(--ink-500); }
.hero .art { width: 100%; max-width: 36rem; margin: 0 auto; }
.hero .art > div { overflow: hidden; border-radius: var(--radius-card); background: #fff; padding: .75rem; box-shadow: var(--shadow-lift); }
.hero .art img { width: 100%; border-radius: 1.1rem; }
@media (min-width: 640px) {
  .hero { padding: 5rem 0; }
  .hero h1 { font-size: 3rem; }
  .hero .actions { flex-direction: row; align-items: center; }
  .hero .actions .btn { width: auto; }
  .hero .note { margin-left: .5rem; }
}
@media (min-width: 1024px) {
  .hero .grid { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; }
  .hero h1 { font-size: 3.25rem; }
  .hero .art { max-width: none; }
}

/* Tarjetas */
.card { border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-soft); }
.card-sm { padding: 1rem; }
.card-flush { overflow: hidden; }
.card-interactive { transition: box-shadow .2s; }
@media (hover: hover) { .card-interactive:hover { box-shadow: var(--shadow-lift); } }

/* Historias */
.stories { background: var(--mist-100); padding: 3.5rem 0; }
.stories h2, .how h2 { font-size: 1.875rem; color: var(--ink-900); }
.stories .intro { max-width: 36rem; }
.stories .intro p { margin-top: .75rem; font-size: 1.125rem; color: var(--ink-700); }
.stories-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 11rem); gap: .75rem; align-items: center; }
.stories-hero { width: 100%; height: auto; justify-self: end; }
.chips { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .625rem; }
.chip {
  font: inherit; cursor: pointer; display: flex; align-items: center; gap: .625rem; text-align: left; min-width: 0;
  border-radius: 1.25rem; border: 2px solid transparent; background: #fff; color: var(--ink-900);
  padding: .625rem .875rem; box-shadow: var(--shadow-soft); transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.chip .ci { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; font-size: 1.625rem; line-height: 1; }
.chip img { flex: none; width: 2.75rem; height: 2.75rem; object-fit: contain; }
.chip .ct { display: grid; min-width: 0; line-height: 1.2; }
.chip b { font-size: .9375rem; font-weight: 700; }
.chip i { font-style: normal; font-size: .875rem; font-weight: 600; color: var(--brand-600); }
@media (hover: hover) { .chip:hover { border-color: var(--brand-300); } }
.chip[aria-pressed="true"] { border-color: var(--brand-500); background: #e6f3fd; }
.grid-stories { margin-top: 2rem; display: grid; gap: 1.5rem; }
.grid-stories > li[hidden] { display: none; }
.grid-stories .card { height: 100%; }
.cover { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 1rem; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.soon {
  position: absolute; left: .5rem; top: .5rem; border-radius: 999px; background: rgba(43,38,32,.85); color: #fff;
  padding: .25rem .625rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; box-shadow: var(--shadow-soft);
}
.card-text { padding: 1rem .5rem .25rem; }
.card-text h3 { font-size: 1.25rem; line-height: 1.4; color: var(--ink-900); }
.card-text p { margin-top: .375rem; color: var(--ink-500); }
.card-text p.age { margin-top: .5rem; font-size: .75rem; font-weight: 600; }
.more { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.more p { color: var(--ink-500); }
.btn-alt { background: #fff; color: var(--brand-700); border: 1px solid var(--brand-300); box-shadow: none; cursor: pointer; font-family: inherit; }
@media (hover: hover) { .btn-alt:hover { background: var(--brand-50); } }
.btn-alt:active { background: var(--brand-100); }
@media (min-width: 640px) {
  .stories-head { grid-template-columns: minmax(0, 1fr) 18rem; gap: 2rem; }
  .chips { grid-template-columns: repeat(auto-fill, minmax(11.5rem, max-content)); }
  .stories { padding: 5rem 0; }
  .stories h2, .how h2 { font-size: 2.25rem; }
  .grid-stories { grid-template-columns: repeat(2, 1fr); }
  .more { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) { .grid-stories { grid-template-columns: repeat(3, 1fr); } }

/* Como funciona */
.how { background: var(--cream-50); padding: 3.5rem 0; }
.how .head { max-width: 42rem; margin: 0 auto; text-align: center; }
.how .head .a { margin-top: .75rem; font-size: 1.125rem; color: var(--ink-700); }
.how .head .b { margin-top: .5rem; color: var(--ink-500); }
.how .groups { margin-top: 3rem; display: grid; gap: 3rem; }
.group-title { text-align: center; font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--brand-600); }
.steps { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.steps > li { width: 100%; }
.step { display: flex; height: 100%; flex-direction: column; }
.step img { width: 100%; }
.step-text { flex: 1; padding: 1.25rem; }
.step-text h4 { font-size: 1.25rem; line-height: 1.4; color: var(--ink-900); }
.step-text p { margin-top: .5rem; line-height: 1.625; color: var(--ink-700); }
.trust { position: relative; margin-top: 3.5rem; overflow: hidden; border-radius: var(--radius-card); background: var(--navy-800); box-shadow: var(--shadow-soft); }
.trust::before {
  content: ""; position: absolute; inset: 0; opacity: .7; pointer-events: none;
  background-image: radial-gradient(60% 120% at 0% 50%, var(--navy-700) 0%, transparent 55%), radial-gradient(60% 120% at 100% 50%, var(--navy-700) 0%, transparent 55%);
}
.trust ul { position: relative; display: grid; gap: 1.5rem 2rem; padding: 1.75rem 1.5rem; }
.trust li { display: flex; align-items: center; gap: .875rem; }
.trust img { height: 2.5rem; width: 3rem; flex-shrink: 0; object-fit: contain; }
.trust .t { font-weight: 700; line-height: 1.375; color: #fff; text-wrap: balance; }
.trust .d { font-size: .875rem; line-height: 1.375; color: rgba(255,255,255,.6); text-wrap: balance; }
@media (min-width: 640px) {
  .how { padding: 5rem 0; }
  .how .groups { margin-top: 3.5rem; gap: 3.5rem; }
  .steps > li { width: calc(50% - .75rem); }
  .trust { margin-top: 4rem; }
  .trust ul { grid-template-columns: repeat(2, 1fr); padding: 1.75rem 2rem; }
  .trust img { height: 2.75rem; width: 3.5rem; }
}
@media (min-width: 1024px) {
  .steps > li { width: calc(33.333% - 1rem); }
  .trust ul { grid-template-columns: repeat(4, auto); justify-content: space-between; column-gap: 1.25rem; padding: 1.75rem 2.5rem; }
  .trust li + li { border-left: 1px solid rgba(255,255,255,.1); padding-left: 1.25rem; }
}

/* Pie */
/* Fondo azul clarito: sobre el blanco casi no se distinguia del resto de la pagina */
footer.site { margin-top: auto; border-top: 1px solid var(--brand-300); background: var(--brand-100); }
footer.site .wrap { padding-top: 2rem; padding-bottom: 2rem; }
footer.site .a { font-size: .875rem; color: var(--ink-700); }
footer.site .b { margin-top: .25rem; font-size: .75rem; color: var(--ink-500); }

/* Menu */
.hub { padding: 3rem 0 2.5rem; }
.hub-head { max-width: 40rem; margin: 0 auto; text-align: center; }
.hub-head h1 { font-size: 2.25rem; line-height: 1.14; text-wrap: balance; }
.hub-head p { margin-top: .75rem; font-size: 1.125rem; color: var(--ink-700); }
.options { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.option { display: flex; height: 100%; flex-direction: column; color: inherit; }
.option-art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist-100); }
.option-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.option-art img.fit { object-fit: contain; background: #fff; padding: .75rem; }
.option-art .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.option-art .ph span { font-size: 4.5rem; }
.option-text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.25rem 1.5rem 1.5rem; }
.option-text h2 { font-size: 1.5rem; line-height: 1.3; }
.option-text p { margin-top: .5rem; flex: 1; line-height: 1.625; color: var(--ink-700); }
.option-text .btn { margin-top: 1.25rem; }
.option.off { cursor: default; }
.option.off img, .option.off .ph { filter: saturate(.75); }
.btn-off { background: var(--cream-300); color: var(--ink-500); box-shadow: none; }
.follow { padding: 1.5rem 0 4rem; text-align: center; }
.follow h2 { font-size: 1.5rem; }
.socials { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; }
.social {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; border: 1px solid var(--cream-300);
  background: #fff; color: var(--ink-700); padding: .5rem 1rem; font-size: .875rem; font-weight: 600;
  transition: color .15s, border-color .15s;
}
@media (hover: hover) { a.social:hover { border-color: var(--brand-300); color: var(--brand-700); } }
.social.off { opacity: .55; }
@media (min-width: 640px) {
  .hub { padding: 4.5rem 0 3rem; }
  .hub-head h1 { font-size: 3rem; }
  .options { grid-template-columns: repeat(3, 1fr); }
}

/* Menu de la web */
/* z-index: la cabecera (con backdrop-filter) forma su propia capa y las secciones de abajo (position: relative) la tapaban al desplegar el menu */
header.site-nav { position: relative; z-index: 40; }
header.site-nav .wrap { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .5rem; padding-bottom: .5rem; }
/* Movil: los enlaces se despliegan con el boton y se superponen al contenido (no lo empujan) */
header.site-nav .menu-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-700); cursor: pointer; -webkit-tap-highlight-color: transparent; }
header.site-nav .menu-btn .cross { display: none; }
header.site-nav.menu-abierto .menu-btn .bars { display: none; }
header.site-nav.menu-abierto .menu-btn .cross { display: inline; }
header.site-nav .menu-btn:active { background: var(--brand-50); }
header.site-nav nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: #fffefb; border-bottom: 1px solid var(--cream-300); box-shadow: 0 12px 24px rgba(88, 72, 48, .12); padding: .5rem 1rem 1rem; }
header.site-nav.menu-abierto nav { display: block; }
header.site-nav nav ul { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .125rem; }
header.site-nav nav li a { padding: .8rem 1rem; font-size: 1.0625rem; }
header.site-nav .logo img { height: 3.5rem; width: auto; }
header.site-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .375rem; }
header.site-nav nav a { display: block; border-radius: 999px; padding: .4rem .9rem; font-size: .9375rem; font-weight: 600; color: var(--ink-700); transition: background-color .15s, color .15s; }
@media (hover: hover) { header.site-nav nav a:hover { background: var(--brand-50); color: var(--brand-700); } }
header.site-nav nav a[aria-current="page"] { background: var(--brand-100); color: var(--brand-700); }
@media (min-width: 900px) {
  header.site-nav .wrap { padding-top: .75rem; padding-bottom: .75rem; }
  header.site-nav .logo img { height: 4rem; }
  header.site-nav .menu-btn { display: none; }
  header.site-nav nav { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; }
  header.site-nav nav ul { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem .375rem; }
  header.site-nav nav li a { padding: .4rem .9rem; font-size: .9375rem; }
}
.soon-page { display: grid; gap: 2rem; align-items: center; max-width: 56rem; }
.soon-art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-lift); }
.soon-art img, .soon-art .ph { width: 100%; height: 100%; }
.soon-art img { object-fit: cover; }
.soon-art .ph { display: flex; align-items: center; justify-content: center; }
.soon-art .ph span { font-size: 6rem; }
.soon-text h1 { font-size: 2.25rem; line-height: 1.14; }
.soon-text p { margin: 1rem 0 1.75rem; font-size: 1.125rem; line-height: 1.625; color: var(--ink-700); }
@media (min-width: 768px) { .soon-page { grid-template-columns: 1fr 1fr; gap: 3rem; } .soon-text h1 { font-size: 3rem; } }
.catalog-colorear { padding: 1rem 0 3.5rem; }
.coloring-page { max-width: 64rem; text-align: center; }
.coloring-page h2 { font-size: 1.75rem; line-height: 1.2; color: var(--ink-900); }
.coloring-page h1 { font-size: 2.25rem; line-height: 1.14; }
.coloring-page .lead { max-width: 40rem; margin: 1rem auto 0; font-size: 1.125rem; line-height: 1.625; color: var(--ink-700); }
.coloring-covers { list-style: none; margin: 2rem auto 2.25rem; padding: 0; display: grid; gap: 1.75rem; justify-items: center; }
.coloring-covers li { width: 100%; max-width: 20rem; }
.cc-art { position: relative; aspect-ratio: 800 / 1034; overflow: hidden; border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-lift); }
.cc-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-name { margin-top: .75rem; font-size: 1.125rem; font-weight: 700; color: var(--ink-900); }
.cc-art { display: block; }
.coloring-covers li[hidden] { display: none; }
.cc-who { max-width: 36rem; margin: 2rem auto 0; text-align: left; }
.cc-who h3 { font-size: 1.5rem; line-height: 1.2; color: var(--ink-900); text-align: center; }
.cc-who-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.cc-who-card { position: relative; display: flex; align-items: center; gap: .75rem; padding: .75rem; font: inherit; text-align: left; cursor: pointer; border: 2px solid transparent; border-radius: 1rem; background: #fff; box-shadow: var(--shadow-soft); color: var(--ink-900); transition: border-color .15s, background-color .15s; }
.cc-who-card img { width: 4rem; height: 4rem; border-radius: 50%; background: #fff; object-fit: cover; flex: none; }
.cc-who-card b { display: block; font-size: 1.25rem; line-height: 1.2; }
.cc-who-card i { display: block; font-style: normal; font-size: 1.125rem; line-height: 1; }
.cc-who-card i.girl { color: #f472b6; } .cc-who-card i.boy { color: var(--brand-500); }
.cc-who-card[aria-pressed="true"] { border-color: var(--brand-500); background: var(--brand-50); }
.cc-who-card[aria-pressed="true"]::after { content: "✓"; position: absolute; top: .5rem; right: .5rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--brand-500); color: #fff; font-size: .875rem; font-weight: 700; line-height: 1.5rem; text-align: center; }
.cc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.75rem auto 0; max-width: 56rem; }
.cc-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .75rem; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; border-radius: 999px; background: #fff; box-shadow: var(--shadow-soft); color: var(--ink-900); transition: border-color .15s, background-color .15s; }
.cc-chip[hidden] { display: none; }
.cc-chip .cc-emoji { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; font-size: 1.375rem; line-height: 1; }
.cc-chip em { font-style: normal; font-size: .75rem; font-weight: 700; padding: .125rem .5rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.cc-chip[aria-pressed="true"] { border-color: var(--brand-500); background: var(--brand-500); color: #fff; }
.cc-chip[aria-pressed="true"] em { background: rgba(255,255,255,.25); color: #fff; }
@media (hover: hover) { .cc-chip:hover, .cc-who-card:hover { border-color: var(--brand-300); } .cc-chip[aria-pressed="true"]:hover, .cc-who-card[aria-pressed="true"]:hover { border-color: var(--brand-500); } }
.cc-detail { margin: .25rem 0 .75rem; font-size: .9375rem; color: var(--ink-500); }
.coloring-covers li { display: flex; flex-direction: column; }
.coloring-covers .btn { width: 100%; margin-top: auto; }
@media (min-width: 640px) { .coloring-covers { grid-template-columns: repeat(auto-fit, minmax(14rem, 18rem)); justify-content: center; gap: 1.5rem; } .coloring-page h2 { font-size: 2.25rem; } }
.contact { max-width: 60rem; text-align: center; }
.contact h1 { font-size: 2.25rem; line-height: 1.14; }
.contact .lead { max-width: 40rem; margin: 1rem auto 1.75rem; font-size: 1.125rem; line-height: 1.625; color: var(--ink-700); }
/* Escritorio: imagen arriba a la izquierda, "Get in touch" debajo y el formulario (tarjeta) a la derecha. Movil: imagen, formulario, contacto. */
.contact-grid { display: grid; gap: 2rem; margin: 2rem 0 1rem; text-align: left; grid-template-areas: "art" "form" "emails"; }
.contact-art { grid-area: art; align-self: start; }
.contact-form { grid-area: form; }
.contact-emails { grid-area: emails; }
.contact-art img { width: 100%; max-width: 20rem; margin: 0 auto; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
.contact .get-title, .contact .form-title { margin: 0 0 .5rem; font-size: 1.75rem; line-height: 1.2; }
.get-text { margin: 0; color: var(--ink-700); line-height: 1.6; }
.contact-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact-list li { display: flex; align-items: center; gap: .875rem; }
.contact-list .ci { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--brand-500); color: #fff; }
.contact-list strong { display: block; font-size: 1rem; }
.contact-list a { font-size: .9375rem; color: var(--ink-700); overflow-wrap: anywhere; }
@media (hover: hover) { .contact-list a:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; } }
.contact-follow { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--cream-300); display: flex; align-items: center; flex-wrap: wrap; gap: .875rem; }
.round-socials { display: flex; gap: .625rem; }
.round-socials a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--brand-500); color: #fff; transition: background-color .15s; }
@media (hover: hover) { .round-socials a:hover { background: var(--brand-600); } }
.contact-form { display: grid; align-content: start; gap: 1.25rem; border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-soft); padding: 1.75rem; }
.contact-form label { display: grid; gap: .125rem; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-500); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink-900); background: transparent;
  border: 0; border-bottom: 1px solid var(--cream-300); border-radius: 0; padding: .5rem 0 .625rem;
}
.contact-form textarea { min-height: 6rem; resize: vertical; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: none; border-bottom-color: var(--brand-500); box-shadow: 0 1px 0 var(--brand-500); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: end; min-width: 9.5rem; border: 0; cursor: pointer; font-family: inherit; }
.contact-form .btn:disabled { opacity: .7; cursor: default; }
.form-status { min-height: 1.25rem; margin: 0; font-weight: 700; }
.form-status.ok { color: #1b7f4b; }
.form-status.err { color: #b3261e; }
.form-note { margin: 0; font-size: .8125rem; color: var(--ink-500); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "art form" "emails form"; grid-template-rows: auto 1fr; column-gap: 3rem; row-gap: 2rem; align-items: start; }
  .contact-art img { max-width: none; }
}
.contact h2 { margin-top: 3rem; font-size: 1.5rem; }
.contactos { display: grid; gap: 1.5rem; margin-top: .5rem; }
.contactos h3 { font-size: 1rem; font-family: "Nunito", sans-serif; font-weight: 700; color: var(--ink-500); margin-bottom: .5rem; }
@media (min-width: 640px) { .contactos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .contact h1 { font-size: 3rem; } }

/* Ayuda y politicas */
.prose { max-width: 44rem; }
.prose h1 { font-size: 2.25rem; line-height: 1.14; }
.prose .updated { margin-top: .5rem; font-size: .875rem; color: var(--ink-500); }
.prose .lead { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.625; color: var(--ink-700); }
.prose h2 { margin-top: 2.25rem; font-size: 1.375rem; line-height: 1.3; }
.prose p { margin-top: .75rem; line-height: 1.7; color: var(--ink-700); }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.prose .end { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cream-200); }
.prose details { margin-top: .75rem; border-radius: 1rem; background: #fff; box-shadow: var(--shadow-soft); padding: 1rem 1.25rem; }
.prose details summary { cursor: pointer; font-weight: 700; color: var(--ink-900); }
.prose details p { margin-top: .625rem; }
@media (min-width: 640px) { .prose h1 { font-size: 3rem; } }
footer.site .legal { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .875rem; }
footer.site .legal a { color: var(--ink-700); font-weight: 600; }
@media (hover: hover) { footer.site .legal a:hover { color: var(--brand-700); text-decoration: underline; } }

/* Back to home, al final de cada pagina */
.back-home { padding: 2.5rem 1rem 3rem; text-align: center; }
.back-home .btn { min-width: 13rem; }
/* Tarjetas con enlace y paginas de muestra */
a.card { display: block; color: inherit; }
.card-text p.peek { margin-top: .5rem; font-size: .875rem; font-weight: 700; color: var(--brand-600); }
@media (hover: hover) { a.card:hover .peek { text-decoration: underline; text-underline-offset: 2px; } }
.sample { max-width: 56rem; }
.sample .back { display: inline-block; font-size: .9375rem; font-weight: 600; color: var(--brand-600); }
@media (hover: hover) { .sample .back:hover { text-decoration: underline; text-underline-offset: 2px; } }
.sample h1 { margin-top: 1rem; font-size: 2.25rem; line-height: 1.14; text-wrap: balance; }
.sample .lead { margin-top: 1rem; max-width: 40rem; font-size: 1.125rem; line-height: 1.625; color: var(--ink-700); }
.sample .tag { margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--ink-500); }
.sample-pages { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.sample-pages .card { overflow: hidden; }
.sample-pages img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.sample-pages p { padding: 1.25rem 1.5rem 1.5rem; font-size: 1.125rem; line-height: 1.7; color: var(--ink-700); }
.sample-pages p:not(.n) { white-space: pre-line; }
.sample-pages .n { padding: .75rem 1.5rem 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); }
.lia { margin-top: 3rem; border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-soft); padding: 2rem 1.5rem; }
.lia h2 { font-size: 1.5rem; line-height: 1.3; }
.lia p { margin-top: .5rem; max-width: 36rem; color: var(--ink-700); }
.lia-steps { margin-top: 1.75rem; display: flex; align-items: flex-start; justify-content: center; gap: .5rem; }
.lia-steps li { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.lia-steps li span { font-size: .75rem; font-weight: 600; color: var(--ink-500); }
.lia-steps li.arrow { margin-top: 1.5rem; font-size: 1.25rem; color: var(--brand-500); }
.lia-steps img { width: 4.75rem; height: 4.75rem; object-fit: cover; box-shadow: var(--shadow-soft); border: 4px solid #fff; }
.lia-steps img.r { border-radius: 999px; }
.lia-steps img.top { object-position: 50% 0; }
.lia-steps img.sq { border-radius: 1.5rem; }
.lia .go { margin-top: 1.75rem; text-align: center; max-width: none; }
.example-head { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.example-head img { width: 6rem; height: 6rem; border-radius: 999px; object-fit: cover; box-shadow: var(--shadow-soft); border: 4px solid #fff; }
.example-head img.top { object-position: 50% 0; }
.example-head .arrow { font-size: 1.5rem; color: var(--brand-500); }
@media (min-width: 420px) { .lia-steps img { width: 6rem; height: 6rem; } }
@media (min-width: 640px) { .lia-steps { gap: 1rem; } .lia-steps li span { font-size: .875rem; } .lia-steps li.arrow { margin-top: 3.5rem; font-size: 1.5rem; } .lia-steps img { width: 10rem; height: 10rem; } .example-pages { grid-template-columns: repeat(2, 1fr); max-width: none; } }
/* El libro de Lia: page-flip dibuja el enrollado; aqui solo el marco y los botones. */
.flip { max-width: 56rem; margin: 2.5rem auto 0; }
.pf-host { width: 100%; overflow-x: clip; }
.example-pages { display: none; }
.flip-ctl { margin-top: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.flip-ctl span { min-width: 6rem; text-align: center; font-size: .875rem; font-weight: 600; color: var(--ink-500); }
.flip-ctl button { font: inherit; font-size: .875rem; font-weight: 600; border: 0; border-radius: 999px; padding: .5rem 1.25rem; cursor: pointer; box-shadow: var(--shadow-soft); background: #fff; color: var(--ink-700); }
.flip-ctl button#fb-next { background: var(--brand-500); color: #fff; }
.flip-ctl button:disabled { opacity: .4; cursor: default; }
.flip-hint { margin-top: .75rem; text-align: center; font-size: .875rem; color: var(--ink-500); }
.sample-cta { margin-top: 3rem; border-radius: var(--radius-card); background: var(--mist-100); padding: 2rem 1.5rem; text-align: center; }
.sample-cta h2 { font-size: 1.5rem; line-height: 1.3; }
.sample-cta p { margin: .5rem auto 1.5rem; max-width: 30rem; color: var(--ink-700); }
.sample-cta .note { margin: 1rem 0 0; font-size: .875rem; color: var(--ink-500); }
@media (min-width: 640px) { .sample h1 { font-size: 3rem; } .sample-pages { max-width: 34rem; margin-left: auto; margin-right: auto; } }
@media (min-width: 980px) { .sample-pages { max-width: none; grid-template-columns: repeat(3, 1fr); } }

/* Custom Book: el titulo, el texto y el boton del hero van centrados en su columna */
.hero-center .actions .note { flex-basis: 100%; text-align: center; margin: .25rem 0 0; }
.hero-center .grid > div:first-child { text-align: center; }
.hero-center h1 { margin-left: auto; margin-right: auto; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .actions { align-items: center; justify-content: center; flex-wrap: wrap; }
.hero-center .note { margin-left: 0; }
/* Home nueva */
.btn-outline { background: #fff; color: var(--brand-600); box-shadow: inset 0 0 0 2px var(--brand-500); }
@media (hover: hover) { .btn-outline:hover { background: var(--brand-50); } }
.nh-hero { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fdf8f1; }
@media (min-width: 1920px) { .nh-hero { box-shadow: 0 0 0 100vmax #fdf8f1; clip-path: inset(0 -100vmax); } }
.nh-hero-text { order: 1; padding-top: 2rem; padding-bottom: 1.25rem; }
.nh-hero-img { order: 2; display: block; }
.nh-hero-img img { display: block; width: 100%; height: auto; }
.nh-hero h1 { font-size: clamp(2.25rem, 8.5vw, 3.75rem); line-height: 1.1; text-wrap: balance; max-width: 38rem; }
.nh-hero h1 .rosa { color: #e8338d; }
.nh-hero h1 .azul { color: var(--brand-500); }
.nh-hero-text > p { margin-top: 1rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-700); }
.nh-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; max-width: 22rem; }
.nh-actions .btn { width: 100%; }
.nh-cards { padding: 1.5rem 0 2rem; background: #fdf8f1; }
.nh-cards ul { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .nh-cards ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1400px) { .nh-cards .wrap { max-width: 88rem; } .nh-cards ul { grid-template-columns: repeat(4, 1fr); } }
.nh-card { position: relative; display: flex; align-items: center; gap: .875rem; height: 100%; padding: 1rem; border-radius: 1.5rem; background: var(--bg); box-shadow: var(--shadow-soft); }
.nh-card img { flex: none; width: 6.5rem; height: 6.5rem; object-fit: contain; }
.nh-card h2 { font-size: 1.375rem; line-height: 1.2; }
.nh-card p { margin-top: .375rem; font-size: .9375rem; line-height: 1.45; color: var(--ink-700); }
.nh-pill { display: inline-flex; align-items: center; gap: .375rem; margin-top: .75rem; border-radius: 999px; background: var(--pb); color: var(--pt); font-weight: 700; font-size: .875rem; padding: .5rem .875rem; }
.nh-pill::after { content: ""; position: absolute; inset: 0; border-radius: 1.5rem; } /* toda la tarjeta es el enlace */
@media (hover: hover) { .nh-card:hover { box-shadow: var(--shadow-lift); } }
.nh-azul { --bg: #e9f3fd; --pb: #cfe6fa; --pt: #1481cc; }
.nh-rosa { --bg: #fdecf3; --pb: #fbd3e4; --pt: #c2337a; }
.nh-amarillo { --bg: #fff6dc; --pb: #fde8a5; --pt: #8a5a00; }
.nh-verde { --bg: #eaf7ea; --pb: #d2eed2; --pt: #2d7a2d; }
.nh-how { padding: 2.25rem 0 3rem; background: #e9f3fd; }
.nh-how h2 { text-align: center; font-size: 2rem; }
.nh-how-sub { margin-top: .5rem; text-align: center; color: var(--ink-700); }
.nh-steps { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.nh-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: .75rem .375rem; border-radius: 1.25rem; background: #fff; }
.nh-steps img { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-soft); }
.nh-steps h3 { margin-top: .625rem; font-family: "Nunito", sans-serif; font-weight: 700; font-size: .9375rem; line-height: 1.2; }
.nh-n1 + img + h3 { color: #e8338d; } .nh-n2 + img + h3 { color: var(--brand-600); } .nh-n3 + img + h3 { color: #c98a00; }
.nh-steps p { margin-top: .25rem; font-size: .8125rem; line-height: 1.35; color: var(--ink-700); }
.nh-num { position: absolute; top: -.5rem; left: -.25rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; color: #fff; font-weight: 800; font-size: .9375rem; box-shadow: var(--shadow-soft); }
.nh-n1 { background: #f0498f; } .nh-n2 { background: #4a9be8; } .nh-n3 { background: #f5b52e; }
@media (min-width: 768px) {
  /* Una rejilla de una celda: la imagen manda la altura (16:9, completa, sin recortar) y el texto se pone encima, a la izquierda. */
  .nh-hero { display: grid; max-width: 120rem; margin: 0 auto; }
  .nh-hero > * { grid-area: 1 / 1; }
  .nh-hero-text { order: 0; align-self: center; position: relative; z-index: 1; padding-top: 2rem; padding-bottom: 2rem; }
  .nh-hero-img { justify-self: end; width: 74%; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .nh-hero h1 { max-width: 26rem; font-size: 3rem; }
  .nh-hero-text > p { max-width: 24rem; font-size: 1rem; }
  .nh-actions { flex-direction: column; align-items: flex-start; }
  .nh-actions .btn { width: auto; }
}
@media (min-width: 768px) {
  .nh-hero-img img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
  .nh-actions { flex-direction: row; max-width: none; }
  .nh-actions .btn { width: auto; }
  .nh-how { padding: 3rem 0 3.5rem; }
  .nh-steps { gap: 2.25rem; max-width: 56rem; margin-left: auto; margin-right: auto; }
  .nh-steps li { flex-direction: column; padding: 1.25rem 1rem; }
  .nh-steps li:not(:last-child)::after { content: "\2192"; position: absolute; right: -1.65rem; top: 3.25rem; color: var(--brand-500); font-size: 1.5rem; font-weight: 700; }
  .nh-steps img { width: 7rem; height: 7rem; }
  .nh-steps h3 { font-size: 1.0625rem; } .nh-steps p { font-size: .9375rem; }
}
