/* =============================================================
   Ortega & Luna · Abogados y asesoría — demo ficticia
   Dirección: «expediente editorial». Papel piedra, tinta azul
   noche, granate de lacre y subrayado de rotulador. Newsreader
   (titulares) + Public Sans (texto). Mobile-first.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --paper: #F4F2EE;
  --paper-2: #EAE6DF;
  --card: #FBFAF7;
  --ink: #141A2A;
  --ink-2: #273047;
  --text: #384053;
  --mute: #5A6071;
  --wine: #7A2331;
  --wine-d: #5F1A26;
  --wine-l: #F3E4E4;
  --brass: #C9A45E;
  --brass-l: #E2C991;
  --hl: #F3DD92;
  --night: #121828;
  --night-2: #1B2336;
  --night-3: #252E44;
  --on-night: #EDEAE3;
  --on-night-2: #B8BBC6;
  --line: rgba(20, 26, 42, .12);
  --line-2: rgba(20, 26, 42, .22);
  --line-n: rgba(237, 234, 227, .14);
  --ok: #2F6B4F;

  --map-bg: #EDE9E1;
  --map-road: #FBFAF7;
  --map-block: #DCD6CB;
  --map-sea: #D5DEE3;
  --map-sea-t: #56707F;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gut: clamp(16px, 4.4vw, 48px);
  --wrap: 1240px;
  --nav-h: 64px;
  --r: 6px;
  --r-lg: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(20, 26, 42, .06), 0 24px 48px -28px rgba(20, 26, 42, .38);
}

/* 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
b, strong { font-weight: 600; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--r); text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 2px; }
.sec-dark :focus-visible, .footer :focus-visible, .chat-launch:focus-visible { outline-color: var(--brass-l); }
::selection { background: var(--hl); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* 3. Tipografía ------------------------------------------------ */
.h-hero, .h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 400; letter-spacing: -.015em; }
.h-hero { font-size: clamp(2.45rem, 5.3vw, 4.5rem); line-height: 1.02; font-weight: 350; font-variation-settings: "opsz" 72; }
.h-hero .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.h-hero .line > span { display: inline-block; }
.h-hero em { font-style: italic; color: var(--wine); font-weight: 400; }
.h2 { font-size: clamp(1.9rem, 3.9vw, 3.1rem); line-height: 1.08; font-variation-settings: "opsz" 60; text-wrap: balance; }
h3 { font-size: 1.45rem; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--text); max-width: 34em; }

.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin-bottom: 1.4rem; }
.eyebrow .rule { width: 36px; height: 1px; background: currentColor; }
.mini-label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: .7rem; }

/* 4. Botones --------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r); border: 1px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: .5rem .95rem; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: .85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-d); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--card); }
.btn-line:hover .ico { transform: none; }
.btn-paper { background: var(--on-night); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-brass { background: transparent; color: var(--brass-l); border-color: rgba(226, 201, 145, .45); }
.btn-brass:hover { background: rgba(226, 201, 145, .1); border-color: var(--brass-l); }
.btn-brass:hover .ico { transform: none; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-btn { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--wine); padding: .35rem 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.link-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-btn:hover { text-decoration-color: currentColor; }
.link-btn:hover svg { transform: translateX(3px); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; transition: background-color .2s; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(20, 26, 42, .07); }

/* 5. Barra demo, progreso, navegación -------------------------- */
.demo-bar { background: var(--ink); color: var(--on-night); font-size: .74rem; letter-spacing: .02em; text-align: center; padding: .5rem var(--gut); }
.demo-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.demo-bar a:hover { color: var(--brass-l); }
.demo-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); margin-right: .55rem; vertical-align: 1px; }

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--wine); transform-origin: 0 0; transform: scaleX(0); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 238, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: .75rem; height: var(--nav-h); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 1.02rem; letter-spacing: -.02em; flex: none; }
.brand-mark i { font-style: italic; color: var(--brass-l); margin: 0 1px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-family: var(--serif); font-weight: 500; font-size: 1.22rem; color: var(--ink); letter-spacing: -.01em; }
.brand-txt small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.nav-links { display: none; }
.nav-cta { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: var(--r); }
.burger span { display: block; width: 22px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
.sheet { border-top: 1px solid var(--line); background: var(--paper); padding: .5rem var(--gut) 1.2rem; max-height: calc(100svh - var(--nav-h)); overflow-y: auto; }
.sheet a { display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.sheet a small { font-family: var(--sans); font-size: .72rem; color: var(--wine); min-width: 2.6rem; font-weight: 600; }

/* 6. Hero ------------------------------------------------------ */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(90deg, rgba(20, 26, 42, .045) 1px, transparent 1px); background-size: calc(100% / 6) 100%; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.hero > * { position: relative; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy .lead { margin-top: 1.6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.cta-row .btn { flex: 1 1 100%; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.4rem; border-top: 1px solid var(--line-2); }
.facts div { padding: 1rem .75rem 0 0; }
.facts div + div { padding-left: .75rem; border-left: 1px solid var(--line); }
.facts dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.facts dd { font-size: .9rem; margin-top: .25rem; color: var(--text); line-height: 1.35; }
.facts dd b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; color: var(--ink); line-height: 1.1; }

/* Carta anotada */
.hero-doc { position: relative; padding: 0 0 3.2rem; max-width: 560px; width: 100%; margin: 0 auto; }
.paper { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 1.5rem 1.4rem 1.4rem; box-shadow: var(--shadow); font-size: .82rem; color: var(--text); width: 88%; transform: rotate(-1.2deg); }
.paper::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 55%, rgba(20, 26, 42, .025)); pointer-events: none; }
.paper-head { display: flex; align-items: center; gap: .7rem; padding-bottom: .9rem; border-bottom: 1.5px solid var(--ink); }
.paper-head b { display: block; font-size: .82rem; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; }
.paper-head small { display: block; font-size: .68rem; color: var(--mute); }
.paper-seal { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: .82rem; color: var(--ink); flex: none; }
.paper-title { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-top: 1rem; line-height: 1.2; }
.paper-ref { font-size: .68rem; color: var(--mute); margin: .2rem 0 .9rem; letter-spacing: .02em; }
.paper-lines p { margin-bottom: .6rem; line-height: 1.55; }
.hl { color: var(--ink); background-color: transparent; background-image: linear-gradient(transparent 12%, var(--hl) 12%, var(--hl) 88%, transparent 88%); background-repeat: no-repeat; background-size: 100% 100%; padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--paper-2); margin-top: .55rem; }
.w90 { width: 90%; } .w75 { width: 75%; } .w60 { width: 60%; } .w40 { width: 40%; }
.paper-sign { margin-top: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.paper-sign i { font-family: var(--serif); font-size: .82rem; color: var(--mute); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.note { background: var(--ink); color: var(--on-night); border-radius: var(--r); padding: .6rem .75rem; font-size: .8rem; line-height: 1.3; }
.note small { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-l); margin-bottom: .2rem; }
.note b { font-weight: 500; }
.doc-tag { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--mute); }
.doc-tag svg { width: 16px; height: 16px; color: var(--wine); }

.ribbon { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.ribbon ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.6rem; padding-top: 1rem; padding-bottom: 1rem; }
.ribbon li { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--ink-2); white-space: nowrap; }
.ribbon li::before { content: "§"; font-style: normal; font-size: .85rem; color: var(--wine); margin-right: .45rem; }

/* 7. Secciones -------------------------------------------------- */
.sec { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.sec-tint { background: var(--paper-2); }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 860px; }
.sec-num { display: flex; align-items: center; gap: .85rem; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sec-num span { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; text-transform: none; font-style: italic; color: var(--wine); font-weight: 500; padding-right: .85rem; border-right: 1px solid var(--line-2); }
.sec-intro { font-size: 1.06rem; max-width: 40em; }

/* Áreas */
.areas { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.area { background: var(--card); padding: 1.6rem 1.4rem 1.3rem; display: flex; flex-direction: column; gap: .75rem; transition: background-color .3s; }
.area:hover { background: #fff; }
.area-top { display: flex; align-items: flex-start; justify-content: space-between; }
.area-ico { width: 40px; height: 40px; color: var(--wine); }
.area-n { font-family: var(--serif); font-style: italic; color: var(--mute); font-size: .95rem; }
.area h3 { font-size: 1.6rem; margin-top: .2rem; }
.area > p { font-size: .96rem; }
.area ul { display: grid; gap: .35rem; margin-top: .2rem; }
.area li { position: relative; padding-left: 1.1rem; font-size: .92rem; color: var(--ink-2); }
.area li::before { content: ""; position: absolute; left: 0; top: .72em; width: .5rem; height: 1px; background: var(--wine); }
.area-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line-2); font-size: .86rem; color: var(--mute); }
.area-foot b { color: var(--ink); }

/* 8. Lector (sección oscura) ------------------------------------ */
.sec-dark { background: var(--night); color: var(--on-night-2); position: relative; }
.sec-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60rem 30rem at 85% 0%, rgba(122, 35, 49, .22), transparent 60%), radial-gradient(40rem 26rem at 0% 100%, rgba(201, 164, 94, .07), transparent 60%); pointer-events: none; }
.sec-dark .wrap { position: relative; }
.sec-dark .h2, .sec-dark h3, .sec-dark h4 { color: var(--on-night); }
.sec-dark .sec-num { color: var(--on-night-2); }
.sec-dark .sec-num span { color: var(--brass-l); border-color: var(--line-n); }
.sec-dark .sec-intro { color: var(--on-night-2); }

.warn-row { display: grid; gap: .6rem; margin-bottom: 2rem; }
.warn { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r); background: rgba(243, 221, 146, .1); border: 1px solid rgba(243, 221, 146, .38); color: var(--on-night); font-size: .92rem; line-height: 1.45; }
.warn svg { width: 20px; height: 20px; flex: none; color: var(--hl); margin-top: 1px; }
.warn b { color: var(--hl); }
.warn-demo { background: rgba(122, 35, 49, .25); border-color: rgba(217, 128, 142, .4); }
.warn-demo svg, .warn-demo b { color: #F1B7C0; }

.lector-grid { display: grid; gap: 1.5rem; align-items: start; }
.lector-form { background: var(--night-2); border: 1px solid var(--line-n); border-radius: var(--r-lg); padding: 1.3rem; display: grid; gap: 1.4rem; }
.field { display: grid; gap: .5rem; border: 0; min-width: 0; }
.label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; row-gap: .1rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.label small { font-weight: 400; color: var(--mute); }
.label > b { align-self: center; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: .72rem; font-weight: 600; }
.sec-dark .label { color: var(--on-night); }
.sec-dark .label small { color: var(--on-night-2); }
.sec-dark .label > b { color: var(--brass-l); }

.drop { position: relative; display: grid; justify-items: center; gap: .35rem; text-align: center; padding: 1.6rem 1rem; border: 1.5px dashed rgba(237, 234, 227, .3); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background-color .2s; color: var(--on-night); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:hover, .drop.is-over { border-color: var(--brass-l); background: rgba(226, 201, 145, .06); }
.drop:focus-within { outline: 2px solid var(--brass-l); outline-offset: 3px; }
.drop-ico { width: 32px; height: 32px; color: var(--brass-l); }
.drop span { font-size: .95rem; }
.drop small { font-size: .78rem; color: var(--on-night-2); }
.preview { display: flex; align-items: center; gap: .8rem; padding: .6rem; border: 1px solid var(--line-n); border-radius: var(--r); background: var(--night-3); color: var(--on-night); }
.preview img { width: 54px; height: 70px; object-fit: cover; object-position: top; border-radius: 3px; background: var(--card); flex: none; }
.preview-txt { display: grid; min-width: 0; margin-right: auto; }
.preview-txt b { font-weight: 500; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-txt small { font-size: .78rem; color: var(--on-night-2); }
.preview .icon-btn:hover { background: rgba(237, 234, 227, .08); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122, 35, 49, .16); }
.sec-dark textarea { background: var(--night-3); border-color: rgba(237, 234, 227, .2); color: var(--on-night); }
.sec-dark textarea::placeholder { color: #8E93A1; }
.sec-dark textarea:focus { border-color: var(--brass-l); box-shadow: 0 0 0 3px rgba(226, 201, 145, .18); }
.is-bad { border-color: #B3261E !important; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14) !important; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips button { font-size: .82rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid rgba(237, 234, 227, .24); color: var(--on-night); transition: background-color .2s, border-color .2s; min-height: 36px; }
.chips button:hover { border-color: var(--brass-l); background: rgba(226, 201, 145, .08); }
.privacy { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--on-night-2); }
.privacy svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--brass-l); }
.status { padding: .8rem 1rem; border-radius: var(--r); background: rgba(243, 221, 146, .12); border: 1px solid rgba(243, 221, 146, .4); color: var(--on-night); font-size: .9rem; }

.lector-out { min-width: 0; }
.empty { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: 2.4rem 1.4rem; border: 1px dashed var(--line-n); border-radius: var(--r-lg); color: var(--on-night-2); }
.empty-art { width: 170px; color: var(--brass-l); opacity: .85; margin-bottom: .5rem; }
.empty-t { font-family: var(--serif); font-size: 1.4rem; color: var(--on-night); }
.empty-s { font-size: .86rem; max-width: 28em; }
.loading { padding: 2rem 1.4rem; border: 1px solid var(--line-n); border-radius: var(--r-lg); background: var(--night-2); }
.loading-t { font-family: var(--serif); font-size: 1.35rem; color: var(--on-night); margin-bottom: 1rem; }
.loading ol { display: grid; gap: .7rem; }
.loading li { position: relative; padding-left: 1.8rem; font-size: .92rem; opacity: .45; transition: opacity .3s; }
.loading li::before { content: ""; position: absolute; left: 0; top: .2em; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; }
.loading li.is-on { opacity: 1; color: var(--on-night); }
.loading li.is-on::before { border-color: var(--brass-l); border-top-color: transparent; animation: spin .9s linear infinite; }
.loading li.is-done::before { animation: none; background: var(--brass-l); border-color: var(--brass-l); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tarjeta de resultado (papel sobre fondo noche) */
.result { background: var(--card); color: var(--text); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); display: grid; gap: 1.1rem; }
.result h4 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: .4rem; }
.result-head { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1.5px solid var(--ink); }
.result-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); background: var(--wine-l); padding: .25rem .55rem; border-radius: 3px; }
.result .result-title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: .55rem; line-height: 1.15; color: var(--ink); }
.sec-dark .result h4 { color: var(--mute); }
.result-title:focus { outline: none; }
.result-from { font-size: .9rem; margin-top: .35rem; color: var(--mute); }
.result-from b { color: var(--ink); font-weight: 500; }
.result-thumb { flex: none; width: 76px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; }
.result-thumb img { width: 100%; height: 98px; object-fit: cover; object-position: top; }
.result-alert { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; background: #FBF1CF; border: 1px solid #E3C766; border-left: 4px solid #B58A12; border-radius: var(--r); color: #3D3212; font-size: .92rem; line-height: 1.45; }
.result-alert svg { width: 20px; height: 20px; flex: none; color: #8A6A0C; margin-top: 1px; }
.result-note { font-size: .86rem; color: var(--mute); background: var(--paper); border-radius: var(--r); padding: .7rem .9rem; }
.result-block p { color: var(--ink-2); }
.result-cols { display: grid; gap: 1rem; }
.kv { display: grid; gap: .45rem; }
.kv li { display: grid; gap: .1rem; padding: .55rem .7rem; background: var(--paper); border-radius: var(--r); border-left: 3px solid var(--hl); }
.kv li small { font-size: .78rem; color: var(--mute); }
.kv li span { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.result-mini { font-size: .78rem; color: var(--mute); margin-top: -.4rem; }
.checklist { display: grid; gap: .45rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: var(--ink-2); font-size: .95rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 13px; height: 13px; border: 1.5px solid var(--wine); border-radius: 2px; }
.result-pd { display: flex; gap: .55rem; align-items: flex-start; font-size: .86rem; color: var(--wine-d); background: var(--wine-l); padding: .7rem .9rem; border-radius: var(--r); }
.result-pd svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.result-area { display: grid; gap: 1rem; padding: 1.1rem; background: var(--ink); color: var(--on-night); border-radius: var(--r); }
.result-area small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-l); font-weight: 600; }
.result-area b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin: .15rem 0; }
.result-area span { font-size: .86rem; color: var(--on-night-2); }
.result-area .btn { width: 100%; }
.link-light { justify-self: start; color: var(--wine); }

/* 9. Proceso --------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: s; position: relative; }
.step { position: relative; padding: 0 0 2rem 3.6rem; }
.step::before { content: ""; position: absolute; left: 1.3rem; top: 2.8rem; bottom: .4rem; width: 1px; background: var(--line-2); }
.step:last-child::before { display: none; }
.step-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--wine); color: var(--wine); font-family: var(--serif); font-size: 1.2rem; background: var(--paper); }
.step h3 { font-size: 1.45rem; margin: .3rem 0 .45rem; }
.step p { font-size: .98rem; max-width: 30em; }
.step p b { color: var(--ink); }
.promise { margin-top: 2.5rem; padding: 2rem 0 0; border-top: 1px solid var(--line-2); max-width: 900px; }
.promise-q { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; color: var(--ink); font-weight: 350; text-wrap: balance; }
.promise-s { margin-top: .9rem; font-size: .8rem; letter-spacing: .06em; color: var(--mute); }

/* 10. Honorarios ----------------------------------------------- */
.fees-grid { display: grid; gap: 2.5rem; align-items: start; }
.sec-head-side { margin-bottom: 0; }
.fee-hero { margin-top: 1rem; background: var(--ink); color: var(--on-night); border-radius: var(--r-lg); padding: 1.4rem; display: grid; gap: .5rem; }
.fee-hero small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-l); font-weight: 600; }
.fee-hero p b { font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: 1; color: #fff; }
.fee-hero p span { font-size: .9rem; color: var(--on-night-2); margin-left: .4rem; }
.fee-hero-s { font-size: .9rem; color: var(--on-night-2); margin-bottom: .6rem; }
.fees { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .4rem 1.2rem 1.2rem; }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table thead th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 600; text-align: left; padding: .9rem 0 .6rem; border-bottom: 1.5px solid var(--ink); }
.fee-table thead th:last-child, .fee-table td:last-child { text-align: right; white-space: nowrap; }
.fee-area th { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--wine); text-align: left; padding: 1.2rem 0 .3rem; }
.fee-table td { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: top; }
.fee-table td:first-child { padding-right: 1rem; color: var(--ink-2); }
.fee-table td:last-child { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.fee-table tbody { transition: background-color .4s; }
.fee-table tbody.is-match { background: linear-gradient(90deg, rgba(243, 221, 146, .45), rgba(243, 221, 146, .1)); }
.fee-notes { margin-top: 1.2rem; font-size: .84rem; color: var(--mute); }

/* 11. Equipo ---------------------------------------------------- */
.team { display: grid; gap: 1rem; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.4rem; display: grid; gap: .45rem; align-content: start; }
.avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: .6rem; font-family: var(--serif); font-size: 1.5rem; color: var(--paper); background:
  radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .14), transparent 55%),
  repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 7px), var(--ink); letter-spacing: .02em; }
.person:nth-child(2) .avatar { background-color: var(--wine); }
.person:nth-child(4) .avatar { background-color: #3C4760; }
.person h3 { font-size: 1.45rem; }
.role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); font-weight: 600; }
.person > p:not(.role):not(.meta) { font-size: .95rem; }
.meta { margin-top: .5rem; padding-top: .8rem; border-top: 1px dashed var(--line-2); font-size: .8rem; color: var(--mute); }

/* 12. FAQ ------------------------------------------------------- */
.faq-grid { display: grid; gap: 2.5rem; align-items: start; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; margin-top: .4rem; border-right: 1.5px solid var(--wine); border-bottom: 1.5px solid var(--wine); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: .7rem; }
.faq summary:hover { color: var(--wine); }
.faq details p { padding: 0 0 1.3rem; max-width: 42em; font-size: .98rem; }
.faq details a { color: var(--wine); font-weight: 600; }

/* 13. Reserva --------------------------------------------------- */
.res-grid { display: grid; gap: 2rem; align-items: start; }
.res-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; display: grid; gap: 1.4rem; box-shadow: var(--shadow); }
.f-grid { display: grid; gap: 1.1rem; }
.from-lector { display: flex; gap: .55rem; align-items: flex-start; padding: .75rem .9rem; border-radius: var(--r); background: #FBF1CF; border: 1px solid #E3C766; color: #3D3212; font-size: .9rem; }
.from-lector svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .5rem .6rem; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .2s; text-align: center; line-height: 1.2; }
.seg svg { width: 18px; height: 18px; flex: none; }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }

.days { display: flex; gap: .5rem; overflow-x: auto; padding: .15rem .1rem .5rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; scroll-snap-align: start; position: relative; }
.day input { position: absolute; opacity: 0; inset: 0; }
.day-in { display: grid; justify-items: center; width: 64px; padding: .55rem 0 .5rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); transition: all .2s; line-height: 1.15; cursor: pointer; }
.day-in small { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.day-in b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.day-in:hover { border-color: var(--ink); }
.day input:checked + .day-in { background: var(--ink); border-color: var(--ink); }
.day input:checked + .day-in small, .day input:checked + .day-in b { color: var(--paper); }
.day input:focus-visible + .day-in { outline: 2px solid var(--wine); outline-offset: 2px; }
.days.is-bad, .slots.is-bad { outline: 2px solid #B3261E; outline-offset: 4px; border-radius: var(--r); box-shadow: none !important; }
.slots { display: grid; gap: .9rem; }
.slots-group p { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: .45rem; font-weight: 600; }
.slots-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .45rem; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .92rem; font-variant-numeric: tabular-nums; cursor: pointer; transition: all .2s; background: var(--card); }
.slot span:hover { border-color: var(--ink); }
.slot input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; font-weight: 600; }
.slot input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.slot input:disabled + span { cursor: not-allowed; color: #9A9DA6; text-decoration: line-through; background: var(--paper); border-style: dashed; }
.slots-msg { font-size: .9rem; color: var(--mute); padding: .8rem 1rem; background: var(--paper); border-radius: var(--r); }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--wine); }
.form-error { padding: .75rem .95rem; border-radius: var(--r); background: #FBE9E7; color: #8C1D18; border: 1px solid #F0B8B2; font-size: .9rem; }
.form-note { font-size: .8rem; color: var(--mute); text-align: center; }

.res-ok { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem 1.4rem; display: grid; gap: .9rem; box-shadow: var(--shadow); }
.res-ok:focus { outline: none; }
.res-ok-top { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.res-ok-top svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--ok); color: #fff; flex: none; }
.res-ok-sum { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.res-ok-demo { font-size: .9rem; padding: .8rem 1rem; background: var(--paper); border-radius: var(--r); }
.res-ok-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.res-ok-links:empty { display: none; }
.res-ok > .btn { justify-self: start; }

.res-side { display: grid; gap: 1rem; }
.ticket { position: relative; background: var(--ink); color: var(--on-night); border-radius: var(--r-lg); padding: 1.5rem 1.4rem; overflow: hidden; }
.ticket::after { content: "§"; position: absolute; right: -.5rem; bottom: -3.2rem; font-family: var(--serif); font-size: 12rem; line-height: 1; color: rgba(255, 255, 255, .05); pointer-events: none; }
.ticket-k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-l); font-weight: 600; }
.ticket-p { font-family: var(--serif); font-size: 3.2rem; line-height: 1.05; color: #fff; margin: .3rem 0 1rem; }
.ticket-p small { font-family: var(--sans); font-size: .8rem; color: var(--on-night-2); margin-left: .5rem; }
.ticket ul { display: grid; gap: .6rem; }
.ticket li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.ticket li svg { width: 18px; height: 18px; flex: none; color: var(--brass-l); margin-top: 2px; }
.bring { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; background: var(--card); }
.bring ol { counter-reset: b; display: grid; gap: .6rem; }
.bring li { counter-increment: b; position: relative; padding-left: 1.8rem; font-size: .93rem; }
.bring li::before { content: counter(b); position: absolute; left: 0; top: 0; font-family: var(--serif); font-style: italic; color: var(--wine); font-size: 1.05rem; }
.bring-note { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line-2); font-size: .84rem; color: var(--mute); }

/* 14. Contacto -------------------------------------------------- */
.contact-grid { display: grid; gap: 2.5rem; align-items: center; }
.contact-info .h2 { margin: 1rem 0 2rem; }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--wine); flex: none; margin-top: .2rem; }
.contact-list small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.contact-list b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--ink); word-break: break-word; }
.contact-list a { text-decoration: none; }
.contact-list a:hover b { color: var(--wine); }
.contact-list span { display: block; font-size: .8rem; color: var(--mute); }
.hours { margin-top: 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; }
.hours-head { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--mute); margin-bottom: .5rem; }
.status-pill { letter-spacing: .04em; text-transform: none; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.status-pill.is-open { background: #DDEEE5; color: #1F5039; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: .8rem; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 600; }
.hours tr.is-today th::after { content: " · hoy"; color: var(--wine); font-weight: 500; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--map-bg); position: relative; }
.map svg { width: 100%; height: auto; }
.map figcaption { position: absolute; left: 12px; bottom: 12px; font-size: .74rem; background: rgba(251, 250, 247, .92); padding: .25rem .6rem; border-radius: 3px; color: var(--mute); }

/* 15. Pie ------------------------------------------------------- */
.footer { background: var(--night); color: var(--on-night-2); padding: 4rem 0 6.5rem; font-size: .92rem; }
.footer-top { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-n); }
.footer-brand { display: grid; gap: 1rem; justify-items: start; }
.footer-brand .brand-mark { width: 52px; height: 52px; font-size: 1.25rem; background: var(--on-night); color: var(--ink); }
.footer-brand .brand-mark i { color: var(--wine); }
.footer-brand p b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--on-night); }
.footer .mini-label { color: var(--brass-l); }
.footer ul { display: grid; gap: .45rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer .btn-paper:hover { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; padding-top: 1.5rem; font-size: .82rem; }
.footer-bottom a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* 16. Asistente ------------------------------------------------- */
.chat-launch { position: fixed; right: 14px; bottom: 14px; z-index: 70; display: flex; align-items: center; gap: .6rem; padding: .35rem; border-radius: 999px; background: var(--ink); color: var(--on-night); box-shadow: 0 14px 30px -12px rgba(20, 26, 42, .55); transition: transform .25s var(--ease), opacity .2s; }
.chat-launch:hover { transform: translateY(-2px); }
.chat-launch-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--wine); color: #fff; }
.chat-launch-ico svg { width: 22px; height: 22px; }
.chat-launch-txt { display: none; font-size: .86rem; padding-right: .9rem; text-align: left; line-height: 1.2; }
.chat-launch-txt b { display: block; font-weight: 600; color: #fff; }
.chat-launch.is-hidden { opacity: 0; pointer-events: none; }
.chat { position: fixed; z-index: 80; left: 8px; right: 8px; bottom: 8px; height: min(640px, calc(100svh - 16px)); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(20, 26, 42, .5); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: .75rem; padding: .75rem .8rem .75rem 1rem; background: var(--ink); color: var(--on-night); }
.chat-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wine); color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.3rem; flex: none; }
.chat-id b { display: block; font-weight: 600; font-size: .95rem; color: #fff; }
.chat-id small { font-size: .74rem; color: var(--on-night-2); }
.chat-head .icon-btn { margin-left: auto; color: var(--on-night); }
.chat-head .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.chat-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .7rem; padding: 1rem; overscroll-behavior: contain; background: var(--paper); }
.cmsg { max-width: 88%; padding: .7rem .9rem; border-radius: 12px; font-size: .93rem; line-height: 1.5; }
.cmsg-bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.cmsg-user { align-self: flex-end; background: var(--ink); color: var(--on-night); border-bottom-right-radius: 4px; }
.cmsg ul { margin: .3rem 0; display: grid; gap: .2rem; }
.cmsg li { position: relative; padding-left: .9rem; }
.cmsg li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 1px; background: var(--wine); }
.cmsg a { color: var(--wine); font-weight: 600; }
.cmsg-cta { display: flex; flex-wrap: wrap; gap: .4rem; }
.typing { display: inline-flex; gap: 4px; padding: .2rem 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-sugs { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem 1rem; background: var(--paper); scrollbar-width: none; }
.chat-sugs::-webkit-scrollbar { display: none; }
.chat-sugs button { flex: none; max-width: 240px; padding: .45rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8rem; text-align: left; background: var(--card); color: var(--ink-2); }
.chat-sugs button:hover { border-color: var(--wine); color: var(--wine); }
.chat-form { display: flex; gap: .5rem; padding: .6rem; border-top: 1px solid var(--line); background: var(--card); }
.chat-form input { min-height: 46px; border-radius: 999px; padding: .6rem 1rem; }
.chat-form button { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: #fff; }
.chat-form button svg { width: 20px; height: 20px; }
.chat-form button:hover { background: var(--wine-d); }
.chat-form button:disabled { opacity: .5; }
.chat-legal { padding: 0 1rem .6rem; font-size: .7rem; color: var(--mute); background: var(--card); }

/* 17. Animación (el contenido es visible sin JS) --------------- */
.gs-ready .reveal { will-change: transform, opacity; }

/* 18. Responsive ------------------------------------------------ */
@media (min-width: 560px) {
  .cta-row .btn { flex: 0 1 auto; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .result-cols { grid-template-columns: 1fr 1fr; }
  .warn-row { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-grid .f-wide { grid-column: 1 / -1; }
  .notes { position: absolute; inset: 0; display: block; margin: 0; pointer-events: none; }
  .note { position: absolute; width: 190px; box-shadow: 0 12px 24px -14px rgba(20, 26, 42, .6); }
  .note::before { content: ""; position: absolute; top: 50%; width: 26px; height: 1px; border-top: 1px dashed var(--wine); }
  .n1 { right: 0; top: 12%; } .n1::before { right: 100%; }
  .n2 { right: -2%; top: 40%; } .n2::before { right: 100%; }
  .n3 { right: 4%; top: 62%; } .n3::before { right: 100%; }
  .n4 { left: 24%; bottom: 1.4rem; } .n4::before { display: none; }
  .paper { width: 72%; }
  .result-area { grid-template-columns: 1fr auto; align-items: center; }
  .result-area .btn { width: auto; }
}

@media (min-width: 900px) {
  :root { --nav-h: 76px; }
  .nav-links { display: flex; gap: 1.6rem; margin: 0 1.4rem 0 auto; }
  .nav-links a { position: relative; font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: .4rem 0; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--wine); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
  .nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
  .nav-links a.is-active { color: var(--ink); }
  .brand { margin-right: 0; }
  .nav-cta { display: inline-flex; }
  .burger, .sheet { display: none !important; }

  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
  .hero-doc { margin: 0; justify-self: end; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .area { padding: 2rem 1.8rem 1.5rem; }
  .sec-head { grid-template-columns: 1fr; }
  .lector-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; }
  .lector-form { padding: 1.8rem; position: sticky; top: calc(var(--nav-h) + 20px); }
  .result { padding: 2rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .step { padding: 4rem 0 0; }
  .step::before { left: 2.6rem; right: -2rem; top: 1.3rem; bottom: auto; width: auto; height: 1px; }
  .step:last-child::before { display: none; }
  .fees-grid, .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; }
  .sec-head-side { position: sticky; top: calc(var(--nav-h) + 30px); }
  .fees { padding: .6rem 2rem 1.8rem; }
  .team { grid-template-columns: repeat(4, 1fr); }
  .res-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: 2.5rem; }
  .res-form { padding: 2rem; }
  .res-side { position: sticky; top: calc(var(--nav-h) + 20px); }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .footer-top { grid-template-columns: 1.3fr .8fr 1fr 1.3fr; gap: 3rem; }
  .chat { left: auto; right: 18px; bottom: 18px; width: 400px; }
  .chat-launch { right: 18px; bottom: 18px; }
  .chat-launch-txt { display: block; }
}

@media (min-width: 900px) {
  .days { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  .day-in { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loading li.is-on::before { animation-duration: 2.4s; }
  .typing i { animation: none; opacity: .6; }
}
