/* Hallmark · shape: Program (index-first) with a planner workbench · genre: editorial · theme: custom · job: visit, plan · idea: "A wedding directory laid out like the printed order of service, with a notebook inside: a framed night photograph opens it, every place is a numbered line, and the couple's own checklist sits one click away." · vibe: "candlelit and printed in the dark theme, warm paper in the light one" · koa-design: 2026.11.15
 * paper: #16121a dark, #f2ebdd light · accent: #e3a857 dark, #a94e2f light · display + body: Geist (one clean sans, weights 400/600) · hero: full-bleed night courtyard inside a hairline frame, centred Arco logo, search as a bar on the fold edge · nav: split links around the centred logo, one filled action · footer: logo, link columns, honesty line and ceiba links · imagery: illustrative stills in the hero and the vendor category tiles only, venues are type cards with a guest-range bar · signature: the guest-range bar on every venue card (log scale, 2 to 2000) and the numbered ledger by state
 * axes: dark+light/didone/warm · posture: Stage · contrast: pass AA both themes · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, light theme hero shares the dark photograph; mitigated by the scrim and a paper search bar */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display: clamp(2.5rem, 4.4vw + 1rem, 5rem); --text-section: clamp(1.9rem, 2.4vw + 1rem, 3.4rem); --text-title: clamp(1.2rem, 0.7vw + 0.9rem, 1.6rem); --text-lead: clamp(1.1rem, 0.35vw + 1rem, 1.3rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-micro: 120ms; --dur-short: 220ms;
  --container: 1360px; --gutter: 56px; --section-gap: 120px; --frame: 16px; --z-nav: 200; --z-toast: 500;
  --radius-pill: 999px; --rule-hair: 1px; --radius-btn: 2px; --radius-field: 2px; --radius-chk: 2px;
  --font-display: "Geist", ui-sans-serif, system-ui, sans-serif; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --on-photo: #f1e8da; --on-photo-bg: #16121a; --on-photo-accent: #e3a857; --on-photo-scrim: rgb(14 10 18 / 0.62); --on-photo-scrim-mid: rgb(14 10 18 / 0.3); --on-photo-scrim-end: rgb(14 10 18 / 0.88);
  /* dark theme (default) */
  --color-paper: #16121a; --color-paper-2: #1e1925; --color-card: #231d2b; --color-field: #1e1925;
  --color-ink: #f1e8da; --color-ink-2: #d2c8ba; --color-muted: #a99fae; --color-rule: #3b3244;
  --color-accent: #e3a857; --color-accent-hover: #f0c27f; --color-accent-ink: #1a1208; --color-focus: #f4d596; --color-link: #e3a857;
  --color-rose: #d9a5a0; --color-bar: #e3a857; --color-ok: #8fc9a4;
  --color-nav-bg: #16121a;
}
[data-theme="light"] {
  --color-paper: #f2ebdd; --color-paper-2: #eae0cc; --color-card: #fbf7ee; --color-field: #fbf7ee;
  --color-ink: #1f2a24; --color-ink-2: #3a4840; --color-muted: #566259; --color-rule: #cfc2a8;
  --color-accent: #a94e2f; --color-accent-hover: #8d3f24; --color-accent-ink: #fbf7ee; --color-focus: #2c6e63; --color-link: #a94e2f;
  --color-rose: #8d3f24; --color-bar: #2c6e63; --color-ok: #2c6e63;
  --color-nav-bg: #f2ebdd;
}
:root {
  /* legacy aliases so the internal /revisar page and old inline styles keep working */
  --bg: var(--color-paper); --bg2: var(--color-paper-2); --text: var(--color-ink); --text2: var(--color-ink-2); --text3: var(--color-muted);
  --accent: var(--color-accent); --border: var(--color-rule);
}
@font-face { font-family: "Geist"; src: url("/static/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: var(--space-3xl); scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 62ch; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-toast); padding: var(--space-sm) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); transform: translateY(-300%); }
.skip:focus-visible { transform: none; }
.num { font-variant-numeric: tabular-nums; }
.cap { font-size: var(--text-sm); color: var(--color-muted); }
.tl { color: var(--color-link); text-decoration: underline; text-underline-offset: 0.25em; }
.tl:hover { color: var(--color-accent-hover); }
.pr { font-variant-numeric: tabular-nums; color: var(--color-muted); letter-spacing: 0.04em; white-space: nowrap; }
.pr b { font-weight: 600; color: var(--color-ink); }
/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-inline: var(--space-lg); border-radius: var(--radius-btn); border: var(--rule-hair) solid var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"], .field select:disabled, .field input:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--color-ink); border-color: var(--color-muted); }
.btn.ghost:hover { border-color: var(--color-accent); background: transparent; color: var(--color-ink); }
.field { display: grid; gap: var(--space-xs); min-width: 0; }
.field label, .field .lab { font-size: var(--text-sm); color: var(--color-ink-2); }
.field select, .field input[type="text"], .field input[type="search"], .field input[type="number"], .field input[type="month"] { min-height: 48px; width: 100%; padding-inline: var(--space-md); background: var(--color-field); color: var(--color-ink); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-field); }
.field select:hover, .field input:hover { border-color: var(--color-ink-2); }
.field select, .alta select { appearance: none; padding-right: var(--space-xl); background-image: linear-gradient(45deg, transparent 50%, var(--color-ink-2) 50%), linear-gradient(135deg, var(--color-ink-2) 50%, transparent 50%); background-position: calc(100% - var(--space-lg)) 50%, calc(100% - var(--space-md)) 50%; background-size: var(--space-xs) var(--space-xs), var(--space-xs) var(--space-xs); background-repeat: no-repeat; }
.chk { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-sm); align-items: center; min-height: 44px; cursor: pointer; }
.chk input { appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--color-muted); border-radius: var(--radius-chk); background: transparent; display: grid; place-content: center; cursor: pointer; transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.chk input:checked { background: var(--color-accent); border-color: var(--color-accent); }
.chk input:checked::after { content: ""; width: 6px; height: 12px; border: solid var(--color-accent-ink); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.chk input:checked + span { color: var(--color-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); transition: background var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.pill:hover { border-color: var(--color-accent); }
.pill[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
/* logo */
.logo { height: 44px; width: auto; color: var(--color-ink); --accent: var(--color-accent); }
.mk { width: 56px; height: 56px; color: var(--color-ink); --accent: var(--color-accent); }
/* nav */
.nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-xl); padding: var(--space-md) var(--gutter); background: var(--color-nav-bg); border-bottom: var(--rule-hair) solid var(--color-rule); position: relative; z-index: var(--z-nav); }
.nav .l, .nav .r { display: flex; gap: var(--space-lg); align-items: center; }
.nav .r { justify-content: flex-end; }
.nav a:not(.home):not(.btn) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; color: var(--color-ink); }
.nav a:not(.home):not(.btn):hover, .nav a[aria-current="page"] { color: var(--color-link); text-decoration: underline; text-underline-offset: 0.4em; }
.nav .home { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: var(--space-sm); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-btn); background: transparent; color: var(--color-ink); font-size: var(--text-sm); }
.theme-toggle:hover { border-color: var(--color-accent); }
.nav-burger { display: none; min-width: 44px; min-height: 44px; border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-btn); background: transparent; }
.nav--over { position: absolute; inset: 0 0 auto 0; background: transparent; border-bottom: 0; padding-inline: calc(var(--gutter) + var(--frame)); padding-top: var(--space-lg); }
.nav--over a:not(.home):not(.btn), .nav--over .theme-toggle { color: var(--on-photo); }
.nav--over .theme-toggle { border-color: var(--on-photo); }
.nav--over .logo { color: var(--on-photo); }
/* home fold */
.fold { position: relative; min-height: calc(100svh - 180px); display: grid; grid-template-rows: 1fr; isolation: isolate; background: var(--on-photo-bg); }
.fold-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.fold::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--on-photo-scrim), var(--on-photo-scrim-mid) 38%, var(--on-photo-scrim-end)); }
.frame { position: absolute; inset: var(--frame); border: var(--rule-hair) solid var(--on-photo); pointer-events: none; z-index: 1; opacity: 0.55; }
.hero { align-self: end; width: 100%; position: relative; z-index: 2; }
.hero-copy { padding: var(--space-3xl) calc(var(--gutter) + var(--frame)) var(--space-lg); max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; color: var(--on-photo); }
.hero h1 { font-size: var(--text-display); line-height: 1.04; max-width: 14ch; font-weight: 600; }
.hero .lede { font-size: var(--text-lead); margin-top: var(--space-md); max-width: 40ch; }
.bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: var(--space-xl); align-items: end; padding: var(--space-md) calc(var(--gutter) + var(--frame)); background: var(--color-paper); border-top: var(--rule-hair) solid var(--color-accent); margin: 0; }
.bar .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fold-cap { position: absolute; right: calc(var(--gutter) + var(--frame)); bottom: 96px; z-index: 2; font-size: var(--text-xs); color: var(--on-photo); }
/* sections */
.sec { padding-top: var(--section-gap); }
.sec h2 { font-size: var(--text-section); line-height: 1.05; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); align-items: end; margin-bottom: var(--space-xl); }
.sec-head p { color: var(--color-ink-2); }
.planner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl); align-items: center; background: var(--color-card); border: var(--rule-hair) solid var(--color-rule); padding: var(--space-lg) var(--space-xl); margin: var(--space-lg) var(--gutter) 0; }
.planner h2 { font-size: var(--text-2xl); line-height: 1.1; }
.planner form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--space-md); align-items: end; }
.ledger-group { margin-bottom: var(--space-xl); }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-ink-2); padding-bottom: var(--space-xs); }
.ledger-head h3 { font-size: var(--text-xl); }
.row { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr) 72px; gap: var(--space-xl); align-items: baseline; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; transition: background var(--dur-short) var(--ease-out); }
.row:hover { background: var(--color-paper-2); }
.row .n { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.row .t { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.15; font-weight: 600; }
.row .p, .row .c { color: var(--color-ink-2); }
.row .pr { text-align: right; }
.new-tag { display: inline-block; margin-left: var(--space-sm); padding: var(--space-3xs) var(--space-sm); border: var(--rule-hair) solid var(--color-accent); color: var(--color-link); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; vertical-align: middle; }
/* venue cards with range bar */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
.vc { display: grid; gap: var(--space-sm); align-content: start; padding: var(--space-lg); background: var(--color-card); border: var(--rule-hair) solid var(--color-rule); text-decoration: none; transition: border-color var(--dur-short) var(--ease-out); }
.vc:hover { border-color: var(--color-accent); }
.vc .ty { justify-self: start; font-size: var(--text-xs); color: var(--color-ink-2); border: var(--rule-hair) solid var(--color-rule); padding: var(--space-3xs) var(--space-sm); }
.vc h3 { font-size: var(--text-xl); line-height: 1.12; }
.vc .tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.vc .tags .ty { justify-self: auto; }
.vc .ty.ft { border-color: var(--color-accent); color: var(--color-link); }
.vc.has-img { padding-top: 0; overflow: hidden; }
.vc-img { display: block; width: calc(100% + 2 * var(--space-lg)); max-width: none; margin: 0 calc(-1 * var(--space-lg)) var(--space-xs); aspect-ratio: 3 / 2; height: auto; object-fit: cover; background: var(--color-paper-2); }
.vc .p { color: var(--color-ink-2); }
.rng { position: relative; height: 12px; background: linear-gradient(var(--color-ink-2), var(--color-ink-2)) 33.3% 0 / 1px 100% no-repeat, linear-gradient(var(--color-ink-2), var(--color-ink-2)) 66.6% 0 / 1px 100% no-repeat, var(--color-rule); margin-top: var(--space-xs); }
.rng i { position: absolute; top: var(--space-3xs); bottom: var(--space-3xs); left: var(--a); width: calc(var(--b) - var(--a)); background: var(--color-bar); min-width: var(--space-sm); }
.vc .meta { display: flex; justify-content: space-between; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
/* vendor category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); }
.tile { margin: 0; }
.tile a { display: block; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; transition: opacity var(--dur-short) var(--ease-out); }
.tile a:hover img { opacity: 0.85; }
.tile figcaption { margin-top: var(--space-sm); display: flex; justify-content: space-between; gap: var(--space-sm); }
.tile figcaption span { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.also { margin-top: var(--space-lg); color: var(--color-ink-2); }
.promise { background: var(--color-paper-2); padding-block: var(--section-gap); border-block: var(--rule-hair) solid var(--color-rule); margin-top: var(--section-gap); }
.promise .container, .join { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-xl); align-items: end; }
.statement { font-family: var(--font-display); font-size: var(--text-display); line-height: 1.04; max-width: 18ch; font-weight: 600; }
.promise p:not(.statement), .join p:not(.statement) { color: var(--color-ink-2); }
/* footer */
.foot { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-xl); margin-top: var(--section-gap); }
.foot .cols { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--space-xl); }
.foot ul { display: grid; gap: var(--space-2xs); }
.foot ul a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--color-ink-2); white-space: nowrap; }
.foot ul a:hover { color: var(--color-link); }
.foot .legal { margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); display: grid; gap: var(--space-xs); }
.foot .legal a { color: var(--color-ink-2); }
/* inner pages */
.pg-head { padding-block: var(--space-2xl) var(--space-xl); }
.pg-head h1 { font-size: var(--text-section); line-height: 1.02; }
.pg-head p { color: var(--color-ink-2); margin-top: var(--space-md); max-width: 52ch; }
.list { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-xl); align-items: start; padding-bottom: var(--section-gap); }
.filters { position: sticky; top: var(--space-lg); display: grid; gap: var(--space-lg); }
.filters summary { list-style: none; display: none; min-height: 48px; align-items: center; justify-content: space-between; cursor: pointer; border: var(--rule-hair) solid var(--color-muted); padding-inline: var(--space-md); }
.filters summary::-webkit-details-marker { display: none; }
.filters .fb { display: grid; gap: var(--space-lg); }
.fgroup { display: grid; gap: var(--space-xs); }
.fgroup .lab { font-size: var(--text-sm); color: var(--color-ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); color: var(--color-ink-2); }
.empty { padding: var(--space-xl); border: var(--rule-hair) dashed var(--color-muted); display: grid; gap: var(--space-sm); justify-items: start; }
.empty h2 { font-size: var(--text-xl); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* detail */
.d-fold { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-xl); padding-block: var(--space-lg) 0; align-items: start; }
.crumb { color: var(--color-muted); font-size: var(--text-sm); padding-top: var(--space-xl); display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.crumb a { display: inline-flex; min-height: 44px; align-items: center; }
.crumb .sep { align-self: center; }
.d-fold h1 { font-size: var(--text-section); line-height: 1; }
.where { font-size: var(--text-lead); color: var(--color-ink-2); margin-top: var(--space-md); }
.facts { margin-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-ink-2); }
.facts div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { color: var(--color-muted); } .facts dd { margin: 0; overflow-wrap: anywhere; }
.pending { aspect-ratio: 4 / 5; border: var(--rule-hair) dashed var(--color-accent); border-radius: 999px 999px 0 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: var(--space-xl); gap: var(--space-md); background: var(--color-paper-2); }
.pending h2 { font-size: var(--text-xl); }
.pending p { color: var(--color-ink-2); }
.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.photo-fig { margin: 0; display: grid; gap: var(--space-xs); }
.photo-fig .cap, .sec-head .cap a { color: var(--color-muted); font-size: var(--text-xs); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.gallery a { display: block; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-paper-2); }
@media (max-width: 52rem) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.owner h2 { font-size: var(--text-xl); }
.desc { font-size: var(--text-lead); line-height: 1.6; max-width: 60ch; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-xl); align-items: start; }
.styles { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.styles span { border: var(--rule-hair) solid var(--color-rule); padding: var(--space-2xs) var(--space-sm); color: var(--color-ink-2); }
.flag { margin-top: var(--space-xl); min-height: 44px; padding-inline: 0; background: none; border: 0; color: var(--color-muted); text-decoration: underline; text-underline-offset: 0.25em; }
.flag:hover { color: var(--color-ink); }
/* alta */
.alta { max-width: 720px; margin: 0 auto; padding: var(--space-2xl) var(--space-md) var(--section-gap); display: grid; gap: var(--space-lg); }
.alta h1 { font-size: var(--text-section); line-height: 1.04; }
.alta .lead { color: var(--color-ink-2); font-size: var(--text-lead); }
.alta fieldset { border: var(--rule-hair) solid var(--color-rule); padding: var(--space-lg); display: grid; gap: var(--space-sm); margin: 0; min-width: 0; }
.alta legend { font-family: var(--font-display); font-size: var(--text-xl); padding-inline: var(--space-xs); }
.alta label { font-size: var(--text-sm); color: var(--color-ink-2); display: block; margin-bottom: var(--space-2xs); }
.alta input[type="text"], .alta input[type="url"], .alta input[type="email"], .alta input[type="tel"], .alta input[type="number"], .alta select, .alta textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); background: var(--color-field); color: var(--color-ink); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-field); }
.alta textarea { min-height: 120px; resize: vertical; }
.alta .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.alta .check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-sm); align-items: start; }
.alta .check input { width: 24px; height: 24px; margin-top: var(--space-2xs); accent-color: var(--color-accent); }
.alta .hint, .alta .promise-line { color: var(--color-muted); font-size: var(--text-sm); }
.alta .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alta button[type="submit"] { min-height: 52px; padding-inline: var(--space-xl); background: var(--color-accent); color: var(--color-accent-ink); border: var(--rule-hair) solid var(--color-accent); border-radius: var(--radius-btn); font-weight: 600; justify-self: start; }
.alta button[type="submit"]:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.alta-tabs { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.alta-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-md); border: var(--rule-hair) solid var(--color-muted); text-decoration: none; }
.alta-tabs a[aria-current="page"] { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.narrow { max-width: 640px; margin: 0 auto; padding: var(--space-2xl) var(--space-md) var(--section-gap); display: grid; gap: var(--space-md); justify-items: start; }
.narrow h1 { font-size: var(--text-section); line-height: 1.05; }
.narrow p { color: var(--color-ink-2); font-size: var(--text-lead); }
.acts { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
/* mi boda */
.mb { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--space-xl); align-items: start; padding-bottom: var(--section-gap); }
.rail { position: sticky; top: var(--space-lg); display: grid; gap: var(--space-lg); }
.panel { background: var(--color-card); border: var(--rule-hair) solid var(--color-rule); padding: var(--space-lg); display: grid; gap: var(--space-md); }
.panel h2 { font-size: var(--text-xl); }
.bigp { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; font-variant-numeric: tabular-nums; font-weight: 600; }
.meter { height: 8px; background: var(--color-rule); }
.meter i { display: block; height: 100%; width: var(--pct, 0%); background: var(--color-bar); }
.over { color: var(--color-rose); }
.phase { padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-ink-2); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 6fr); gap: var(--space-xl); }
.phase h3 { font-size: var(--text-xl); }
.task { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; border-bottom: var(--rule-hair) solid var(--color-rule); }
.slots { display: grid; border-top: var(--rule-hair) solid var(--color-ink-2); }
.slot { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-md); align-items: end; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.slot .nm { font-family: var(--font-display); font-size: var(--text-lg); align-self: center; }
.slot .nm a { display: block; font-family: var(--font-body); font-size: var(--text-sm); }
.slot[data-st="contratado"] .nm { color: var(--color-ok); }
.mb h2.sh { font-size: var(--text-section); line-height: 1.05; margin-top: var(--section-gap); margin-bottom: var(--space-lg); }
.mb h2.sh:first-child { margin-top: 0; }
@media (max-width: 64rem) {
  .sec-head, .two, .promise .container, .join, .d-fold, .planner { grid-template-columns: minmax(0, 1fr); }
  .planner { margin-inline: var(--space-md); }
  .planner form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .planner form .btn { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list, .mb { grid-template-columns: minmax(0, 1fr); }
  .filters, .rail { position: static; }
  .filters summary { display: flex; }
  .filters:not([open]) .fb { display: none; }
  .nav { gap: var(--space-md); }
}
@media (max-width: 52rem) {
  .nav { grid-template-columns: auto minmax(0, 1fr); }
  .nav .l, .nav .r { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; justify-self: end; color: var(--color-ink); }
  .nav--over .nav-burger { color: var(--on-photo); border-color: var(--on-photo); }
  .nav.open .l, .nav.open .r { display: grid; grid-column: 1 / -1; gap: var(--space-xs); padding-block: var(--space-sm); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); padding-inline: var(--space-md); }
  .nav.open .r { justify-content: stretch; margin-top: calc(-1 * var(--space-sm)); }
  .nav.open a:not(.home):not(.btn) { color: var(--color-ink); }
  .nav.open .theme-toggle { color: var(--color-ink); border-color: var(--color-muted); }
}
@media (max-width: 40rem) {
  .logo { height: 34px; }
  .nav--over { padding-inline: calc(var(--gutter) + var(--frame)); }
  .bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); padding-inline: var(--space-md); }
  .bar .btn { grid-column: 1 / -1; }
  .hero-copy { padding-top: var(--space-xl); padding-inline: calc(var(--space-md) + var(--frame)); }
  .fold-cap { display: none; }
  .tiles { gap: var(--space-md); }
  .cards, .cards.two { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto; row-gap: var(--space-3xs); column-gap: var(--space-md); }
  .row .p, .row .c { grid-column: 2; } .row .pr { grid-column: 3; grid-row: 1; }
  .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .phase { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .slot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .slot .nm { grid-column: 1 / -1; }
  .alta .grid2 { grid-template-columns: minmax(0, 1fr); }
  .planner { padding: var(--space-lg); }
  .planner form { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
.legal-row { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); align-items: center; }
.slot .nm span.cap { display: block; }
.rail .facts div { grid-template-columns: minmax(0, 1fr) auto; }

.nw { white-space: nowrap; }
.hero { position: relative; }
.fold-cap { top: var(--space-md); bottom: auto; }
.top { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-xl); min-height: calc(100svh - var(--space-3xl) - var(--space-xl) - var(--space-xl)); padding-bottom: var(--space-xl); }
.top .pg-head { padding-bottom: 0; }
.top .pg-head h1 { font-size: var(--text-display); }
.fbar { background: var(--color-card); border: var(--rule-hair) solid var(--color-rule); padding: var(--space-lg); }
.fbar summary { display: none; list-style: none; min-height: 48px; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; }
.fbar summary::-webkit-details-marker { display: none; }
.fbar .fb { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1.2fr)); gap: var(--space-md); align-items: end; }
.results { padding-bottom: var(--section-gap); }
.strip { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); background: var(--color-card); border: var(--rule-hair) solid var(--color-rule); padding: var(--space-lg); }
.strip > span { display: grid; gap: var(--space-xs); align-content: start; }
.strip .bigp { display: block; font-weight: 600; }
.strip .meter { display: block; }
.sec-two { padding-top: var(--section-gap); padding-bottom: 0; }
.alta { max-width: 760px; padding-top: var(--space-xl); gap: var(--section-gap); }
.alta-head, .alta-body { display: grid; gap: var(--space-lg); }
.alta legend { float: left; width: 100%; padding: 0; margin-bottom: var(--space-sm); }
.alta fieldset { border: 0; border-top: var(--rule-hair) solid var(--color-ink-2); padding: var(--space-md) 0 0; }
.alta fieldset > legend + * { clear: both; }
@media (max-width: 64rem) { .fbar .fb { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 52rem) {
  .top { min-height: 0; }
  .fbar summary { display: flex; }
  .fbar:not([open]) .fb { display: none; }
}
@media (max-width: 40rem) { .fbar .fb { grid-template-columns: minmax(0, 1fr); } .top .pg-head h1 { font-size: var(--text-section); } }
.narrow.tall { min-height: calc(100svh - var(--space-3xl) - var(--space-xl)); align-content: end; padding-bottom: var(--space-2xl); }
.facts .owner dd { text-align: left; }

.rng { display: block; }
.crumb { align-items: center; }
.ledger-cols { columns: 2; column-gap: var(--space-2xl); }
.ledger-cols .ledger-group { break-inside: avoid; }
.ledger-cols .row { grid-template-columns: 40px minmax(0, 1fr) auto; row-gap: var(--space-3xs); column-gap: var(--space-md); }
.ledger-cols .row .p, .ledger-cols .row .c { grid-column: 2; }
.ledger-cols .row .pr { grid-column: 3; grid-row: 1; }
.ledger-cols .row .n { color: var(--color-ink-2); font-size: var(--text-md); }
.promise--img { position: relative; isolation: isolate; color: var(--on-photo); border-block: 0; background: var(--on-photo-bg); }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.promise--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--on-photo-scrim-end), var(--on-photo-scrim-mid)); }
.promise--img .statement, .promise--img p:not(.statement) { color: var(--on-photo); }
.band-cap { grid-column: 1 / -1; font-size: var(--text-xs); }
.top.has-img { position: relative; isolation: isolate; background: var(--on-photo-bg); }
.top-img { position: absolute; inset: 0 calc(-1 * var(--gutter)) 0; width: calc(100% + 2 * var(--gutter)); max-width: none; height: 100%; object-fit: cover; z-index: -2; }
.top.has-img::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)) 0; z-index: -1; background: linear-gradient(180deg, var(--on-photo-scrim-mid), var(--on-photo-scrim-end)); }
.top.has-img .pg-head h1, .top.has-img .pg-head p { color: var(--on-photo); }
.top.has-img .fold-cap { top: var(--space-md); right: var(--space-md); }
@media (max-width: 64rem) { .ledger-cols { columns: 1; } }
@media (max-width: 40rem) { .row .t, .ledger-cols .row .t { font-size: var(--text-lg); } .row .n { font-size: var(--text-md); color: var(--color-ink-2); } .top-img, .top.has-img::before { inset-inline: calc(-1 * var(--space-md)); width: calc(100% + 2 * var(--space-md)); } }
@media (max-width: 40rem) { .top.has-img .fold-cap { display: block; } }
.planner h2, .nt { font-weight: 600; }
.nav--over .logo { --accent: var(--on-photo-accent); }
.top.has-img { padding-bottom: 0; }
.results { padding-top: var(--section-gap); }
.mb { padding-top: var(--section-gap); }
.planner { margin-inline: calc(var(--gutter) + var(--frame)); }
.rng { height: 16px; }
.row .n, .ledger-cols .row .n { font-size: var(--text-lg); font-family: var(--font-display); color: var(--color-ink-2); }
@media (max-width: 64rem) { .planner { margin-inline: var(--space-md); } }

/* /empleo (16-nov) */
.alta h2 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--space-sm); }
.roles { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-md); }
.role { display: grid; gap: var(--space-2xs); padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-field); text-decoration: none; color: var(--color-ink); }
.role:hover { border-color: var(--color-accent); }
.role-title { font-family: var(--font-display); font-size: var(--text-xl); }
.role-meta { color: var(--color-muted); font-size: var(--text-sm); }
.role-sum { color: var(--color-ink-2); }
.steps, .ticks { padding-left: var(--space-lg); display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.steps strong { color: var(--color-ink); }
#page-empleo, #page-empleo-rol { align-content: start; row-gap: var(--space-xl); }
#page-empleo .lead { margin-top: calc(var(--space-sm) - var(--space-xl)); }
#page-empleo-rol .alta-head { display: grid; gap: var(--space-sm); }
#page-empleo-rol > section { padding: 0; margin: 0; }
