/* ==========================================================================
   Index · la historia de una farmacia
   Tokens on top of scrollcraft.css, then the world, the copy, the close.
   ========================================================================== */

:root {
  --petroleo:      #16343C;
  --petroleo-deep: #0D262D;
  --esmeralda:     #1E8E63;
  --esmeralda-ink: #187352;   /* esmeralda for text on light grounds */
  --esmeralda-lit: #5CC79A;   /* esmeralda for text on dark grounds  */
  --esmeralda-soft:#E4F0EA;
  --marfil:        #F7F5F0;
  --papel:         #FFFFFF;
  --pizarra:       #3C4E53;
  --pizarra-2:     #5B6C71;
  --borde:         #E3E0D8;
  --rojo:          #B4483C;

  --sc-canvas:     var(--petroleo-deep);
  --sc-surface:    var(--petroleo);
  --sc-ink:        var(--marfil);
  --sc-ink-soft:   #B9C7C4;
  --sc-accent:     var(--esmeralda);
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text:    "Inter", system-ui, sans-serif;
  --sc-shadow-color: 192 55% 6%;

  --bar-h: 64px;
  --gutter: clamp(16px, 5vw, 72px);
}
@media (max-width: 700px) { :root { --bar-h: 56px; } }

html { scroll-behavior: auto; }
body { background: var(--petroleo-deep); color: var(--marfil); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--papel); color: var(--petroleo); padding: 10px 14px; border-radius: 4px;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 16px;
  padding-inline: var(--gutter);
  color: var(--marfil);
  background: linear-gradient(to bottom, rgb(13 38 45 / 0.72), rgb(13 38 45 / 0));
  transition: color 240ms var(--sc-ease-out);
}
.bar.is-light {
  color: var(--petroleo);
  background: linear-gradient(to bottom, rgb(247 245 240 / 0.86), rgb(247 245 240 / 0));
}
.brand {
  font-family: var(--sc-font-display); font-weight: 600; font-size: 26px;
  letter-spacing: -0.03em; text-decoration: none; color: inherit; line-height: 1;
  font-variation-settings: "opsz" 72;
}
.brand__dot { color: var(--esmeralda); transition: opacity 200ms; }
.brand__dot.is-away { opacity: 0; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 6px;
  background: var(--esmeralda); color: #fff; text-decoration: none; white-space: nowrap;
  font-weight: 500; font-size: 15px; border: 0; cursor: pointer;
  box-shadow: 0 1px 2px rgb(13 38 45 / 0.25), 0 6px 14px -6px rgb(13 38 45 / 0.4);
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.cta:hover { background: var(--esmeralda-ink); }
.cta:active { transform: translateY(1px) scale(0.98); }
.cta:disabled { opacity: 0.6; cursor: progress; }
.cta--bar { margin-left: auto; }

/* the map: the nav of a continuous world is where you are in it */
.map { position: relative; margin-left: auto; }
.map + .cta--bar { margin-left: 0; }
.map__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px; border-radius: 6px;
  background: transparent; border: 1px solid currentColor; border-color: color-mix(in oklab, currentColor 30%, transparent);
  cursor: pointer; font-size: 14px; color: inherit;
}
.map__now { max-width: 9.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map__list {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px;
  background: var(--papel); color: var(--petroleo); border-radius: 8px;
  box-shadow: var(--sc-e3);
  opacity: 0; transform: translateY(-4px); visibility: hidden;
  transition: opacity 180ms var(--sc-ease-out), transform 180ms var(--sc-ease-out), visibility 0s 180ms;
}
.map.is-open .map__list { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.map__list a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 4px;
  text-decoration: none; font-size: 15px; color: var(--pizarra);
}
.map__list a::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--pizarra-2); flex: none;
}
.map__list a[aria-current="step"] { color: var(--petroleo); font-weight: 600; }
.map__list a[aria-current="step"]::before { background: var(--esmeralda); border-color: var(--esmeralda); }
.map__list a:hover { background: var(--marfil); }

/* wide screens: the map is a rail on the right edge, always open */
@media (min-width: 1200px) {
  .map { position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%); margin: 0; }
  .map + .cta--bar { margin-left: auto; }
  .map__toggle { display: none; }
  .map__list {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; box-shadow: none; padding: 0; min-width: 0; color: inherit;
    display: grid; gap: 2px; justify-items: end;
  }
  .map__list a {
    flex-direction: row-reverse; padding: 6px 0; font-size: 13px;
    color: inherit; opacity: 0.62; transition: opacity 160ms var(--sc-ease-out);
  }
  .map__list a::before { border-color: currentColor; }
  .map__list a:hover { background: none; opacity: 1; }
  .map__list a[aria-current="step"] { color: inherit; opacity: 1; }
  .map__list a[aria-current="step"]::before { background: var(--esmeralda); border-color: var(--esmeralda); }
  .map { color: var(--marfil); transition: color 240ms var(--sc-ease-out); }
  .map.is-light { color: var(--petroleo); }
}

/* --------------------------------------------------------------- stage */
.stage { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; background: var(--petroleo-deep); }
.scene { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.scene__media {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--ox, 50%) 50%;
  transform-origin: 50% 50%; will-change: transform;
}
#sceneA { --ox: 18%; opacity: 1; }
#sceneC { --ox: 50%; }
@media (max-aspect-ratio: 4/5) { #sceneA { --ox: 57%; } #sceneC { --ox: 48%; } }
.scene__still { opacity: 0; }
.scene__sky { will-change: opacity; }
.scene video { opacity: 0; transition: opacity 300ms var(--sc-ease-out); }
.scene.has-frame video { opacity: 1; }
.scene__wash { position: absolute; inset: 0; background: var(--marfil); opacity: 0; }
.stage__dim { position: absolute; inset: 0; background: var(--petroleo-deep); opacity: 0; }
.stage__grain {
  position: absolute; inset: -50%; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stage.is-cut .scene { transition: opacity 220ms var(--sc-ease-out); }

/* the 3D layer: papers, the time ruler, its signs */
.fx { position: absolute; inset: 0; perspective: 1000px; perspective-origin: 56% 40%; transform-style: preserve-3d; }
.fx > * { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.fx > .rcpt, .fx > .paper--doc { transform-origin: 50% 0; }

/* thermal receipts, printed by the ticketera */
.rcpt {
  width: 112px; height: 168px; padding: 10px 10px 14px;
  background: #FDFCF7;
  font: 500 8.5px/1.35 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color: #2A3A3F; letter-spacing: 0.01em;
  display: flex; flex-direction: column; gap: 5px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 5px) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 10px 5px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 5px) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 10px 5px repeat-x;
  will-change: transform, opacity, clip-path; opacity: 0;
}
.rcpt__head { text-align: center; font-weight: 700; letter-spacing: 0.22em; font-size: 8px; padding-bottom: 5px; border-bottom: 1px dashed #B9B6AC; }
.rcpt__tag {
  align-self: flex-start; padding: 2px 5px; border-radius: 2px;
  background: var(--k); color: #fff; font: 600 7.5px/1.2 "Inter", sans-serif; letter-spacing: 0.04em; text-transform: uppercase;
}
.rcpt__row { display: flex; justify-content: space-between; gap: 6px; color: #5B6C71; }
.rcpt__row i { font-style: normal; }
.rcpt__total {
  margin-top: auto; padding-top: 5px; border-top: 1px dashed #B9B6AC;
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 700; font-size: 8px; color: #16343C; white-space: nowrap;
}
.rcpt__total b { font-size: 12px; letter-spacing: -0.02em; white-space: nowrap; }
.rcpt.is-out .rcpt__total b { color: #B4483C; }
.rcpt__foot { text-align: center; font-size: 7.5px; color: #7D8C90; }

.paper--doc {
  width: 104px; height: 136px; padding: 9px 8px;
  background: #FFFDF8; border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgb(22 52 60 / 0.08);
  font: 600 7.5px/1.2 "Inter", sans-serif; color: var(--petroleo); letter-spacing: 0.02em; text-transform: uppercase;
  will-change: transform, opacity; opacity: 0;
}
.paper--doc i { display: block; height: 4px; margin: -9px -8px 7px; background: #3C4E53; }
.paper--doc b { display: block; font-weight: 600; }
.paper--doc u { display: block; height: 3px; margin-top: 7px; background: #E9E5DC; text-decoration: none; }
.paper--doc u:nth-of-type(even) { width: 72%; }

/* the ticket rail over the counter */
.rail {
  height: 6px; border-radius: 3px; opacity: 0;
  background: linear-gradient(#C9CFCD, #8E9897);
  box-shadow: 0 2px 4px rgb(13 38 45 / 0.35);
}

/* the timeline: time runs left to right, money in above, money out below */
.tl-axis { background: var(--petroleo); opacity: 0; border-radius: 2px; }
.tl-pill {
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  font: 600 13px/1 "Inter", sans-serif; letter-spacing: 0.06em; color: #fff;
  background: var(--k, var(--petroleo)); opacity: 0;
  box-shadow: 0 2px 4px rgb(13 38 45 / 0.2), 0 8px 16px -8px rgb(13 38 45 / 0.35);
}
.tl-side { font: 600 12px/1.2 "Inter", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pizarra); opacity: 0; white-space: nowrap; }
.tl-gap { background: rgb(180 72 60 / 0.10); border: 1.5px dashed rgb(180 72 60 / 0.55); border-radius: 10px; opacity: 0; }
.tl-gap__label { font: 500 15px/1.35 "Inter", sans-serif; color: #8F3A30; opacity: 0; text-wrap: balance; }
.tl-gap__label strong { font-weight: 700; }

/* ------------------------------------------------------------- flying dot */
.flydot {
  position: fixed; left: 0; top: 0; z-index: 80; width: 0; height: 0;
  pointer-events: none; opacity: 0; will-change: transform;
}
.flydot__core {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--esmeralda); transform: scale(var(--s, 1));
  box-shadow: 0 2px 6px rgb(5 20 24 / 0.4);
}
.flydot__ring {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--esmeralda-lit);
  transform: scale(calc(var(--s, 1) * var(--r, 1))); opacity: var(--ro, 0);
}
.flydot__ring--2 { transform: scale(calc(var(--s, 1) * var(--r2, 1))); opacity: var(--ro2, 0); }

/* ------------------------------------------------------------------ copy */
.copy { position: relative; z-index: 20; }
.js .copy { position: fixed; inset: 0; pointer-events: none; }
.say { padding: calc(var(--bar-h) + 24px) var(--gutter) 48px; }
.js .say {
  position: absolute; inset: 0; padding: 0;
  opacity: 0;
  will-change: opacity, transform;
}
.say__scrim { position: absolute; inset: 0; pointer-events: none; }
.say__body { position: relative; max-width: 44rem; }
.js .say__body { position: absolute; }

.say__h1, .say__h2, .say__q, .numero__fig, .nota__h, .informes__h, .sheet h3 {
  font-family: var(--sc-font-display); font-weight: 500; margin: 0;
  text-wrap: balance; font-variation-settings: "opsz" 120;
}
.say__h1 { font-size: clamp(2.8rem, 1.4rem + 4.4vw, 6.2rem); line-height: 0.96; letter-spacing: -0.04em; }
.say__h2 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.035em; }
.say__p  { margin: 22px 0 0; font-size: clamp(1.05rem, 0.92rem + 0.5vw, 1.4rem); line-height: 1.5; max-width: 32ch; text-wrap: pretty; }
.say__q  { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 6rem); line-height: 1; letter-spacing: -0.04em; text-align: center; max-width: 14ch; margin-inline: auto; }
.say em, .informes__h em { font-style: italic; font-weight: 500; }
.on-dark em, .informes__h em { color: var(--esmeralda-lit); }
.on-light em { color: var(--esmeralda-ink); }

/* words rise out of a mask as their block arrives */
.js .say .w, .js .informes__h .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.05em 0.16em; margin: 0 -0.05em -0.16em; }
.js .say .w > span, .js .informes__h .w > span {
  display: inline-block;
  --wi: clamp(0, calc((var(--in, 1) - var(--d, 0) * 0.5) * 2), 1);
  transform: translateY(calc((1 - var(--wi)) * 110%));
}
.js .say__p { opacity: var(--in2, 1); transform: translateY(calc((1 - var(--in2, 1)) * 16px)); }

.on-dark  { color: var(--marfil); }
.on-dark .say__p { color: #D3DDDA; }
.on-light { color: var(--petroleo); }
.on-light .say__p { color: var(--pizarra); }

/* desktop anchors. Each block goes where the world leaves it room. */
.js .say--hero .say__body       { left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 40rem; }
.js .say--hero .say__scrim      { background: radial-gradient(75% 85% at 0% 50%, rgb(10 30 36 / 0.88), rgb(10 30 36 / 0.55) 45%, transparent 80%); }
.js .say--mostrador .say__body  { left: var(--gutter); top: calc(var(--bar-h) + 6vh); }
.js .say--mostrador .say__scrim { background: radial-gradient(70% 80% at 0% 10%, rgb(247 245 240 / 0.97), rgb(247 245 240 / 0.75) 45%, transparent 78%); }
.js .say--plazos .say__body     { left: var(--gutter); top: calc(var(--bar-h) + 4vh); }
.js .say--plazos .say__scrim    { background: radial-gradient(56% 64% at 0% 10%, rgb(247 245 240 / 0.96), rgb(247 245 240 / 0.62) 48%, transparent 76%); }
.js .say--escritorio .say__body { left: var(--gutter); bottom: 9vh; }
.js .say--escritorio .say__scrim{ background: radial-gradient(80% 80% at 0% 100%, rgb(10 30 36 / 0.94), rgb(10 30 36 / 0.62) 48%, transparent 80%); }
.js .say--pregunta .say__body   { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(90vw, 60rem); max-width: none; }
.js .say--cierre .say__body     { left: var(--gutter); top: calc(var(--bar-h) + 8vh); }
.js .say--cierre .say__scrim    { background: radial-gradient(60% 60% at 0% 15%, rgb(10 30 36 / 0.88), rgb(10 30 36 / 0.45) 50%, transparent 76%); }

/* --------------------------------------------------------------- the peak */
.numero { text-align: center; }
.js .numero {
  position: absolute; left: 50%; top: 50%; width: min(92vw, 60rem);
  transform: translate(-50%, -50%);
  transform-origin: 50% 0;
}
.numero__label { margin: 0 0 10px; font-size: clamp(0.82rem, 0.78rem + 0.2vw, 0.95rem); letter-spacing: 0.08em; text-transform: uppercase; color: #C4D1CE; font-weight: 500; }
.numero__fig {
  font-size: clamp(3.2rem, 1rem + 9vw, 9.5rem); line-height: 1; letter-spacing: -0.045em;
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; margin: 0;
}
.numero__digits { display: inline-block; clip-path: inset(0 var(--hide, 0%) 0 0); }
.numero__slot { color: transparent; display: inline-block; width: 0.32em; }
.no-fly .numero__slot { color: var(--esmeralda-lit); }
.numero__src { margin: 22px auto 0; max-width: 40ch; color: #D3DDDA; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem); line-height: 1.55; text-wrap: balance; }
.numero__fine { margin: 10px 0 0; font-size: 0.82rem; color: #A9B9B6; }

.informes { text-align: center; }
.js .informes { position: absolute; inset: auto 0 0 0; top: 33%; padding-inline: var(--gutter); }
.informes__h { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.informes__deck {
  margin: 28px auto 0; display: flex; gap: 24px; justify-content: center;
  perspective: 1400px;
}
.sheet {
  flex: 0 1 340px; text-align: left; color: var(--petroleo);
  background: var(--papel); border-radius: 6px; padding: 20px 22px 16px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgb(5 20 24 / 0.3), 0 22px 44px -16px rgb(5 20 24 / 0.6);
  transform-origin: 50% 100%; will-change: transform, opacity;
}
.sheet header { display: grid; gap: 2px; }
.sheet__k { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--esmeralda-ink); font-weight: 600; }
.sheet h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
.sheet__chart { width: 100%; height: auto; margin: 14px 0 10px; }
.sheet__say { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--pizarra); }
.sheet__fine { margin: 10px 0 0; font-size: 0.75rem; color: var(--pizarra-2); }

/* -------------------------------------------------------------- the track */
.track { height: 0; }

/* -------------------------------------------------------------- the close */
.nota {
  position: relative; z-index: 30;
  padding: 18vh var(--gutter) 0;
  color: var(--petroleo);
}
.nota__paper {
  max-width: 64rem; margin: 0 auto;
  background: var(--marfil); border-radius: 8px;
  padding: clamp(24px, 4vw, 56px);
  box-shadow: inset 0 1px 0 #fff, 0 4px 8px rgb(5 20 24 / 0.25), 0 30px 70px -20px rgb(5 20 24 / 0.7);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px);
}
.nota__h { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1.03; letter-spacing: -0.03em; }
.nota__p { margin: 16px 0 0; color: var(--pizarra); line-height: 1.6; max-width: 34ch; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
.form__row { display: grid; gap: 6px; }
.form__row--wide, .form__send { grid-column: 1 / -1; }
.form label { font-size: 14px; font-weight: 500; color: var(--petroleo); }
.form input, .form textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  background: var(--papel); color: var(--petroleo);
  border: 1px solid #CFCAC0; border-radius: 6px; font-size: 16px;
  transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.form textarea { resize: vertical; min-height: 92px; }
.form input:hover, .form textarea:hover { border-color: #A9A397; }
.form input:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--esmeralda); box-shadow: 0 0 0 3px rgb(30 142 99 / 0.25); border-radius: 6px; }
.form ::placeholder { color: #7D8C90; }
.form__send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__status { margin: 0; font-size: 14px; color: var(--pizarra); }
.form__status.is-ok { color: var(--esmeralda-ink); font-weight: 500; }
.form__status.is-err { color: var(--rojo); font-weight: 500; }

.firmas { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid var(--borde); }
.firma { margin: 0; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.firma img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.firma figcaption { display: grid; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--pizarra); }
.firma strong { color: var(--petroleo); font-weight: 600; font-size: 15px; }
.firma a { color: var(--esmeralda-ink); font-weight: 500; justify-self: start; min-height: 24px; }

.pie {
  max-width: 64rem; margin: 0 auto; padding: 36px 0 40px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline;
  color: #C4D1CE; font-size: 14px;
}
.pie a { color: var(--marfil); }
.pie__brand { font-family: var(--sc-font-display); font-weight: 600; font-size: 22px; color: var(--marfil); letter-spacing: -0.03em; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1099px) {
  .informes__deck { display: grid; place-items: center; }
  .sheet { grid-area: 1 / 1; width: min(380px, 88vw); }
}

/* ----------------------------------------------------------------- phone */
@media (max-width: 700px) {
  .brand { font-size: 23px; }
  .cta { padding: 0 14px; font-size: 14px; }
  .map__toggle { padding: 0 10px; font-size: 13px; }
  .map__now { max-width: 7.5em; }

  .js .say .say__body,
  .js .say--hero .say__body { left: var(--gutter); right: var(--gutter); top: auto; bottom: max(28px, env(safe-area-inset-bottom)); transform: none; max-width: none; }
  .js .say--pregunta .say__body { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: calc(100vw - 2 * var(--gutter)); }
  .js .say--mostrador .say__body, .js .say--plazos .say__body { top: auto; }

  .js .say--hero .say__scrim,
  .js .say--escritorio .say__scrim,
  .js .say--cierre .say__scrim { background: linear-gradient(to top, rgb(10 30 36 / 0.94) 0%, rgb(10 30 36 / 0.78) 30%, rgb(10 30 36 / 0.3) 52%, transparent 66%); }
  .js .say--mostrador .say__scrim,
  .js .say--plazos .say__scrim { background: linear-gradient(to top, rgb(247 245 240 / 0.97) 0%, rgb(247 245 240 / 0.86) 30%, rgb(247 245 240 / 0.35) 52%, transparent 66%); }
  .js .say--cierre .say__body { top: auto; }

  .say__h1 { font-size: clamp(2.5rem, 1.4rem + 6vw, 3.3rem); }
  .say__h2 { font-size: clamp(2.1rem, 1.2rem + 5vw, 2.8rem); }
  .say__p { font-size: 1.04rem; margin-top: 14px; }

  .js .numero { top: 42%; }
  .js .informes { top: 24%; }
  .informes__deck { margin-top: 18px; }
  .sheet { padding: 16px 18px 14px; }
  .sheet h3 { font-size: 1.2rem; }

  .nota { padding-top: 14vh; }
  .nota__paper { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .firmas { grid-template-columns: 1fr; }
  .pie { flex-direction: column; gap: 6px; }
}
@media (max-width: 380px) {
  .brand { font-size: 21px; }
  .bar { gap: 10px; }
  .map__now { max-width: 6.2em; }
  .cta--bar { padding: 0 12px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .say__h1 { font-size: 2.2rem; } .say__h2 { font-size: 1.8rem; }
  .say__q { font-size: 2.2rem; }
  .numero__fig { font-size: 3.4rem; }
  .numero__src { margin-top: 10px; }
  .sheet__chart { display: none; }
}

/* ------------------------------------------------------- reduced motion */


/* --------------------------------------------------------------- no JS */
html:not(.js) .stage, html:not(.js) .flydot { display: none; }
html:not(.js) .say--numero .numero__slot { color: var(--esmeralda-lit); }
