/* GreyStoreChile — sitio, según el manual de marca v4.0
   Colores, tipografía, espaciado, radios y movimiento salen de tokens.css (--gs-*).
   Las variables propias (--pine, --lime, --chalk, --ink…) se mantienen como alias de los tokens. */

:root {
  --pine: var(--gs-bosque-700);
  --pine-deep: var(--gs-bosque-700);
  --pine-soft: var(--gs-bosque-600);
  --lime: var(--gs-lima-400);
  --lime-soft: var(--gs-lima-300);
  --chalk: var(--gs-neutro-100);
  --chalk-line: var(--gs-neutro-200);
  --ink: var(--gs-neutro-900);       /* texto de lectura */
  --ink-muted: var(--gs-neutro-600); /* notas */
  --wood: var(--gs-neutro-500);      /* filetes (antes Madera Alerce, obsoleto) */
  --wood-ink: var(--gs-lima-700);    /* texto de acento sobre claro (antes Alerce) */
  --display: var(--gs-font-heading);
  --body: var(--gs-font-body);
  --pad: clamp(28px, 6vw, 72px);
  --ease: var(--gs-easing-standard);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--gs-text-body);
  line-height: var(--gs-leading-body);
  color: var(--ink);
  background: var(--gs-color-bg-default);
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: var(--gs-focus-ring-width) solid var(--gs-focus-ring-color); outline-offset: var(--gs-focus-ring-offset); }
/* Botones flotantes (pasan sobre fondos claros y oscuros): anillo lima sobre halo bosque-900 */
.wa-float:focus-visible, .secnav button:focus-visible { outline: 2px solid var(--gs-lima-400); outline-offset: 2px; box-shadow: 0 0 0 6px var(--gs-bosque-900); animation: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--pine-deep); padding: var(--gs-space-3) var(--gs-space-4); border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }

/* Riel: un solo trazo de circuito que baja por la página */
.rail { position: fixed; left: clamp(10px, 2vw, 26px); top: 0; bottom: 0; width: 2px; background: rgba(179, 211, 53, .22); z-index: 40; pointer-events: none; }
.rail-fill { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: var(--lime); box-shadow: 0 0 10px rgba(179, 211, 53, .8); }
.rail-fill::after { content: ""; position: absolute; left: -4px; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px 3px rgba(179, 211, 53, .7); }

/* Encabezado: fondo Crema Lago para que el logotipo horizontal se vea como en el manual */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: var(--gs-space-3) var(--pad) var(--gs-space-3) calc(var(--pad) + var(--gs-space-2)); background: rgba(245, 240, 230, .98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--pine); border-bottom: 1px solid rgba(28, 78, 56, .14); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { display: block; height: 60px; width: auto; }
.nav { display: flex; gap: var(--gs-space-5); margin-left: auto; font-size: .9rem; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; min-height: var(--gs-space-touch); text-decoration: none; padding: 0; border-bottom: 2px solid transparent; transition: border-color var(--gs-duration-fast) var(--gs-easing-standard), color var(--gs-duration-fast) var(--gs-easing-standard); }
.nav a:hover { border-color: var(--gs-bosque-600); }
.top-actions { display: flex; gap: var(--gs-space-3); }
.top .btn-ghost { border-color: var(--pine); color: var(--pine); }
.top .btn-ghost:hover { background: var(--pine); border-color: var(--pine); color: var(--lime); }
.top .btn-lime { background: var(--pine); color: var(--chalk); }
.top .btn-lime:hover { background: var(--gs-color-action-primary-hover); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; position: relative; }
.burger span, .burger::before, .burger::after { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--pine); transition: opacity var(--gs-duration-fast) var(--gs-easing-standard); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
/* La X ya está dibujada (estática); se cambia de ícono solo con opacidad, sin girar */
.burger::before, .burger::after { content: ""; top: 21px; opacity: 0; }
.burger::before { transform: rotate(45deg); }
.burger::after { transform: rotate(-45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::before, .burger[aria-expanded="true"]::after { opacity: 1; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--gs-space-2); min-height: var(--gs-button-min-height); padding: var(--gs-space-3) var(--gs-space-5); border-radius: var(--gs-button-radius); font-weight: 600; font-size: var(--gs-text-button); line-height: var(--gs-leading-button); text-decoration: none; border: 2px solid transparent; transition: transform var(--gs-duration-fast) var(--gs-easing-standard), background-color var(--gs-duration-fast) var(--gs-easing-standard), color var(--gs-duration-fast) var(--gs-easing-standard), border-color var(--gs-duration-fast) var(--gs-easing-standard); }
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--pine-deep); }
.btn-lime:hover { background: var(--lime-soft); }
.btn-ghost { border-color: rgba(245, 240, 230, .5); color: var(--chalk); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-pine { background: var(--pine); color: var(--chalk); }
.btn-pine:hover { background: var(--gs-color-action-primary-hover); }

/* Bloques claro / oscuro */
/* Fondos base sin cambios (decisión pendiente del dueño). El texto toma los semánticos del tema:
   las secciones oscuras llevan data-theme="dark" en el HTML. */
.dark { background: var(--gs-color-bg-default); color: var(--gs-color-text-default); }
.light { background: var(--gs-color-bg-default); color: var(--gs-color-text-default); }
.light h1, .light h2, .light h3 { color: var(--gs-color-text-heading); }
.sec { padding-block: clamp(80px, 11vw, 152px); position: relative; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: var(--gs-tracking-display); margin: 0 0 20px; max-width: 22ch; }
.lead-in { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: var(--gs-measure); margin: 0 0 clamp(40px, 6vw, 72px); opacity: .9; }

/* HERO: fondo Verde Bosque con circuito animado, chip de IA y la orden de diagnóstico */
.hero { min-height: 100svh; padding: 148px 0 88px; display: flex; align-items: center; overflow: hidden; position: relative; background: var(--gs-color-bg-default); color: var(--chalk); }
#circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 59, 42, .72) 0%, rgba(20, 59, 42, .18) 60%, rgba(20, 59, 42, .5) 100%); pointer-events: none; }
.tag { display: inline-flex; align-items: center; gap: var(--gs-space-3); margin: 0 0 20px; padding: var(--gs-space-2) var(--gs-space-4) var(--gs-space-2) var(--gs-space-3); border: 1.5px solid rgba(179, 211, 53, .55); border-radius: 999px; background: rgba(28, 78, 56, .55); color: var(--lime); font-weight: 600; font-size: .92rem; letter-spacing: .01em; }
.tag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s infinite; }



/* SERVICIOS */
.svc { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.svc-list { display: flex; flex-direction: column; position: sticky; top: 96px; }
.svc-tab { position: relative; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--chalk-line); padding: 20px 0 20px 28px; font-family: var(--display); font-weight: 700; font-size: 1.16rem; letter-spacing: -.01em; line-height: 1.25; color: rgba(28, 78, 56, .55); transition: color var(--gs-duration-fast) var(--gs-easing-standard), padding var(--gs-duration-base) var(--gs-easing-standard); }
.svc-tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 3px; background: var(--pine); transition: width var(--gs-duration-base) var(--gs-easing-standard); }
.svc-tab:hover { color: var(--pine); }
.svc-tab.on { color: var(--pine); padding-left: 44px; }
.svc-tab.on::before { width: 30px; }
.svc-stage { background: var(--gs-white); border: 1px solid var(--chalk-line); border-bottom: 6px solid var(--wood); border-radius: var(--gs-radius-xl); padding: clamp(28px, 4vw, 56px); min-height: 460px; }
.svc-panel h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: var(--gs-tracking-display); margin: var(--gs-space-5) 0 var(--gs-space-4); max-width: 20ch; }
.svc-panel p { margin: 0 0 20px; max-width: var(--gs-measure); font-size: 1.04rem; }
.svc-panel ul { list-style: none; margin: 0 0 var(--gs-space-6); padding: 0; display: grid; gap: var(--gs-space-3); }
.svc-panel li { position: relative; padding-left: 28px; font-weight: 500; }
.svc-panel li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 2px; background: var(--pine); }
.svc-panel li::after { content: ""; position: absolute; left: 16px; top: calc(.72em - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--gs-lima-600); }
.js .svc-panel:not(.on) { display: none; }
.ico { width: 76px; height: 76px; fill: none; stroke: var(--pine); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ico .acc { stroke: var(--pine); fill: var(--gs-lima-200); }

/* IA APLICADA */
.ia { overflow: clip; }
.ia .h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 20ch; }
.ia::before { content: ""; position: absolute; right: -180px; top: -120px; width: 560px; height: 560px; border-radius: 50%; border: 2px solid rgba(179, 211, 53, .18); box-shadow: 0 0 0 44px rgba(179, 211, 53, .05), 0 0 0 96px rgba(179, 211, 53, .03); pointer-events: none; }
.ia .wrap { position: relative; }
.ia-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(var(--gs-space-6), 6vw, 88px); align-items: start; }
.ia .tag { margin-bottom: var(--gs-space-5); }

.chat { background: var(--chalk); color: var(--pine); border-radius: var(--gs-radius-lg); overflow: hidden; position: sticky; top: 108px; }
.chat-bar { display: flex; align-items: center; gap: var(--gs-space-3); padding: var(--gs-space-4) 20px; border-bottom: 1px solid var(--chalk-line); font-size: .95rem; }
.chat-live { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s infinite; }
.chat-who { margin-left: auto; display: flex; align-items: center; }
.chat-who img { display: block; width: 56px; height: auto; }
.chat-body { padding: 20px 20px var(--gs-space-2); min-height: 380px; display: flex; flex-direction: column; gap: var(--gs-space-4); }
.msg { max-width: 92%; opacity: 0; transform: translateY(8px); transition: opacity var(--gs-duration-slow) var(--gs-easing-enter), transform var(--gs-duration-slow) var(--gs-easing-enter); }
.msg.in { opacity: 1; transform: none; }
.msg-l { display: flex; align-items: center; gap: var(--gs-space-2); font-size: var(--gs-text-label); font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); margin-bottom: var(--gs-space-1); }
.msg-l img { width: 40px; height: auto; }
.msg-l svg { width: 18px; height: 18px; padding: var(--gs-space-1); border-radius: 50%; background: var(--pine); fill: var(--lime); }
.msg p { margin: 0; padding: var(--gs-space-3) var(--gs-space-4); border-radius: 16px; font-size: var(--gs-text-body); line-height: 1.5; min-height: 1.5em; }
.msg.me { align-self: flex-end; }
.msg.me .msg-l { justify-content: flex-end; }
.msg.me p { background: var(--gs-white); border: 1px solid var(--chalk-line); border-bottom-right-radius: 4px; }
.msg.tec p { background: var(--gs-lima-100); border-bottom-left-radius: 4px; }
.msg.ai p { background: var(--pine); color: var(--chalk); border-bottom-left-radius: 4px; }
.typing { display: flex; gap: var(--gs-space-1); align-items: center; padding: var(--gs-space-3) var(--gs-space-4); width: fit-content; border-radius: 16px; background: var(--gs-white); border: 1px solid var(--chalk-line); }
.typing.ai { background: var(--pine); border-color: var(--pine); }
.typing.me { align-self: flex-end; }
.typing[hidden] { display: none; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted); animation: dots 1.1s infinite; }
.typing.ai i { background: var(--lime); }
.typing i:nth-child(2) { animation-delay: .16s; }
.typing i:nth-child(3) { animation-delay: .32s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.chat-note { margin: 0; padding: var(--gs-space-2) 20px var(--gs-space-4); font-size: var(--gs-text-label); color: var(--ink-muted); }


/* HISTORIA */
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(179, 211, 53, .25); }
.tl::after { content: ""; position: absolute; left: 0; top: 9px; height: 2px; width: 0; background: var(--lime); transition: width var(--gs-duration-deliberate) var(--gs-easing-standard); }
.tl.in::after { width: 100%; }
.tl li { position: relative; padding-top: 44px; }
.tl-node { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--pine); border: 2px solid var(--lime); z-index: 1; transition: background-color var(--gs-duration-fast) var(--gs-easing-standard); }
.tl.in li .tl-node { background: var(--lime); }
.tl.in li:nth-child(2) .tl-node { transition-delay: 96ms; }
.tl.in li:nth-child(3) .tl-node { transition-delay: 192ms; }
.tl.in li:nth-child(4) .tl-node { transition-delay: 288ms; }
.tl.in li:nth-child(5) .tl-node { transition-delay: 384ms; }
.tl-year { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.5vw, 2.1rem); letter-spacing: var(--gs-tracking-display); line-height: 1.05; margin: 0 0 var(--gs-space-3); color: var(--lime); }
.tl p { margin: 0; opacity: .92; max-width: 32ch; }

/* PROCESO */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 820px; position: relative; }
.steps::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: var(--chalk-line); }
.steps::after { content: ""; position: absolute; left: 25px; top: 26px; width: 2px; height: 0; background: var(--pine); transition: height var(--gs-duration-deliberate) var(--gs-easing-standard); }
.steps.in::after { height: calc(100% - 52px); }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 28px; padding-bottom: 44px; position: relative; z-index: 1; }
.steps li:last-child { padding-bottom: 0; }
.step-n { width: 52px; height: 52px; border-radius: 50%; background: var(--chalk); border: 2px solid var(--pine); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; color: var(--pine); transition: background-color var(--gs-duration-fast) var(--gs-easing-standard), color var(--gs-duration-fast) var(--gs-easing-standard); }
.steps.in li .step-n { background: var(--pine); color: var(--lime); }
.steps.in li:nth-child(2) .step-n { transition-delay: 120ms; }
.steps.in li:nth-child(3) .step-n { transition-delay: 240ms; }
.steps.in li:nth-child(4) .step-n { transition-delay: 360ms; }
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; margin: var(--gs-space-3) 0 var(--gs-space-1); }
.steps p { margin: 0; max-width: 52ch; }

/* SOPORTE */
.support { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(var(--gs-space-6), 6vw, 88px); align-items: center; }
.rsteps { margin: 0 0 var(--gs-space-6); padding-left: 1.3em; display: grid; gap: var(--gs-space-3); max-width: 50ch; }
.rsteps li::marker { color: var(--lime); font-weight: 700; }
.note { font-size: .9rem; opacity: .8; max-width: 52ch; margin: 20px 0 0; }
.tv { margin: 0; justify-self: center; width: min(100%, 320px); border-radius: var(--gs-radius-lg); overflow: hidden; border: 1px solid rgba(179, 211, 53, .35); box-shadow: 0 40px 70px -30px rgba(12, 40, 28, .6); background: var(--gs-white); line-height: 0; }
.tv img { width: 100%; height: auto; display: block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(179, 211, 53, .7); } 100% { box-shadow: 0 0 0 14px rgba(179, 211, 53, 0); } }

/* RESEÑAS Y CLIENTES */
.rev { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: clamp(var(--gs-space-5), 4vw, 56px); align-items: stretch; }
.score { background: var(--gs-color-surface-default); color: var(--chalk); border-radius: var(--gs-radius-xl); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: var(--gs-space-2); position: relative; overflow: hidden; }
.score::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(179, 211, 53, .25); box-shadow: 0 0 0 26px rgba(179, 211, 53, .06), 0 0 0 54px rgba(179, 211, 53, .04); pointer-events: none; }
.g-badge { font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: var(--gs-space-2) var(--gs-space-3); border-radius: 999px; background: rgba(179, 211, 53, .16); color: var(--lime); }
.score-num { margin: var(--gs-space-4) 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 11vw, 8rem); line-height: .9; letter-spacing: var(--gs-tracking-display); font-variant-numeric: tabular-nums; color: var(--lime); }
.score-num small { font-size: .32em; letter-spacing: 0; margin-left: var(--gs-space-2); color: var(--chalk); opacity: .75; }
.stars { display: flex; gap: var(--gs-space-1); margin-top: var(--gs-space-3); }
.stars svg { width: 30px; height: 30px; fill: var(--lime); stroke: none; }
.score .stars svg:last-child path { fill: var(--lime); clip-path: inset(0 10% 0 0); }
.score-count { margin: var(--gs-space-2) 0 20px; font-weight: 600; font-size: 1.05rem; }
.pos { width: 100%; margin-bottom: 28px; }
.pos p { margin: var(--gs-space-3) 0 0; font-size: 1rem; }
.pos b { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--lime); letter-spacing: -.02em; }
.pos-bar { height: 10px; border-radius: 999px; background: rgba(245, 240, 230, .16); overflow: hidden; }
.pos-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--lime); transition: width var(--gs-duration-deliberate) var(--gs-easing-standard) var(--gs-duration-fast); }
.score.in .pos-bar i { width: 100%; }
.score .btn { background: var(--lime); color: var(--pine-deep); position: relative; z-index: 1; }
.score .btn:hover { background: var(--lime-soft); }

.quotes { display: flex; flex-direction: column; min-width: 0; }
.quotes-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--gs-space-4); font-weight: 600; font-size: .95rem; }
.q-nav { display: flex; gap: var(--gs-space-2); }
.q-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--pine); background: none; display: grid; place-items: center; transition: background-color var(--gs-duration-fast) var(--gs-easing-standard), color var(--gs-duration-fast) var(--gs-easing-standard); }
.q-nav button svg { width: 20px; height: 20px; fill: none; stroke: var(--pine); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.q-nav button:hover { background: var(--pine); }
.q-nav button:hover svg { stroke: var(--lime); }
.q-track { list-style: none; margin: 0; padding: var(--gs-space-1) var(--gs-space-1) var(--gs-space-4); display: flex; gap: var(--gs-space-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; flex: 1; }
.q { flex: 0 0 min(340px, 84%); scroll-snap-align: start; background: var(--gs-white); border: 1px solid var(--chalk-line); border-radius: var(--gs-radius-lg); padding: 28px 28px var(--gs-space-5); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.q p { margin: 0; font-size: 1.04rem; position: relative; padding-top: var(--gs-space-6); }
.q p::before { content: "\201C"; position: absolute; left: -2px; top: -12px; font-family: var(--display); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--wood-ink); }
.q footer { font-size: .85rem; font-weight: 600; color: rgba(28, 78, 56, .7); border-top: 2px dashed var(--chalk-line); padding-top: var(--gs-space-4); }
.q-stars { color: var(--pine); letter-spacing: 2px; margin-right: var(--gs-space-2); }


/* CONTACTO */
#contacto { border-top: 1px solid rgba(179, 211, 53, .35); }
#contacto .form { background: var(--gs-color-surface-default); border-color: var(--chalk-line); box-shadow: 0 24px 50px -32px rgba(28, 78, 56, .4); }
#contacto .form input, #contacto .form select, #contacto .form textarea { color: var(--gs-color-text-default); background: var(--gs-input-bg); border-color: var(--gs-input-border); }
#contacto .form-err, #contacto .field-err { color: var(--gs-color-status-error-text); }
#contacto .map { border-color: var(--gs-white); box-shadow: 0 30px 60px -30px rgba(28, 78, 56, .5); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--gs-space-6), 6vw, 88px); }
address { font-style: normal; margin: 0 0 var(--gs-space-6); display: grid; gap: 20px; }
address p { margin: 0; }
address span { display: block; font-size: .8rem; font-weight: 600; color: var(--gs-color-text-muted); margin-bottom: var(--gs-space-1); }
address a { text-underline-offset: 4px; }
address a.ig-link { min-height: var(--gs-space-touch); }
.form { display: grid; gap: var(--gs-space-2); align-content: start; background: rgba(245, 240, 230, .06); border: 1px solid rgba(179, 211, 53, .28); border-radius: var(--gs-radius-xl); padding: clamp(var(--gs-space-5), 3.5vw, 40px); }
.form label { font-size: var(--gs-text-small); font-weight: 600; margin-top: var(--gs-space-2); }
.form input, .form select, .form textarea { width: 100%; min-height: var(--gs-space-touch); font: inherit; color: var(--gs-color-text-default); background: var(--gs-input-bg); border: 1.5px solid var(--gs-input-border); border-radius: var(--gs-input-radius); padding: var(--gs-space-3) var(--gs-space-4); transition: border-color var(--gs-duration-fast) var(--gs-easing-standard); }
.form select option { color: var(--pine); }
/* El foco lo dibuja la regla global :focus-visible; el borde también cambia */
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible, #contacto .form input:focus-visible, #contacto .form textarea:focus-visible { border-color: var(--gs-color-border-focus); }
/* Estado de error: borde + ícono + texto (nunca solo color) */
.form [aria-invalid="true"], #contacto .form input[aria-invalid="true"], #contacto .form textarea[aria-invalid="true"] { border-color: var(--gs-input-border-error); border-width: 2px; }
.field-err { display: flex; align-items: flex-start; gap: var(--gs-space-2); margin: var(--gs-space-1) 0 0; font-size: var(--gs-text-small); font-weight: 600; line-height: var(--gs-leading-small); color: var(--gs-color-status-error-text); }
.field-err[hidden] { display: none; }
.field-err svg, .form-err svg { flex: none; width: 20px; height: 20px; color: var(--gs-color-status-error-icon); }
.form .btn { margin-top: var(--gs-space-4); justify-self: start; }
.form-err { display: flex; align-items: flex-start; gap: var(--gs-space-2); margin: var(--gs-space-2) 0 0; color: var(--gs-color-status-error-text); font-weight: 600; font-size: var(--gs-text-small); line-height: var(--gs-leading-small); }
.form-err[hidden] { display: none; }
.map { margin: clamp(var(--gs-space-7), 7vw, var(--gs-space-9)) auto 0; width: min(100%, 960px); aspect-ratio: 16 / 9; scroll-margin-top: 24px; border-radius: var(--gs-radius-lg); overflow: hidden; background: var(--gs-white); border: 4px solid var(--chalk); box-shadow: 0 30px 60px -30px rgba(12, 40, 28, .6); }
@media (max-width: 560px) { .map { aspect-ratio: 4 / 5; } }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.foot { background: var(--chalk); color: var(--pine); padding: var(--gs-space-4) 0; border-top: 1px solid var(--chalk-line); font-size: .88rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--gs-space-3); }
.foot p { margin: 0; opacity: .85; }
.foot-brand { display: flex; align-items: center; gap: var(--gs-space-3); }
/* Pie de página: bloque en tono claro (Crema Lago), como los bloques claros de arriba; así el logo a todo color se ve sobre su lienzo natural */
.foot-brand img { display: block; width: 105px; height: auto; flex: none; }
.foot .foot-brand { opacity: 1; }
.foot-brand > span { font-weight: 600; letter-spacing: .01em; }

.wa-float { position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 60; display: inline-flex; align-items: center; gap: var(--gs-space-3); background: var(--lime); color: var(--pine-deep); font-weight: 600; padding: var(--gs-space-3) 20px var(--gs-space-3) var(--gs-space-4); border-radius: var(--gs-button-radius); text-decoration: none; box-shadow: 0 14px 30px -10px rgba(12, 40, 28, .55); transition: transform var(--gs-duration-fast) var(--gs-easing-standard); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; fill: none; stroke: var(--pine-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .support, .contact { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .ia-top { grid-template-columns: 1fr; }
  .chat { position: static; top: auto; }
  .rev { grid-template-columns: 1fr; }
  .svc-list { position: static; flex-direction: row; overflow-x: auto; gap: var(--gs-space-2); padding-bottom: var(--gs-space-2); scrollbar-width: thin; }
  .svc-tab { flex: 0 0 auto; padding: var(--gs-space-3) 20px; border: 1.5px solid var(--chalk-line); border-radius: 999px; font-size: 1rem; white-space: nowrap; }
  .svc-tab::before { display: none; }
  .svc-tab.on { padding-left: 20px; background: var(--pine); color: var(--chalk); border-color: var(--pine); }
  .tl { grid-template-columns: 1fr; gap: 36px; }
  .tl::before, .tl::after { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl::after { height: 0; transition: height var(--gs-duration-deliberate) var(--gs-easing-standard); width: 2px; }
  .tl.in::after { height: 100%; width: 2px; }
  .tl li { padding: 0 0 0 44px; }
  .tl-node { top: 4px; }
}
@media (max-width: 1240px) {
  .nav { position: fixed; inset: 80px 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: var(--gs-space-3) var(--pad) var(--gs-space-5); background: var(--chalk); color: var(--pine); border-bottom: 1px solid rgba(28, 78, 56, .2); opacity: 0; transform: translateY(-8px); z-index: -1; }
  .nav a { padding: var(--gs-space-2) 0; font-size: 1.05rem; border-bottom: 1px solid rgba(28, 78, 56, .12); }
  .nav.open { opacity: 1; transform: none; }
  .top-actions { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .top { gap: var(--gs-space-2); padding-inline: 20px var(--gs-space-2); }
  .top-actions .btn-ghost { display: none; }
  .top-actions .btn { padding: var(--gs-space-3) 20px; }
  .brand img { height: 42px; }
  .wa-float span { display: none; }
  .wa-float { padding: var(--gs-space-4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}

.ig-link { display: inline-flex; align-items: center; gap: var(--gs-space-2); }
.ig { flex: none; display: block; }


.tools { margin: clamp(40px, 6vw, 72px) 0 0; padding: clamp(var(--gs-space-5), 3vw, 36px); border: 1px solid rgba(179, 211, 53, .35); border-radius: var(--gs-radius-xl); background: var(--gs-color-surface-default); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.tools-t { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.25; color: var(--chalk); }
.tools-t span { display: block; font-family: var(--body); font-weight: 600; font-size: var(--gs-text-label); line-height: var(--gs-leading-label); letter-spacing: var(--gs-tracking-label); text-transform: uppercase; color: var(--lime); margin-bottom: var(--gs-space-2); }
.tools-l { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--gs-space-4); flex-wrap: wrap; }
.tools-l li { background: var(--chalk); border-radius: 16px; padding: var(--gs-space-4) 28px; display: flex; align-items: center; justify-content: center; min-width: 190px; height: 76px; box-shadow: 0 0 0 1px rgba(179, 211, 53, .4); }
.tools-l img { height: 32px; width: auto; max-width: 100%; display: block; }
.tools-n { grid-column: 1 / -1; margin: 0; font-size: .9rem; opacity: .8; max-width: var(--gs-measure); }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr; } .tools-l li { flex: 1 1 150px; min-width: 0; } }

.nav a, .top-actions .btn { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1240px) {
  .top { gap: var(--gs-space-4); }
  .nav { gap: var(--gs-space-4); font-size: var(--gs-text-small); }
  .brand img { height: 50px; }
  .top-actions { gap: var(--gs-space-2); }
  .top-actions .btn { padding: var(--gs-space-2) var(--gs-space-4); font-size: var(--gs-text-small); }
}
/* Etiqueta corta «Orden» disponible (.sh) pero oculta: se quitó el text-transform: capitalize que forzaba «Consultar Orden» */
.top-actions .btn-ghost .sh { display: none; }
/* (Antes, entre 981 y 1140 px el botón se acortaba a «Orden»; con el menú plegado hasta 1240 px ya cabe el texto completo) */
.top .btn-ghost { cursor: pointer; font-family: inherit; background: transparent; }
.top .btn-ghost:disabled { cursor: progress; }
/* «Consultar orden» mientras carga el sistema de órdenes: ícono + texto, sin girar */
.btn-ghost .lbl-load, .btn-ghost .i-load { display: none; }
.btn-ghost:disabled .lbl-load { display: inline; }
.btn-ghost:disabled .i-load { display: block; }
.btn-ghost:disabled .lbl-ok { display: none; }
.i-load { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.orden-aviso { position: fixed; top: calc(var(--hdr, 80px) + 8px); right: var(--pad); z-index: 70; display: flex; align-items: flex-start; gap: var(--gs-space-2); max-width: min(360px, calc(100vw - 32px)); padding: var(--gs-space-3) var(--gs-space-4); border-radius: var(--gs-radius-md); background: var(--gs-color-status-info-bg); color: var(--gs-color-status-info-text); border: 1px solid var(--gs-info-300); font-size: var(--gs-text-small); font-weight: 500; line-height: var(--gs-leading-small); box-shadow: 0 14px 30px -18px rgba(12, 40, 28, .5); }
.orden-aviso[hidden] { display: none; }
.orden-aviso svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gs-color-status-info-icon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav .nav-orden { display: none; }
@media (max-width: 560px) { .nav .nav-orden { display: inline-flex; } }
@media (min-width: 981px) and (max-width: 1040px) { .top { gap: var(--gs-space-3); padding-inline: var(--gs-space-4); } .nav { gap: var(--gs-space-3); font-size: var(--gs-text-small); } .brand img { height: 46px; } }
/* Escritorio: logo, menú y botón agrupados al centro */
/* Escritorio: el menú completo se muestra desde 1241 px (Montserrat es más ancha que la fuente anterior y el mínimo de interfaz es 14 px) */
@media (min-width: 1241px) { .top { justify-content: center; gap: 20px; padding-inline: var(--gs-space-5); } .nav { margin-left: 0; gap: 14px; font-size: var(--gs-text-small); } }
@media (min-width: 1400px) { .top { gap: var(--gs-space-6); } .nav { gap: 20px; font-size: .9rem; } .top-actions { margin-left: var(--gs-space-1); } }

.pc-head { display: flex; align-items: center; justify-content: space-between; gap: var(--gs-space-4); margin-bottom: var(--gs-space-4); }
.pc-nav { display: flex; gap: var(--gs-space-2); }
.pc-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--pine); background: transparent; color: var(--pine); cursor: pointer; display: grid; place-items: center; }
.pc-nav button:hover { background: var(--pine); color: var(--lime); }
.pc-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pc-track { list-style: none; margin: 0; padding: var(--gs-space-1) var(--gs-space-1) var(--gs-space-4); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pc { flex: 0 0 min(360px, 86%); scroll-snap-align: start; background: var(--gs-white); border: 1px solid var(--chalk-line); border-radius: var(--gs-radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 50px -34px rgba(28, 78, 56, .5); }
.pc img { width: 100%; aspect-ratio: 555 / 655; height: auto; object-fit: contain; display: block; background: var(--gs-bosque-900); }
.pc-b { padding: 20px; display: flex; flex-direction: column; gap: var(--gs-space-4); flex: 1; }
.pc-b h4 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; color: var(--pine); }
.pc-b ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gs-space-2); font-size: var(--gs-text-small); }
.pc-b li span { display: block; font-size: var(--gs-text-label); font-weight: 600; letter-spacing: var(--gs-tracking-label); text-transform: uppercase; color: var(--wood-ink); }
.pc-b .btn { margin-top: auto; align-self: flex-start; }
.pc-note { margin: var(--gs-space-1) 0 0; font-size: var(--gs-text-small); color: var(--ink-muted); }

/* Menú desplegable de servicios */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-main { display: inline-flex; align-items: center; gap: var(--gs-space-2); }
.nav-main svg { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sub { list-style: none; margin: 0; padding: var(--gs-space-2); position: absolute; top: 100%; left: -14px; min-width: 300px; background: var(--chalk); border: 1px solid var(--chalk-line); border-radius: var(--gs-radius-lg); box-shadow: 0 24px 50px -20px rgba(28, 78, 56, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--gs-duration-base) var(--gs-easing-standard), transform var(--gs-duration-base) var(--gs-easing-standard), visibility var(--gs-duration-base); z-index: 60; }
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.closed .sub { opacity: 0; visibility: hidden; }
.nav .sub a { display: flex; align-items: center; justify-content: space-between; gap: var(--gs-space-3); padding: var(--gs-space-3) var(--gs-space-4); border-radius: 10px; border-bottom: 0; font-size: .92rem; white-space: nowrap; }
.nav .sub a:hover { background: var(--gs-white); }
.nav .sub .sub-hot { background: var(--pine); color: var(--chalk); }
.nav .sub .sub-hot:hover { background: var(--gs-color-action-primary-hover); }
.sub-hot span { flex: none; white-space: nowrap; font-size: var(--gs-text-label); font-weight: 600; letter-spacing: var(--gs-tracking-label); text-transform: uppercase; background: var(--lime); color: var(--pine); border-radius: 999px; padding: var(--gs-space-1) var(--gs-space-2); }
.svc-hot::after { content: "Más solicitado"; margin-left: var(--gs-space-3); font-size: var(--gs-text-label); font-weight: 600; letter-spacing: var(--gs-tracking-label); text-transform: uppercase; background: var(--lime); color: var(--pine); border-radius: 999px; padding: var(--gs-space-1) var(--gs-space-2); vertical-align: middle; white-space: nowrap; }
.btn-ghost-d { background: transparent; border-color: var(--pine); color: var(--pine); margin-left: var(--gs-space-3); }
.btn-ghost-d:hover { background: var(--pine); color: var(--lime); }
@media (max-width: 1240px) {
  .nav-item { display: block; }
  .nav .nav-main { display: flex; }
  .nav-item::after { display: none; }
  .nav-main svg { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 var(--gs-space-2) var(--gs-space-4); background: transparent; border: 0; box-shadow: none; border-radius: 0; }
  .nav .sub a { padding: var(--gs-space-3) 0; font-size: .98rem; border-bottom: 1px solid rgba(28, 78, 56, .08); border-radius: 0; white-space: normal; }
  .nav .sub .sub-hot { background: transparent; color: var(--pine); font-weight: 600; }
  .nav .sub a:hover { background: transparent; }
}
@media (max-width: 980px) { .svc-hot::after { display: none; } }

/* ARMADO DE PC: scroll interactivo */
:root { --hdr: 80px; }
.mid { background: var(--gs-color-bg-default); color: var(--gs-color-text-default); }
.armado { padding-block: clamp(72px, 9vw, 120px) 0; }
.armado .h2 { color: var(--chalk); }
.arm-head { padding-bottom: var(--gs-space-2); }
.scene { position: relative; height: 230vh; }
.pin { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.scene-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; height: 100%; }
.scene-copy { display: grid; align-content: center; gap: 20px; }
.scene-n { grid-row: 1; margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: .08em; color: var(--lime); }
.scene-n b { font-size: 1.6rem; }
.sc { grid-row: 2; grid-column: 1; opacity: 0; transform: translateY(12px); transition: opacity var(--gs-duration-slow) var(--gs-easing-enter), transform var(--gs-duration-slow) var(--gs-easing-enter); pointer-events: none; }
.sc.on { opacity: 1; transform: none; pointer-events: auto; }
.sc h3 { margin: 0 0 var(--gs-space-4); font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: var(--gs-tracking-display); color: var(--chalk); }
.sc p { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; opacity: .95; }
.scene-bar { grid-row: 3; height: 4px; border-radius: 999px; background: rgba(245, 240, 230, .18); overflow: hidden; max-width: 46ch; }
.scene-bar i { display: block; height: 100%; width: 0; background: var(--lime); }
.scene-vis { position: relative; justify-self: center; width: min(100%, calc((100vh - var(--hdr) - 60px) * .85)); aspect-ratio: 555 / 655; border-radius: var(--gs-radius-lg); overflow: hidden; background: var(--gs-bosque-900); box-shadow: 0 0 0 1.5px rgba(179, 211, 53, .5), 0 40px 80px -30px rgba(12, 40, 28, .7); }
.sv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity var(--gs-duration-slow) var(--gs-easing-standard); }
.sv.on { opacity: 1; }
.hs { position: relative; }
.hs .pc-head { padding-top: var(--gs-space-2); }
.hs .pc-head h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--chalk); }
.hs .pc-nav button { border-color: var(--chalk); color: var(--chalk); }
.hs .pc-nav button:hover { background: var(--lime); border-color: var(--lime); color: var(--pine); }
.hs .pc-track { padding: var(--gs-space-1) var(--pad) var(--gs-space-4); }
.hs-foot { padding-top: var(--gs-space-2); padding-bottom: var(--gs-space-3); }
.hs .pc-note { color: var(--chalk); opacity: .85; }
.hs-bar { display: none; height: 4px; border-radius: 999px; background: rgba(245, 240, 230, .18); overflow: hidden; margin-bottom: var(--gs-space-3); }
.hs-bar i { display: block; height: 100%; width: 0; background: var(--lime); }
/* modo con scroll fijado (escritorio) */
.hs-on .pin { justify-content: center; gap: 20px; }
.hs-on .pc-nav { display: none; }
.hs-on .hs-bar { display: block; }
.hs-on .pc-track { overflow: visible; scroll-snap-type: none; display: flex; gap: var(--gs-space-5); padding-left: max(var(--pad), calc((100vw - 1240px) / 2 + var(--pad))); padding-right: var(--pad); will-change: transform; }
.hs-on .pc { flex: 0 0 min(760px, 74vw); flex-direction: row; max-height: calc(100vh - var(--hdr) - 190px); }
.hs-on .pc img { width: 42%; height: auto; aspect-ratio: auto; object-fit: contain; align-self: stretch; }
.hs-on .pc-b { padding: var(--gs-space-5) 28px; overflow: hidden; }
.hs-on .pc-b ul { grid-template-columns: 1fr 1fr; gap: var(--gs-space-3) 20px; }
/* modo estático: móvil, pantallas bajas o sin animaciones */
.armado.static .scene { height: auto; }
.armado.static .scene .pin { position: static; height: auto; padding-block: var(--gs-space-5) 40px; overflow: visible; }
.armado.static .scene-grid { grid-template-columns: 1fr; height: auto; }
.armado.static .scene-copy { gap: var(--gs-space-5); }
.armado.static .scene-n, .armado.static .scene-bar { display: none; }
.armado.static .sc { grid-row: auto; grid-column: auto; opacity: 1; transform: none; }
.armado.static .sc h3 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
.armado.static .scene-vis { width: 100%; aspect-ratio: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--gs-radius-lg); }
.armado.static .sv { position: static; opacity: 1; transform: none; aspect-ratio: 555 / 655; height: auto; }
.armado.static .hs .pin, .armado.static.hs .pin { position: static; height: auto; padding-bottom: var(--gs-space-2); overflow: visible; }
@media (max-width: 860px) { .armado .hs .pc-head { align-items: flex-end; } }
.pc { color: var(--ink); }

/* Estilo minimalista */
.ia-cta { margin-top: 28px; }
.pc-more { display: none; align-self: flex-start; align-items: center; min-height: var(--gs-space-touch); background: none; border: 0; padding: 0; font: inherit; font-weight: 600; font-size: var(--gs-text-small); color: var(--pine); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.armado.static .pc-more { display: inline-flex; }
.armado.static .scene-vis { display: none; }
.armado.static .scene .pin { padding-block: var(--gs-space-2) var(--gs-space-5); }
.armado.static .scene-copy { gap: 0; }
.armado.static .sc { padding: 20px 0; border-top: 1px solid rgba(245, 240, 230, .2); }
.armado.static .sc h3 { font-size: 1.4rem; margin-bottom: var(--gs-space-2); }
.armado.static .sc p { font-size: 1rem; }
.armado.static .pc img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--gs-bosque-900); }
.armado.static .pc-b ul li:nth-child(n+5) { display: none; }
.armado.static .pc.open .pc-b ul li:nth-child(n+5) { display: block; }
@media (max-width: 860px) {
  .sec { padding-block: 56px; }
  .armado { padding-block: 56px 0; }
  .lead-in { margin-bottom: 28px; }
  .h2 { margin-bottom: var(--gs-space-4); }
  .map { aspect-ratio: 4 / 3; }
  .tl li, .steps li { gap: var(--gs-space-1); }
}
@media (max-width: 560px) { .map { aspect-ratio: 4 / 3; } }
.hs .pc-track { scroll-padding-inline: var(--pad); }


@media (max-width: 980px) {
  .hero { min-height: 0; align-items: flex-start; padding: var(--gs-space-9) 0 56px; }
  .tag { margin-bottom: var(--gs-space-4); }
}

/* Flechas de sección */
.secnav { display: none; }
@media (max-width: 980px) {
  .secnav { position: fixed; left: 14px; bottom: 18px; z-index: 55; display: flex; flex-direction: column; gap: var(--gs-space-2); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity var(--gs-duration-base) var(--gs-easing-standard), transform var(--gs-duration-base) var(--gs-easing-standard); }
  .secnav.show { opacity: 1; transform: none; pointer-events: auto; }
  .secnav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(179, 211, 53, .6); background: rgba(28, 78, 56, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(12, 40, 28, .5); -webkit-tap-highlight-color: transparent; }
  .secnav button:active { background: rgba(28, 78, 56, .85); }
  .secnav button:disabled { opacity: .3; }
  .secnav svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
}

/* Celular: flechas a la derecha, WhatsApp a la izquierda */
@media (max-width: 980px) {
  .secnav { left: auto; right: 14px; }
  .wa-float { right: auto; left: 14px; }
}

/* Preguntas frecuentes */
.faq-list { max-width: 820px; display: grid; gap: var(--gs-space-3); }
.faq-i { border: 1px solid rgba(245, 240, 230, .22); border-radius: var(--gs-radius-lg); background: rgba(20, 59, 42, .35); }
.faq-i summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 20px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; position: relative; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--lime); font-size: 1.5rem; font-weight: 600; }
.faq-i[open] summary::after { content: "\2212"; }
.faq-i p { margin: 0; padding: 0 20px 20px; opacity: .92; max-width: var(--gs-measure); }

/* Equipos que hemos armado: tarjetas más compactas */
.hs-on .pc { flex: 0 0 min(640px, 62vw); max-height: none; }
.hs-on .pc img { width: 36%; }
.hs-on .pc-b { padding: 20px var(--gs-space-5); gap: var(--gs-space-3); }
.hs-on .pc-b ul { font-size: var(--gs-text-small); gap: var(--gs-space-2) var(--gs-space-4); }
.pc { flex-basis: min(320px, 84%); }
.armado.static .pc-b .btn { font-size: var(--gs-text-button); padding: var(--gs-space-3) 20px; }
.armado.static .pc img { aspect-ratio: 16 / 10; }

/* =========================================================
   Sistema de movimiento (tokens de duración y curvas del manual v4.0)
   ========================================================= */
:root {
  --ease-out: var(--gs-easing-enter);
  --ease-io: var(--gs-easing-standard);
  --mono: var(--gs-font-body); /* la monoespaciada se retiró: rótulos en Montserrat 600 */
}

/* Respuesta al toque: todo lo que se presiona responde */
.btn, .pc-nav button, .secnav button, .wa-float, .faq-i summary, .svc-tab, .burger { -webkit-tap-highlight-color: transparent; }
.btn, .pc-nav button { transition: transform var(--gs-duration-fast) var(--gs-easing-standard), background-color var(--gs-duration-fast) var(--gs-easing-standard), color var(--gs-duration-fast) var(--gs-easing-standard), border-color var(--gs-duration-fast) var(--gs-easing-standard); }
.secnav button { transition: background-color var(--gs-duration-fast) var(--gs-easing-standard); }
.faq-i summary { transition: background-color var(--gs-duration-fast) var(--gs-easing-standard); }
.faq-i summary:active { background: rgba(179, 211, 53, .06); }

/* Hover solo en dispositivos con mouse */
@media (hover: none) {
  .wa-float:hover, .btn:hover { transform: none; }
}

/* Pestañas de servicios: el panel nuevo entra con opacidad y 8 px de desplazamiento */
.svc-panel.on { animation: panelIn var(--gs-duration-slow) var(--gs-easing-enter); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Preguntas: la respuesta entra suave */
.faq-i[open] p { animation: panelIn var(--gs-duration-slow) var(--gs-easing-enter); }

/* Índice técnico de cada sección: // 01, // 02… */
main { counter-reset: sec; }
main > section.sec { counter-increment: sec; }
.sec .h2::before { content: "// " counter(sec, decimal-leading-zero); display: block; margin-bottom: var(--gs-space-4); font-family: var(--gs-font-body); font-weight: 600; font-size: var(--gs-text-label); line-height: var(--gs-leading-label); letter-spacing: var(--gs-tracking-label); font-variant-numeric: tabular-nums; color: var(--lime); }
.sec.light .h2::before { color: var(--wood-ink); }
.sec .h2[data-k]::before { content: attr(data-k); }
.sec .tag ~ .h2::before, .support-copy .h2::before { content: none; }

/* Textura de circuito en secciones oscuras: grilla que se desvanece */
.sec.dark::before, .sec.mid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(179, 211, 53, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(179, 211, 53, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(90% 70% at 85% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(90% 70% at 85% 0%, #000 0%, transparent 70%);
}
.sec.dark > .wrap, .sec.mid > .wrap { position: relative; }

/* Encabezado: se compacta al bajar */
.top { transition: box-shadow var(--gs-duration-base) var(--gs-easing-standard), background-color var(--gs-duration-base) var(--gs-easing-standard); }
.top.scrolled { box-shadow: 0 10px 30px -18px rgba(20, 59, 42, .45); }

/* Aparición al hacer scroll (solo con JS y sin movimiento reducido) */
.rv { opacity: 0; transform: translateY(12px); transition: opacity var(--gs-duration-slow) var(--gs-easing-enter), transform var(--gs-duration-slow) var(--gs-easing-enter); transition-delay: var(--d, 0ms); }
.rv.rv-in { opacity: 1; transform: none; }

/* Luz que sigue al cursor en zonas oscuras (solo mouse) */
.spot { position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(closest-side, rgba(179, 211, 53, .12), transparent); opacity: 0; transition: opacity var(--gs-duration-slow) var(--gs-easing-standard); will-change: transform; }
.spot.on { opacity: 1; }

/* Tarjetas con borde que brilla donde está el cursor */
@media (hover: hover) and (pointer: fine) {
  .glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(179, 211, 53, .9), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--gs-duration-base) var(--gs-easing-standard); }
  .glow:hover::after { opacity: 1; }
}

/* Estado en vivo del taller */
.live { display: flex; align-items: center; gap: var(--gs-space-2); margin: var(--gs-space-1) 0 var(--gs-space-2); font-family: var(--gs-font-body); font-weight: 600; font-size: var(--gs-text-small); letter-spacing: .01em; font-variant-numeric: tabular-nums; color: var(--pine); }
.live::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gs-color-status-success-icon); box-shadow: 0 0 0 0 rgba(143, 211, 168, .6); animation: livePulse 2s infinite; }
.live.closed { color: var(--ink-muted); }
.live.closed::before { background: var(--gs-neutro-300); animation: none; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(143, 211, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 211, 168, 0); } }

@media (prefers-reduced-motion: reduce) {
  .rv { transform: none; transition: opacity var(--gs-duration-slow) var(--gs-easing-standard); }
  .svc-panel.on, .faq-i[open] p { animation: none; }
  .spot { display: none; }
  .live::before { animation: none; }
}

#circuit { opacity: .6; }

/* =========================================================
   Portada minimalista: el núcleo es el protagonista
   ========================================================= */
.hero.hero2 { min-height: 100svh; padding: calc(var(--hdr, 80px) + var(--gs-space-2)) 0 72px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero2 .hero-veil { background: radial-gradient(70% 60% at 50% 42%, rgba(12, 40, 28, 0) 0%, rgba(12, 40, 28, .55) 70%, rgba(12, 40, 28, .9) 100%); }
.h2-stage { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); display: grid; justify-items: center; gap: clamp(var(--gs-space-1), 1.6vh, 20px); }
.h2-copy { display: grid; justify-items: center; gap: var(--gs-space-4); }
.h2-kicker { margin: 0; font-family: var(--gs-font-body); font-weight: 600; font-size: var(--gs-text-small); letter-spacing: .01em; color: var(--lime); }
.h2-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.8vw, 4.1rem); line-height: 1.04; letter-spacing: var(--gs-tracking-display); color: var(--chalk); max-width: 22ch; text-wrap: balance; }
.h2-title .hl { color: var(--lime); }
.h2-title .w { display: inline-block; }
.h2-sub { margin: 0; max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--chalk); opacity: .86; text-wrap: balance; }
.h2-cta { display: flex; flex-wrap: wrap; gap: var(--gs-space-3); justify-content: center; margin-top: var(--gs-space-2); }
.h2-ghost { border-color: rgba(245, 240, 230, .45); color: var(--chalk); background: rgba(245, 240, 230, .04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (hover: hover) and (pointer: fine) { .h2-ghost:hover { border-color: var(--lime); color: var(--lime); } }
.h2-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: var(--gs-space-2); text-decoration: none; font-family: var(--gs-font-body); font-weight: 600; font-size: var(--gs-text-label); letter-spacing: var(--gs-tracking-label); text-transform: uppercase; color: rgba(245, 240, 230, .78); }
.h2-scroll i { position: relative; width: 1px; height: 34px; background: rgba(245, 240, 230, .25); overflow: hidden; }
.h2-scroll i::after { content: ""; position: absolute; left: -1px; top: -12px; width: 3px; height: 12px; border-radius: 999px; background: var(--lime); animation: drip 1.8s var(--gs-easing-standard) infinite; }
@keyframes drip { to { transform: translateY(46px); } }

/* Entrada del texto de portada: opacidad + 8 px, sin desenfoque; todo visible antes de 1 s */
.js .h2-kicker, .js .h2-sub, .js .h2-cta, .js .h2-scroll { opacity: 0; animation: h2in var(--gs-duration-deliberate) var(--gs-easing-enter) forwards; }
.js .h2-kicker { animation-delay: 120ms; }
.js .h2-title .w { opacity: 0; transform: translateY(8px); animation: h2in var(--gs-duration-deliberate) var(--gs-easing-enter) forwards; animation-delay: calc(200ms + var(--i, 0) * 40ms); }
.js .h2-sub { animation-delay: 480ms; }
.js .h2-cta { animation-delay: 560ms; }
.js .h2-scroll { animation-delay: 640ms; }
@keyframes h2in { to { opacity: 1; transform: none; } }
.js .h2-scroll { animation-name: h2fade; }
@keyframes h2fade { to { opacity: 1; } }

@media (max-width: 980px) {
  .hero.hero2 { min-height: 100svh; padding: 84px 0 var(--gs-space-8); align-items: center; }
  .h2-copy { gap: var(--gs-space-3); }
  .h2-title { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .h2-sub { font-size: 1rem; }
  .h2-cta .btn { padding: var(--gs-space-3) 20px; }
}
@media (max-height: 760px) and (min-width: 981px), (max-height: 640px) { .h2-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .h2-title .w, .js .h2-kicker, .js .h2-sub, .js .h2-cta, .js .h2-scroll { animation: h2fade var(--gs-duration-slow) var(--gs-easing-standard) forwards; transform: none; }
  .h2-scroll i::after { animation: none; }
}
@media (min-width: 981px) {
  .h2-title { font-size: clamp(2rem, 3.6vw, 3.4rem); max-width: 28ch; }
  .h2-copy { gap: var(--gs-space-3); }
}

/* =========================================================
   Portada: historia animada 1995 → Grey Store (sin destellos)
   ========================================================= */
.story { width: min(100%, 760px); display: grid; gap: var(--gs-space-2); }
.story-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--gs-space-3); text-align: left; }
.story-read { display: grid; gap: var(--gs-space-1); text-align: right; font-family: var(--gs-font-body); font-weight: 600; text-transform: uppercase; letter-spacing: var(--gs-tracking-label); font-size: var(--gs-text-label); color: rgba(245, 240, 230, .78); }
.story-mark { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; line-height: 1; letter-spacing: .02em; color: var(--lime); font-variant-numeric: tabular-nums; }
.story-mark.long { font-size: clamp(1.1rem, 3vw, 1.6rem); }
.story-phase { min-height: 2.4em; line-height: 1.35; letter-spacing: .01em; text-transform: none; color: var(--chalk); }
.story-field { position: relative; width: 100%; height: clamp(220px, 40svh, 420px); }
#storyField { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
#storySeal { position: absolute; left: 50%; top: 50%; opacity: 0; transform: translate(-50%, -50%); pointer-events: none; will-change: opacity, transform; max-width: none; box-sizing: border-box; background: var(--chalk); border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(12, 40, 28, .55); }
.story-track { position: relative; height: 2px; background: rgba(245, 240, 230, .16); border-radius: 2px; }
.story-track i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--lime); border-radius: 2px; }
.story-ticks { list-style: none; margin: var(--gs-space-2) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); font: 600 var(--gs-text-label)/1.3 var(--gs-font-body); letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: rgba(245, 240, 230, .78); }
.story-ticks li { text-align: center; transition: color var(--gs-duration-deliberate) var(--gs-easing-standard); }
.story-ticks li:first-child { text-align: left; }
.story-ticks li:last-child { text-align: right; }
.story-ticks li.on { color: var(--lime); }
.story-ticks b { display: block; font-weight: 700; color: var(--chalk); }
.hero2 .h2-stage { gap: clamp(var(--gs-space-2), 1.6vh, 20px); }
@media (max-width: 640px) {
  .story-ticks { font-size: var(--gs-text-label); letter-spacing: 0; }
  .story-ticks b { font-size: var(--gs-text-label); }
  .story-read { font-size: var(--gs-text-label); max-width: 50%; }
  .story-field { height: clamp(200px, 34svh, 320px); }
}
.hero2 .h2-scroll { display: none; }

/* Armado: escena más compacta (menos alto y menos scroll) */
.scene { height: 185vh; }
.scene-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(var(--gs-space-5), 4vw, 56px); max-width: 980px; margin-inline: auto; }
.scene-vis { width: min(100%, 360px, calc((100vh - var(--hdr) - 140px) * .78)); }
.sc h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: var(--gs-space-3); }
.sc p { font-size: clamp(1rem, 1.3vw, 1.1rem); }
.scene-n b { font-size: 1.3rem; }

/* Armado en computador: bloque compacto sin fijar, las etapas avanzan solas */
.armado.compact .scene { height: auto; }
.armado.compact .scene .pin { position: static; height: auto; overflow: visible; padding-block: var(--gs-space-2) 0; }
.armado.compact .scene-grid { height: auto; min-height: 0; }
.armado.compact .scene-vis { width: min(100%, 300px); }
.armado.compact .sc { transition: opacity var(--gs-duration-slow) var(--gs-easing-standard), transform var(--gs-duration-slow) var(--gs-easing-enter); }
.armado.compact .hs { margin-top: clamp(var(--gs-space-6), 5vw, 56px); }
.armado.compact .scene-grid { max-width: 900px; margin-inline: auto; }
.armado .arm-head .lead-in, .armado .lead-in { max-width: var(--gs-measure); }
/* Armado compacto: el texto se alinea con el título; la imagen queda centrada en su columna */
.armado.compact .scene-grid { max-width: none; margin-inline: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.armado.compact .scene-vis { justify-self: center; }
.armado.compact .scene-grid { max-width: 1240px; margin-inline: auto; }

/* Preguntas frecuentes sobre fondo claro (alternancia verde / claro entre secciones) */
.faq.light .faq-i { border-color: var(--chalk-line); background: var(--gs-white); }
.faq.light .faq-i summary { color: var(--pine); }
.faq.light .faq-i summary::after { color: var(--pine); }
.faq.light .faq-i p { color: var(--ink); }
#historia .lead-in { max-width: var(--gs-measure); text-wrap: pretty; }
.faq-i p a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; } .faq.light .faq-i p a { color: var(--pine); }

/* Pie de página ordenado: marca · redes y contacto · volver arriba, todo en una línea */
.foot-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--gs-space-5); }
.foot-brand { justify-self: start; }
.foot-links { display: flex; align-items: center; gap: 28px; }
.foot-links a, .foot-top { display: inline-flex; align-items: center; min-height: var(--gs-space-touch); color: var(--pine); text-decoration: none; font-weight: 600; transition: color var(--gs-duration-fast) var(--gs-easing-standard), text-decoration-color var(--gs-duration-fast) var(--gs-easing-standard); text-decoration-line: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.foot-top { justify-self: end; gap: var(--gs-space-2); }
.foot-top svg, .yt-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover, .foot-top:hover { color: var(--pine-soft); text-decoration-color: currentColor; } }
@media (max-width: 1100px) {
  .foot-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--gs-space-3); }
  .foot-brand, .foot-top { justify-self: center; }
  .foot-links { flex-wrap: wrap; justify-content: center; gap: var(--gs-space-2) var(--gs-space-5); }
  .foot { padding-bottom: 84px; }
}
@media (min-width: 1101px) {
  .foot-in { grid-template-columns: auto 1fr auto; }
  .foot-links { justify-self: center; }
  .foot-brand span { white-space: nowrap; }
}
.foot-links a, .foot-top { white-space: nowrap; }
@media (max-width: 1240px) {
  .foot-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--gs-space-3); }
  .foot-brand, .foot-top, .foot-links { justify-self: center; }
  .foot-links { flex-wrap: wrap; justify-content: center; gap: var(--gs-space-3) var(--gs-space-5); }
}

/* Fundación Trabajo Social en Red */
.fund-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: clamp(var(--gs-space-5), 5vw, var(--gs-space-8)); align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.fund-head .lead-in { margin-bottom: 0; }
.fund-logo { display: block; background: var(--gs-white); border-radius: var(--gs-radius-lg); padding: 20px var(--gs-space-5); box-shadow: 0 24px 50px -30px rgba(12, 40, 28, .6); transition: transform var(--gs-duration-fast) var(--gs-easing-standard); }
.fund-logo img { display: block; width: 100%; height: auto; }
@media (hover: hover) and (pointer: fine) { .fund-logo:hover { transform: translateY(-2px); } }
@media (max-width: 860px) { .fund-head { grid-template-columns: 1fr; } .fund-logo { max-width: 300px; } }

/* Fundación: la historia en tres pasos */
.fund-story { list-style: none; margin: 0 0 var(--gs-space-6); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gs-space-4); counter-reset: fs; }
.fund-story li { position: relative; display: grid; align-content: start; gap: var(--gs-space-3); padding: var(--gs-space-5) var(--gs-space-5) 28px; border: 1px solid rgba(179, 211, 53, .3); border-radius: var(--gs-radius-lg); background: rgba(20, 59, 42, .45); }
.fund-story li::before { counter-increment: fs; content: "0" counter(fs); position: absolute; right: 18px; top: 16px; font-family: var(--gs-font-body); font-weight: 600; font-size: var(--gs-text-label); letter-spacing: var(--gs-tracking-label); font-variant-numeric: tabular-nums; color: rgba(179, 211, 53, .6); }
.fund-k { margin: 0; font-family: var(--gs-font-body); font-weight: 600; font-size: var(--gs-text-small); letter-spacing: .01em; color: var(--lime); }
.fund-story h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.15; letter-spacing: -.02em; color: var(--chalk); }
.fund-story li > p:not(.fund-k) { margin: 0; opacity: .9; }
.fund-places { display: grid; gap: var(--gs-space-3); margin-top: var(--gs-space-1); }
.fund-places p { margin: 0; display: flex; flex-wrap: wrap; gap: var(--gs-space-2); align-items: center; }
.fund-places b { width: 100%; font-family: var(--gs-font-body); font-weight: 600; font-size: var(--gs-text-label); letter-spacing: var(--gs-tracking-label); text-transform: uppercase; color: var(--chalk); opacity: .8; }
.fund-places span { padding: var(--gs-space-1) var(--gs-space-3); border-radius: 999px; border: 1px solid rgba(179, 211, 53, .45); color: var(--chalk); font-size: var(--gs-text-small); }
@media (max-width: 960px) { .fund-story { grid-template-columns: 1fr; } }

/* Fundación: llamado a empresas donantes */
.fund-donate { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: clamp(20px, 4vw, var(--gs-space-7)); align-items: center; padding: clamp(var(--gs-space-5), 4vw, 40px); background: var(--chalk); color: var(--ink); border-radius: var(--gs-radius-xl); border-bottom: 6px solid var(--lime); }
.fund-donate .fund-k { color: var(--wood-ink); }
.fund-donate h3 { margin: var(--gs-space-2) 0 var(--gs-space-3); font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -.02em; color: var(--pine); text-wrap: balance; }
.fund-donate p { margin: 0; }
.fund-donate-copy > p:last-child { max-width: var(--gs-measure); }
.fund-donate-cta { display: grid; gap: var(--gs-space-3); justify-items: stretch; }
.fund-donate-cta .btn { justify-content: center; }
@media (max-width: 860px) { .fund-donate { grid-template-columns: 1fr; } }
.fund-donate { grid-template-columns: minmax(0, 1fr) auto; }
.fund-donate-cta { justify-items: end; }
.fund-wa { gap: var(--gs-space-3); padding: var(--gs-space-4) 28px; font-size: 1rem; }
.fund-wa img { width: 22px; height: 22px; }
@media (max-width: 860px) { .fund-donate { grid-template-columns: 1fr; } .fund-donate-cta { justify-items: stretch; } }
.note.safe { margin-top: var(--gs-space-3); padding: var(--gs-space-3) var(--gs-space-4); border-left: 3px solid var(--lime); background: rgba(179, 211, 53, .08); border-radius: 0 10px 10px 0; opacity: 1; }
.note.safe a { color: var(--lime); font-weight: 600; }

/* Fundación sobre fondo claro (va después de Historia) */
.fund.light .fund-story li { background: var(--gs-white); border-color: var(--chalk-line); box-shadow: 0 20px 40px -32px rgba(28, 78, 56, .45); }
.fund.light .fund-story li::before { color: var(--wood-ink); }
.fund.light .fund-k { color: var(--wood-ink); }
.fund.light .fund-story h3 { color: var(--pine); }
.fund.light .fund-story li > p:not(.fund-k) { color: var(--ink); opacity: 1; }
.fund.light .fund-places b { color: var(--pine); opacity: 1; }
.fund.light .fund-places span { color: var(--pine); border-color: rgba(28, 78, 56, .3); background: rgba(179, 211, 53, .12); }
.fund.light .tag { color: var(--pine); background: rgba(179, 211, 53, .18); border-color: rgba(28, 78, 56, .25); }
.fund.light .tag .dot { background: var(--pine); }
.fund.light .fund-logo { box-shadow: 0 0 0 1px var(--chalk-line), 0 24px 50px -30px rgba(28, 78, 56, .45); }
.fund.light .fund-donate { background: var(--gs-color-surface-default); color: var(--chalk); border-bottom-color: var(--lime); }
.fund.light .fund-donate h3 { color: var(--chalk); }
.fund.light .fund-donate .fund-k { color: var(--lime); }
.fund.light .fund-donate .btn-pine { background: var(--lime); color: var(--pine-deep); }

/* Contacto sobre fondo verde (cierra la alternancia antes del pie) */
#contacto.dark address a { color: var(--chalk); }
#contacto.dark .live { color: var(--lime); }
#contacto.dark .live.closed { color: var(--chalk); opacity: .85; }
#contacto.dark .btn-pine { background: var(--lime); color: var(--pine-deep); }
#contacto.dark .map { border-color: rgba(245, 240, 230, .9); }
#contacto.dark .form, #contacto.dark .form label { color: var(--pine); }
#contacto.dark .form .note { color: var(--gs-color-text-muted); opacity: 1; }

/* Fundación: invitación al canal de YouTube */
.fund-yt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(var(--gs-space-4), 2.4vw, var(--gs-space-5)); align-items: center; margin-top: 20px; padding: 20px clamp(20px, 3vw, 28px); border: 1px solid rgba(28, 78, 56, .18); border-radius: var(--gs-radius-lg); background: var(--gs-white); color: var(--ink); }
.fund-yt img { display: block; }
.fund-yt p { margin: 0; max-width: var(--gs-measure); }
.fund-yt b { color: var(--pine); }
.btn-ghost-pine { display: inline-flex; align-items: center; gap: var(--gs-space-2); white-space: nowrap; border: 2px solid var(--pine); color: var(--pine); background: transparent; transition: background-color var(--gs-duration-fast) var(--gs-easing-standard), color var(--gs-duration-fast) var(--gs-easing-standard); }
.btn-ghost-pine:hover { background: var(--pine); color: var(--chalk); }
@media (max-width: 720px) { .fund-yt { grid-template-columns: auto minmax(0, 1fr); align-items: start; } .fund-yt img { margin-top: var(--gs-space-1); } .fund-yt .btn { grid-column: 1 / -1; justify-content: center; } }

/* Cinta de marcas: franja oscura en movimiento lento al final de Servicios */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brands { background: var(--gs-color-bg-subtle); padding-block: var(--gs-space-6) 36px; border-top: 1px solid rgba(245, 240, 230, .10); border-bottom: 1px solid rgba(245, 240, 230, .10); overflow: hidden; }
.brands-t { margin: 0; text-align: center; font: 600 var(--gs-text-label) var(--gs-font-body); letter-spacing: var(--gs-tracking-label); text-transform: uppercase; color: rgba(245, 240, 230, .75); }
.brands-m { margin-top: var(--gs-space-4); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.brands-track { display: flex; gap: clamp(36px, 5vw, var(--gs-space-8)); width: max-content; animation: brands-slide 48s linear infinite; }
.brands-track span { font: 700 clamp(1.6rem, 3.4vw, 2.6rem) var(--display); letter-spacing: -.02em; color: rgba(245, 240, 230, .32); white-space: nowrap; }
.brands-track span:nth-child(3n+1) { color: transparent; -webkit-text-stroke: 1px rgba(179, 211, 53, .55); }
@keyframes brands-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brands-track { animation: none; } }

/* ===== Auditoría 4-oct-2026: accesibilidad y contraste (actualizada a tokens v4.0) ===== */
.pc-b li span, .sec.light .h2::before, .fund-donate .fund-k, .fund.light .fund-story li::before, .fund.light .fund-k { color: var(--wood-ink); }
.fund.light .fund-donate .fund-k { color: var(--lime); }
.svc-tab { color: rgba(28, 78, 56, .8); }
.g-badge { color: var(--lime-soft); background: rgba(179, 211, 53, .2); }
.chat-note { color: var(--gs-neutro-700); opacity: 1; }
.q footer { color: rgba(28, 78, 56, .88); }
.top .btn-ghost:disabled { opacity: 1; }

/* Título principal: la frase local va dentro del h1, con el mismo aspecto de antes */
.h2-title .h2-kicker { display: block; margin: 0 0 var(--gs-space-4); line-height: 1.4; }

/* Menú del celular: cerrado, no se puede enfocar ni leer */
@media (max-width: 1240px) {
  .nav { visibility: hidden; transition: opacity var(--gs-duration-base) var(--gs-easing-exit), transform var(--gs-duration-base) var(--gs-easing-exit), visibility 0s linear var(--gs-duration-base); }
  .nav.open { visibility: visible; transition: opacity var(--gs-duration-base) var(--gs-easing-enter), transform var(--gs-duration-base) var(--gs-easing-enter), visibility 0s; }
}
main:focus { outline: none; }

/* Movimiento reducido: ninguna animación queda repitiéndose */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; }
}

/* Celular: espacio para que los botones flotantes no tapen el final de la página */
@media (max-width: 760px) { .foot { padding-bottom: 84px; } }

/* Reseñas: nombre del autor, tal como aparece en Google Maps */
.q footer .q-name { display: block; margin: var(--gs-space-1) 0 var(--gs-space-1); color: var(--pine); font-weight: 600; font-size: .95rem; }

/* Reseñas como tarjetas cuadradas (estilo publicación de Instagram).
   Las reseñas largas se recortan y se abren con «Leer reseña completa». */
.q-track { align-items: flex-start; flex: 0 0 auto; }
.q { flex: 0 0 clamp(250px, 24vw, 290px); aspect-ratio: 1 / 1; padding: 20px var(--gs-space-5) 20px; gap: var(--gs-space-3); justify-content: flex-start; overflow: hidden; }
.q p { flex: 0 0 auto; font-size: var(--gs-text-body); line-height: 1.5; padding-top: var(--gs-space-5); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.q p::before { top: -14px; font-size: 3.2rem; }
.q footer { padding-top: var(--gs-space-3); font-size: .8rem; line-height: 1.35; margin-top: auto; }
.q footer .q-name { font-size: .9rem; margin: var(--gs-space-1) 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-more { align-self: flex-start; display: inline-flex; align-items: center; min-height: var(--gs-space-touch); margin: -10px 0; background: none; border: 0; padding: 0; font: 600 var(--gs-text-small) var(--gs-font-body); color: var(--pine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.q-more:hover { color: var(--pine-soft); }
.q.open { aspect-ratio: auto; }
.q.open p { -webkit-line-clamp: unset; line-clamp: none; display: block; overflow: visible; }
@media (max-width: 560px) { .q { flex-basis: min(290px, 82vw); } }
.rev { align-items: start; }
.q.has-more:not(.open) p { -webkit-line-clamp: 5; line-clamp: 5; }

/* Insignia con el logo de Google Maps en el recuadro de puntuación */
.g-badge { display: inline-flex; align-items: center; gap: var(--gs-space-2); background: var(--gs-white); color: var(--pine); padding: var(--gs-space-2) var(--gs-space-4) var(--gs-space-2) var(--gs-space-3); font-size: var(--gs-text-small); }
.g-badge img { width: 17px; height: 24px; display: block; }

/* ===== Servicios: selector tipo rueda (como el selector de hora del iPhone) =====
   El servicio elegido queda al centro, en la banda; los demás giran sobre un cilindro y se desvanecen. */
.svc-list.wheel { --row: 58px; position: sticky; top: 96px; display: block; height: calc(var(--row) * 5); perspective: 900px; perspective-origin: 50% 50%; overflow: hidden; touch-action: pan-x; cursor: ns-resize; user-select: none;
  -webkit-mask-image: linear-gradient(transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 22%, #000 78%, transparent 100%); }
.svc-list.wheel::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--row); transform: translateY(-50%); border-radius: 14px; background: rgba(28, 78, 56, .07); border: 1px solid rgba(28, 78, 56, .22); pointer-events: none; }
.svc-list.wheel .svc-tab { position: absolute; left: 0; right: 0; top: 50%; height: var(--row); margin-top: calc(var(--row) / -2); display: flex; align-items: center; gap: 10px; padding: 0 18px; border: 0; border-radius: 14px; background: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.08rem; color: rgba(28, 78, 56, .8); backface-visibility: hidden; will-change: transform, opacity;
  transition: transform .6s cubic-bezier(.22, .8, .24, 1), opacity .6s ease, color .3s ease; }
.svc-list.wheel .svc-tab::before { display: none; }
.svc-list.wheel .svc-tab.on { color: var(--pine); padding-left: 18px; background: none; }
.svc-list.wheel .svc-tab:focus-visible { outline: 2px solid var(--pine); outline-offset: -2px; }
.svc-list.wheel .svc-hot::after { display: inline-block; flex: none; }
.svc-list.wheel.jump .svc-tab { transition: none; }
@media (max-width: 980px) {
  .svc-list.wheel { --row: 50px; position: relative; top: auto; height: calc(var(--row) * 5); margin-bottom: 8px; padding: 0; }
  .svc-list.wheel .svc-tab { font-size: 1rem; justify-content: center; }
  .svc-list.wheel .svc-hot::after { font-size: var(--gs-text-label); }
}
@media (prefers-reduced-motion: reduce) { .svc-list.wheel .svc-tab { transition: opacity .2s ease, color .2s ease; } }
.svc-list.wheel .svc-hot::after { font-size: var(--gs-text-label); padding: 3px 7px; margin-left: 4px; }

/* Barra de desplazamiento de la página: ancha, con pista clara y control verde oscuro, para ver siempre en qué parte del sitio estás */
::-webkit-scrollbar { width: 18px; height: 18px; }
::-webkit-scrollbar-track { background: var(--chalk); border-left: 1px solid var(--chalk-line); }
::-webkit-scrollbar-thumb { background: var(--pine); border: 4px solid var(--chalk); border-radius: 999px; min-height: 64px; }
::-webkit-scrollbar-thumb:hover { background: var(--pine-soft); }
::-webkit-scrollbar-corner { background: var(--chalk); }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: auto; scrollbar-color: var(--pine) var(--chalk); } }

/* Asistente IA: consola (animaciones pendientes de decisión del dueño). Colores pasados a tokens v4.0:
   bosque-700 · lima-400 · neutro-100 · neutro-700 · neutro-500 (antes #244C34, #A1C926, #4C4C54, Alerce, obsoletos) */
.chat { --bosque: var(--gs-bosque-700); --brote: var(--gs-lima-400); --lago: var(--gs-neutro-100); --volcan: var(--gs-neutro-700); --alerce: var(--gs-neutro-500); position: sticky; background: var(--lago); color: var(--bosque); border-radius: var(--gs-radius-lg); overflow: hidden; box-shadow: 0 0 0 2px var(--brote), 0 40px 80px -30px rgba(12, 40, 28, .7), 0 0 80px -12px rgba(179, 211, 53, .55); isolation: isolate; }
.chat::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(28, 78, 56, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 78, 56, .07) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(95% 85% at 50% 45%, #000, transparent); mask-image: radial-gradient(95% 85% at 50% 45%, #000, transparent); }
.chat::after { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(179, 211, 53, .16), transparent); animation: hud-sweep 7s linear infinite; }
@keyframes hud-sweep { to { top: 110%; } }
.hud-c { position: absolute; width: 16px; height: 16px; z-index: 2; pointer-events: none; border: 0 solid var(--alerce); opacity: .9; }
.hud-tl { left: 8px; top: 8px; border-width: 2px 0 0 2px; } .hud-tr { right: 8px; top: 8px; border-width: 2px 2px 0 0; }
.hud-bl { left: 8px; bottom: 8px; border-width: 0 0 2px 2px; } .hud-br { right: 8px; bottom: 8px; border-width: 0 2px 2px 0; }
.chat-bar { position: relative; z-index: 1; gap: var(--gs-space-4); padding: 20px var(--gs-space-6) var(--gs-space-4) var(--gs-space-5); border-bottom: 2px solid var(--brote); background: var(--gs-white); }
.reactor { width: 42px; height: 42px; flex: none; fill: none; stroke: var(--bosque); stroke-width: 1.6; }
.reactor .r1 { stroke: var(--alerce); stroke-dasharray: 4 5; transform-origin: 24px 24px; animation: spin 14s linear infinite; }
.reactor .r2 { opacity: .35; } .reactor .r3 { stroke: var(--bosque); stroke-width: 2.6; stroke-linecap: round; transform-origin: 24px 24px; animation: spin 6s linear infinite reverse; }
.reactor .core { fill: var(--brote); stroke: var(--bosque); stroke-width: 1.4; transform-origin: 24px 24px; animation: core 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes core { 50% { transform: scale(1.25); } }
.chat.talk .reactor .r3 { animation-duration: 1.6s; } .chat.talk .reactor .core { animation-duration: .7s; }
.chat-ttl { display: grid; gap: var(--gs-space-1); min-width: 0; }
.chat-ttl strong { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; color: var(--bosque); }
.chat-st { display: flex; align-items: center; gap: var(--gs-space-2); font: 600 var(--gs-text-label) var(--gs-font-body); letter-spacing: var(--gs-tracking-label); text-transform: uppercase; color: var(--volcan); }
.chat-st em { font-style: normal; }
.chat-st .chat-live { width: 8px; height: 8px; background: var(--brote); box-shadow: 0 0 0 2px rgba(179, 211, 53, .35); animation: hud-blink 1.6s ease-in-out infinite; }
@keyframes hud-blink { 50% { opacity: .4; } }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; margin-left: auto; opacity: .4; transition: opacity .3s; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--bosque); }
.chat.talk .wave { opacity: 1; } .chat.talk .wave i { animation: wave .8s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .22s; } .wave i:nth-child(4) { animation-delay: .34s; } .wave i:nth-child(5) { animation-delay: .46s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 20px; } }
.chat .chat-who { margin-left: 0; padding: 0; background: none; }
.chat .chat-who img { width: 56px; }
.chat-body { position: relative; z-index: 1; }
.chat .msg-l { color: var(--volcan); font: 600 var(--gs-text-label) var(--gs-font-body); letter-spacing: .04em; text-transform: uppercase; }
.chat .msg-l img { width: 40px; padding: 0; background: none; border-radius: 0; }
.chat .msg-l svg { background: var(--bosque); fill: var(--brote); }
.chat .msg.me p { background: var(--gs-white); border: 1px solid var(--chalk-line); color: var(--volcan); border-bottom-right-radius: 4px; }
.chat .msg.tec p { background: rgba(179, 211, 53, .2); border: 1px solid rgba(179, 211, 53, .45); color: var(--bosque); border-bottom-left-radius: 4px; }
.chat .msg.ai p { background: var(--bosque); color: var(--lago); border: 0; border-bottom-left-radius: 4px; box-shadow: 0 0 0 2px var(--brote), 0 0 22px -4px rgba(179, 211, 53, .7); }
.scan { margin-top: var(--gs-space-3); display: grid; gap: var(--gs-space-2); padding: var(--gs-space-3) var(--gs-space-4); border-radius: var(--gs-radius-md); background: var(--gs-white); border: 1.5px dashed var(--alerce); }
.scan[hidden] { display: none; }
.scan-r { display: grid; grid-template-columns: 1fr auto; gap: var(--gs-space-1) var(--gs-space-3); font: 500 var(--gs-text-label) var(--gs-font-body); letter-spacing: .01em; color: var(--volcan); }
.scan-r b { font-weight: 600; color: var(--bosque); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .4s 1.2s; }
.scan-r u { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: rgba(28, 78, 56, .12); position: relative; overflow: hidden; text-decoration: none; }
.scan-r u::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--bosque), var(--brote)); transition: width 1.2s cubic-bezier(.2, .7, .1, 1); }
.scan.on .scan-r u::after { width: var(--v); } .scan.on .scan-r b { opacity: 1; }
.scan-r:nth-child(2) u::after { transition-delay: .35s; } .scan-r:nth-child(2) b { transition-delay: 1.55s; }
.chat .typing { background: var(--gs-white); border-color: var(--chalk-line); }
.chat .typing i { background: var(--volcan); }
.chat .typing.tec { background: rgba(179, 211, 53, .2); border-color: rgba(179, 211, 53, .45); }
.chat .typing.ai { background: var(--bosque); border-color: var(--brote); box-shadow: 0 0 0 1px var(--brote); }
.chat .typing.ai i { background: var(--brote); }
.chat .typing em { display: none; font: 600 var(--gs-text-label) var(--gs-font-body); letter-spacing: var(--gs-tracking-label); text-transform: uppercase; color: var(--brote); margin-left: var(--gs-space-1); font-style: normal; }
.chat .typing.ai em { display: inline; }
.chat .chat-note { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--gs-space-3); color: var(--volcan); opacity: 1; font: 500 var(--gs-text-label)/var(--gs-leading-caption) var(--gs-font-body); letter-spacing: .01em; padding: var(--gs-space-3) 36px var(--gs-space-5) var(--gs-space-5); }
.chat-replay { display: inline-flex; align-items: center; gap: var(--gs-space-2); font: 600 var(--gs-text-label) var(--gs-font-body); letter-spacing: var(--gs-tracking-label); text-transform: uppercase; color: var(--bosque); background: transparent; border: 1.5px solid var(--bosque); border-radius: var(--gs-button-radius); padding: 0 var(--gs-space-4); min-height: var(--gs-space-touch); white-space: nowrap; transition: background-color var(--gs-duration-fast) var(--gs-easing-standard), color var(--gs-duration-fast) var(--gs-easing-standard); }
.chat-replay svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-replay:hover { background: var(--bosque); color: var(--brote); }
.chat-replay[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .chat::after, .reactor .r1, .reactor .r3, .reactor .core, .wave i { animation: none !important; } }
@media (max-width: 520px) { .chat .chat-ttl strong { font-size: .95rem; } .wave { display: none; } .chat .chat-who { margin-left: auto; } .chat .chat-who img { width: 48px; } .scan-r { font-size: var(--gs-text-label); } }

/* Botón flotante de WhatsApp: bosque-700 con detalles lima-400 (halo pendiente de decisión del dueño) */
.wa-float { background: var(--gs-bosque-700); color: var(--gs-neutro-100); border: 2px solid var(--gs-lima-400); padding: var(--gs-space-2) 20px var(--gs-space-2) var(--gs-space-2); gap: var(--gs-space-3); letter-spacing: .01em; box-shadow: 0 14px 30px -10px rgba(12, 40, 28, .55), 0 0 0 0 rgba(179, 211, 53, .55); animation: wa-ring 3.2s ease-out infinite; transition: transform var(--gs-duration-fast) var(--gs-easing-standard), background-color var(--gs-duration-fast) var(--gs-easing-standard), color var(--gs-duration-fast) var(--gs-easing-standard); }
.wa-float svg { width: 38px; height: 38px; padding: var(--gs-space-2); border-radius: 50%; background: var(--gs-lima-400); stroke: var(--gs-bosque-700); flex: none; }
.wa-float:hover { background: var(--gs-lima-400); color: var(--gs-bosque-700); animation-play-state: paused; }
.wa-float:hover svg { background: var(--gs-bosque-700); stroke: var(--gs-lima-400); }
@keyframes wa-ring { 0% { box-shadow: 0 14px 30px -10px rgba(12, 40, 28, .55), 0 0 0 0 rgba(179, 211, 53, .55); } 70%, 100% { box-shadow: 0 14px 30px -10px rgba(12, 40, 28, .55), 0 0 0 16px rgba(179, 211, 53, 0); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
@media (max-width: 560px) { .wa-float { border-radius: var(--gs-radius-pill); padding: var(--gs-space-2); gap: 0; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float svg { width: 44px; height: 44px; } }

/* Consulta de orden: ventana propia que muestra la consulta pública del sistema de talleres */
.orden-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 30, 22, .6); }
.orden-modal[hidden] { display: none; }
.orden-modal-caja { position: relative; width: min(520px, 100%); height: min(600px, 90vh); display: flex; flex-direction: column; background: var(--chalk, #fff); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.orden-modal-cab { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--chalk-line, #ddd); }
.orden-modal-cab h2 { margin: 0; font-size: 1.1rem; color: var(--pine); }
.orden-modal-cerrar { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--pine); padding: 4px 8px; }
.orden-modal-frame { flex: 1; width: 100%; border: 0; background: #fff; }
body.orden-abierta { overflow: hidden; }
