/* AtlasMomo landing v2 (proposal A grown into a full page). Mobile first: the base rules are for a phone, the
   @media (min-width) blocks add the desktop layout. Look: Mistbook's warmth (cream and peach, dot grid, pill eyebrow,
   big serif titles with one word in terracotta italics, tilted phones) on AtlasMomo's identity (Young Serif + Figtree,
   plum for the action). Not live: a copy for David to approve. */
:root {
  --cream: #FBF4EA; --peach: #F6E2CE; --peach-2: #F1D2B6; --lav: #F2EAFE;
  --ink: #241B17; --text: #5A4A42; --muted: #75645A; --line: #EADBCB;
  --terra: #B4602F; --ochre: #D3913A; --plum: #5D4A67; --plum-2: #4C3C55;
  --display: "Young Serif", Georgia, serif; --body: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body { font: 17px/1.55 var(--body); color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.dots {
  background-color: var(--cream);
  background-image: radial-gradient(rgba(150, 95, 60, .13) 1px, transparent 1.3px),
    radial-gradient(ellipse 70% 40% at 15% 4%, var(--peach) 0%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 90% 40%, var(--peach-2) 0%, transparent 70%);
  background-size: 18px 18px, 100% 100%, 100% 100%;
}
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--terra); }
h2 { font-size: clamp(2rem, 8.4vw, 3.3rem); line-height: 1.05; }
p { text-wrap: pretty; }

/* Header (2026-11-26, David): at the top it is part of the page, flat, no pill and no border. Once the first screen's
   buttons scroll away, estatico/cabecera.js shows a copy pinned to the top edge (.bar.fija), full width with a thin
   bottom line, and hides it again back at the top. Without JavaScript, only the flat header at the top. */
.bar {
  position: relative; z-index: 5; margin: 0 auto; width: min(1160px, 100% - 20px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 8px 8px;
}
.bar.fija {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; width: 100%; margin: 0;
  padding: 8px max(10px, (100% - 1160px) / 2) 8px max(18px, (100% - 1160px) / 2 + 8px);
  background: rgba(251, 244, 234, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -14px rgba(36, 27, 23, .45);
  transform: translateY(-110%); transition: transform .22s ease; visibility: hidden;
}
.bar.fija.vista { transform: none; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .bar.fija { transition: none; } }
[id] { scroll-margin-top: 76px; }
.logo { font: 1.3rem var(--display); color: var(--ink); text-decoration: none; }
.logo span { color: var(--plum); }
.bar nav { display: flex; align-items: center; gap: 6px; }
.bar nav .ancla { display: none; font: 500 .95rem var(--body); color: var(--text); text-decoration: none; padding: 9px 12px; }
.bar .entrar { font: 600 .95rem var(--body); color: var(--ink); text-decoration: none; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

/* Shared pieces */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); border: 1px solid var(--line);
  font: 700 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--terra);
}
.eyebrow::before { content: "✦"; color: var(--ochre); letter-spacing: 0; font-size: .95rem; }
.lead { color: var(--text); font-size: 1.1rem; max-width: 36ch; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px;
  border-radius: 999px; background: var(--plum); color: #fff; text-decoration: none; font: 600 1.02rem var(--body);
  box-shadow: 0 10px 24px rgba(93, 74, 103, .25);
}
.boton:hover { background: var(--plum-2); }
.boton.claro { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.boton svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.boton:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.seccion { padding: 76px 0 0; }
.cabeza { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.cabeza h2 { margin: 16px 0 12px; }
.cabeza p { margin: 0 auto; max-width: 46ch; }

/* A phone frame around a real screen (2026-11-26, David found the old one too plain): a recent iPhone drawn in CSS,
   no third-party image. Proportions of a 6.1" model (70.6 x 146.6 mm), thin even bezel, natural titanium band,
   Dynamic Island inside the screen, a status strip above the content, side buttons. Sizes inside are in cqw (the
   phone is its own container), so the same frame works at 236, 250, 260 or 280 px. */
.movil {
  container-type: inline-size; position: relative; flex: none;
  width: 250px; aspect-ratio: 70.6 / 146.6; border-radius: 17.5% / 8.45%; background: #0B0A0C;
  border: 2.5px solid #A8A29C;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 1px #77716C,
    0 46px 80px -28px rgba(60, 35, 20, .42), 0 18px 34px -18px rgba(60, 35, 20, .32);
}
.movil > img, .movil > .tg {
  position: absolute; top: 3.3cqw; left: 3.3cqw; width: calc(100% - 6.6cqw); height: calc(100% - 6.6cqw);
  border-radius: 13.5cqw; border-top: 12cqw solid var(--barra, #F4F0E7);
}
.movil > img { object-fit: cover; object-position: top; background: #F4F0E7; }
.movil > .tg { --barra: #fff; }
/* the Dynamic Island, with the camera lens */
.movil::after {
  content: ""; position: absolute; z-index: 3; top: 5.6cqw; left: 50%; width: 30cqw; height: 8.8cqw; transform: translateX(-50%);
  border-radius: 99px; background: radial-gradient(circle at 80% 50%, #1E2B3C 0 1.5cqw, #08080A 1.8cqw);
}
/* side buttons: action and volume on the left, power on the right */
.movil::before {
  content: ""; position: absolute; top: 20%; left: calc(-1.3cqw - 2.5px); width: 1.3cqw; height: 5.5%;
  border-radius: 1cqw 0 0 1cqw; background: #8E8883;
  box-shadow: 0 13cqw 0 0 #8E8883, 0 25cqw 0 0 #8E8883, calc(100cqw + 1.3cqw + 5px) 17cqw 0 0 #8E8883;
}

/* 1. Hero */
.hero { padding: 40px 0 10px; text-align: center; }
.hero h1 { font-size: clamp(2.9rem, 12.5vw, 6.2rem); line-height: .98; margin: 22px auto 16px; max-width: 11ch; }
.hero .lead { margin: 0 auto 26px; }
.hero .botones { justify-content: center; }
.hero .telegram { margin: 14px auto 0; font-size: .88rem; color: var(--muted); max-width: 34ch; }

/* The Telegram chat drawn in HTML (an example made with a real memory of Uma) */
.tg { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; display: flex; flex-direction: column;
  background: #DCE7C9 linear-gradient(160deg, #E4EDCF, #CFE0BE); font-size: .8rem; line-height: 1.35; text-align: left; }
.tg .cab { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; color: var(--ink); }
.tg .cab i { width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center;
  font: 600 .8rem var(--body); font-style: normal; }
.tg .cab b { display: block; font-weight: 600; font-size: .86rem; }
.tg .cab small { color: #6b9bd1; font-size: .7rem; }
.tg .hilo { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 9px 12px; }
.tg .m { max-width: 86%; padding: 7px 9px; border-radius: 13px; background: #fff; color: #1d1d1d; }
.tg .yo { align-self: flex-end; background: #E1F7CB; border-bottom-right-radius: 4px; }
.tg .momo { align-self: flex-start; border-bottom-left-radius: 4px; }
.tg .foto { padding: 3px; }
.tg .foto img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tg .voz { display: flex; align-items: center; gap: 7px; color: #4a8a3a; font-weight: 600; min-width: 140px; }
.tg .voz span { flex: 1; height: 14px; background: repeating-linear-gradient(90deg, #6fae5b 0 2px, transparent 2px 5px);
  clip-path: polygon(0 40%, 8% 10%, 16% 50%, 26% 0, 36% 60%, 46% 20%, 56% 70%, 66% 15%, 76% 55%, 86% 25%, 100% 45%, 100% 100%, 0 100%); }
.tg .atlas { display: block; margin-top: 7px; text-align: center; background: #EEF3F8; color: #2f6ea5; border-radius: 8px; padding: 6px; font-weight: 600; }

/* 1b. The live globe of every Atlas (globo-ejemplo.js) with an invented example Atlas: a square box, the globe and
   its halo drawn inside it on transparent, so it sits on the page's own background like on an Atlas cover */
/* On a phone the globe comes first (David and Sandra: it is the first thing people should see), as wide as the
   screen (the halo touches its edges), then the title */
.hero { padding-top: 10px; }
.hero > .wrap { display: flex; flex-direction: column; }
.hero .globo { order: -1; }
.hero .hero-texto .eyebrow { display: none; }
.globo { position: relative; align-self: center; margin: 0 0 40px; width: min(100vw, 600px); }
.globo-vivo { position: relative; aspect-ratio: 1; }
.globo-vivo canvas, .globo-vivo .quieto { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globo-vivo canvas { touch-action: pan-y; cursor: grab; }
.globo-vivo canvas.en-punto { cursor: pointer; }  /* over a dot: its label is open */
.globo-vivo canvas.arrastrando { cursor: grabbing; }
/* The still (a frame of the same globe) is there until the live one has drawn, or for good without JavaScript */
.globo-vivo.vivo .quieto { visibility: hidden; }
/* The example's label: what it is, and the "wow" number big. On a phone half below the box, so it only covers the
   globe's bottom edge; on a computer in the box's corner, mostly outside the round globe */
.globo .chip { position: absolute; left: 10px; bottom: -34px; z-index: 2; padding: 9px 14px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(60, 35, 20, .12); font: 600 .8rem var(--body); color: var(--text); text-align: left; pointer-events: none; }
.globo .chip b { display: block; margin: 2px 0 1px; font: 1.75rem/1.05 var(--display); font-weight: 400; color: var(--ink); }
.globo .chip small { display: block; font-weight: 500; font-size: .78rem; color: var(--text); }

/* 2. The Atlas, part by part: one block, one device (phone or laptop), never overlapping */
.bloques { display: grid; gap: 64px; }
.bloque { display: grid; justify-items: center; gap: 24px; text-align: center; }
.bloque .texto { max-width: 40ch; order: -1; } /* on a phone: read the block first, then see its screen */
.bloque .aparato { width: 100%; display: grid; justify-items: center; }
.bloque .movil { width: 236px; }
.bloque .portatil { width: min(560px, 88%); } /* room for the base, which is wider than the screen */
.bloque .portatil .pantalla { padding: 8px; border-radius: 14px 14px 0 0; }
.bloque .portatil .pantalla img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.bloque .donde { display: inline-block; font: 700 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--plum);
  background: var(--lav); padding: 7px 12px; border-radius: 999px; }
.bloque h3 { font-size: clamp(1.7rem, 6.6vw, 2.3rem); line-height: 1.1; margin: 14px 0 10px; }
.bloque p { margin: 0; }
.bloque .aclara { margin-top: 10px; font-size: .85rem; color: var(--muted); }
/* A laptop around a real desktop screen */
.portatil .pantalla { background: #1F1A1D; box-shadow: 0 30px 70px rgba(60, 35, 20, .25); }
.portatil .pantalla img { display: block; width: 100%; border-radius: 6px; }
.portatil .base { height: 14px; margin: 0 -6%; border-radius: 0 0 20px 20px; background: linear-gradient(#d9cfc6, #b8aca1); }

/* 3. A real Atlas: Uma */
.real { display: grid; gap: 34px; justify-items: center; padding: 34px 20px; border-radius: 36px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); }
.real .texto { max-width: 46ch; text-align: center; }
.real h2 { margin: 16px 0 12px; }
.real .cifras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; margin: 22px 0 6px; padding: 16px 0; border-block: 1px solid var(--line); }
.real .cifras b { display: block; font: 2rem/1.1 var(--display); color: var(--ink); }
.real .cifras span { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.real .cifras-titulo { font: 700 .86rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin: 22px 0 0; }
.real .fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 24px; }
.real .fotos img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 14px; }
.real .botones { justify-content: center; }

/* 4. For whom */
.quien { display: grid; gap: 12px; }
.quien li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; }
.quien { margin: 0; padding: 0; }
.quien b { display: block; font: 1.3rem var(--display); color: var(--ink); margin-bottom: 4px; }
.ocasiones { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.ocasiones li { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .95rem; color: var(--ink); }

/* 5. Gift */
.regalo { display: grid; gap: 30px; justify-items: center; padding: 38px 20px; border-radius: 36px; background: linear-gradient(160deg, var(--peach), var(--lav)); }
.regalo .tarjeta { width: min(300px, 78vw); border-radius: 18px; box-shadow: 0 24px 60px rgba(60, 35, 20, .18); transform: rotate(-3deg); }
.regalo .nota { margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.regalo .texto { max-width: 46ch; }
.regalo h2 { margin: 16px 0 14px; }
.regalo ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.regalo li { padding-left: 30px; position: relative; }
.regalo li::before { content: "✦"; position: absolute; left: 4px; top: 0; color: var(--terra); }
.regalo li b { color: var(--ink); }

/* 6. Private */
.privado { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.privado li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; }
.privado b { display: block; font: 1.25rem var(--display); color: var(--ink); margin-bottom: 4px; }
.ia { margin: 18px auto 0; max-width: 60ch; text-align: center; font-size: .95rem; }

/* 7. Price: the same markup as the live web's price block (textos/es.json, "compra_pronto" / "compra_abierta") */
/* On the live web __COMPRA__ is a bare <section class="precio">, without .wrap or .seccion: give it the same box */
.precio { text-align: center; width: min(1160px, 100% - 32px); margin: 0 auto; padding-top: 76px; }
.precio h2 { margin: 16px 0 22px; }
.precio .pack { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px 24px;
  box-shadow: 0 16px 40px rgba(60, 35, 20, .08); display: grid; gap: 16px; justify-items: center; }
.precio .pack p { margin: 0; }
.precio .cifra { font: 3rem/1 var(--display); color: var(--ink); }
.hueco { border: 2px dashed var(--terra); color: var(--terra); background: #FFF6EE; border-radius: 14px; padding: 10px 14px; font: 600 .9rem var(--body); }

/* 8. Questions */
.preguntas { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 15px 20px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--terra); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 2px; }

/* 9. Closing */
.cierre { padding: 90px 0 40px; text-align: center; }
.cierre h2 { font-size: clamp(2.2rem, 9vw, 3.8rem); margin: 18px 0 14px; }
.cierre p { margin: 0 auto 24px; max-width: 36ch; }
.cierre .botones { justify-content: center; }
.pie { padding: 28px 16px 44px; text-align: center; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }
.pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 8px; }
.pie a { color: var(--plum); text-underline-offset: 3px; }
.pie .hueco { display: inline-block; margin-top: 10px; }
.nota-propuesta { position: fixed; left: 10px; bottom: 10px; z-index: 9; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 .72rem var(--body); opacity: .82; }

/* Desktop */
@media (min-width: 700px) {
  .real .cifras { grid-template-columns: repeat(4, 1fr); }
  .quien { grid-template-columns: repeat(2, 1fr); }
  .privado { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hero > .wrap { display: grid; }
  .hero .globo { order: 0; }
  .hero .hero-texto .eyebrow { display: inline-flex; }
  .globo { align-self: center; justify-self: center; margin: 0; width: min(100%, 100vh - 150px); }
  .globo .chip { left: 0; bottom: 3%; }
  .globo .chip b { font-size: 2.1rem; }
  .bloques { gap: 96px; }
  .bloque { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 64px; align-items: center; max-width: 1040px; margin: 0 auto; }
  .bloque.al-reves { grid-template-columns: 1fr auto; }
  .bloque .texto { order: 0; }
  .bloque.al-reves .aparato { order: 2; }
  .bloque .movil { width: 260px; }
  .bloque .portatil { width: 540px; margin: 0 30px; }
  .bloque h3 { font-size: 2.6rem; }
  .bar nav .ancla { display: inline-block; }
  .hero { text-align: left; padding-top: 70px; }
  .hero > .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; }
  .hero h1 { margin-left: 0; font-size: 4.7rem; max-width: 12ch; }
  .hero h1 em { white-space: nowrap; }
  .hero .lead { margin-left: 0; }
  .hero .botones { justify-content: flex-start; }
  .seccion, .precio { padding-top: 110px; }
  .hero .telegram { margin-left: 0; }
  .real { grid-template-columns: auto 1fr; gap: 70px; padding: 60px; justify-items: start; align-items: center; }
  .real .texto { text-align: left; }
  .real .botones { justify-content: flex-start; }
  .real .movil { width: 280px; }
  .quien { grid-template-columns: repeat(4, 1fr); }
  .regalo { grid-template-columns: auto 1fr; gap: 80px; padding: 60px 80px; justify-items: start; align-items: center; }
  .regalo .tarjeta { width: 320px; }
  .privado { grid-template-columns: repeat(4, 1fr); }
}
/* Wide screens (from 1340 px the page has at least 90 px of empty margin each side): the globe also takes 80 px of the
   margin to its right, its halo being transparent, so it is as big as the first screen allows */
@media (min-width: 1340px) {
  .globo { width: min(100% + 80px, 100vh - 130px); margin-right: -80px; justify-self: end; }
}

/* Step 22 (web plan 2026-11-27): on a phone, about 30 % less air between sections and blocks, and smaller phone
   shots, so the home is shorter to scroll (Sandra's review; nothing removed). Desktop untouched. */
@media (max-width: 959px) {
  .seccion, .precio { padding-top: 52px; }
  .cabeza { margin-bottom: 24px; }
  .bloques { gap: 44px; }
  .bloque { gap: 18px; }
  .bloque .movil { width: 216px; }
  /* the secondary blocks with a phone (Dos vidas, El álbum): text and a small phone side by side, not stacked */
  .bloque:not(.paso):has(> .aparato > .movil) { grid-template-columns: 1fr 128px; align-items: center; text-align: left; justify-items: start; gap: 16px; }
  .bloque:not(.paso):has(> .aparato > .movil) .texto { order: 0; }
  .bloque:not(.paso):has(> .aparato > .movil) .aparato { order: 1; }
  .bloque:not(.paso):has(> .aparato > .movil) .movil { width: 128px; }
  .bloque:not(.paso):has(> .aparato > .movil) h3 { font-size: 1.45rem; }
  .preguntas { gap: 8px; }
  .preguntas details { padding: 12px 16px; }
}
.preguntas .grupo { margin: 18px 0 2px; font: 700 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra); text-align: left; }
.preguntas .grupo:first-child { margin-top: 0; }
