/* Kolumbus Ingeniería: "Memoria técnica". Papel claro, verde olivo y grafito. */
:root {
  --paper: #F6F7F2;
  --paper-2: #ECEEE6;
  --sheet: #FBFCF8;
  --rule: #C9CFC4;
  --graphite: #2F3437;
  --ink-2: #4A5054;
  --olive: #7A9A2E;
  --olive-ink: #566F1C;
  --olive-tint: #DDE6C4;
  --slate: #6B7378;
  --on-dark: #E7EADF;
  --olive-on-dark: #B4CC73;
  --r: 2px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --head: 68px;
  --f-sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--graphite);
  font-family: var(--f-sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: var(--r); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.skip { position: absolute; left: 12px; top: -60px; background: var(--graphite); color: var(--paper); padding: 10px 14px; border-radius: var(--r); z-index: 100; transition: top .15s; }
.skip:focus { top: 8px; }
.mono { font-family: var(--f-mono); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  font: 600 1rem/1.2 var(--f-sans); border-radius: var(--r); text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--graphite); cursor: pointer;
  transition: transform .16s var(--ease), background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--graphite); color: var(--paper); }
.btn--line { background: transparent; color: var(--graphite); }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--olive-ink); border-color: var(--olive-ink); }
  .btn--line:hover { background: var(--graphite); color: var(--paper); }
}

/* ---------- Cabecera ---------- */
.top { position: sticky; top: 0; z-index: 40; height: var(--head); background: var(--paper); border-bottom: 1px solid var(--rule); }
.top__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 76px; height: auto; }
.brand__t { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.015em; }
.top__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--olive); transform: scaleX(0); transform-origin: 0 50%; }

.nav { display: none; }
.nav a { font: 500 0.875rem/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; padding: 14px 4px; display: inline-flex; align-items: center; min-height: 44px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 8px; height: 1.5px; background: var(--olive); transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }

.menu-btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1.5px solid var(--graphite); border-radius: var(--r); cursor: pointer; color: var(--graphite); transition: transform .16s var(--ease); }
.menu-btn:active { transform: scale(0.95); }
.menu-btn__bars { position: relative; width: 20px; height: 12px; }
.menu-btn__bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .22s var(--ease); }
.menu-btn__bars i:first-child { top: 0; }
.menu-btn__bars i:last-child { bottom: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav.is-open { display: flex; flex-direction: column; position: absolute; top: var(--head); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px 16px 20px; box-shadow: 0 18px 30px -22px rgba(47,52,55,.45); }
  .nav.is-open a { font-size: 1rem; padding: 14px 4px; border-bottom: 1px solid var(--rule); width: 100%; }
}
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 22px; }
}

/* ---------- Obra: hero y especialidades comparten un solo edificio ---------- */
h2 { font-weight: 700; font-size: clamp(1.75rem, 4.6vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.obra { padding: 0 0 56px; border-bottom: 1px solid var(--rule); --sheet-h: 360px; }
.obra__flow { display: flex; flex-direction: column; }

.obra__fig { position: sticky; top: var(--head); z-index: 5; margin-inline: -16px; padding: 12px 16px 12px; background: var(--paper); }
.fig { position: relative; display: grid; gap: 4px; }
.regla { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.regla button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 4px; background: transparent; border: 0; border-bottom: 3px solid var(--rule); font: 500 0.9375rem/1 var(--f-mono); color: var(--ink-2); cursor: pointer; transition: color .16s, border-color .16s, transform .16s var(--ease); }
.regla button:active { transform: scale(0.97); }
.regla button .t { display: none; }
.regla button[aria-current="step"] { color: var(--graphite); border-bottom-color: var(--olive); font-weight: 700; }

.fig__draw {
  position: relative; height: clamp(190px, 27svh, 300px); overflow: hidden;
  background-color: var(--sheet);
  background-image:
    linear-gradient(to right, rgba(122,154,46,.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(122,154,46,.16) 1px, transparent 1px),
    linear-gradient(to right, rgba(47,52,55,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47,52,55,.07) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  border: 1.5px solid var(--graphite);
}
.fig__draw::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(47,52,55,.5); pointer-events: none; }
.reg { position: absolute; width: 12px; height: 12px; border: 0 solid var(--graphite); z-index: 2; }
.reg--a { left: 10px; top: 10px; border-left-width: 1.5px; border-top-width: 1.5px; }
.reg--b { right: 10px; top: 10px; border-right-width: 1.5px; border-top-width: 1.5px; }
.reg--c { left: 10px; bottom: 10px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.reg--d { right: 10px; bottom: 10px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.iso--main { width: 100%; height: 100%; }
.fig__draw figcaption { position: absolute; left: 20px; top: 16px; z-index: 2; font: 500 0.875rem/1.3 var(--f-mono); color: var(--graphite); }
.ficha { display: none; }

.hero__copy { padding: 26px 0 8px; }
.hero__h1 { font-weight: 700; font-size: clamp(2.2rem, 9vw, 4.2rem); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
.hero__h1 .ln { display: block; }
.hero__p { margin-top: 16px; max-width: 36ch; font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); }
.hero__cta { margin-top: 22px; display: flex; gap: 10px; max-width: 520px; }
.hero__cta .btn { padding-inline: 14px; }
.hero__cta .btn--solid { flex: 1.5 1 0; }
.hero__cta .btn--line { flex: 1 1 0; }
.btn__long { display: none; }

.obra__head { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); max-width: 40ch; }
.obra__head p { margin-top: 12px; color: var(--ink-2); font-size: 1.0625rem; max-width: 52ch; }

.etapa { padding: 30px 0 26px; border-top: 1px solid var(--rule); }
.obra__stages .etapa:first-child { margin-top: 28px; }
.etapa h3 { display: flex; align-items: baseline; gap: 14px; font-weight: 700; font-size: clamp(1.5rem, 4.4vw, 2rem); letter-spacing: -0.025em; line-height: 1.1; }
.etapa__n { font: 500 1rem/1 var(--f-mono); color: var(--olive-ink); letter-spacing: .02em; }
.etapa__lead { margin-top: 8px; max-width: 42ch; color: var(--ink-2); font-size: 1.0625rem; }
.etapa--last { min-height: 62svh; }

.planos { margin-top: 14px; display: grid; grid-template-columns: 1fr; }
.plano { display: grid; grid-template-columns: 3.5rem 1fr; gap: 10px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--rule); }
.plano:first-child { border-top: 0; }
.plano__k { font: 500 0.9375rem/1.4 var(--f-mono); color: var(--olive-ink); }
.plano__t { font-weight: 600; font-size: 1rem; line-height: 1.4; }

@media (min-width: 720px) and (max-width: 899px) { .obra__fig { margin-inline: -32px; padding-inline: 32px; } }
@media (min-width: 900px) {
  .obra { padding-bottom: 72px; }
  .obra__fig { margin: 0; padding: 18px 0 14px; }
  .fig { grid-template-columns: 156px minmax(0, 1fr); gap: 16px; align-items: stretch; }
  .regla { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 0; border-left: 1.5px solid var(--rule); }
  .regla button { justify-content: flex-start; padding: 0 0 0 16px; border-bottom: 0; border-left: 3px solid transparent; margin-left: -1.5px; }
  .regla button .t { display: inline; font-family: var(--f-sans); font-weight: 600; }
  .regla button[aria-current="step"] { border-left-color: var(--olive); }
  .fig__draw { height: clamp(300px, 42svh, 420px); }
  .fig__draw figcaption { left: 24px; top: 20px; }
  .ficha { display: block; position: absolute; right: 14px; bottom: 14px; width: 250px; z-index: 3; }
  .ficha > div { padding: 8px 12px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 8.2rem 1fr; gap: 8px; align-items: baseline; background: var(--sheet); border-inline: 1.5px solid var(--graphite); }
  .ficha > div:first-child { border-top: 1.5px solid var(--graphite); }
  .ficha > div:last-child { border-bottom: 1.5px solid var(--graphite); }
  .ficha dt { font: 500 0.875rem/1.2 var(--f-mono); letter-spacing: .03em; text-transform: uppercase; color: var(--olive-ink); }
  .ficha dd { margin: 0; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }

  .hero__copy { padding: 36px 0 8px; max-width: 880px; }
  .hero__h1 { font-size: clamp(2.8rem, 4.8vw, 4.4rem); }
  .hero__h1 .ln { display: inline; }
  .hero__p { font-size: 1.25rem; max-width: 44ch; }
  .hero__cta { margin-top: 24px; gap: 12px; max-width: none; }
  .hero__cta .btn { padding-inline: 22px; }
  .hero__cta .btn--solid, .hero__cta .btn--line { flex: 0 0 auto; }
  .btn__long { display: inline; }
  .btn__short { display: none; }

  .obra__head { margin-top: 72px; padding-top: 40px; max-width: 36ch; }
  .etapa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 56px; padding: 40px 0 34px; min-height: 34svh; }
  .planos { margin-top: 0; grid-template-columns: 1fr 1fr; column-gap: 40px; align-content: start; }
  .plano:nth-child(2) { border-top: 0; }
  .obra__stages .etapa:first-child { margin-top: 36px; }
}

/* ---------- Isométrico: estilos de trazo ---------- */
.iso path { fill: none; stroke: var(--graphite); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.iso .ft { fill: var(--sheet); }
.iso .fr { fill: #DCE1D2; }
.iso .fl { fill: var(--rule); }
.iso .terr.ft { fill: #E9ECDF; }
.iso .terr.fr { fill: #CBD1BE; }
.iso .terr.fl { fill: #B9C1A8; }
.iso .strat { stroke: var(--graphite); stroke-width: .6; opacity: .45; }
.iso .grid { stroke: var(--olive); stroke-width: .7; stroke-dasharray: 2 4; opacity: .8; }
.iso .pad.ft { fill: var(--olive-tint); }
.iso .pad.fr, .iso .pad.fl { fill: #B7C98B; }
.iso .stake { stroke-width: 1.4; }
.iso .flag { fill: var(--olive); stroke: var(--olive-ink); stroke-width: .8; }
.iso .col.ft { fill: var(--sheet); }
.iso .slab.ft { fill: #EEF1E6; }
.iso .slab.fr { fill: #CFD5C3; }
.iso .brace { stroke: var(--graphite); stroke-width: 1.2; opacity: .75; }
.iso .e-line { stroke: var(--olive); stroke-width: 2.6; }
.iso .e-node { fill: var(--olive); stroke: var(--olive-ink); stroke-width: .8; }
.iso .h-line { stroke: var(--graphite); stroke-width: 2.4; stroke-dasharray: 7 4; }
.iso .duct.ft { fill: #B7BEC1; }
.iso .duct.fr { fill: var(--slate); }
.iso .duct.fl { fill: #8C9498; }
.iso .fan { fill: var(--sheet); stroke: var(--graphite); stroke-width: 1; }
.iso .fin { stroke: var(--graphite); stroke-width: .9; }
.iso .wall-r { fill: #DCE1D2; fill-opacity: .86; stroke: var(--graphite); }
.iso .wall-l { fill: #CBD1BE; fill-opacity: .86; stroke: var(--graphite); }
.iso .floor-line { stroke: var(--graphite); stroke-width: 1.1; opacity: .6; }
.iso .paint { fill: var(--olive); stroke: var(--olive-ink); stroke-width: .6; }
.iso .win { fill: var(--sheet); stroke: var(--olive-ink); stroke-width: 1; }
.iso .door { fill: var(--graphite); }
.iso .par.ft { fill: #EEF1E6; }
.iso .par.fr { fill: #CFD5C3; }
.iso .par.fl { fill: #B9C1A8; }
.iso .ext { stroke: var(--olive-ink); stroke-width: .8; stroke-dasharray: 3 3; }
.iso .cota { stroke: var(--olive-ink); stroke-width: 1.3; }
.iso .cota-a { fill: var(--olive-ink); stroke: var(--olive-ink); stroke-width: .6; }
.iso .cota-t { font: 500 17px var(--f-mono); fill: var(--olive-ink); }
.iso .layer { transition: opacity .28s ease-out, transform .6s cubic-bezier(.3,1.3,.6,1); }
.iso--hero path.ft, .iso--hero path.fr, .iso--hero path.fl { transition: fill-opacity .5s ease-out; }
.iso--hero.pre path.ft, .iso--hero.pre path.fr, .iso--hero.pre path.fl { fill-opacity: 0; }
@media (prefers-reduced-motion: reduce) { .iso .layer { transition: opacity .15s linear; } }
/* versión de líneas (hero) */
.iso.wire .ft, .iso.wire .fr, .iso.wire .fl { fill: var(--sheet); stroke-width: .9; }
.iso.wire .terr { stroke: var(--slate); }
.iso.wire .col, .iso.wire .slab { stroke: var(--graphite); }
.iso.wire .duct { stroke: var(--slate); }
.iso.wire .fan { fill: var(--sheet); }

/* ---------- Planta ---------- */
.planta { padding: 80px 0 88px; }
.planta__p { margin-top: 14px; max-width: 52ch; color: var(--ink-2); font-size: 1.0625rem; }
.planta__bar { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.sw { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; background: var(--sheet); border: 1.5px solid var(--rule); border-radius: var(--r); font: 600 0.9375rem/1.2 var(--f-sans); color: var(--graphite); cursor: pointer; transition: border-color .16s, background-color .16s, color .16s, transform .16s var(--ease); }
.sw:active { transform: scale(0.97); }
.sw[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .sw[aria-pressed="false"]:hover { border-color: var(--graphite); } }
.sw__k { width: 22px; height: 0; border-top: 3px solid var(--graphite); flex: none; }
.sw__k--e { border-top-color: var(--olive); }
.sw__k--h { border-top-style: dashed; border-top-color: var(--graphite); }
.sw__k--a { height: 9px; border: 2px solid var(--slate); border-radius: 1px; background: var(--sheet); }
.sw__k--todas { border-top: 0; height: 12px; background: linear-gradient(var(--olive) 0 33%, transparent 33% 66%, var(--slate) 66%); background-size: 100% 100%; }
.sw[aria-pressed="true"] .sw__k--h { border-top-color: var(--paper); }
.sw[aria-pressed="true"] .sw__k--todas { background: linear-gradient(var(--olive-on-dark) 0 33%, transparent 33% 66%, #B7BEC1 66%); }
.sw[aria-pressed="true"] .sw__k--a { background: transparent; border-color: #B7BEC1; }

.plano-fig { margin-top: 20px; background-color: var(--sheet); border: 1.5px solid var(--graphite);
  background-image:
    linear-gradient(to right, rgba(122,154,46,.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(122,154,46,.14) 1px, transparent 1px),
    linear-gradient(to right, rgba(47,52,55,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47,52,55,.06) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; }
.plan { width: 100%; height: auto; }
.plano-fig__cap { padding: 12px 16px; border-top: 1px solid var(--graphite); background: var(--sheet); font: 400 0.875rem/1.5 var(--f-mono); color: var(--ink-2); }
.plan .muros path { fill: none; stroke: var(--graphite); stroke-width: 9; stroke-linecap: square; }
.plan .rooms text { font: 500 13px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; fill: var(--ink-2); }
.plan path, .plan rect, .plan circle { vector-effect: none; }
.plan .e-run { fill: none; stroke: var(--olive); stroke-width: 2.4; }
.plan .e-lamp { fill: var(--sheet); stroke: var(--olive-ink); stroke-width: 2; }
.plan .e-lamp-x { fill: none; stroke: var(--olive-ink); stroke-width: 1.6; }
.plan .e-panel { fill: var(--olive); stroke: var(--olive-ink); stroke-width: 1.4; }
.plan .e-out { fill: var(--olive-ink); }
.plan .h-sup { fill: none; stroke: var(--graphite); stroke-width: 3; stroke-linejoin: round; }
.plan .h-drn { fill: none; stroke: var(--graphite); stroke-width: 2.2; stroke-dasharray: 8 5; }
.plan .h-gas { fill: none; stroke: var(--graphite); stroke-width: 3.4; stroke-dasharray: 12 5 3 5; }
.plan .h-sink, .plan .h-fix { fill: var(--sheet); stroke: var(--graphite); stroke-width: 2.2; }
.plan .a-unit { fill: var(--slate); stroke: var(--graphite); stroke-width: 1.5; }
.plan .a-duct-o { fill: none; stroke: var(--slate); stroke-width: 22; stroke-linejoin: miter; }
.plan .a-duct-i { fill: none; stroke: var(--sheet); stroke-width: 16; stroke-linejoin: miter; }
.plan .a-dif { fill: var(--sheet); stroke: var(--slate); stroke-width: 2.4; }
.plan .a-dif-x { fill: none; stroke: var(--slate); stroke-width: 1.8; }
.plan [data-capa-g] { transition: none; }
@media (max-width: 719px) { .plan .rooms text { font-size: 20px; } }

/* ---------- Empresa ---------- */
.empresa { padding: 64px 0; background: var(--graphite); color: var(--on-dark); }
.empresa__grid { display: grid; gap: 18px; align-items: start; }
.empresa h2 { color: #fff; }
.empresa__txt p { max-width: 56ch; font-size: 1.125rem; line-height: 1.6; color: #D3D8CB; margin-top: 18px; }
@media (min-width: 900px) {
  .empresa { padding: 88px 0; }
  .empresa__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .empresa__txt p { margin-top: 0; padding-top: 6px; }
}

/* ---------- Contacto ---------- */
.tblock dl { display: grid; border: 1.5px solid var(--graphite); background: var(--sheet); }
.tblock dl > div { padding: 10px 14px; border-top: 1px solid var(--rule); min-width: 0; }
.tblock dt { font: 500 0.875rem/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--olive-ink); }
.tblock dd { margin-top: 3px; font-weight: 600; font-size: 0.9375rem; line-height: 1.35; overflow-wrap: anywhere; }
.contacto { padding: 80px 0 96px; }
.contacto__grid { display: grid; gap: 48px; }
.contacto__p { margin-top: 14px; max-width: 50ch; color: var(--ink-2); font-size: 1.0625rem; }
form { margin-top: 28px; display: grid; gap: 18px; max-width: 560px; }
.fld { display: grid; gap: 6px; }
.fld label { font: 500 0.9375rem/1.3 var(--f-mono); letter-spacing: .02em; color: var(--graphite); }
input[type="text"], input[type="tel"], textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--sheet); color: var(--graphite);
  border: 1.5px solid var(--graphite); border-radius: var(--r); font: 400 1rem/1.4 var(--f-sans);
  transition: border-color .16s, box-shadow .16s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.fld[data-bad] input, .fld[data-bad] textarea { border-color: #A3341F; }
.err { min-height: 0; font-size: 0.9375rem; line-height: 1.35; color: #A3341F; }
.err:empty { display: none; }
.fld--check { grid-template-columns: 24px 1fr; align-items: start; column-gap: 12px; }
.fld--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--olive-ink); }
.fld--check label { font: 400 0.9375rem/1.5 var(--f-sans); }
.fld--check .err { grid-column: 2; }
form .btn { justify-self: start; }
.form-status { font-size: 0.9375rem; color: var(--olive-ink); font-weight: 600; min-height: 1.4em; }

.contacto__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.tblock--big h3 { font: 500 0.875rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 12px 14px; background: var(--graphite); color: var(--paper); border: 1.5px solid var(--graphite); border-bottom: 0; }
.tblock--big dl { grid-template-columns: 1fr; }
.tblock--big dl > div { border-top: 1px solid var(--rule) !important; border-right: 0 !important; display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; align-items: baseline; }
.tblock--big dl > div:first-child { border-top: 0 !important; }
.tblock--big dd { margin: 0; font-size: 1rem; }
.tblock--big dd a { text-decoration-color: var(--olive); }
@media (max-width: 479px) { .tblock--big dl > div { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 960px) { .contacto { padding: 112px 0 120px; } .contacto__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: start; } }

/* ---------- Pie ---------- */
.foot { background: #25292B; color: var(--on-dark); padding: 48px 0 24px; }
.foot__grid { display: grid; gap: 28px; align-items: start; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__logo { width: 84px; height: auto; flex: none; }
.foot__name { font-weight: 700; font-size: 1.15rem; color: #fff; letter-spacing: -0.01em; }
.foot__rs { font-weight: 700; color: #fff; }
.foot__id p { font-size: 0.9375rem; line-height: 1.6; color: #D3D8CB; }
.foot__links { display: grid; gap: 4px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; text-decoration-color: var(--olive-on-dark); }
.foot__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid #454B4E; }
.foot__legal p { font: 400 0.875rem/1.5 var(--f-mono); color: #B5BBAF; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 300px 1fr auto; gap: 48px; } }

/* ---------- Página interior (aviso) ---------- */
.legal { padding: 64px 0 96px; }
.legal h1 { font-weight: 700; font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.08; }
.legal__rs { margin-top: 14px; font: 500 0.9375rem/1.4 var(--f-mono); color: var(--olive-ink); letter-spacing: .02em; }
.legal__box { margin-top: 32px; max-width: 68ch; padding: 24px; background: var(--sheet); border: 1.5px solid var(--graphite); font-size: 1.0625rem; }
.legal .btn { margin-top: 32px; }

/* ---------- Movimiento: estados iniciales (solo con JS) ---------- */
@media (prefers-reduced-motion: reduce) {
  .top__bar { display: none; }
  .btn, .plano, .sw, .menu-btn { transition-property: color, background-color, border-color; }
  .btn:active, .sw:active, .menu-btn:active, .regla button:active { transform: none; }
  .plano:hover { transform: none !important; }
}

button, input, select, textarea { font: inherit; }
.nota { margin-top: 12px; font: 400 0.875rem/1.5 var(--f-mono); color: var(--ink-2); }
.obra__head, .etapa { scroll-margin-top: calc(var(--sheet-h) + var(--head) + 16px); }
