/* Cimbra — arquitectura y construcción (web de concepto de Arkevo)
   Gris cálido, negro de obra y un único naranja. Schibsted Grotesk. */

:root {
  --bg: #F2F1EE;
  --paper: #FFFFFF;
  --card: #E7E5E0;
  --ink: #121211;
  --ink-2: #3C3B38;
  --mute: #75736D;
  --line: rgba(18, 18, 17, .12);
  --dark: #111110;
  --dark-2: #1A1A18;
  --dline: rgba(255, 255, 255, .12);
  --orange: #E4572E;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --m: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
sup { font-size: .32em; vertical-align: top; position: relative; top: .32em; margin-left: .04em; font-weight: 500; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }

.wrap { width: 100%; padding-inline: var(--m); }

/* etiqueta pequeña (fichas, artículos): línea naranja + texto */
.tag { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.tag::before { content: ""; width: 22px; height: 1px; background: var(--orange); }
.tag--dark { color: #fff; }

.h2 { margin: 0; font-weight: 600; font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: -.032em; }

/* cabecera de sección: regla superior, número + línea, titular y texto en columnas */
.sh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px var(--m); align-items: start; padding-top: 16px; margin-bottom: clamp(36px, 5vw, 72px); border-top: 1px solid var(--line); }
.sh__n { grid-column: 1 / 4; display: flex; align-items: center; margin: 0; font-size: 13px; font-weight: 500; }
.sh__n span { display: inline-flex; align-items: center; color: var(--orange); font-variant-numeric: tabular-nums; }
.sh__n span::after { content: ""; width: 28px; height: 1px; margin: 0 10px; background: currentColor; opacity: .7; }
.sh__t { grid-column: 4 / 9; margin: 0; font-weight: 600; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.032em; text-wrap: balance; }
.sh__t:last-child { grid-column: 4 / 13; }
.sh__d { grid-column: 9 / 13; margin: 0; padding-top: 6px; color: var(--mute); font-size: 16px; line-height: 1.5; }
.sh__d a:not(.ulink) { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--orange); }
.sh__d .ulink { margin-left: 8px; color: var(--ink); }
.sh--dark { border-top-color: var(--dline); }
.sh--dark .sh__n { color: #fff; }
.sh--dark .sh__d { color: rgba(255,255,255,.62); }
@media (max-width: 860px) {
  .sh { grid-template-columns: 1fr; }
  .sh__n, .sh__t, .sh__t:last-child, .sh__d { grid-column: 1; }
  .sh__d { padding-top: 0; }
}

/* botón */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 22px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .45s var(--ease), color .45s var(--ease); }
.btn i { font-style: normal; transition: transform .6s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #C9461F; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--orange); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--orange); color: #fff; }

.ulink { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.ulink i { font-style: normal; transition: transform .6s var(--ease-out); }
.ulink:hover i { transform: translateX(5px); }
.ulink--light { color: #fff; }

/* ---------- Cargador: el arco se dibuja sobre su cimbra ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--paper); pointer-events: none; }
.intro__fig { position: absolute; left: 50%; top: 50%; width: min(300px, 62vw); transform: translate(-50%, -56%); text-align: center; transition: opacity .5s var(--ease); }
.intro__arch { display: block; width: 100%; overflow: visible; }
.intro__arch path { vector-effect: non-scaling-stroke; }
.intro__ribs { stroke: #B9B6AE; stroke-width: 1; opacity: 0; animation: fade .6s var(--ease) .1s forwards; }
.intro__curve { stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.25s var(--ease-io) .3s forwards; }
.intro__key { fill: var(--orange); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: key .5s var(--ease-out) 1.4s forwards; }
.intro__name { margin: 18px 0 0; font-weight: 700; font-size: 22px; letter-spacing: -.03em; opacity: 0; animation: fade .6s var(--ease) .5s forwards; }
.intro__count { position: absolute; right: var(--m); bottom: 16px; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; transition: opacity .5s var(--ease); }
.intro__count b { color: var(--ink); font-weight: 500; }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes key { to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; } }
/* ventana: la primera foto de la portada crece desde el centro hasta ocupar la pantalla */
.intro__win { position: absolute; inset: 0; z-index: 1; clip-path: inset(50% 50% 50% 50%); transition: clip-path 1.25s var(--ease-io); }
.intro__win img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-io); }
.intro.is-open .intro__win { clip-path: inset(36% 40% 30% 40%); transition-duration: .7s; }
.intro.is-full .intro__win { clip-path: inset(0 0 0 0); }
.intro.is-full .intro__win img { transform: none; }
.intro.is-full .intro__fig, .intro.is-full .intro__count { opacity: 0; transition: opacity .6s var(--ease) .3s; }
.intro.is-done { opacity: 0; transition: opacity .4s var(--ease); }
.no-intro .intro, html:not(.js) .intro { display: none; }

/* ---------- Cabecera ---------- */
.hd { position: fixed; z-index: 100; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--m); color: #fff; mix-blend-mode: difference; }
.hd.is-open { mix-blend-mode: normal; }
.hd__brand { font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.hd__mid { font-size: 12.5px; opacity: .85; }
.hd__r { justify-self: end; display: flex; align-items: center; gap: 22px; }
.hd__lang { font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 4px 0; border-bottom: 1px solid currentColor; }
.hd__menu { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 14px; font-weight: 500; }
.hd__ico { position: relative; width: 16px; height: 16px; border: 1.2px solid currentColor; }
.hd__ico::before, .hd__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.hd__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.hd.is-open .hd__ico::before { transform: translate(-50%, -50%) rotate(45deg); }
.hd.is-open .hd__ico::after { transform: translate(-50%, -50%) rotate(135deg); }
.menu { position: absolute; top: 0; right: var(--m); width: min(360px, calc(100vw - 2 * var(--m))); padding: 56px 22px 22px; background: var(--dark); color: #fff; z-index: -1; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); }
.menu[hidden] { display: block; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { overflow: hidden; }
.menu li a { display: block; padding: 3px 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; transform: translateY(100%); transition: transform .7s var(--ease-out), color .3s; }
.menu.is-open li a { transform: none; }
.menu li:nth-child(2) a { transition-delay: .04s; } .menu li:nth-child(3) a { transition-delay: .08s; } .menu li:nth-child(4) a { transition-delay: .12s; } .menu li:nth-child(5) a { transition-delay: .16s; } .menu li:nth-child(6) a { transition-delay: .2s; }
.menu li a:hover { color: var(--orange); }
.menu__foot { display: grid; gap: 4px; margin-top: 36px; font-size: 14px; color: rgba(255,255,255,.7); }
.menu__foot a:first-child { color: #fff; font-size: 16px; }
@media (max-width: 760px) { .hd__mid { display: none; } .hd { grid-template-columns: 1fr auto; } }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.hero__slides { position: absolute; inset: 0; background: #2a2a28; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 7s linear; }
.hero__slides img.is-on { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.52), rgba(0,0,0,.14) 62%, rgba(0,0,0,.05)), linear-gradient(180deg, rgba(0,0,0,.3), transparent 24%, transparent 62%, rgba(0,0,0,.3)); }
.hero__in { position: relative; z-index: 1; flex: 1; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(80px, 8vw, 116px) var(--m) clamp(20px, 2.4vw, 36px); }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; font-size: 13px; font-weight: 500; }
.hero__kicker span + span::before { content: ""; display: inline-block; width: 22px; height: 1px; margin: 0 12px; background: var(--orange); vertical-align: middle; }
.hero__t { align-self: end; margin: clamp(40px, 6vh, 80px) 0 0; max-width: 10.5em; font-weight: 650; font-size: clamp(46px, 7.2vw, 124px); line-height: .94; letter-spacing: -.048em; text-wrap: balance; }
.hero__low { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--m); align-items: end; margin-top: clamp(26px, 3.4vw, 48px); }
.hero__lead { margin: 0; max-width: 27em; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.4; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.reel { justify-self: end; width: min(660px, 100%); padding: 16px 18px 14px; background: rgba(17,17,16,.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.reel__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reel__list button { position: relative; display: block; width: 100%; padding: 12px 0 2px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; opacity: .66; transition: opacity .5s var(--ease); }
.reel__list button:hover, .reel__list button.is-on { opacity: 1; }
.reel__list span { display: block; font-size: 12px; opacity: .8; font-variant-numeric: tabular-nums; }
.reel__list b { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.reel__list i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.reel__list i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.reel__list .is-on i::after { animation: prog var(--slide, 6s) linear forwards; }
.hero.is-paused .reel__list .is-on i::after { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }
.reel__go { display: inline-flex; gap: 8px; margin-top: 16px; font-size: 13.5px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.reel__go i { font-style: normal; transition: transform .6s var(--ease-out); }
.reel__go:hover i { transform: translateX(4px); }
/* el nombre asoma desde abajo, del mismo color que la página: parece que la sección siguiente lo levanta */
.hero__word { position: relative; z-index: 1; margin: clamp(8px, 1.4vw, 20px) var(--m) -.3em; font-weight: 700; line-height: .8; letter-spacing: -.06em; white-space: nowrap; font-size: 22vw; color: var(--bg); pointer-events: none; }
.hero__word span { display: inline-block; }
.hero__word sup { color: var(--orange); }

/* entrada del contenido de la portada */
.js:not(.no-intro) .hero__in > *, .js:not(.no-intro) .hero__word, .js:not(.no-intro) .hd { opacity: 0; }
.hero.is-revealed .hero__in > *, .hero.is-revealed .hero__word { opacity: 1; transition: opacity 1s var(--ease) .15s; }
.hero.is-revealed .hero__t { transition-delay: .25s; }
.hero.is-revealed .hero__low { transition-delay: .5s; }
.hero.is-revealed .hero__t { animation: rise-in 1.2s var(--ease-out) .1s both; }
.hero.is-revealed .hero__word span { animation: word-in 1.5s var(--ease-out) .2s both; }
@keyframes rise-in { from { transform: translateY(24%); opacity: 0; } }
@keyframes word-in { from { transform: translateY(45%); } }
.is-revealed-hd .hd { opacity: 1 !important; transition: opacity .8s var(--ease) .4s; }

@media (max-width: 900px) {
  .hero__kicker { flex-direction: column; }
  .hero__kicker span + span::before { display: none; }
  .hero__low { grid-template-columns: 1fr; }
  .reel { justify-self: stretch; width: 100%; }
  .reel__list { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
}

/* ---------- 01 Obras: índice con vista previa fija ---------- */
.works { padding-block: clamp(80px, 10vw, 140px) clamp(40px, 5vw, 70px); }
.idx { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(24px, 4vw, 64px); }
.idx__view { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 76px; align-self: start; aspect-ratio: 4 / 5; max-height: calc(100svh - 100px); width: 100%; overflow: hidden; background: var(--card); }
.idx__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease-out); }
.idx__view img.is-on { opacity: 1; transform: none; }
.idx__tag { position: absolute; left: 12px; top: 12px; padding: 5px 8px; background: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.idx__list { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.idx__row { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline; padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line); }
.idx__n { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; transition: color .4s var(--ease); }
.idx__name { font-weight: 600; font-size: clamp(28px, 3vw, 48px); line-height: 1; letter-spacing: -.038em; transition: transform .7s var(--ease-out); }
.idx__name::after { content: "→"; display: inline-block; margin-left: .3em; color: var(--orange); font-weight: 500; opacity: 0; transform: translateX(-.3em); transition: opacity .4s var(--ease), transform .6s var(--ease-out); }
.idx__meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; font-size: 14px; color: var(--mute); }
.idx__meta span:last-child { font-variant-numeric: tabular-nums; }
.idx__img { display: none; }
.idx__row.is-on .idx__n { color: var(--orange); }
.idx__row.is-on .idx__name { transform: translateX(10px); }
.idx__row.is-on .idx__name::after { opacity: 1; transform: none; }
.idx__foot { grid-column: 1; margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 900px) {
  .idx { grid-template-columns: 1fr; }
  .idx__view { display: none; }
  .idx__row { grid-template-columns: 36px minmax(0, 1fr); }
  .idx__img { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; margin-bottom: 16px; overflow: hidden; background: var(--card); }
  .idx__img img { width: 100%; height: 100%; object-fit: cover; }
  .idx__row.is-on .idx__name { transform: none; }
  .idx__row.is-on .idx__n { color: var(--mute); }
  .idx__row .idx__name::after { opacity: 1; transform: none; }
}

/* ---------- Voces: una cita grande, se elige por nombre ---------- */
.quotes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--m); padding-block: clamp(60px, 8vw, 120px) clamp(90px, 10vw, 150px); }
.quotes__k { grid-column: 1 / 4; margin: 0; max-width: 15em; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--mute); }
.quotes__k::before { content: "“"; display: block; color: var(--orange); font-size: 64px; font-weight: 700; line-height: .7; margin-bottom: 8px; }
.quotes__stage { grid-column: 4 / 13; min-height: 4.6em; }
.quote { margin: 0; }
.quote[hidden] { display: none; }
.quote.is-on { animation: q-in .8s var(--ease-out) both; }
@keyframes q-in { from { opacity: 0; transform: translateY(14px); } }
.quote blockquote { margin: 0; max-width: 21em; font-weight: 500; font-size: clamp(26px, 3.2vw, 52px); line-height: 1.1; letter-spacing: -.03em; text-indent: -.42em; text-wrap: pretty; }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 26px; font-size: 14px; color: var(--mute); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.quotes__nav { grid-column: 4 / 13; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.quotes__nav button { height: 38px; padding: 0 14px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.quotes__nav button:hover { border-color: var(--ink); }
.quotes__nav button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 860px) {
  .quotes__k, .quotes__stage, .quotes__nav { grid-column: 1 / -1; }
  .quotes__k { margin-bottom: 20px; }
  .quote blockquote { text-indent: 0; }
}

/* ---------- 02 Mapa ---------- */
.mapsec { padding-bottom: clamp(90px, 11vw, 160px); }

/* ---------- 03 Estudio ---------- */
.studio { padding-block: 0 clamp(90px, 11vw, 160px); }
.mani { margin: 0 0 clamp(48px, 6vw, 96px); max-width: 12.5em; font-weight: 600; font-size: clamp(40px, 6.4vw, 108px); line-height: .98; letter-spacing: -.045em; }
.mani__img { display: inline-block; width: 1.8em; height: .74em; vertical-align: -.04em; overflow: hidden; background: var(--card); transition: width 1.3s var(--ease-io) .2s; }
.mani__img--b { width: 1.3em; }
.mani__img img { width: 100%; height: 100%; object-fit: cover; }
.js .mani.rv:not(.in) .mani__img { width: 0; }
.studio__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--m); }
.def { grid-column: 1 / 6; margin: 0; padding-left: 18px; border-left: 2px solid var(--orange); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.def b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.def i { margin-left: 4px; color: var(--mute); }
.def span { display: block; margin-top: 6px; max-width: 24em; }
.studio__txt { grid-column: 7 / 13; }
.studio__txt p { margin: 0 0 1em; max-width: 32em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--ink-2); }
.studio__txt p:first-child { color: var(--ink); font-weight: 500; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(56px, 7vw, 100px) 0 0; border-top: 1px solid var(--ink); }
.fig { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px 24px 0 0; }
.fig + .fig { padding-left: 24px; border-left: 1px solid var(--line); }
.fig dt { margin-top: 10px; max-width: 15em; font-size: 14px; color: var(--mute); }
.fig dd { margin: 0; font-weight: 600; font-size: clamp(60px, 7.4vw, 124px); line-height: .9; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.fig dd span { margin-left: 4px; color: var(--orange); font-size: .42em; vertical-align: top; }
@media (max-width: 860px) {
  .def, .studio__txt { grid-column: 1 / -1; }
  .figs { grid-template-columns: 1fr; }
  .fig { padding: 20px 0; }
  .fig + .fig { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- 04 Servicios y 05 Proceso (oscuro) ---------- */
.dark { background: var(--dark); color: #fff; }
.svc { padding-top: clamp(80px, 10vw, 140px); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); }
.svc__media { position: sticky; top: 76px; align-self: start; height: min(calc(100svh - 110px), 760px); overflow: hidden; background: var(--dark-2); }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.6s var(--ease-out); }
.svc__media img.is-on { opacity: 1; transform: none; }
.svc__ax { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(17,17,16,.35); font-size: 15px; font-weight: 600; }
.svc__item { min-height: min(62svh, 600px); padding: clamp(26px, 3vw, 44px) 0; border-top: 1px solid var(--dline); opacity: .36; transition: opacity .6s var(--ease); }
.svc__item.is-on { opacity: 1; }
.svc__img { display: none; }
.svc__n { width: 32px; height: 32px; display: grid; place-items: center; margin: 0 0 20px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-size: 13px; font-weight: 600; }
.svc__item h3 { margin: 0 0 16px; font-weight: 600; font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: -.035em; }
.svc__item > p:not(.svc__n) { margin: 0 0 26px; max-width: 32em; color: rgba(255,255,255,.7); font-size: 16.5px; }
.svc__item ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; max-width: 36em; font-size: 14.5px; }
.svc__item li { padding: 10px 0; border-top: 1px solid var(--dline); }
@media (max-width: 900px) {
  .svc__grid { grid-template-columns: 1fr; }
  .svc__media { display: none; }
  .svc__item { min-height: 0; opacity: 1; }
  .svc__img { display: block; aspect-ratio: 16 / 10; margin-bottom: 22px; overflow: hidden; }
  .svc__img img { width: 100%; height: 100%; object-fit: cover; }
  .svc__item ul { grid-template-columns: 1fr; }
}

.proc { padding-block: clamp(90px, 11vw, 160px); }
.tl { --gap: clamp(16px, 2vw, 32px); position: relative; list-style: none; margin: 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,.4); transform-origin: left; transition: transform 1.8s var(--ease-io); }
.js .tl.rv:not(.in)::before { transform: scaleX(0); }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: 0; top: -46px; width: 11px; height: 11px; background: var(--dark); border: 1.5px solid #fff; }
.tl__n { color: var(--orange); font-size: 13px; font-variant-numeric: tabular-nums; }
.tl h3 { margin: 8px 0 12px; font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.025em; }
.tl p { margin: 0; max-width: 24em; color: rgba(255,255,255,.62); font-size: 15px; }
.tl__flag { position: absolute; top: -84px; right: calc(var(--gap) / -2); transform: translateX(50%); padding: 5px 9px; background: var(--orange); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tl__flag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 20px; background: var(--orange); }
.proc__cta { margin-top: clamp(48px, 5vw, 72px); }
@media (max-width: 860px) {
  .tl { grid-template-columns: 1fr; padding: 0 0 0 30px; }
  .tl::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; transform-origin: top; }
  .js .tl.rv:not(.in)::before { transform: scaleY(0); }
  .tl li { padding-bottom: 34px; }
  .tl li:last-child { padding-bottom: 0; }
  .tl li::before { left: -30px; top: 3px; }
  .tl__flag { position: static; display: inline-block; margin-top: 14px; transform: none; }
  .tl__flag::after { display: none; }
}

/* ---------- 06 Preguntas: filas abiertas ---------- */
.faq { padding-block: clamp(90px, 11vw, 160px) clamp(60px, 7vw, 100px); }
.qa { margin: 0; }
.qa > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px var(--m); padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.qa > div:first-child { border-top: 1px solid var(--line); }
.qa dt { grid-column: 4 / 9; font-weight: 600; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -.015em; }
.qa dd { grid-column: 9 / 13; margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .qa dt, .qa dd { grid-column: 1 / -1; } }

/* ---------- 07 Diario: lista con miniatura ---------- */
.journal { padding-bottom: clamp(90px, 11vw, 160px); }
.posts { border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px var(--m); align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.post img { grid-column: 11 / 13; grid-row: 1 / span 2; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.85); transition: filter .6s var(--ease); }
.post:hover img { filter: none; }
.post__d { grid-column: 1 / 4; grid-row: 1 / span 2; font-size: 13.5px; color: var(--mute); }
.post__t { grid-column: 4 / 10; grid-row: 1 / span 2; font-weight: 600; font-size: clamp(20px, 2vw, 30px); line-height: 1.1; letter-spacing: -.025em; transition: color .4s var(--ease); }
.post:hover .post__t { color: var(--orange); }
@media (max-width: 860px) {
  .post { grid-template-columns: minmax(0, 1fr) 112px; gap: 6px 16px; align-items: start; }
  .post img { grid-column: 2; grid-row: 1 / span 2; }
  .post__d { grid-column: 1; grid-row: 1; }
  .post__t { grid-column: 1; grid-row: 2; font-size: 19px; }
}

/* ---------- Pie ---------- */
.ft { background: var(--dark); color: #fff; padding-top: clamp(80px, 10vw, 140px); }
.ft__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.ft__main .sh__n { margin-bottom: 28px; color: rgba(255,255,255,.75); }
.ft__t { margin: 0; max-width: 14em; font-weight: 600; font-size: clamp(36px, 4.8vw, 72px); line-height: .98; letter-spacing: -.035em; }
.ft__sub { margin: 18px 0 36px; color: rgba(255,255,255,.62); }
.ft__mail { display: inline-flex; gap: 14px; padding-bottom: 6px; border-bottom: 2px solid var(--orange); font-weight: 600; font-size: clamp(24px, 3.2vw, 48px); letter-spacing: -.035em; line-height: 1.1; transition: color .4s var(--ease); overflow-wrap: anywhere; }
.ft__mail i { font-style: normal; color: var(--orange); }
.ft__mail:hover { color: var(--orange); }
.ft__tel { display: block; margin-top: 16px; width: fit-content; color: rgba(255,255,255,.7); }
.ft__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--m); margin-top: clamp(60px, 7vw, 100px); padding-top: 28px; border-top: 1px solid var(--dline); font-size: 15px; }
.ft__cols div { display: grid; align-content: start; gap: 4px; }
.ft__cols p { margin: 0 0 8px; font-size: 13px; color: rgba(255,255,255,.5); }
.ft__cols a { width: fit-content; }
.ft__cols a:hover { color: var(--orange); }
.ft__base { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-block: 18px 28px; border-top: 1px solid var(--dline); font-size: 13px; color: rgba(255,255,255,.55); }
.ft__base a { color: #fff; border-bottom: 1px solid var(--orange); }
.ft__brand { font-weight: 700; font-size: 20px; letter-spacing: -.03em; color: #fff; }
@media (max-width: 860px) {
  .ft__top { grid-template-columns: 1fr; }
  .qf { margin-top: 24px; }
  .qf__grid { grid-template-columns: 1fr; }
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .ft__base { flex-direction: column; }
}

/* ---------- Aparición genérica ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }

/* título de página (índice de obras, diario) */
.pt { margin: 0 0 clamp(22px, 3vw, 44px); font-weight: 700; font-size: clamp(56px, 9vw, 150px); line-height: .9; letter-spacing: -.055em; }
.pt sup { color: var(--orange); font-size: .28em; top: .2em; margin-left: .12em; font-weight: 600; letter-spacing: 0; }

/* =================== Página de obra =================== */
.p-hero { position: relative; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 30%, transparent 55%, rgba(0,0,0,.55)); }
.p-hero .wrap { position: relative; z-index: 1; padding-bottom: var(--m); }
.p-hero h1 { margin: 0; font-weight: 700; line-height: .82; letter-spacing: -.06em; white-space: nowrap; font-size: 15vw; }
.p-hero h1 span { display: inline-block; animation: rise-in 1.3s var(--ease-out) .1s both; }
.p-meta { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding-block: clamp(40px, 5vw, 64px); }
.p-meta div { padding: 18px 20px; background: var(--card); }
.p-meta dt { font-size: 13px; color: var(--mute); }
.p-meta dd { margin: 26px 0 0; font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; }
.p-text { display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); padding-block: clamp(40px, 6vw, 90px); }
.p-text h2 { margin: 0; font-weight: 600; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.03em; }
.p-text div p { margin: 0 0 1em; max-width: 38em; font-size: 17px; color: var(--ink-2); }
.p-gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding-bottom: clamp(80px, 10vw, 140px); }
.p-gal figure { margin: 0; overflow: hidden; }
.p-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.p-gal figure:hover img { transform: scale(1.03); }
.p-gal .g1 { grid-column: 1 / 7; aspect-ratio: 3 / 4; }
.p-gal .g2 { grid-column: 7 / 13; aspect-ratio: 3 / 4; }
.p-gal .g3 { grid-column: 1 / 13; aspect-ratio: 16 / 7; }
.p-gal { padding-bottom: clamp(60px, 8vw, 110px); }
.p-gal .g4 { grid-column: 3 / 8; aspect-ratio: 3 / 4; }
.p-gal .g5 { grid-column: 8 / 13; aspect-ratio: 3 / 4; margin-top: 30%; }
.p-gal figcaption { margin-top: 8px; font-size: 13px; color: var(--mute); }
.p-next { display: block; background: var(--dark); color: #fff; padding: clamp(60px, 8vw, 110px) var(--m); }
.p-next span { font-size: 13px; color: rgba(255,255,255,.55); }
.p-next strong { display: block; margin-top: 12px; font-weight: 700; font-size: clamp(48px, 9vw, 150px); line-height: .86; letter-spacing: -.055em; transition: color .5s var(--ease); }
.p-next:hover strong { color: var(--orange); }
@media (max-width: 860px) {
  .p-meta { grid-template-columns: 1fr 1fr; }
  .p-text { grid-template-columns: 1fr; }
  .p-gal > figure { grid-column: 1 / -1 !important; margin-top: 0 !important; aspect-ratio: 4 / 5 !important; }
}

/* ---------- Mapa, índice de obras, situación y diario ---------- */
.mapsec { padding-bottom: clamp(90px, 11vw, 160px); }
.mapsec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.mapsec__head p { margin: 0; max-width: 26em; color: var(--mute); }
.mapx { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 8px; }
.mapx__canvas { position: relative; height: min(78svh, 720px); min-height: 440px; background: #e9e7e2; overflow: hidden; isolation: isolate; }
.mapx--single { grid-template-columns: 1fr; }
.mapx--single .mapx__canvas { height: 420px; min-height: 0; }
.mapx__list { list-style: none; margin: 0; padding: 0; background: var(--card); overflow: auto; max-height: min(78svh, 720px); }
.mapx__list li + li { border-top: 1px solid var(--line); }
.mapx__list button { width: 100%; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; text-align: left; padding: 14px 18px; border: 0; background: none; cursor: pointer; transition: background .4s var(--ease); }
.mapx__list span { grid-row: span 2; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: 2px; }
.mapx__list b { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.mapx__list i { font-style: normal; font-size: 13px; color: var(--mute); }
.mapx__list button:hover, .mapx__list button.on { background: #dcd9d2; }
.mapx__list button.on span { color: var(--orange); }
.mapx__views { position: absolute; z-index: 500; top: 12px; left: 12px; display: flex; gap: 2px; }
.mapx__views button { height: 36px; padding: 0 14px; border: 0; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer; transition: background .3s, color .3s; }
.mapx__views button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mapx__hint { position: absolute; z-index: 500; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 8px 12px; background: rgba(17,17,16,.82); color: #fff; font-size: 12.5px; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); }
.mapx__hint.on { opacity: 1; }
/* Leaflet con la paleta de Cimbra */
.mapx .leaflet-container { width: 100%; height: 100%; background: #e9e7e2; font: inherit; }
.mapx .leaflet-tile-pane { filter: grayscale(1) sepia(.12) contrast(.92) brightness(1.02); }
.mapx .leaflet-control-zoom { border: 0 !important; box-shadow: none !important; margin: 0 12px 12px 0 !important; }
.mapx .leaflet-control-zoom a { width: 36px !important; height: 36px !important; line-height: 36px !important; border: 0 !important; border-radius: 0 !important; color: var(--ink) !important; font-size: 18px !important; }
.mapx .leaflet-control-zoom a + a { margin-top: 2px; }
.mapx .leaflet-control-attribution { background: rgba(242,241,238,.85) !important; font-size: 10px; color: var(--mute); }
.mapx .leaflet-control-attribution a { color: var(--ink-2); }
.pin { display: grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: #fff; font: 600 11px/1 var(--font); font-variant-numeric: tabular-nums; transform: translate(-50%, -50%) rotate(45deg); transition: background .3s var(--ease), transform .4s var(--ease-out); box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.pin b { transform: rotate(-45deg); font-weight: 600; }
.pin-wrap:hover .pin, .pin-wrap.on .pin { background: var(--orange); transform: translate(-50%, -50%) rotate(45deg) scale(1.15); }
.pin-wrap { background: none !important; border: 0 !important; }
.mapx .leaflet-popup-content-wrapper { border-radius: 0; padding: 0; box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); }
.mapx .leaflet-popup-content { margin: 0; width: 260px !important; }
.mapx .leaflet-popup-tip { border-radius: 0; }
.mapx .leaflet-container a.leaflet-popup-close-button { color: #fff; top: 6px; right: 6px; font-size: 20px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.mpop { display: block; color: var(--ink) !important; }
.mpop img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mpop div { padding: 12px 14px 14px; }
.mpop small { display: block; font-size: 12px; color: var(--mute); }
.mpop strong { display: block; margin: 2px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.mpop span { font-size: 13px; font-weight: 500; color: var(--orange); }
@media (max-width: 860px) {
  .mapsec__head { flex-direction: column; align-items: flex-start; }
  .mapx { grid-template-columns: 1fr; }
  .mapx__canvas { height: 62svh; min-height: 380px; }
  .mapx__list { max-height: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .mapx__list li { flex: 0 0 72%; scroll-snap-align: start; border-top: 0 !important; border-left: 1px solid var(--line); }
}

/* ---------- Índice de obras ---------- */
.wx-head { padding-top: clamp(96px, 10vw, 140px); }
.wx-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: clamp(28px, 3vw, 44px); }
.wx-bar p { margin: 0; max-width: 28em; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips button { height: 40px; padding: 0 16px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.chips button sup { top: -.1em; font-size: .7em; color: var(--mute); margin-left: 2px; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips button[aria-pressed="true"] sup { color: var(--orange); }
.wx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) 8px; padding-bottom: clamp(90px, 11vw, 150px); }
.wcard { display: block; transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.wcard.is-hidden { display: none; }
.wcard.is-in { animation: card-in .7s var(--ease-out) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } }
.wcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.wcard:hover .wcard__img img { transform: scale(1.05); }
.wcard__n { position: absolute; left: 10px; top: 10px; padding: 5px 8px; background: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wcard:hover .wcard__n { background: var(--orange); color: #fff; }
.wcard__cap { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; margin: 10px 0 2px; font-size: 14.5px; }
.wcard__cap span { color: var(--mute); }
.wcard__t { margin: 0; font-size: 13px; color: var(--mute); }
.wx-map { padding-bottom: clamp(90px, 11vw, 160px); }
@media (max-width: 980px) { .wx-grid { grid-template-columns: 1fr 1fr; } .wx-bar { flex-direction: column; align-items: flex-start; } }
@media (max-width: 640px) { .wx-grid { grid-template-columns: 1fr; } }

/* ---------- Situación en la página de obra ---------- */
.p-site { display: grid; grid-template-columns: 4fr 8fr; gap: var(--m); align-items: end; padding-bottom: clamp(80px, 10vw, 140px); }
.p-site__t { margin: 0; font-weight: 600; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -.03em; line-height: 1; }
.p-site__c { margin: 12px 0 24px; color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .p-site { grid-template-columns: 1fr; } }


/* ---------- Diario: artículo e índice ---------- */
.journal__head p .ulink { margin-left: 10px; color: var(--ink); }
.art__head { padding-top: clamp(96px, 10vw, 140px); max-width: 1100px; }
.art__back { display: inline-block; margin-bottom: 28px; font-size: 14px; color: var(--mute); }
.art__back:hover { color: var(--orange); }
.art__t { margin: 0; font-weight: 700; font-size: clamp(40px, 6vw, 96px); line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.art__lead { margin: 28px 0 0; max-width: 32em; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); }
.art__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 24px 0 0; font-size: 13.5px; color: var(--mute); }
.art__meta > * + *::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 22px; background: var(--orange); vertical-align: middle; }
.art__cover { margin: clamp(40px, 5vw, 72px) 0 0; }
.art__cover img { width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; }
.art__body { display: grid; grid-template-columns: 3fr 9fr; gap: var(--m); padding-block: clamp(56px, 7vw, 100px) clamp(60px, 8vw, 110px); }
.art__col { grid-column: 2; max-width: 720px; font-size: 18.5px; line-height: 1.62; color: var(--ink-2); }
.art__col > p { margin: 0 0 1.1em; }
.art__col > p:first-child::first-letter { float: left; font-weight: 700; font-size: 4.2em; line-height: .82; margin: .06em .1em 0 0; color: var(--ink); }
.art__col h2 { margin: 1.8em 0 .6em; font-weight: 600; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.art__q { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.art__fig { margin: 2em 0; }
.art__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.art__fig figcaption { margin-top: 8px; font-size: 13px; color: var(--mute); }
.art__more { padding-top: clamp(40px, 5vw, 70px); }
@media (max-width: 860px) { .art__body { grid-template-columns: 1fr; } .art__col { grid-column: auto; font-size: 17px; } .art__cover img { aspect-ratio: 4 / 3; } }

.jx { padding-bottom: clamp(90px, 11vw, 160px); }
.jx__lead { display: grid; grid-template-columns: 7fr 5fr; gap: var(--m); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.jx__img { overflow: hidden; aspect-ratio: 4 / 3; }
.jx__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.jx__lead:hover .jx__img img { transform: scale(1.04); }
.jx__txt h2 { margin: 0; font-weight: 700; font-size: clamp(30px, 3.4vw, 54px); line-height: .98; letter-spacing: -.04em; }
.jx__txt > p:not(.tag):not(.art__meta) { margin: 18px 0 0; color: var(--mute); font-size: 17px; max-width: 30em; }
.jx__txt .ulink { margin-top: 24px; }
.jx__lead:hover .ulink i { transform: translateX(5px); }
@media (max-width: 860px) { .jx__lead { grid-template-columns: 1fr; } }

/* ---------- Modo captura (?capture): alturas fijas para las capturas del portfolio de Arkevo ---------- */
.capture .hero { min-height: 900px; }
.capture .hero__in > *, .capture .hero__word, .capture .hero__word span, .capture .hero__t { animation: none !important; opacity: 1 !important; transition: none !important; }
.capture .js .rv, .capture .rv { opacity: 1 !important; transform: none !important; }
.capture .mani__img { width: 1.8em !important; }
.capture .mani__img--b { width: 1.3em !important; }
.capture .tl::before { transform: none !important; }
.capture .svc__item { opacity: 1; }
.capture .mapx__canvas { height: 560px; }
@media (max-width: 760px) { .capture .hero { min-height: 780px; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro { display: none; }
  .js .hero__in > *, .js .hero__word, .js .hd { opacity: 1 !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .mani.rv:not(.in) .mani__img { width: 1.8em; }
  .js .mani.rv:not(.in) .mani__img--b { width: 1.3em; }
  .js .tl.rv:not(.in)::before { transform: none; }
}

/* quote form in the footer */
.qf { padding: clamp(22px, 2.6vw, 36px); background: var(--dark-2); border: 1px solid var(--dline); }
.qf__h { margin: 0 0 22px; font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.qf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.qf__f { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.qf__full { grid-column: 1 / -1; }
.qf__f > span, .qf__f legend { padding: 0; font-size: 13px; color: rgba(255,255,255,.6); }
.qf input:not([type=radio]):not([type=checkbox]), .qf select, .qf textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; outline: none; transition: border-color .3s; }
.qf input::placeholder { color: rgba(255,255,255,.35); }
.qf select option { color: #111; }
.qf input:focus, .qf select:focus, .qf textarea:focus { border-bottom-color: var(--orange); }
.qf textarea { resize: vertical; min-height: 84px; }
.qf__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.qf__chips label { position: relative; cursor: pointer; }
.qf__chips input { position: absolute; opacity: 0; pointer-events: none; }
.qf__chips span { display: inline-block; padding: 9px 14px; border: 1px solid rgba(255,255,255,.28); font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.qf__chips input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.qf__chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.qf__ok { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.7); cursor: pointer; }
.qf__ok input { width: 16px; height: 16px; accent-color: var(--orange); }
.qf__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.qf__btn { display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px; border: 0; background: var(--orange); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; transition: background .3s; }
.qf__btn i { font-style: normal; }
.qf__btn:hover { background: #c94622; }
.qf__msg { font-size: 14px; color: rgba(255,255,255,.75); }
.qf__msg.is-err { color: #ff9a7d; }
@media (max-width: 700px) { .qf__grid { grid-template-columns: 1fr; } .qf__btn { width: 100%; justify-content: space-between; } }

/* ---------- Gracias: confirmación tras el formulario (gracias.html) ---------- */
.ty { padding-top: clamp(104px, 12vw, 168px); padding-bottom: clamp(80px, 10vw, 140px); }
.ty-head { max-width: 1400px; }
.ty-head .tag span { color: var(--orange); font-variant-numeric: tabular-nums; }
.ty__t { margin: 0; font-weight: 700; font-size: clamp(56px, 10.5vw, 168px); line-height: .9; letter-spacing: -.055em; overflow-wrap: anywhere; }
.ty__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ty__line > span { display: inline-block; }
.ty__line[hidden] { display: none; }
.ty__t em { font-style: normal; color: var(--orange); }
.ty__lead { max-width: 34em; margin: clamp(26px, 3vw, 40px) 0 0; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; text-wrap: pretty; }
.ty__concept { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 26px 0 0; padding: 10px 14px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ty__concept i { flex: none; width: 8px; height: 8px; background: var(--orange); }
.ty-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; margin-top: clamp(56px, 7vw, 104px); }

/* resguardo */
.ty-rcpt { position: sticky; top: 96px; padding: clamp(22px, 2.6vw, 36px); background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(18,18,17,.35); }
.ty-rcpt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: radial-gradient(circle at 7px 0, transparent 6px, var(--paper) 6.5px) 0 0 / 14px 10px repeat-x; }
.ty-rcpt__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.ty-rcpt__h { margin: 0; font-size: 13px; font-weight: 500; color: var(--mute); }
.ty-rcpt__arch { width: 72px; height: auto; flex: none; }
.ty-rcpt__ribs path { stroke: var(--ink); stroke-opacity: .28; stroke-width: 1.5; }
.ty-rcpt__curve { stroke: var(--orange); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ty-rcpt__key { fill: var(--ink); }
.ty-rcpt__ref { margin: 14px 0 24px; font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ty-rcpt__dl { margin: 0; border-top: 1px dashed rgba(18,18,17,.25); }
.ty-rcpt__dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ty-rcpt__dl dt { flex: none; font-size: 13px; color: var(--mute); }
.ty-rcpt__dl dd { margin: 0; font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.ty-rcpt__dl dd.is-empty { color: var(--mute); font-weight: 400; }
.ty-dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--orange); vertical-align: 1px; animation: ty-pulse 2.4s var(--ease) infinite; }
.ty-rcpt__sign { margin: 22px 0 0; font-size: 12px; letter-spacing: .02em; color: var(--mute); }

/* qué pasa ahora */
.ty-next .sh__n { margin-bottom: 18px; }
.ty-next__t { margin: 0 0 clamp(28px, 3.4vw, 48px); max-width: 14em; font-weight: 600; font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: -.032em; text-wrap: balance; }
.ty-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ty-step { display: grid; grid-template-columns: 56px minmax(0, 150px) minmax(0, 1fr); gap: 6px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ty-step__n { grid-row: span 2; color: var(--orange); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; padding-top: 4px; }
.ty-step__w { grid-row: span 2; margin: 0; padding-top: 4px; font-size: 13px; font-weight: 500; color: var(--mute); }
.ty-step__t { margin: 0; font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.15; }
.ty-step__d { margin: 0; color: var(--mute); max-width: 32em; }
.ty-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(32px, 4vw, 52px); }

/* pie sin formulario */
.ft--slim { padding-top: 0; }
.ft--slim .ft__cols { margin-top: 0; padding-top: clamp(48px, 6vw, 80px); border-top: 0; }

/* entrada: las piezas suben en cascada */
.js .ty-in { opacity: 0; transform: translateY(26px); }
.js .ty__line > .ty-in { transform: translateY(105%); opacity: 1; }
.ty.is-in .ty-in { opacity: 1; transform: none; transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform 1.1s var(--ease-out) calc(var(--d, 0) * 90ms); }
.js .ty-rcpt__curve { stroke-dashoffset: 1; }
.js .ty-rcpt__ribs path { opacity: 0; }
.ty.is-in .ty-rcpt__ribs path { opacity: 1; transition: opacity .6s var(--ease) .55s; }
.ty.is-in .ty-rcpt__curve { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-io) .7s; }
@keyframes ty-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(228,87,46,.45); } 60% { box-shadow: 0 0 0 7px rgba(228,87,46,0); } }

/* botón ocupado (formulario) */
.qf__btn.is-busy { pointer-events: none; background: #c94622; }
.qf__btn.is-busy i { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; font-size: 0; animation: ty-spin .7s linear infinite; }
@keyframes ty-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .ty-body { grid-template-columns: 1fr; }
  .ty-rcpt { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .ty-step { grid-template-columns: 40px minmax(0, 1fr); }
  .ty-step__n { grid-row: span 3; }
  .ty-step__w { grid-row: auto; padding-top: 0; }
  .ty-cta .btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ty-in, .js .ty__line > .ty-in { opacity: 1; transform: none; }
  .js .ty-rcpt__curve { stroke-dashoffset: 0; }
  .js .ty-rcpt__ribs path { opacity: 1; }
  .ty-dot { animation: none; }
}
