/* ruthie herrera — estética tomada del banner de LinkedIn:
   muro cálido, travertino, terracota, líneas finas en arco y sombra de hojas. */

:root {
  --cal: #EFEAE3;        /* muro claro */
  --muro: #E4DCD1;       /* muro en sombra */
  --piedra: #D8CDBF;     /* travertino */
  --arena: #BFAE99;
  --terra: #9E4F2C;      /* «herrera» */
  --terra-osc: #7E3D21;
  --terra-clara: #C9774F;
  --carbon: #3A3A38;     /* «ruthie» */
  --grafito: #605B53;    /* subtítulo del banner */
  --noche: #2C2A27;
  --linea: rgba(58, 58, 56, .18);
  --borde: clamp(20px, 4.4vw, 72px);
  --fuente: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --suave: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cal);
  color: var(--carbon);
  font: 400 16px/1.6 var(--fuente);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--terra); color: var(--cal); }

/* ---------- piezas comunes ---------- */
.etiqueta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grafito);
}
.etiqueta i { font-style: normal; color: var(--terra); margin: 0 .5em; }
.etiqueta--clara { color: rgba(239, 234, 227, .8); }

.titular__h {
  font-weight: 300;
  font-size: clamp(36px, 5.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-top: 18px;
}
.titular { padding: 0 var(--borde); margin-bottom: clamp(40px, 6vw, 80px); }

.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 28px;
  transition: background .35s, color .35s, border-color .35s;
}
.btn--lleno { background: var(--carbon); color: var(--cal); }
.btn--lleno:hover { background: var(--terra); }
.btn--linea { border: 1px solid var(--carbon); padding: 12px 20px; }
.btn--linea:hover { background: var(--carbon); color: var(--cal); }
.btn--texto { padding-left: 4px; padding-right: 4px; }
.btn--texto span { transition: transform .35s var(--suave); }
.btn--texto:hover span { transform: translateX(6px); }
.btn--texto:hover { color: var(--terra); }
.btn--claro { background: var(--cal); color: var(--carbon); }
.btn--claro:hover { background: var(--terra); color: var(--cal); }

.trazo { stroke: var(--carbon); stroke-opacity: .32; stroke-width: 1; vector-effect: non-scaling-stroke; }

/* ---------- marca (logotipo en texto) ---------- */
.marca {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.marca__a { color: var(--carbon); }
.marca__b { color: var(--terra); }

/* ---------- cabecera ---------- */
.cab {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--borde);
  transition: transform .5s var(--suave), background .4s, padding .4s, box-shadow .4s;
}
.cab.con-fondo {
  background: rgba(239, 234, 227, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--linea);
}
.cab.oculta { transform: translateY(-100%); }
.cab__nav { display: flex; gap: 34px; margin-left: auto; }
.cab__nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .04em; position: relative; padding: 4px 0;
}
.cab__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--terra);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--suave);
}
.cab__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.cab__menu { display: none; }

.menu-movil {
  position: fixed; inset: 0; z-index: 45; background: var(--cal);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 var(--borde);
}
.menu-movil[hidden] { display: none; }
.menu-movil a { font-size: 40px; font-weight: 300; letter-spacing: -.03em; padding: 6px 0; border-bottom: 1px solid var(--linea); }

/* ---------- portada ---------- */
.portada {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  padding: 110px var(--borde) 90px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 10% 10%, #F4F0EA 0%, transparent 60%),
    linear-gradient(100deg, #EFEAE3 0%, #E6DED4 55%, #DCD1C4 100%);
}
.hojas {
  position: absolute; top: -60px; left: -80px; width: min(62vw, 760px);
  color: #6E5F50; fill: #6E5F50; opacity: .13; mix-blend-mode: multiply; pointer-events: none;
  transform-origin: 10% 10%;
  animation: brisa 9s ease-in-out infinite alternate;
}
@keyframes brisa {
  from { transform: rotate(-1.6deg) translate(0, 0); }
  to   { transform: rotate(1.8deg) translate(8px, 6px); }
}
.portada__texto { position: relative; z-index: 2; }
.portada__nombre {
  font-weight: 600;
  font-size: clamp(72px, 11.6vw, 210px);
  line-height: .86;
  letter-spacing: -.055em;
  margin: 26px 0 30px -.04em;
}
.linea { display: block; overflow: hidden; padding: 0 .04em .1em 0; margin-bottom: -.1em; }
.palabra { display: inline-block; color: var(--carbon); }
.palabra--terra { color: var(--terra); }
.portada__lema { font-size: clamp(17px, 1.4vw, 21px); font-weight: 400; color: var(--grafito); max-width: 30ch; }
.portada__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 38px; }

.portada__escena { position: relative; height: min(76vh, 760px); min-height: 460px; }
.arcos-linea { position: absolute; width: 128%; left: -18%; top: -14%; overflow: visible; pointer-events: none; }
.arcos-linea .trazo { stroke-dasharray: 2400; stroke-dashoffset: 0; }
.muro-terra {
  position: absolute; right: 0; top: 4%; width: 34%; height: 84%;
  background: linear-gradient(180deg, #A4552F 0%, #8F4626 100%);
  box-shadow: inset 18px 0 40px rgba(0, 0, 0, .12);
}
.arco {
  position: absolute; left: 6%; top: 0; width: 58%; height: 86%;
  border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(60, 40, 25, .45);
}
.arco img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.08); }
.peana { position: absolute; right: 2%; bottom: 0; width: 66%; }
.peana__alta, .peana__baja {
  background:
    repeating-linear-gradient(176deg, rgba(120, 100, 80, .07) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #E3DACE, #CFC3B3);
  box-shadow: 0 24px 40px -24px rgba(60, 40, 25, .5);
}
.peana__alta { width: 58%; height: 54px; margin-left: auto; }
.peana__baja { width: 100%; height: 40px; }
.esfera {
  position: absolute; right: 13%; bottom: 92px; width: 13%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F5F1EB 0%, #DCD3C7 45%, #A99A88 100%);
  box-shadow: -14px 20px 30px -14px rgba(60, 40, 25, .45);
}
.portada__pie {
  position: absolute; left: var(--borde); right: var(--borde); bottom: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grafito);
}
.portada__baja { display: inline-flex; align-items: center; gap: 12px; }
.portada__baja i { width: 1px; height: 34px; background: var(--carbon); opacity: .5; transform-origin: top; animation: baja 2.2s var(--suave) infinite; }
@keyframes baja { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- manifiesto ---------- */
.manifiesto {
  position: relative;
  padding: clamp(110px, 18vh, 220px) var(--borde);
  text-align: center;
}
.manifiesto__frase {
  font-weight: 300;
  font-size: clamp(40px, 6.6vw, 112px);
  line-height: 1.04;
  letter-spacing: -.045em;
  max-width: 13ch;
  margin: 0 auto;
  position: relative; z-index: 2;
}
.revela { transition: opacity .5s, color .5s; }
.manifiesto__frase .terra { color: var(--terra); font-weight: 500; }
.manifiesto__nota { max-width: 44ch; margin: 40px auto 0; color: var(--grafito); font-size: 17px; position: relative; z-index: 2; }
.manifiesto__foto { position: absolute; overflow: hidden; }
.manifiesto__foto img { width: 100%; height: 100%; object-fit: cover; }
.manifiesto__foto--a { left: var(--borde); top: 12%; width: clamp(140px, 15vw, 250px); aspect-ratio: 2 / 3; }
.manifiesto__foto--b { right: var(--borde); bottom: 10%; width: clamp(140px, 14vw, 230px); aspect-ratio: 9 / 14; border-radius: 999px 999px 0 0; }

/* ---------- espacios ---------- */
.espacios { padding: clamp(60px, 10vh, 120px) 0 clamp(90px, 14vh, 160px); }
.paneles { display: flex; gap: 10px; height: min(78vh, 760px); padding: 0 var(--borde); }
.panel { position: relative; flex: 1; overflow: hidden; transition: flex .9s var(--suave); cursor: default; }
.panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(.95) brightness(1.02);
  transform: scale(1.06);
  transition: filter .9s var(--suave), transform 1.4s var(--suave);
}
.panel::after {
  content: ''; position: absolute; inset: 40% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(30, 24, 18, .62));
  pointer-events: none;
}
.panel__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px; color: var(--cal); }
.panel__num { font-size: 12px; letter-spacing: .2em; opacity: .8; }
.panel h3 { font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.03em; margin: 6px 0 0; }
.panel p {
  max-width: 30ch; font-size: 15px; opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .6s .15s, max-height .8s var(--suave), margin .8s var(--suave);
}
.panel:hover, .panel.activo { flex: 2.1; }
.panel:hover img, .panel.activo img { filter: none; transform: scale(1); }
.panel:hover p, .panel.activo p { opacity: .92; max-height: 80px; margin-top: 8px; }

/* ---------- atmósferas ---------- */
.atmosferas { position: relative; background: var(--noche); color: var(--cal); }
.atmosferas__fijo { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.atmosferas__cab {
  position: absolute; z-index: 3; top: 96px; left: var(--borde); right: var(--borde);
  display: flex; justify-content: space-between; align-items: baseline;
}
.atmosferas .etiqueta { color: rgba(239, 234, 227, .7); }
.atmosferas__contador { font-size: 13px; letter-spacing: .2em; color: rgba(239, 234, 227, .7); font-variant-numeric: tabular-nums; }
.atmosferas__contador span { color: var(--terra-clara); }
.atmosferas__fondo {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-weight: 600; font-size: 20vw; letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 234, 227, .12);
  pointer-events: none; will-change: transform;
}
.pista {
  position: absolute; top: 150px; bottom: 80px; left: 0;
  display: flex; gap: clamp(28px, 4vw, 70px); padding: 0 var(--borde);
  will-change: transform;
}
.g { position: relative; flex: none; align-self: flex-start; }
.g--abajo { align-self: flex-end; }
.g img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(.92);
  transition: filter 1s var(--suave), transform 1.2s var(--suave);
}
.g--alta { width: clamp(220px, 22vw, 380px); height: 74%; }
.g--ancha { width: clamp(340px, 40vw, 720px); height: 60%; }
.g--cuadra { width: clamp(240px, 26vw, 440px); height: 54%; }
.g--arco img { border-radius: 999px 999px 0 0; }
.g--arco figcaption { left: 50%; transform: translateX(-50%); bottom: -28px; }
.g.viva img, .g:hover img { filter: none; }
.g figcaption {
  position: absolute; bottom: -30px; left: 0;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(239, 234, 227, .65); white-space: nowrap;
}
.g--abajo figcaption { bottom: auto; top: -30px; }
.g--arco.g--abajo figcaption { top: auto; bottom: 14px; color: var(--cal); }
.atmosferas__barra { position: absolute; left: var(--borde); right: var(--borde); bottom: 34px; height: 1px; background: rgba(239, 234, 227, .16); }
.atmosferas__barra i { position: absolute; inset: 0; background: var(--terra-clara); transform-origin: left; transform: scaleX(0); }

/* ---------- enfoque ---------- */
.enfoque {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center;
  padding: clamp(100px, 16vh, 200px) var(--borde);
}
.enfoque__foto { aspect-ratio: 4 / 5; overflow: hidden; }
.enfoque__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.pilares { margin-top: 50px; border-top: 1px solid var(--linea); }
.pilares li {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--linea);
}
.pilares span { font-size: clamp(26px, 2.6vw, 42px); font-weight: 300; letter-spacing: -.035em; transition: color .4s, transform .5s var(--suave); }
.pilares li:hover span { color: var(--terra); transform: translateX(8px); }
.pilares p { color: var(--grafito); font-size: 15px; }

/* ---------- cifras ---------- */
.cifras {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--piedra);
  background-image: repeating-linear-gradient(177deg, rgba(110, 90, 70, .05) 0 2px, transparent 2px 11px);
}
.cifra { padding: clamp(50px, 8vh, 90px) var(--borde); border-right: 1px solid rgba(58, 58, 56, .14); }
.cifra:last-child { border-right: 0; }
.cifra b { font-weight: 300; font-size: clamp(64px, 8.4vw, 150px); letter-spacing: -.06em; line-height: 1; color: var(--terra); font-variant-numeric: tabular-nums; }
.cifra b i { font-style: normal; }
.cifra > span { font-size: clamp(18px, 1.6vw, 26px); font-weight: 500; margin-left: 8px; color: var(--terra); }
.cifra p { margin-top: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--grafito); }

/* ---------- ruth ---------- */
.ruth {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center;
  padding: clamp(100px, 16vh, 190px) var(--borde) clamp(80px, 12vh, 140px);
  background: linear-gradient(180deg, var(--cal), var(--muro));
}
.ruth__escena { position: relative; height: min(84vh, 820px); min-height: 520px; }
.ruth__arco {
  position: absolute; left: 12%; right: 12%; top: 4%; bottom: 40px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #A9592F 0%, #8C4425 100%);
}
.ruth__linea { position: absolute; width: 104%; left: -2%; top: -6%; overflow: visible; }
.ruth__foto {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-46%);
  height: 90%; width: auto; max-width: none;
  filter: drop-shadow(-24px 26px 30px rgba(50, 28, 15, .35));
}
.ruth__peana {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background:
    repeating-linear-gradient(176deg, rgba(120, 100, 80, .07) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #E3DACE, #CFC3B3);
}
.ruth__bio { margin-top: 30px; font-size: 18px; color: var(--grafito); max-width: 40ch; }
.ruth__bio b { color: var(--carbon); font-weight: 600; }
.ruth__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.ruth__tags li {
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid rgba(58, 58, 56, .28);
  transition: background .35s, color .35s, border-color .35s;
}
.ruth__tags li:hover { background: var(--terra); border-color: var(--terra); color: var(--cal); }

/* ---------- estancias ---------- */
.estancias {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center;
  padding: clamp(100px, 16vh, 200px) var(--borde);
}
.estancias__fotos { position: relative; padding-bottom: 14%; }
.estancias__a { aspect-ratio: 3 / 2; overflow: hidden; width: 86%; }
.estancias__b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; overflow: hidden; border: 10px solid var(--cal); }
.estancias__fotos img { width: 100%; height: 100%; object-fit: cover; }
.pasos { margin-top: 40px; }
.pasos li {
  display: flex; align-items: baseline; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--linea);
  font-size: clamp(18px, 1.5vw, 22px);
}
.pasos i { font-style: normal; font-size: 12px; letter-spacing: .18em; color: var(--terra); }
.estancias__nota { margin-top: 28px; color: var(--grafito); max-width: 40ch; }

/* ---------- trayectoria ---------- */
.trayectoria { padding: clamp(60px, 10vh, 120px) 0 clamp(100px, 16vh, 190px); }
.trayectoria__cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 100px); padding: 0 var(--borde); align-items: start; }
.linea-tiempo { border-top: 1px solid var(--linea); }
.linea-tiempo li {
  display: grid; grid-template-columns: 150px 1fr 1fr; gap: 20px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--linea);
  transition: padding .5s var(--suave), background .4s;
}
.linea-tiempo li:hover { padding-left: 14px; background: rgba(216, 205, 191, .35); }
.linea-tiempo time { font-size: 12px; letter-spacing: .16em; color: var(--terra); font-weight: 600; font-variant-numeric: tabular-nums; }
.linea-tiempo b { font-weight: 500; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.01em; }
.linea-tiempo span { color: var(--grafito); font-size: 15px; }
.formacion { background: var(--piedra); padding: clamp(28px, 3vw, 44px); }
.formacion ul { margin-top: 18px; }
.formacion li { padding: 14px 0; border-bottom: 1px solid rgba(58, 58, 56, .16); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.formacion li b { font-weight: 500; font-size: 17px; }
.formacion li span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); white-space: nowrap; }
.formacion__premio { margin-top: 22px; font-size: 14px; color: var(--grafito); }
.formacion__premio b { color: var(--terra); font-weight: 600; }

/* ---------- contacto ---------- */
.contacto {
  position: relative; min-height: 100vh; overflow: hidden; padding: 130px var(--borde) 110px;
  display: grid; grid-template-columns: 1fr minmax(0, 580px); gap: clamp(40px, 6vw, 110px); align-items: center;
}
.contacto__fondo { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.contacto__velo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 28, 22, .78) 0%, rgba(36, 28, 22, .45) 55%, rgba(36, 28, 22, .15) 100%); }
.contacto__caja { position: relative; z-index: 2; color: var(--cal); }
.contacto__h { font-weight: 300; font-size: clamp(46px, 6.2vw, 112px); line-height: .98; letter-spacing: -.05em; margin: 22px 0 26px; }
.contacto__nota { font-size: 18px; opacity: .88; max-width: 34ch; margin-bottom: 30px; }
.contacto__alt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid rgba(239, 234, 227, .5); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.contacto__alt:hover { color: var(--terra-clara); border-color: var(--terra-clara); }

/* ---------- formulario ---------- */
.formulario {
  position: relative; z-index: 2;
  background: var(--cal); color: var(--carbon);
  padding: clamp(26px, 3vw, 44px);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55);
}
.campo { display: block; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.campo > span, .campo legend {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grafito); margin-bottom: 6px; padding: 0;
}
.campo input, .campo textarea {
  width: 100%; font: 400 16px/1.4 var(--fuente); color: var(--carbon);
  background: transparent; border: 0; border-bottom: 1px solid rgba(58, 58, 56, .3); border-radius: 0;
  padding: 8px 0 10px; outline: none; resize: vertical; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.campo textarea { min-height: 84px; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(96, 91, 83, .55); }
.campo input:focus, .campo textarea:focus { border-bottom-color: var(--terra); }
.campo.error input, .campo.error textarea { border-bottom-color: #B3261E; }
.campo.error > span { color: #B3261E; }
.campo-doble { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: block; font-size: 12px; font-weight: 500; letter-spacing: .06em;
  padding: 9px 14px; border: 1px solid rgba(58, 58, 56, .28);
  transition: background .3s, color .3s, border-color .3s;
}
.chips label:hover span { border-color: var(--carbon); }
.chips input:checked + span { background: var(--terra); border-color: var(--terra); color: var(--cal); }
.chips input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formulario__pie { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.formulario button[type=submit] { border: 0; cursor: pointer; font-family: var(--fuente); }
.formulario button[disabled] { opacity: .6; cursor: progress; }
.formulario__estado { font-size: 13px; color: var(--grafito); flex: 1 1 200px; }
.formulario__estado.mal { color: #B3261E; }
.formulario__estado a { text-decoration: underline; }
.formulario__gracias { padding: 30px 0 10px; }
.formulario__gracias-h { font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 12px; }
.formulario__gracias p:not(.etiqueta) { color: var(--grafito); }
.formulario__gracias .btn { margin-top: 20px; border: 0; background: none; cursor: pointer; font-family: var(--fuente); color: var(--carbon); }

/* ---------- pie ---------- */
.pie { background: var(--noche); color: rgba(239, 234, 227, .7); padding: clamp(70px, 10vh, 120px) var(--borde) 34px; }
.marca.marca--grande { font-size: clamp(54px, 10vw, 180px); letter-spacing: -.055em; display: inline-block; line-height: .95; }
.pie .marca__a { color: var(--cal); }
.pie .marca__b { color: var(--terra-clara); }
.pie__lema { margin-top: 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.pie__lema i { font-style: normal; color: var(--terra-clara); margin: 0 .5em; }
.pie__fila {
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between;
  margin-top: clamp(50px, 8vh, 90px); padding-top: 24px; border-top: 1px solid rgba(239, 234, 227, .14);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.pie__fila a:hover { color: var(--terra-clara); }

/* ---------- animaciones (solo con JS) ---------- */
.js .aparece { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--suave), transform 1.1s var(--suave); }
.js .aparece.visto { opacity: 1; transform: none; }
.js .palabra { transform: translateY(105%); transition: transform 1.3s var(--suave); }
.js .listo .palabra { transform: none; }
.js .listo .linea:nth-child(2) .palabra { transition-delay: .12s; }
.js .arco { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.6s var(--suave) .2s; }
.js .listo .arco { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.js .arco img { transition: transform 2.4s var(--suave) .2s; }
.js .listo .arco img { transform: scale(1); }
.js .muro-terra { transform-origin: bottom; }
.js .portada:not(.listo) .muro-terra { clip-path: inset(100% 0 0 0); }
.js .muro-terra { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--suave) .45s; }
.js .portada:not(.listo) .arcos-linea .trazo { stroke-dashoffset: 2400; }
.js .arcos-linea .trazo { transition: stroke-dashoffset 3s var(--suave) .5s; }
.js .portada:not(.listo) .peana, .js .portada:not(.listo) .esfera { opacity: 0; transform: translateY(30px); }
.js .peana, .js .esfera { transition: opacity 1s .8s, transform 1.2s var(--suave) .8s; }
.js .revela { opacity: .14; }
.js .revela.on { opacity: 1; }
.js .recorte { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--suave); }
.js .recorte img { transform: scale(1.15); transition: transform 2s var(--suave); }
.js .recorte.visto { clip-path: inset(0 0 0 0); }
.js .recorte.visto img { transform: scale(1); }
.js .manifiesto__foto--b.recorte { clip-path: inset(0 0 100% 0 round 999px 999px 0 0); }
.js .manifiesto__foto--b.recorte.visto { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.js .ruth__arco { transform: scaleY(0); transform-origin: bottom; transition: transform 1.5s var(--suave); }
.js .ruth.visto .ruth__arco { transform: none; }
.js .ruth__foto { opacity: 0; translate: 0 40px; transition: opacity 1.2s .45s, translate 1.4s var(--suave) .45s; }
.js .ruth.visto .ruth__foto { opacity: 1; translate: 0 0; }
.js .ruth__linea .trazo { stroke-dasharray: 1240; stroke-dashoffset: 1240; transition: stroke-dashoffset 3s var(--suave) .3s; }
.js .ruth.visto .ruth__linea .trazo { stroke-dashoffset: 0; }

/* ---------- tabletas ---------- */
@media (max-width: 1100px) {
  .cab__nav { gap: 22px; }
  .linea-tiempo li { grid-template-columns: 120px 1fr; }
  .linea-tiempo span { grid-column: 2; }
  .trayectoria__cols { grid-template-columns: 1fr; }
  .contacto { grid-template-columns: 1fr; }
  .contacto__caja { max-width: 640px; }
}

/* ---------- móvil ---------- */
@media (max-width: 860px) {
  .cab { gap: 16px; padding-top: 16px; padding-bottom: 16px; }
  .cab__nav, .cab__cta { display: none; }
  .cab__menu {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .cab__menu span { display: block; height: 1.5px; background: var(--carbon); transition: transform .4s var(--suave); }
  .cab__menu[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .cab__menu[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .marca { font-size: 20px; }

  .portada { grid-template-columns: 1fr; padding-top: 104px; padding-bottom: 80px; gap: 40px; align-content: start; }
  .portada__nombre { font-size: clamp(64px, 21vw, 150px); margin: 18px 0 20px; }
  .portada__escena { height: 92vw; min-height: 0; max-height: 560px; }
  .portada__pie span:not(.portada__baja) { display: none; }
  .portada__pie { justify-content: center; bottom: 20px; }
  .etiqueta { font-size: 11px; letter-spacing: .18em; }
  .hojas { width: 120vw; }

  .manifiesto { padding-top: 90px; padding-bottom: 90px; }
  .manifiesto__foto { position: relative; display: inline-block; vertical-align: top; left: auto; right: auto; top: auto; bottom: auto; width: 40%; margin: 0 2%; }
  .manifiesto__foto--a { margin-bottom: 40px; }
  .manifiesto__foto--b { margin-top: 44px; }

  .paneles { flex-direction: column; height: auto; }
  .panel { flex: none; height: 62vw; min-height: 260px; }
  .panel:hover, .panel.activo { flex: none; }
  .panel p { opacity: .92; max-height: none; margin-top: 8px; }
  .panel__info { padding: 22px; }

  .atmosferas { height: auto !important; padding: 90px 0 70px; }
  .atmosferas__fijo { position: static; height: auto; overflow: visible; }
  .atmosferas__cab { position: static; padding: 0 var(--borde); margin-bottom: 30px; }
  .atmosferas__fondo { display: none; }
  .pista {
    position: static; transform: none !important; height: 64vh; max-height: 520px; padding-bottom: 46px;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-top: 30px;
    scrollbar-width: none;
  }
  .pista::-webkit-scrollbar { display: none; }
  .g { scroll-snap-align: center; }
  .g--alta, .g--ancha, .g--cuadra { width: 74vw; height: 82%; }
  .g--ancha { width: 84vw; height: 70%; }
  .atmosferas__barra { position: relative; left: auto; right: auto; bottom: auto; margin: 10px var(--borde) 0; }

  .enfoque, .ruth, .estancias { grid-template-columns: 1fr; }
  .enfoque { padding-top: 90px; padding-bottom: 90px; }
  .pilares li { grid-template-columns: 1fr; gap: 4px; }
  .cifras { grid-template-columns: 1fr; }
  .cifra { border-right: 0; border-bottom: 1px solid rgba(58, 58, 56, .14); padding-top: 40px; padding-bottom: 40px; }
  .ruth { padding-top: 90px; }
  .ruth__escena { height: 120vw; max-height: 640px; min-height: 0; order: 2; }
  .estancias { padding-top: 90px; padding-bottom: 90px; }
  .estancias__texto { order: -1; }
  .linea-tiempo li { grid-template-columns: 1fr; gap: 2px; }
  .linea-tiempo span { grid-column: auto; }
  .linea-tiempo li:hover { padding-left: 0; background: none; }
  .formacion li { flex-direction: column; gap: 2px; }
  .contacto { min-height: 0; grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 70px; }
  .campo-doble { grid-template-columns: 1fr; }
  .contacto__velo { background: linear-gradient(180deg, rgba(36, 28, 22, .55), rgba(36, 28, 22, .82)); }
  .pie__fila { flex-direction: column; }
}

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