/* ============ Tokens ============ */
:root {
  --accent: #ffa40f;           /* naranja del logo */
  --accent-text: #c46a00;      /* naranja oscuro para texto sobre blanco (contraste) */
  --accent-2: #ffc247;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --line: rgba(0, 0, 0, .1);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }

/* ============ Tipografía ============ */
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 16px;
}
.display {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 700;
}
.lead { font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; color: var(--ink-2); margin-top: 24px; }
.lead--strong { color: var(--ink); font-weight: 600; }
.grad {
  background: linear-gradient(100deg, #e07b00, #ffa40f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ Botones ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  padding: 14px 28px; border-radius: 999px; font: 600 1rem var(--font);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: #1d1d1f; box-shadow: 0 8px 24px -8px var(--accent); }
.btn--primary:hover { background: #ffb43a; }
.btn--ghost { color: var(--accent-text); padding-inline: 12px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.link { color: var(--accent-text); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ============ Navegación ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { width: min(1180px, 100% - 48px); height: 56px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .12em; }
.brand__logo { height: 34px; width: auto; }
.one__new img { height: 44px; width: auto; }
.trust__logo { height: 46px; width: auto; margin: 0 auto 48px; }
.nav__links { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.nav__links a { color: #424245; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav .nav__cta { background: var(--accent); color: #1d1d1f; padding: 7px 16px; border-radius: 999px; font-weight: 600; }
.nav .nav__cta:hover { color: #1d1d1f; background: #ffb43a; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Barra de progreso de lectura */
.nav::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--progress, 0)); }

/* ============ Secciones ============ */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--gray { background: var(--bg-2); }
.section--center { text-align: center; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.section--center .section__head { margin-inline: auto; }

/* ============ Hero ============ */
.hero {
  width: min(1180px, 100% - 48px); margin-inline: auto;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
  display: grid; gap: clamp(40px, 6vw, 72px);
}
.hero__copy { text-align: center; max-width: 960px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.5rem, 6.8vw, 5.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.hero .lead { max-width: 640px; margin-inline: auto; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.hero__collage {
  display: grid; gap: 14px; height: clamp(320px, 48vw, 560px);
  grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  grid-template-areas: "a b c" "a d e";
}
.tile { text-decoration: none; color: #fff; cursor: pointer; }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile--a { grid-area: a; } .tile--b { grid-area: b; } .tile--c { grid-area: c; }
.tile--d { grid-area: d; } .tile--e { grid-area: e; }

/* Bloque visual genérico: gradiente + foto opcional (--img). Si la foto no existe se ve el gradiente. */
.tile, .card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background-color: var(--tint, #1d1d1f);
  background-image: var(--img), linear-gradient(135deg, var(--tint, #3a3a3d), #000 160%);
  background-size: cover; background-position: center;
}
.tile { border-radius: 24px; display: flex; align-items: flex-end; }
/* Profundidad: --mx y --my (-1..1) los actualiza script.js con el ratón; --d es la "distancia" de cada capa */
.hero__collage { perspective: 1400px; }
.tile {
  --d: 14;
  transform: translate3d(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--my, 0) * var(--d) * 1px), 0)
             rotateY(calc(var(--mx, 0) * 2.5deg)) rotateX(calc(var(--my, 0) * -2.5deg));
  will-change: transform;
}
.tile span { transform: translate3d(calc(var(--mx, 0) * -7px), calc(var(--my, 0) * -7px), 0); }
.tile--a { --tint: #2b2b30; --d: 8; } .tile--b { --tint: #b4361f; --d: 16; } .tile--c { --tint: #0b3d5c; --d: 12; }
.tile--d { --tint: #2b3a67; --d: 18; } .tile--e { --tint: #5a2a6e; --d: 14; }
.tile span {
  margin: 16px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
/* Rejilla de puntos cuando todavía no hay foto */
.tile span::after { content: " ›"; }
.tile:hover span, .tile:focus-visible span { background: var(--accent); color: #1d1d1f; }
.tile span { transition: background .3s, color .3s; }
.tile::after, .card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .12) 1px, transparent 0) 0 0 / 22px 22px;
}

/* ============ Trío ============ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(56px, 8vw, 96px); text-align: left; }
.trio__item { padding: 36px; border-radius: var(--radius); background: var(--bg-2); }
.trio__num { font-size: 14px; font-weight: 600; color: var(--accent-text); }
.trio__item h3 { font-size: 2rem; letter-spacing: -.02em; margin: 14px 0 8px; }
.trio__item p { color: var(--ink-2); font-size: 1.05rem; }

/* ============ Bento de soluciones ============ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { min-height: 380px; display: flex; align-items: flex-end; color: #fff; transition: transform .5s var(--ease); }
/* tarjetas con ilustración: el dibujo se ancla arriba */
.card[style*="sol-diseno"], .card[style*="sol-digital"] { background-position: center top; }
/* velo suave solo en la zona del texto */
.card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.5) 62%, rgba(0,0,0,.72)); }
.card[data-light]::before { display: none; }
.card--xl { grid-column: span 4; min-height: 480px; background-position: center 35%; }
.card--lg { grid-column: span 2; min-height: 480px; }
.card--md { grid-column: span 2; min-height: 440px; }
.card--half { grid-column: span 3; min-height: 440px; }
.card[data-light] { color: var(--ink); background-image: var(--img), linear-gradient(135deg, #fff, #e3e3e8); }
.card[data-light]::after { background: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .06) 1px, transparent 0) 0 0 / 22px 22px; }
.card[data-light] .card__body p { color: var(--ink-2); }
.card__body { position: relative; z-index: 1; padding: 32px; max-width: 560px; }
.card h3, .card p, .card .link { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.card[data-light] h3, .card[data-light] p, .card[data-light] .link { text-shadow: none; }
.card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.02em; }
.card p { margin: 12px 0 18px; color: rgba(255, 255, 255, .78); font-size: 1rem; }
.card .link { color: inherit; }
.card:not([data-light]) .link { color: var(--accent-2); }

/* ============ "No sabes qué necesitas" ============ */
.need { background: linear-gradient(180deg, #fff, #fff6e6); }
.need .btn { margin-top: 40px; }

/* ============ Pasos ============ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: s; }
.steps li { padding-top: 24px; border-top: 2px solid var(--ink); }
.steps__n { display: block; font-size: 14px; font-weight: 700; color: var(--accent-text); margin-bottom: 14px; }
.steps h3 { font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: .98rem; }

/* Tarjetas de proyecto (home y listado) */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcards + .center, .pcards + noscript + .center { margin-top: 56px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .25); }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.pcard__type { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.pcard h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; }
.pcard__sum { color: var(--ink-2); font-size: 1rem; }
.pcard .link, .pcard .btn { margin-top: auto; padding-top: 6px; }
.pcard .btn { padding: 12px 24px; }
.pcard--cta { background: var(--accent); justify-content: center; }
.pcard--cta .pcard__type, .pcard--cta .pcard__sum { color: #1d1d1f; }
.pcard--cta h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pcard--cta .pcard__body { justify-content: center; gap: 14px; }
.pcard--cta .btn { margin-top: 12px; }
.pcard--cta { grid-column: 1 / -1; }
@media (min-width: 1101px) {
  .pcards--four { grid-template-columns: repeat(4, 1fr); }
  .pcards--four .pcard h3 { font-size: 1.3rem; }
}
@media (min-width: 961px) {
  .pcard--wide .pcard__body { flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding: 40px 48px; }
  .pcard--wide .pcard__type { width: 100%; }
  .pcard--wide h3 { flex: 1 1 320px; }
  .pcard--wide .pcard__sum { flex: 1 1 320px; margin: 0; }
  .pcard--wide .btn { margin: 0; flex: none; }
}

/* Filtros de proyectos */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 9px 18px; border-radius: 999px; background: #fff; font-size: .95rem; font-weight: 500; box-shadow: 0 1px 0 var(--line); transition: background .25s, color .25s, transform .25s var(--ease); }
.chip:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.chip.is-active { background: var(--ink); color: #fff; }

/* Página de proyecto */
.page-top { padding-top: clamp(40px, 6vw, 80px); }
.back { display: inline-block; margin-bottom: 24px; color: var(--ink-2); font-weight: 500; }
.back:hover { color: var(--ink); }
.case__title { grid-column: 1 / -1; margin-top: 28px; font-size: 1.4rem; letter-spacing: -.02em; }
.case__gallery img[data-zoom] { cursor: zoom-in; transition: transform .5s var(--ease); }
.case__gallery img[data-zoom]:hover { transform: scale(1.01); }
.pnav { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(48px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.pnav__next { display: grid; gap: 4px; }
.pnav__next span { font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.pnav__next strong { font-size: 1.3rem; letter-spacing: -.01em; }
.pnav__next:hover strong { color: var(--accent-text); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .9); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox__x { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* Caso destacado */
.case { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.case--second { margin-top: 16px; }
.case__hero { grid-row: span 1; min-height: 480px; border-radius: var(--radius); background: #1d1d1f; position: relative; overflow: hidden; }
.case__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plain-list { padding: 24px 0; line-height: 1.8; }
.plain-list a { text-decoration: underline; }
.case__info { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: #fff; }
.case__info h1, .case__info h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.025em; line-height: 1.1; }
.case__info p:not(.eyebrow) { color: var(--ink-2); font-size: 1.05rem; }
.case__info .eyebrow { margin-bottom: 0; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.case__tags li { padding: 6px 14px; border-radius: 999px; background: var(--bg-2); font-size: .9rem; font-weight: 500; }
.case__gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case__gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--bg-2); }
.case__gallery--land { grid-template-columns: repeat(3, 1fr); }
.case__gallery--land img { aspect-ratio: 4 / 3; }
.case__gallery--land[data-n="4"], .case__gallery--land[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
.case__gallery--int { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
.case__gallery--int img { aspect-ratio: 1; }
.case__gallery--int .wide { grid-column: span 2; aspect-ratio: 2.04 / 1; }

/* ============ Solución integral ============ */
.one { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; margin-top: clamp(48px, 7vw, 88px); }
.one__old { display: grid; grid-template-columns: repeat(2, auto); gap: 8px; }
.one__old span { padding: 10px 20px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.one__arrow { font-size: 2.4rem; color: var(--accent-text); }
.one__new { display: inline-flex; align-items: center; padding: 20px 44px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.mantra { margin-top: clamp(40px, 6vw, 72px); font-size: clamp(1.4rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -.025em; }

/* ============ Sectores ============ */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  padding: 16px 28px; border-radius: 999px; background: #fff; font-size: 1.15rem; font-weight: 500;
  box-shadow: 0 1px 0 var(--line); transition: transform .3s var(--ease), background .3s, color .3s;
}
.chips li:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ============ Sobre Omega ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__body .lead:first-child { margin-top: 0; }

/* ============ Equipo ============ */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { display: flex; align-items: center; gap: 20px; padding: 16px; border-radius: var(--radius); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.member:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .28); }
.member__photo { flex: none; width: 112px; height: 112px; border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.member:hover .member__photo img { transform: scale(1.1); }
.member h3 { position: relative; padding-bottom: 8px; font-size: 1.1rem; line-height: 1.2; letter-spacing: -.01em; }
.member h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); transition: width .5s var(--ease); }
.member:hover h3::after { width: 64px; }
.member p { margin-top: 4px; color: var(--ink-2); font-size: .95rem; line-height: 1.4; }

/* ============ Confianza ============ */
.trust { background: #000; color: #f5f5f7; text-align: center; padding: clamp(100px, 16vw, 200px) 0; }
.trust blockquote { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.trust p { margin-top: 32px; font-size: 1.3rem; color: #86868b; }

/* ============ Contacto ============ */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.direct { margin-top: 36px; display: grid; gap: 10px; max-width: 320px; }
.direct__link {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-radius: 18px;
  background: var(--bg-2); font-weight: 600; transition: background .25s, color .25s;
}
.direct__link::after { content: "›"; font-size: 1.4rem; color: var(--accent-text); transition: transform .25s; }
.direct__link:hover { background: var(--ink); color: #fff; }
.direct__link:hover::after { transform: translateX(4px); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--bg-2); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; background: #fff;
  font: 1rem var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 164, 15, .25); }
.field input.is-invalid { border-color: var(--accent); }
.form__status { font-size: .95rem; color: var(--ink-2); min-height: 1.4em; text-align: center; }
.form__status[data-state="ok"] { color: #1f7a3a; font-weight: 600; }
.form__status[data-state="error"] { color: #b3261e; font-weight: 600; }
.legal h2 { margin: 40px 0 10px; font-size: 1.3rem; letter-spacing: -.01em; }
.legal p, .legal li { color: #424245; line-height: 1.65; }
.legal p { margin-top: 10px; }
.legal ul { margin: 10px 0 0 20px; list-style: disc; }
.legal li { margin-top: 6px; }
.legal a { color: var(--accent-text); text-decoration: underline; }
.legal h1 { margin-bottom: 8px; }
.legal .eyebrow { color: var(--accent-text); margin-top: 0; }
.legal__date { margin-top: 48px; font-size: .9rem; color: var(--ink-2) !important; }
.form__legal { font-size: .8rem; line-height: 1.5; color: var(--ink-2); }
.form__legal a, .check a { color: var(--accent-text); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.direct__link small { display: block; margin-top: 2px; font-weight: 500; font-size: .85rem; color: var(--ink-2); }
.direct__link:hover small { color: rgba(255, 255, 255, .75); }

/* ============ Footer ============ */
.footer { background: var(--bg-2); padding: 72px 0 28px; font-size: 14px; color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand--footer { color: var(--ink); }
.brand--footer .brand__logo { height: 40px; }
.footer__tag { margin-top: 16px; max-width: 300px; }
.footer h4 { color: var(--ink); font-size: 13px; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__group { display: flex; justify-content: center; margin-top: 22px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__group img { height: 54px; width: auto; opacity: .9; }
.footer__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }

/* ============ Animación de entrada ============ */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 56px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    transform: translateY(-120%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { transform: none; visibility: visible; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 16px; text-align: center; border: 0; padding: 14px; }

  .trio, .steps { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-column: span 2; }
  .card--half { grid-column: span 1; min-height: 380px; }
  .card--lg, .card--md { grid-column: span 1; min-height: 360px; }
  .about, .contact { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case__hero { min-height: 340px; }
  .case__gallery { grid-template-columns: repeat(2, 1fr); }
  .case__gallery--int, .case__gallery--land { grid-template-columns: repeat(2, 1fr); }
  .case__gallery--int .wide { grid-column: span 2; aspect-ratio: 4 / 3; height: auto; }
  .pcards { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .hero__collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr 1fr; grid-template-areas: "a a" "b c" "d e"; height: auto; aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--lg, .card--md, .card--half { grid-column: span 1; min-height: 380px; }
  .pcards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .one__arrow { transform: rotate(90deg); }
  .brand__logo { height: 28px; }
  .team { grid-template-columns: 1fr; }
  .member__photo { width: 88px; height: 88px; }
}
