/* Tipografías autohospedadas (SIL Open Font License). */
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dmmono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dmmono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dmmono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dmmono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("fonts/jost-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("fonts/jost-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/karla-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/karla-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Así Nomás · asinomas.com · versión ligera
   Horchata, una tinta, mucho aire. Menos información, más intención. */

:root {
  --barro: #2B2522;
  --horchata: #F3EBDD;
  --nopal: #173F2A;
  --rule: rgba(43, 37, 34, .16);
  --soft: rgba(43, 37, 34, .62);

  --gut: clamp(18px, 4vw, 64px);
  --max: 1360px;
  --hdr: 72px;

  --f-head: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--horchata); color: var(--barro);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 300; margin: 0; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--nopal); color: var(--horchata); }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--barro); color: var(--horchata); padding: 10px 16px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.soft { color: var(--soft); }
.tone-nopal { background: var(--nopal); color: var(--horchata); --rule: rgba(243, 235, 221, .22); --soft: rgba(243, 235, 221, .7); }
.tone-nopal ::selection { background: var(--horchata); color: var(--nopal); }

/* Placeholders visibles: se sustituyen antes de publicar */
.ph { font-family: var(--f-mono); font-size: .72em; letter-spacing: .06em; border: 1px dashed currentColor; padding: .05em .45em; opacity: .65; line-height: 1.9; }

/* Enlaces */
.link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .45s var(--ease); }
.link:hover { background-size: 0 1px; background-position: right bottom; }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
a:hover .arrow { transform: translateX(4px); }
.go { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 28px 0 0; font-size: 15px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 1px solid currentColor; background: transparent; font-family: var(--f-body); font-size: 15px; text-decoration: none; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease); }
.btn:hover { background: var(--barro); color: var(--horchata); }

/* Poses y logo */
.pose-svg { overflow: visible; }
.pose-svg g.p { opacity: 0; transition: opacity .25s ease; }
.pose-svg g.p.on { opacity: 1; }
.pose-svg .ln { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: square; stroke-linejoin: miter; }
.logo-svg { overflow: visible; }
.logo-svg .ln { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: square; stroke-linejoin: miter; }

/* Entradas: un fundido lento, sin desenfoque */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-d="1"] { transition-delay: 120ms; }
.js [data-reveal][data-d="2"] { transition-delay: 240ms; }

/* Transición entre páginas */
.veil {
  position: fixed; inset: 0; z-index: 250; pointer-events: none; background: var(--nopal);
  transform: translateY(-101%); transition: transform .5s cubic-bezier(.7, 0, .2, 1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-80 -60 160 110'%3E%3Cg fill='none' stroke='%23F3EBDD' stroke-width='5' stroke-linecap='square'%3E%3Ccircle cx='0' cy='-38' r='12'/%3E%3Cpath d='M-72 -6 L-45 -6 L-25 30 L25 30 L45 -6 L72 -6'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 72px auto;
}
.is-entering .veil { transform: none; transition: none; }
.is-leaving .veil { transform: none; }
.no-js .veil { display: none; }

/* ---------- Cabecera ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--hdr); display: flex; align-items: center; background: transparent; transition: background-color .4s var(--ease), color .4s var(--ease), transform .45s var(--ease); }
.hdr[data-tone="horchata"] { color: var(--barro); }
.hdr[data-tone="nopal"] { color: var(--horchata); }
.hdr.is-solid[data-tone="horchata"] { background: var(--horchata); }
.hdr.is-solid[data-tone="nopal"] { background: var(--nopal); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; gap: 24px; width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.hdr__logo { display: block; width: 128px; color: inherit; }
.hdr__logo svg { width: 100%; height: auto; }
.hdr__cta { margin-left: auto; font-size: 14px; text-decoration: none; }
.hdr__cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-btn { display: block; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 80; background: var(--horchata); color: var(--barro); padding: calc(var(--hdr) + 40px) var(--gut) 36px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s; overflow-y: auto; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.menu-open .hdr { background: var(--horchata) !important; color: var(--barro) !important; transform: none !important; }
.menu-open { overflow: hidden; }
.menu > nav { display: flex; flex-direction: column; gap: 6px; max-width: var(--max); width: 100%; margin: 0 auto; }
.menu > nav a { font-family: var(--f-head); font-weight: 300; font-size: clamp(34px, 6vw, 72px); line-height: 1.12; text-decoration: none; width: fit-content; transition: opacity .35s; }
.menu > nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.menu > nav:hover a:not(:hover) { opacity: .35; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; max-width: var(--max); width: 100%; margin: 40px auto 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.clocks { display: flex; gap: 20px; }
.clocks p { margin: 0; }
.clocks span { opacity: .65; }
.clocks time { margin-left: 6px; }
.lang { display: flex; gap: 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.lang a { text-decoration: none; opacity: .5; padding: 2px 3px; }
.lang a[aria-current="true"] { opacity: 1; }

/* ---------- Portada: una pantalla ---------- */
.page-home { overflow: hidden; }
.one { position: relative; height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; }
.one__mark { display: flex; flex-direction: column; align-items: center; text-align: center; animation: onein 1.8s var(--ease) both; }
@keyframes onein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.one__fig { width: clamp(104px, 10vw, 150px); padding: 0; border: 0; background: none; cursor: default; -webkit-tap-highlight-color: transparent; }
.one__fig svg { width: 100%; height: auto; }
.one__fig .pose-svg g.p { transition: opacity .22s ease; }
.one__word { display: block; width: clamp(170px, 15vw, 240px); margin-top: 16px; }
.one__word svg { width: 100%; height: auto; }
.one__h1 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-top: 26px; opacity: .6; }
.one__nav { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 22px; font-size: 13px; white-space: nowrap; }
.one__nav a { text-decoration: none; opacity: .75; transition: opacity .3s; }
.one__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.one__corner { position: absolute; bottom: 26px; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; opacity: .6; }
.one__corner--l { left: var(--gut); }
.one__corner--r { right: var(--gut); }
.one__corner time { margin-left: 6px; }
@media (max-width: 720px) {
  .one__nav { bottom: 58px; gap: 18px; }
  .one__corner { bottom: 22px; }
}
.one__info, .one__close {
  position: fixed; top: 22px; right: var(--gut); z-index: 40; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid currentColor; background: none; color: var(--barro); cursor: pointer; padding: 0;
  font-family: var(--f-head); font-size: 17px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease), transform .2s var(--ease);
}
.one__info { opacity: 0; pointer-events: none; }
.one__info.in { opacity: 1; pointer-events: auto; }
.one__info:hover, .one__close:hover { transform: scale(1.08); }
.one__close { font-size: 22px; z-index: 60; }
.one__panel { position: fixed; inset: 0; z-index: 50; background: var(--horchata); overflow-y: auto; display: flex; padding: 80px var(--gut); text-align: center; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.info-open .one__panel { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.one__panel-in { max-width: 640px; margin: auto; }
.one__panel-in > * { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.info-open .one__panel-in > * { opacity: 1; transform: none; }
.info-open .one__panel-in > *:nth-child(2) { transition-delay: .06s; }
.info-open .one__panel-in > *:nth-child(3) { transition-delay: .12s; }
.info-open .one__panel-in > *:nth-child(4) { transition-delay: .18s; }
.info-open .one__panel-in > *:nth-child(5) { transition-delay: .24s; }
.info-open .one__panel-in > *:nth-child(n+6) { transition-delay: .3s; }
.one__line { font-family: var(--f-head); font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.2; margin: 0 0 6px; text-wrap: balance; }
.one__words { margin: 36px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.one__panel .logos { margin: 40px auto 0; max-width: 480px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.one__table { margin: 40px 0 0; }
.one__table a { font-weight: 500; }
.one__mail { display: inline-block; margin-top: 24px; font-family: var(--f-head); font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); text-decoration: none; }
.one__mail:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.one__more { margin: 28px 0 0; font-size: 14px; }
.one__more a { text-decoration: none; }
.one__more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.one__fine { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; align-items: center; font-size: 12px; opacity: .7; }
.one__fine ul { display: flex; gap: 16px; }
.one__fine a { text-decoration: none; }
.one__fine a:hover { text-decoration: underline; }

/* ---------- Páginas interiores ---------- */
.pg__head { min-height: 64vh; min-height: 64svh; display: flex; align-items: flex-end; padding: calc(var(--hdr) + 40px) 0 clamp(56px, 9vh, 104px); }
.pg__head .wrap { display: flex; flex-direction: column; gap: clamp(48px, 10vh, 120px); }
.pg__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.pg__h1 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.pg__lead { font-family: var(--f-head); font-weight: 300; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.35; max-width: 34ch; margin: 28px 0 0; text-wrap: pretty; }
.pg__sub { max-width: 52ch; margin: 18px 0 0; color: var(--soft); }
.pg__meta { margin: 22px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.pg__mail { display: inline-block; margin-top: 28px; font-family: var(--f-head); font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); text-decoration: none; }
.pg__mail:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.pg__fig { width: clamp(84px, 8vw, 128px); }
.pg__fig svg { width: 100%; height: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.crumbs a { text-decoration: none; opacity: .6; }
.crumbs a:hover { opacity: 1; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .4; }
@media (max-width: 720px) { .pg__row { grid-template-columns: 1fr; } .pg__fig { order: -1; width: 84px; } }

/* Bloque editorial: etiqueta | contenido */
.blk { padding-block: clamp(40px, 6vw, 80px); }
.blk__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 20px clamp(24px, 5vw, 96px); border-top: 1px solid var(--rule); padding-top: clamp(24px, 3vw, 36px); }
.blk__label { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; color: var(--soft); max-width: 22ch; }
.blk__body { max-width: 760px; }
@media (max-width: 760px) { .blk__in { grid-template-columns: 1fr; } }

.txt { font-size: 17px; line-height: 1.65; max-width: 60ch; margin: 0 0 1em; }
.txt:last-child { margin-bottom: 0; }
.txt--big { font-family: var(--f-head); font-weight: 300; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.35; max-width: 32ch; text-wrap: pretty; }

/* Lista en línea, separada por puntos */
.inline { display: flex; flex-wrap: wrap; font-family: var(--f-head); font-weight: 300; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; margin-bottom: 18px; }
.inline:last-child { margin-bottom: 0; }
.inline li:not(:last-child)::after { content: '·'; margin: 0 .55em; opacity: .4; }
.inline a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left 95% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.inline a:hover { background-size: 100% 1px; }

/* Filas enlazadas */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 120px 20px; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding .4s var(--ease), opacity .3s; }
.row__t { font-family: var(--f-head); font-weight: 300; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.2; }
.row__d { font-size: 14px; color: var(--soft); }
.row__m { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-align: right; opacity: .65; }
a.row:hover { padding-left: 10px; }
.rows:hover a.row:not(:hover) { opacity: .45; }
.row--static { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 140px; }
@media (max-width: 760px) { .row, .row--static { grid-template-columns: 1fr 20px; gap: 4px 12px; } .row__d, .row__m { grid-column: 1; text-align: left; } .row .arrow { grid-row: 1; grid-column: 2; } }

/* Pasos breves */
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.steps li:first-child { border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; opacity: .55; padding-top: 4px; }

/* Ficha */
.sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.sheet div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sheet dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 4px; }
.sheet dd { margin: 0; font-size: 16px; }
@media (max-width: 600px) { .sheet { grid-template-columns: 1fr; } }

/* Preguntas */
.faq { border-bottom: 1px solid var(--rule); }
.faq:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative; font-family: var(--f-head); font-weight: 300; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 20px; transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--soft); max-width: 60ch; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 28px; align-items: center; margin-top: 28px; }
.logos li { height: 44px; display: flex; align-items: center; justify-content: center; opacity: .55; }
.logos .ph { font-size: 10px; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.named { margin-top: 24px; font-size: 14px; color: var(--soft); }
.named li { margin-bottom: 6px; }

/* Formulario */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.field label small { text-transform: none; letter-spacing: .02em; opacity: .65; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--rule); padding: 10px 0; border-radius: 0; -webkit-appearance: none; appearance: none; width: 100%; transition: border-color .25s; }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: currentColor; }
.field .err { display: none; font-size: 13px; margin: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: currentColor; border-bottom-style: dashed; }
.field.invalid .err { display: block; }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check input { width: 18px; height: 18px; flex: 0 0 auto; border: 1px solid currentColor; margin-top: 3px; padding: 0; -webkit-appearance: none; appearance: none; }
.check input:checked { background: currentColor; box-shadow: inset 0 0 0 3px var(--horchata); }
.check label { font-size: 15px; }
.form__status { grid-column: 1 / -1; min-height: 1.5em; font-family: var(--f-head); font-weight: 300; font-size: 20px; margin: 0; }
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }

/* ---------- Cierre y pie ---------- */
.end { padding-block: clamp(80px, 14vh, 160px); text-align: center; }
.end__t { font-family: var(--f-head); font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; margin-bottom: 18px; }
.end__mail { font-family: var(--f-head); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); text-decoration: none; }
.end__mail:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.end .soft { font-size: 14px; margin-top: 10px; }
.foot { padding-block: 32px; font-size: 12px; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; }
.foot__in p { margin: 0; }
.foot__in ul { display: flex; gap: 16px; }
.foot__in a { text-decoration: none; }
.foot__in a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legales y artículos ---------- */
.legal { max-width: 70ch; }
.legal h2 { font-size: clamp(22px, 2vw, 28px); margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.legal thead th { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.legal tbody th { font-family: var(--f-mono); font-weight: 400; font-size: 13px; }
.table-scroll { overflow-x: auto; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: var(--hdr); }
.nf__fig { width: 110px; margin-bottom: 36px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
.check label { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 15px; }

/* =========================================================
   Movimiento
   ========================================================= */
.bob { animation: bob 3.6s ease-in-out infinite; transform-origin: 50% 60%; transform-box: fill-box; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-5px) rotate(-1.4deg); } 60% { transform: translateY(2px) rotate(1deg); } }

/* Portada en nopal con la escena */
.one.tone-nopal { background: var(--nopal); color: var(--horchata); }
.one__info { color: var(--horchata); }
.one__close { color: var(--barro); }
.one__scene { width: clamp(330px, 74vw, 1000px); }
.scene { width: 100%; height: auto; overflow: visible; }
.scene .ln { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: square; stroke-linejoin: miter; }
.scene g.p { opacity: 0; }
.scene g.p.on { opacity: 1; }
.scene .hit { fill: transparent; stroke: none; }
.scene .cur { opacity: 0; }
.scene .fig { cursor: pointer; }
.js:not(.rm) .scene:not(.done) .lt, .js:not(.rm) .scene:not(.done) .fig { opacity: 0; }
.scene.done .fig__in { animation: bob 3.6s ease-in-out infinite; transform-origin: 50% 60%; transform-box: fill-box; }
.one__h1 { margin-top: 18px; }
.page-home .one__mark { animation: none; }

/* Títulos palabra a palabra */
.js [data-reveal="words"] { opacity: 1; transform: none; }
[data-reveal="words"] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-reveal="words"] .w > span { display: inline-block; }
.js [data-reveal="words"] .w > span { transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js [data-reveal="words"].in .w > span { transform: none; }

/* La línea de cada bloque se dibuja al entrar */
.js [data-reveal="line"] { opacity: 1; transform: none; }
.blk__in { position: relative; border-top: 0; }
.blk__in::before { content: ''; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--rule); transform-origin: left; }
.js .blk__in::before { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .blk__in.in::before { transform: none; }

/* Listas en línea: entran una a una */
.js [data-reveal] .inline li { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(240ms + var(--j) * 55ms); }
.js [data-reveal].in .inline li { opacity: 1; transform: none; }

/* Filas: se rellenan de nopal al pasar */
.row { position: relative; z-index: 0; }
a.row::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--nopal); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
a.row:hover { color: var(--horchata); padding-inline: 18px; }
a.row:hover::before { transform: none; }
a.row:hover .row__d { color: rgba(243, 235, 221, .75); }
a.row:hover { padding-left: 18px; }

/* Cintas de texto */
.mq { overflow: hidden; border-block: 1px solid var(--rule); padding-block: 18px; }
.mq__t { display: flex; width: max-content; animation: mq 70s linear infinite; }
.mq--rev .mq__t { animation-direction: reverse; }
.mq:hover .mq__t { animation-play-state: paused; }
.mq__g { display: flex; flex: 0 0 auto; }
.mq__g span { font-family: var(--f-head); font-weight: 300; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.1; white-space: nowrap; padding-inline: 28px; }
.mq__g span::after { content: '·'; margin-left: 56px; opacity: .35; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Muñequito que se balancea en las cabeceras */
.pg__fig .bob { animation-duration: 4.2s; }

/* Franja final */
.end__fig { width: 86px; margin: 0 auto 26px; }
.end__fig svg { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  .mq__t, .bob, .scene.done .fig__in { animation: none !important; }
  .veil { display: none; }
}
.rm .mq__t, .rm .bob { animation: none; }
@media (max-width: 720px) { .one__scene { width: 100vw; } }

/* Logos de aliados, a color */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 26px clamp(28px, 4vw, 56px); }
.logos li { height: auto; opacity: 1; }
.logos img { display: block; width: auto; max-width: 100%; }
.one__panel .logos { justify-content: center; max-width: 560px; }

/* Mapa de contacto: se carga al pedirlo */
.mapw { padding-block: 0 clamp(24px, 4vw, 48px); }
.map { position: relative; aspect-ratio: 16 / 8; min-height: 360px; background: var(--nopal); color: var(--horchata); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 32px var(--gut); }
.map__ph[hidden] { display: none; }
.map__pin { width: 72px; }
.map__pin svg { width: 100%; height: auto; }
.map__addr { font-family: var(--f-head); font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; margin: 0; }
.map .btn:hover { background: var(--horchata); color: var(--nopal); }
.map__note { font-size: 13px; margin: 0; opacity: .7; max-width: 46ch; }
@media (max-width: 720px) { .map { aspect-ratio: 4 / 5; } }

/* Redes */
.social { display: flex; gap: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; }
.social a { text-decoration: none; }
.social a:hover { text-decoration: underline; text-underline-offset: 3px; }
.one__table a { text-decoration: underline; text-underline-offset: 3px; }
.txt--big a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* ---------- Aviso de cookies ajustable ---------- */
.ck {
  position: fixed; left: var(--gut); bottom: 18px; z-index: 120; width: min(440px, calc(100vw - 2 * var(--gut)));
  background: var(--horchata); color: var(--barro); border: 1px solid rgba(43, 37, 34, .25); padding: 20px 22px;
  box-shadow: 0 10px 40px rgba(23, 63, 42, .14);
  transform: translateY(16px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.ck.show { transform: none; opacity: 1; }
.ck__text { font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
.ck__text a { text-decoration: underline; text-underline-offset: 3px; }
.ck__prefs { border-top: 1px solid var(--rule); margin-bottom: 14px; }
.ck__cat { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ck__name { font-family: var(--f-head); font-size: 17px; margin: 0 0 2px; }
.ck__desc { font-size: 13px; color: var(--soft); margin: 0; }
.ck__always { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; padding-top: 4px; white-space: nowrap; }
.ck__sw { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 40px; height: 22px; border-radius: 11px; background: rgba(43, 37, 34, .25); position: relative; cursor: pointer; margin-top: 2px; transition: background-color .25s; }
.ck__sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--horchata); transition: transform .25s var(--ease); }
.ck__sw:checked { background: var(--nopal); }
.ck__sw:checked::after { transform: translateX(18px); }
.ck__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ck__btn { font-size: 13px; padding: 8px 14px; border: 1px solid currentColor; background: none; cursor: pointer; transition: background-color .3s, color .3s; }
.ck__btn:hover { background: var(--barro); color: var(--horchata); }
.ck__btn--solid { background: var(--nopal); color: var(--horchata); border-color: var(--nopal); }
.ck__btn--solid:hover { background: var(--barro); border-color: var(--barro); }
.ck__btn[hidden] { display: none; }
.foot__ck { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.foot__ck:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .ck { left: 12px; right: 12px; bottom: 12px; width: auto; } .ck__btns { justify-content: stretch; } .ck__btn { flex: 1 1 auto; } }
