/* ==========================================================================
   CUBIQA Studio — sitio institucional
   Identidad: blanco y negro · Bebas Neue Pro (display) + Open Sans (texto)
   ========================================================================== */

@font-face { font-family: "Bebas Neue Pro"; src: url("../fonts/bebas-neue-pro-light.woff2?v=20261202") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Bebas Neue Pro"; src: url("../fonts/bebas-neue-pro-regular.woff2?v=20261202") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bebas Neue Pro"; src: url("../fonts/bebas-neue-pro-bold.woff2?v=20261202") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-light.woff2?v=20261202") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-regular.woff2?v=20261202") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-semibold.woff2?v=20261202") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --black: #0b0b0b;
  --ink: #141414;
  --white: #f4f3f1;
  --paper: #ebeae6;
  --grey: #8c8b87;
  --grey-d: #5a5955;
  --line-d: rgba(244, 243, 241, .14);
  --line-l: rgba(11, 11, 11, .12);
  --display: "Bebas Neue Pro", "Bebas Neue", "Oswald", Impact, sans-serif;
  --text: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--text); font-weight: 400; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--white); color: var(--black); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; margin: 0; line-height: .88; }
.d-xxl { font-size: clamp(4.2rem, 15vw, 17rem); line-height: .82; }
.d-xl  { font-size: clamp(3.6rem, 11vw, 12.5rem); }
.d-l   { font-size: clamp(3rem, 7.2vw, 8.4rem); }
.d-m   { font-size: clamp(2.3rem, 4.6vw, 4.9rem); line-height: .92; }
.d-s   { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: .95; }
.light { font-weight: 300; }
.eyebrow { font-family: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); font-weight: 300; line-height: 1.6; }
.muted { color: var(--grey); }
.num { font-family: var(--text); font-size: 13px; letter-spacing: .12em; }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--gutter); }
.section { padding-block: clamp(90px, 13vw, 200px); position: relative; }
.t-dark  { background: var(--black); color: var(--white); }
.t-light { background: var(--white); color: var(--black); }
.t-paper { background: var(--paper); color: var(--black); }
.t-light .muted, .t-paper .muted { color: var(--grey-d); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); }
.hr { height: 1px; background: var(--line-d); border: 0; margin: 0; }
.t-light .hr, .t-paper .hr { background: var(--line-l); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .9em; height: 54px; padding: 0 28px;
  border: 1px solid currentColor; border-radius: 100px; font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--solid:hover { background: transparent; color: var(--white); }
.t-light .btn--solid, .t-paper .btn--solid { background: var(--black); color: var(--white); border-color: var(--black); }
.t-light .btn--solid:hover, .t-paper .btn--solid:hover { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.t-light .btn--ghost:hover, .t-paper .btn--ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.link-u { position: relative; display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 6px; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link-u:hover::after { transform: scaleX(0); }

/* ---------- Header (blend difference: funciona sobre negro y blanco) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter); color: #fff;
  transition: transform .5s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s var(--ease); background: rgba(11,11,11,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-solid::before { opacity: 1; }
.site-header.on-light { color: var(--black); }
.site-header.on-light::before { background: rgba(244,243,241,.85); }
.brand .neg { display: none; }
.site-header.on-light .brand .pos { display: none; }
.site-header.on-light .brand .neg { display: block; }
.site-header.on-light .btn--ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.menu-open .site-header { color: #fff; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .brand .pos { display: block; }
.menu-open .site-header .brand .neg { display: none; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand .wm { height: 26px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { height: 44px; padding: 0 22px; font-size: 12px; }
.nav .ext { opacity: .7; margin-left: 2px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; } .menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) 48px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.big { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 15vw, 6rem); line-height: .95; text-transform: uppercase; display: block; }
.mobile-menu .meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 13px; color: var(--grey); }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--white); background: var(--black); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.78) 100%); }
.hero__content { position: absolute; inset: auto 0 0 0; padding: 0 var(--gutter) clamp(28px, 5vh, 56px); }
.hero__title { margin: 0; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__row { margin-top: clamp(24px, 4vh, 44px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero__row p { max-width: 46ch; margin: 0; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__top { position: absolute; top: calc(var(--header-h) + 24px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 46px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 46px; } }

/* ---------- Hero interior (páginas) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(80px, 14vh, 160px)) var(--gutter) clamp(56px, 8vw, 110px); }
.page-hero .d-xxl { margin-top: 18px; }
.page-hero__foot { margin-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.page-hero__foot p { margin: 0; max-width: 52ch; }
@media (max-width: 800px) { .page-hero__foot { grid-template-columns: 1fr; } }

/* ---------- Manifiesto ---------- */
.manifesto { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 80px); }
.manifesto__text { font-weight: 300; font-size: clamp(1.75rem, 3.7vw, 3.7rem); line-height: 1.14; letter-spacing: -.01em; margin: 0; }
.manifesto__text strong { font-weight: 600; }
.js .manifesto__text .w { opacity: .18; transition: opacity .35s linear; }
.js .manifesto__text .w.on { opacity: 1; }
.manifesto__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.stat-big { font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 9vw, 9rem); line-height: .8; }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } .manifesto__aside { order: 2; flex-direction: row; align-items: flex-end; } }

/* ---------- Números ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); }
.numbers > div { padding: clamp(28px, 4vw, 56px) clamp(8px, 2vw, 28px) 0 0; border-right: 1px solid var(--line-l); padding-left: clamp(12px, 2vw, 28px); }
.numbers > div:first-child { padding-left: 0; }
.numbers > div:last-child { border-right: 0; }
.numbers .n { font-family: var(--display); font-weight: 700; font-size: clamp(4.4rem, 9vw, 10rem); line-height: .85; display: block; }
.numbers p { margin: 14px 0 0; max-width: 22ch; font-size: 15px; }
@media (max-width: 860px) { .numbers { grid-template-columns: 1fr 1fr; } .numbers > div:nth-child(2) { border-right: 0; } .numbers > div:nth-child(3) { padding-left: 0; } .numbers > div:nth-child(n+3) { border-top: 1px solid var(--line-l); margin-top: 28px; } }

/* ---------- Logos ---------- */
.logos { overflow: hidden; position: relative; padding-block: 24px; }
.logos::before, .logos::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none; }
.logos::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.logos::after { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.logos__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__group { display: flex; align-items: center; gap: clamp(56px, 7vw, 120px); padding-right: clamp(56px, 7vw, 120px); }
.logos__group img { height: clamp(34px, 3.6vw, 52px); width: auto; max-width: 190px; object-fit: contain; opacity: .78; transition: opacity .3s; }
.logos__group img.wide { height: clamp(24px, 2.4vw, 34px); max-width: 220px; }
.logos__group img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(120px, 18vw, 280px); }
.statement .d-xl { max-width: 13ch; }

/* ---------- Servicios: tarjetas apiladas ---------- */
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.services-intro p { margin: 0; max-width: 50ch; }
@media (max-width: 860px) { .services-intro { grid-template-columns: 1fr; } }
.stack { position: relative; }
.stack-card { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; color: var(--white); transform-origin: 50% 0; will-change: transform; }
.stack-card__media { position: absolute; inset: 0; }
.stack-card__media img, .stack-card__media video { width: 100%; height: 100%; object-fit: cover; }
.stack-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.1) 100%); }
.stack-card__body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 32px) var(--gutter) clamp(32px, 6vh, 64px); }
.stack-card__body .d-l { max-width: 9ch; }
.stack-card__foot { display: grid; grid-template-columns: minmax(0, 46ch) auto; gap: 32px; align-items: end; justify-content: space-between; }
.stack-card__foot p { margin: 0; }
.stack-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { border: 1px solid rgba(255,255,255,.35); border-radius: 100px; padding: 6px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.t-light .tag, .t-paper .tag { border-color: var(--line-l); }
@media (max-width: 760px) { .stack-card__foot { grid-template-columns: 1fr; } }

/* ---------- Casos destacados (scroll horizontal) ---------- */
.cases-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--gutter) clamp(32px, 4vw, 56px); }
.hscroll__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll__track::-webkit-scrollbar { display: none; }
.hscroll.is-pinned .hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll.is-pinned .hscroll__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.case-card { flex: 0 0 clamp(290px, 36vw, 560px); scroll-snap-align: start; display: block; }
.case-card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter .6s; }
.case-card:hover .case-card__img img { transform: scale(1.08); }
.case-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.case-card__meta h3 { font-size: clamp(1.9rem, 2.6vw, 2.8rem); }
.case-card__meta span { font-size: 13px; color: var(--grey); text-align: right; }
.case-card .pill { position: absolute; left: 16px; top: 16px; z-index: 2; background: rgba(11,11,11,.72); backdrop-filter: blur(6px); color: #fff; border-radius: 100px; padding: 7px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hscroll__progress { margin: 32px var(--gutter) 0; height: 1px; background: var(--line-d); position: relative; }
.hscroll__progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }

/* ---------- Showrooms en vivo ---------- */
.live { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.live-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; background: #222; }
.live-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.live-card:hover img { transform: scale(1.06); }
.live-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.8) 100%); }
.live-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(20px, 2.4vw, 32px); }
.live-card__body h3 { font-size: clamp(2.4rem, 3.6vw, 3.6rem); }
.live-card__body p { margin: 6px 0 18px; font-size: 13px; color: rgba(255,255,255,.75); }
.live-dot { position: absolute; top: 20px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; background: rgba(11,11,11,.6); backdrop-filter: blur(6px); padding: 7px 14px; border-radius: 100px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
@media (max-width: 860px) { .live { grid-template-columns: 1fr; } .live-card { aspect-ratio: 4 / 3; } }

/* ---------- Audiencias (tabs) ---------- */
.aud { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); }
.aud__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-d); }
.aud__tab { text-align: left; padding: 22px 0; border-bottom: 1px solid var(--line-d); font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1; text-transform: uppercase; color: var(--grey-d); display: flex; justify-content: space-between; align-items: center; transition: color .35s; }
.aud__tab:hover, .aud__tab[aria-selected="true"] { color: var(--white); }
.aud__tab .num { font-family: var(--text); font-weight: 400; }
.aud__panel { display: none; }
.aud__panel.is-active { display: block; animation: fadeUp .6s var(--ease); }
.no-js .aud__panel { display: block; margin-bottom: 64px; }
.aud__quote { font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.7rem); line-height: 1.18; margin: 0 0 28px; }
.aud__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.aud__list li { padding: 18px 0; border-top: 1px solid var(--line-d); font-size: 15px; }
.aud__list li b { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: 6px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } .aud__list { grid-template-columns: 1fr; } }

/* ---------- Testimonios ---------- */
.quotes { position: relative; min-height: 300px; }
.quote { margin: 0; }
.js .quote { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.js .quote.is-active { position: relative; opacity: 1; visibility: visible; }
.no-js .quote + .quote { margin-top: 48px; }
.quote p { font-weight: 300; font-size: clamp(1.6rem, 3.3vw, 3.3rem); line-height: 1.16; margin: 0; max-width: 30ch; }
.quote footer { margin-top: 28px; }
.quotes__nav { display: flex; align-items: center; gap: 18px; margin-top: 48px; }
.circle-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-l); display: inline-grid; place-items: center; transition: background .3s, color .3s; }
.circle-btn:hover { background: var(--black); color: var(--white); }

/* ---------- Fundadores ---------- */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.founder__img { aspect-ratio: 1 / 1; background: var(--paper); position: relative; overflow: hidden; display: grid; place-items: center; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.founder__ph { text-align: center; color: var(--grey-d); }
.founder__ph img { width: 64px; height: auto; margin: 0 auto 14px; opacity: .25; filter: none; }
.founder h3 { font-size: clamp(2rem, 2.8vw, 2.8rem); margin-top: 18px; }
.founder p { margin: 4px 0 0; color: var(--grey-d); }
.t-dark .founder__img { background: #1b1b1b; }
.t-dark .founder p, .t-dark .founder__ph { color: var(--grey); }
@media (max-width: 640px) { .founders { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-final { text-align: left; }
.cta-final .d-xxl { max-width: 11ch; }
.cta-final__row { margin-top: clamp(32px, 5vw, 64px); display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta-final__row p { margin: 0; max-width: 44ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(64px, 8vw, 110px) var(--gutter) 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 18px; font-family: var(--text); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-claim { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: .95; text-transform: uppercase; max-width: 14ch; margin: 0; }
.footer-wordmark { margin-top: clamp(56px, 8vw, 120px); display: flex; align-items: flex-end; gap: clamp(12px, 2vw, 32px); }
.footer-wordmark img.wm { width: 62vw; height: auto; }
.footer-wordmark img.iso { height: 26.2vw; width: auto; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--grey); letter-spacing: .06em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--black); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .35s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Servicios (página) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.svc + .svc { margin-top: clamp(100px, 12vw, 190px); }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a; }
.svc__media img, .svc__media video { width: 100%; height: 100%; object-fit: cover; }
.svc__body .num { display: block; margin-bottom: 18px; }
.svc__body .d-l { margin-bottom: 28px; }
.svc__body ul { list-style: none; padding: 0; margin: 32px 0 36px; border-top: 1px solid var(--line-d); }
.t-light .svc__body ul, .t-paper .svc__body ul { border-color: var(--line-l); }
.svc__body li { padding: 14px 0; border-bottom: 1px solid var(--line-d); display: flex; gap: 18px; font-size: 15px; }
.t-light .svc__body li, .t-paper .svc__body li { border-color: var(--line-l); }
.svc__body li::before { content: "—"; color: var(--grey); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc__media { order: 0; } .svc__media { aspect-ratio: 4 / 3; } }

.reels { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.reel { position: relative; background: #111; overflow: hidden; }
.reel video { width: 100%; height: auto; }
.reel figcaption { padding-top: 12px; font-size: 13px; color: var(--grey); }
@media (max-width: 860px) { .reels { grid-template-columns: 1fr 1fr; } .reels .reel:first-child { grid-column: 1 / -1; } }

.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); }
.process > div { padding: 32px clamp(12px, 2vw, 28px) 0 0; border-right: 1px solid var(--line-l); }
.process > div + div { padding-left: clamp(12px, 2vw, 28px); }
.process > div:last-child { border-right: 0; }
.process h3 { font-size: clamp(1.9rem, 2.4vw, 2.5rem); margin: 18px 0 12px; }
.process p { margin: 0; font-size: 15px; color: var(--grey-d); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; } .process > div { border-right: 0; padding-left: 0 !important; padding-bottom: 32px; } }

.showroom-band { position: relative; overflow: hidden; min-height: 80svh; display: flex; align-items: flex-end; color: #fff; }
.showroom-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showroom-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.1) 70%); }
.showroom-band .wrap { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 100px); width: 100%; }

/* ---------- Proyectos (grilla) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 42px; padding: 0 20px; border-radius: 100px; border: 1px solid var(--line-d); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.chip sup { font-weight: 400; margin-left: 4px; opacity: .6; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 80px) clamp(16px, 2vw, 32px); }
.pgrid .case-card { flex: none; }
.pgrid .case-card:nth-child(4n+2), .pgrid .case-card:nth-child(4n+3) .case-card__img { }
.pgrid .case-card:nth-child(odd) .case-card__img { aspect-ratio: 4 / 5; }
.pgrid .case-card:nth-child(even) { margin-top: clamp(0px, 10vw, 160px); }
.pgrid .case-card:nth-child(even) .case-card__img { aspect-ratio: 1 / 1; }
.pgrid .case-card.is-hidden { display: none; }
.pgrid .case-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 700px) { .pgrid { grid-template-columns: 1fr; } .pgrid .case-card:nth-child(even) { margin-top: 0; } }

/* ---------- Ficha de proyecto ---------- */
.p-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: #fff; }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 30%, rgba(0,0,0,.75)); }
.p-hero .wrap { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(28px, 6vh, 64px); }
.p-meta { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.p-meta > div { padding: 22px 16px 0 0; }
.p-meta dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.p-meta dd { margin: 0; font-size: 15px; }
@media (max-width: 760px) { .p-meta { grid-template-columns: 1fr 1fr; } }
.p-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); }
.p-intro p.lead { margin: 0; }
@media (max-width: 860px) { .p-intro { grid-template-columns: 1fr; } }
.gallery { columns: 2; column-gap: clamp(12px, 1.4vw, 20px); }
.gallery a { display: block; margin-bottom: clamp(12px, 1.4vw, 20px); break-inside: avoid; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery a img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a.full { column-span: all; }
@media (max-width: 640px) { .gallery { columns: 1; } }
.p-video { max-width: 1400px; margin: 0 auto; }
.p-video.vertical { max-width: 460px; }
.p-video video { width: 100%; background: #000; }
.next-project { position: relative; display: block; overflow: hidden; color: #fff; min-height: 70svh; }
.next-project > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.next-project:hover > img { transform: scale(1.05); }
.next-project::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.next-project .wrap { position: relative; z-index: 2; min-height: 70svh; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 110px); }
.contact__info dl { margin: 0; }
.contact__info dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-top: 32px; }
.contact__info dd { margin: 8px 0 0; font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 300; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.field { display: flex; flex-direction: column; grid-column: span 1; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); padding-top: 18px; }
.field input, .field select, .field textarea { font: inherit; font-size: 18px; font-weight: 300; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid var(--line-d); padding: 12px 0 14px; outline: none; border-radius: 0; transition: border-color .3s; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #000; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--white); }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.form__foot small { color: var(--grey); font-size: 13px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* ---------- Estudio ---------- */
.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.values li { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 24px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-d); align-items: baseline; }
.values h3 { font-size: clamp(2.2rem, 3.8vw, 4rem); }
.values p { margin: 0; color: var(--grey); max-width: 52ch; }
@media (max-width: 760px) { .values li { grid-template-columns: 1fr; gap: 10px; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.duo__img { aspect-ratio: 4 / 5; overflow: hidden; }
.duo__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8,8,8,.96); display: none; align-items: center; justify-content: center; }
.lb.is-open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb button { position: absolute; color: #fff; width: 56px; height: 56px; display: grid; place-items: center; font-size: 26px; }
.lb .lb-close { top: 18px; right: 18px; }
.lb .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; color: var(--grey); }

/* ---------- Cursor "Ver" ---------- */
.cursor-view { position: fixed; left: 0; top: 0; z-index: 80; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--white); color: var(--black); display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: .2em; pointer-events: none; transform: scale(0); transition: transform .35s var(--ease); }
.cursor-view.is-on { transform: scale(1); }
@media (hover: none) { .cursor-view { display: none; } }

/* ---------- Animaciones de entrada (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .is-loaded .hero__title .line > span, .js.is-loaded .hero__title .line > span { transform: none; }
.js .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.js .img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .img-reveal.in { clip-path: inset(0 0 0 0); }

/* Movimiento reducido: solo se apagan los efectos intrusivos */
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation-duration: 120s; }
  .scroll-cue i::after { animation: none; }
}

/* ---------- Ajustes móviles ---------- */
@media (max-width: 700px) {
  .hero__top span:last-child { display: none; }
  .hero__ctas .btn { height: 50px; padding: 0 22px; }
  .cases-head { flex-direction: column; align-items: flex-start; }
  .case-card__meta { flex-direction: column; gap: 4px; }
  .case-card__meta span { text-align: left; }
  .page-hero .d-xxl { font-size: clamp(3.4rem, 17vw, 6rem); }
}

/* ==========================================================================
   v2 — menú cápsula, agendar, mazo de proyectos, audiencias, equipo, cierre
   ========================================================================== */

/* Menú cápsula flotante */
.site-header { top: 18px; height: auto; padding: 0 var(--gutter); justify-content: center; color: #fff; pointer-events: none; }
.site-header::before { display: none; }
.site-header > * { pointer-events: auto; }
.site-header.is-hidden { transform: translateY(-200%); }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  width: min(880px, 100%); height: 64px; padding: 0 14px 0 26px; border-radius: 100px;
  background: rgba(28, 28, 28, .42); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
}
.nav-pill .brand img { height: 28px; }
.nav-pill .brand .wm { height: 21px; }
.nav-pill .nav { gap: clamp(16px, 2vw, 30px); }
.nav-pill .nav a { font-size: 12px; letter-spacing: .14em; }
.nav-pill .nav a[aria-current="page"] { opacity: .55; }
.nav-pill .nav a[aria-current="page"]::after { transform: scaleX(0); }
.header-cta {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  height: 38px; padding: 0 18px; border-radius: 100px; background: var(--white); color: var(--black);
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .35s var(--ease);
}
.header-cta:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 1240px) { .header-cta { display: none; } }
@media (max-width: 960px) {
  .nav-pill { height: 58px; padding: 0 10px 0 20px; }
  .menu-toggle { display: block; }
}

/* Pestaña Agendar (lateral derecha) */
.schedule-tab {
  position: fixed; right: 0; top: 50%; z-index: 45; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; padding: 26px 15px; background: var(--white); color: var(--black);
  border-radius: 0 22px 22px 0; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 6px 0 30px rgba(0,0,0,.14); transition: padding .35s var(--ease), background .3s, color .3s;
}
.schedule-tab:hover { padding-left: 22px; background: var(--black); color: var(--white); }
@media (max-width: 700px) { .schedule-tab { padding: 18px 11px; font-size: 11px; } }

/* Modal Calendly */
.cal-modal { position: fixed; inset: 0; z-index: 95; background: rgba(8,8,8,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cal-modal[hidden] { display: none; }
.cal-modal__box { position: relative; width: min(1000px, 100%); height: min(760px, 92svh); background: var(--white); border-radius: 18px; overflow: hidden; animation: fadeUp .5s var(--ease); }
.cal-modal__box iframe { width: 100%; height: 100%; border: 0; }
.cal-modal__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 24px; line-height: 1; }

/* Botón de línea (estilo cierre) */
.btn--line { border-color: currentColor; min-width: 260px; justify-content: center; font-weight: 400; letter-spacing: .08em; }
.btn--line:hover { background: var(--black); color: var(--white); }

/* Mazo de proyectos destacados */
.deck { position: relative; }
.deck__sticky { padding: clamp(90px, 10vw, 140px) 0 clamp(40px, 5vw, 70px); }
.deck__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.deck__title { font-family: var(--text); font-weight: 400; text-transform: none; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.01em; line-height: 1; }
.deck__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.deck__scroll i { width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.deck__stage { display: flex; gap: 14px; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.deck__stage::-webkit-scrollbar { display: none; }
.deck__panel { position: relative; flex: 0 0 82vw; aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; color: #fff; background: #222; display: block; }
.deck__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deck__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.65)); }
.deck__shade { position: absolute; inset: 0; z-index: 1; background: #000; opacity: 0; pointer-events: none; }
.deck__label { position: absolute; left: 22px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.deck__label strong { font-family: var(--text); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.3rem); line-height: 1.1; }
.deck__label em { font-style: normal; font-size: 14px; opacity: .85; }
.deck__label u { text-decoration: none; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.deck__panel:hover .deck__label u { opacity: 1; transform: none; }
.deck.is-pinned .deck__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; box-sizing: border-box; }
.deck.is-pinned .deck__stage { position: relative; flex: 1; overflow: hidden; margin-inline: var(--gutter); padding: 0; scroll-snap-type: none; }
.deck.is-pinned .deck__panel { position: absolute; top: 0; bottom: 0; left: 0; aspect-ratio: auto; will-change: transform; box-shadow: -18px 0 40px rgba(0,0,0,.18); }
.deck.is-pinned .deck__panel img { transition: transform 1.2s var(--ease); }
.deck.is-pinned .deck__panel:hover img { transform: scale(1.03); }

/* Audiencias (pestañas + imagen) */
.aud2 { padding-top: clamp(90px, 12vw, 170px); }
.aud2__head { padding-bottom: clamp(40px, 5vw, 64px); }
.aud2__title { font-family: var(--text); text-transform: none; font-weight: 600; font-size: clamp(2.3rem, 4.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em; }
.aud2__title span { font-weight: 300; }
.aud2__head .lead { max-width: 58ch; margin: 22px 0 0; }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.pill-tab { height: 46px; padding: 0 30px; border-radius: 100px; border: 1px solid var(--black); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: background .3s, color .3s; }
.pill-tab:hover { background: rgba(11,11,11,.06); }
.pill-tab[aria-selected="true"] { background: var(--black); color: var(--white); }
.aud2__panels { border-top: 1px solid var(--black); }
.aud2__panel { display: none; grid-template-columns: 30% 1fr; min-height: 86svh; }
.aud2__panel.is-active { display: grid; animation: fadeUp .6s var(--ease); }
.no-js .aud2__panel { display: grid; }
.aud2__img { position: relative; overflow: hidden; }
.aud2__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aud2__body { padding: clamp(48px, 8vw, 130px) clamp(24px, 6vw, 110px) clamp(48px, 6vw, 90px) clamp(28px, 10vw, 190px); align-self: center; }
.aud2__quote { font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3.6rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 clamp(40px, 6vw, 90px); }
.aud2__text { font-weight: 300; font-size: clamp(1.15rem, 1.7vw, 1.75rem); line-height: 1.35; margin: 0; max-width: 40ch; }
.aud2__text span { color: #a5a49f; }
.aud2__pts { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 640px; }
.aud2__pts b { display: block; font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); line-height: 1; text-transform: uppercase; }
.aud2__pts span { font-size: 14px; color: var(--grey-d); }
@media (max-width: 860px) {
  .aud2__panel { grid-template-columns: 1fr; min-height: 0; }
  .aud2__img { aspect-ratio: 16 / 10; }
  .aud2__body { padding: 40px var(--gutter) 64px; }
  .aud2__pts { grid-template-columns: 1fr; }
}

/* Carrusel de equipo */
.team { padding-bottom: clamp(80px, 10vw, 150px); }
.team__lead { text-align: right; color: #9c9b97; font-size: clamp(1.1rem, 1.6vw, 1.5rem); margin: 0 0 clamp(28px, 3vw, 44px); }
.team__strip { overflow: hidden; }
.team__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.team__strip:hover .team__track { animation-play-state: paused; }
.team__group { display: flex; }
.team__tile { margin: 0; width: clamp(220px, 26vw, 480px); aspect-ratio: 1 / .94; overflow: hidden; }
.team__tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1s var(--ease); }
.team__tile:hover img { transform: scale(1.05); }

/* Cierre tipográfico */
.closing { padding: clamp(110px, 14vw, 220px) 0 clamp(40px, 4vw, 70px); overflow: hidden; }
.closing__text { font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 3.6rem); line-height: 1.12; letter-spacing: -.015em; text-align: center; max-width: 25ch; margin: 0 auto; }
.closing__text span { color: #8f8e8a; }
.closing__word { font-family: var(--display); font-weight: 400; font-size: clamp(4rem, 16.6vw, 22rem); line-height: .8; text-align: center; white-space: nowrap; margin: clamp(80px, 12vw, 200px) 0 0; letter-spacing: .01em; }
.cta-center { text-align: center; padding: clamp(110px, 13vw, 200px) var(--gutter) clamp(140px, 16vw, 260px); }
.cta-center__title { font-family: var(--text); font-weight: 400; text-transform: none; font-size: clamp(2.4rem, 5.6vw, 6rem); letter-spacing: -.025em; line-height: 1.05; }
.cta-center p { margin: 22px auto 0; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.7; }
.cta-center__btns { margin-top: 44px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Efecto máquina de escribir */
.js [data-type] .ch { opacity: 0; transition: opacity .08s linear; }
.js [data-type] .ch.on { opacity: 1; }
.js [data-type].typing::after { content: ""; display: inline-block; width: .05em; height: .8em; margin-left: .04em; background: currentColor; vertical-align: baseline; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================================
   v3 — páginas internas estilo editorial
   ========================================================================== */

/* Títulos mixtos (light + bold) con entrada palabra por palabra */
.xtitle { font-family: var(--text); text-transform: none; font-weight: 600; letter-spacing: -.025em; line-height: 1.02; font-size: clamp(2.8rem, 6.4vw, 7rem); margin: 18px 0 0; }
.xtitle .lt { font-weight: 300; }
.xtitle--m { font-size: clamp(2.2rem, 4.2vw, 4.6rem); line-height: 1.05; }
.js [data-split] .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .sw > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.js [data-split].in .sw > span { transform: none; }

/* Hero partido */
.xhero { padding: calc(var(--header-h) + clamp(90px, 16vh, 190px)) 0 clamp(70px, 9vw, 130px); }
.xhero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.xhero__side p { margin: 0; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.6; max-width: 44ch; }
@media (max-width: 860px) { .xhero__grid { grid-template-columns: 1fr; } }

/* Hero con imagen B/N */
.xhero-img { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: #fff; background: #000; }
.xhero-img > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.72); }
.xhero-img__body { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(48px, 9vh, 110px); }
.xhero-img .xtitle { max-width: 15ch; }

/* Parallax */
[data-parallax] { will-change: transform; }

/* Pilares */
.pillars-sec { border-top: 1px solid var(--line-d); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 78svh; }
.pillar { padding: clamp(40px, 5vw, 80px) var(--gutter); border-right: 1px solid var(--line-d); display: flex; flex-direction: column; justify-content: flex-end; }
.pillar:last-child { border-right: 0; }
.pillar h3 { font-family: var(--text); text-transform: none; font-weight: 400; font-size: clamp(1.6rem, 2.3vw, 2.4rem); line-height: 1.1; margin-bottom: 26px; }
.pillar p { margin: 0; color: #b9b8b4; max-width: 38ch; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; min-height: 0; } .pillar { border-right: 0; border-bottom: 1px solid var(--line-d); padding-block: 56px; } }

/* Logo que gira y crece */
.spin { position: relative; height: 320svh; background: var(--black); color: var(--white); }
.spin__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; perspective: 1400px; }
.spin__logo { width: clamp(120px, 12vw, 190px); transform-origin: 50% 33.2%; will-change: transform; }
.spin__logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.spin__logo .iso-word { transition: none; }
.spin__text { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; margin: 0; font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2.4rem); letter-spacing: .08em; text-transform: uppercase; }
.spin__fill { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.spin__fill.t-light { background: var(--white); }
.spin__fill.t-paper { background: var(--paper); }

/* Mini stats */
.mini-stats { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-l); }
.mini-stats b { display: block; font-family: var(--display); font-size: clamp(2.6rem, 4vw, 4rem); line-height: .9; }
.mini-stats span { font-size: 13px; color: var(--grey-d); }

/* Frase destacada */
.statement-hl .manifesto__text { max-width: 26ch; font-size: clamp(2rem, 4.6vw, 4.8rem); }

/* Alcance */
.world { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.world__img { position: absolute; inset: 0; }
.world__img img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; filter: brightness(.6); }
.world__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 100%); }
.world__body { position: relative; z-index: 2; padding-block: clamp(80px, 10vw, 150px); }
.world__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); margin-top: clamp(32px, 4vw, 56px); max-width: 1000px; border-top: 1px solid rgba(255,255,255,.3); padding-top: 28px; }
.world__cols h3 { font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); }
.world__cols p { color: rgba(255,255,255,.8); margin: 12px 0 0; }
@media (max-width: 700px) { .world__cols { grid-template-columns: 1fr; } }

/* Testimonios en carrusel */
.testis__strip { overflow: hidden; }
.testis__track { display: flex; gap: 20px; width: max-content; padding-inline: var(--gutter); animation: marquee 70s linear infinite; }
.testis__strip:hover .testis__track { animation-play-state: paused; }
.tcard { margin: 0; width: clamp(300px, 32vw, 480px); background: var(--white); border-radius: 18px; padding: clamp(26px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 300px; }
.t-light .tcard { background: var(--paper); }
.tcard__q { font-family: Georgia, serif; font-size: 72px; line-height: .6; height: 34px; }
.tcard blockquote { margin: 0; font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.45; font-weight: 300; }
.tcard figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-d); }

/* Logos sobre fondo oscuro */
.logos-sec { padding-block: clamp(70px, 8vw, 120px); }
.t-dark .logos::before { background: linear-gradient(90deg, var(--black), transparent); }
.t-dark .logos::after { background: linear-gradient(-90deg, var(--black), transparent); }
.logos--inv img { filter: invert(1); }

/* Stats */
.xstats { padding-block: clamp(80px, 10vw, 150px); }
.xstats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.xstat__n { display: block; font-family: var(--text); font-weight: 400; font-size: clamp(3.6rem, 7.6vw, 8rem); letter-spacing: -.04em; line-height: 1; }
.xstats p { margin: 14px 0 0; color: #b9b8b4; }
.t-light .xstats p { color: var(--grey-d); }
@media (max-width: 700px) { .xstats__grid { grid-template-columns: 1fr; gap: 48px; } }

/* Número gigante */
.xbig { padding: clamp(110px, 14vw, 220px) 0 clamp(40px, 5vw, 70px); text-align: center; }
.xbig__n { margin: 0; font-family: var(--text); font-weight: 400; letter-spacing: -.05em; font-size: clamp(5rem, 15vw, 16rem); line-height: .9; }
.xbig__sub { margin: 18px 0 0; font-size: clamp(1.1rem, 1.8vw, 1.8rem); font-weight: 300; }

/* Imagen/video que crece al hacer scroll */
.grow { position: relative; height: 200svh; }
.grow__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.grow__frame { position: relative; width: 100%; height: 100%; clip-path: inset(var(--gi, 18%) var(--gx, 22%) round var(--gr, 24px)); will-change: clip-path; }
.grow__frame img, .grow__frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--gs, 1.15)); }
.grow__overlay { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; background: rgba(0,0,0,.28); }
.grow__title { margin: 10px 0 0; font-family: var(--text); font-weight: 300; font-size: clamp(2.4rem, 6vw, 6.4rem); letter-spacing: -.03em; line-height: 1; }

/* Lista de servicios desplegable con imagen flotante */
.slist { margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line-l); }
.srow { border-bottom: 1px solid var(--line-l); }
.srow__head { width: 100%; display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 16px; padding: clamp(22px, 2.6vw, 38px) 0; text-align: left; }
.srow__name { font-family: var(--text); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 3.4rem); letter-spacing: -.02em; line-height: 1.05; transition: transform .5s var(--ease); }
.srow__head:hover .srow__name { transform: translateX(14px); }
.srow__head i, .acc__q i { position: relative; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; justify-self: end; }
.srow__head i::before, .srow__head i::after, .acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.srow__head i::after, .acc__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.srow__head[aria-expanded="true"] i::after, .acc__q[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0deg); }
.srow__body, .acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.srow__body > div, .acc__a > div { overflow: hidden; }
.srow.is-open .srow__body, .acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.no-js .srow__body, .no-js .acc__a { grid-template-rows: 1fr; }
.srow__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 64px); padding: 8px 0 clamp(36px, 4vw, 56px) 106px; }
.srow__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; }
.srow__img img { width: 100%; height: 100%; object-fit: cover; }
.srow__list { list-style: none; padding: 0; margin: 24px 0; columns: 2; column-gap: 28px; }
.srow__list li { padding: 8px 0; border-bottom: 1px solid var(--line-l); break-inside: avoid; font-size: 15px; }
.spreview { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-4deg); transition: opacity .35s, transform .45s var(--ease); }
.spreview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
.spreview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .srow__grid { grid-template-columns: 1fr; padding-left: 0; } .srow__head { grid-template-columns: 56px 1fr 34px; } .srow__list { columns: 1; } .spreview { display: none; } }
@media (hover: none) { .spreview { display: none; } }

/* Frase centrada + imagen partida */
.xcenter { text-align: center; font-size: clamp(1.6rem, 3vw, 3rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; max-width: 26ch; margin: 0 auto clamp(48px, 6vw, 90px); }
.xcenter b { font-weight: 600; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; height: clamp(380px, 70vh, 760px); overflow: hidden; border-radius: 18px; }
.split2 > div { position: relative; overflow: hidden; }
.split2 img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; }
.split2__cap { position: absolute; left: 28px; top: 28px; color: #fff; display: flex; flex-direction: column; }
.split2__cap b { font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.split2__cap em { font-style: normal; font-size: 14px; opacity: .85; }
@media (max-width: 700px) { .split2 { grid-template-columns: 1fr; height: auto; } .split2 > div { height: 60vw; } }

/* Embebidos (showroom / recorridos) */
.xembed { border-radius: 18px; overflow: hidden; background: #161616; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.t-light .xembed { box-shadow: 0 30px 80px rgba(0,0,0,.15); }
.xembed__bar { height: 44px; display: flex; align-items: center; gap: 16px; padding: 0 16px; background: #1e1e1e; color: #a9a8a4; font-size: 12px; }
.xembed__dots { display: flex; gap: 6px; } .xembed__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.xembed__url { flex: 1; text-align: center; background: #2a2a2a; border-radius: 8px; padding: 5px 12px; max-width: 420px; margin: 0 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xembed__ext { color: #d6d5d1; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
.xembed__ext:hover { color: #fff; }
.xembed__view { position: relative; aspect-ratio: 16 / 9; max-height: 82svh; width: 100%; background: #000; }
.xembed__view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.xembed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: transform 1.4s var(--ease), filter .6s; }
.xembed:hover .xembed__poster { transform: scale(1.03); filter: brightness(.6); }
.xembed__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border-radius: 100px; background: rgba(255,255,255,.96); color: var(--black); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: transform .4s var(--ease); }
.xembed__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.xembed__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 15px; padding-left: 3px; }
.xembed__play::before { content: ""; position: absolute; inset: -10px; border-radius: 100px; border: 1px solid rgba(255,255,255,.5); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { from { opacity: 1; transform: scale(.94); } to { opacity: 0; transform: scale(1.18); } }
.xembed.is-live .xembed__poster, .xembed.is-live .xembed__play { display: none; }
.pill-tab--inv { border-color: rgba(255,255,255,.5); color: var(--white); }
.pill-tab--inv:hover { background: rgba(255,255,255,.08); }
.pill-tab--inv[aria-selected="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.tours { display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: start; }
.tours--single { grid-template-columns: 1fr; }
.tours__list { display: flex; flex-direction: column; gap: 10px; }
.tour-tab { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; text-align: left; padding: 8px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); transition: background .3s, border-color .3s; }
.tour-tab:hover { background: rgba(255,255,255,.05); }
.tour-tab[aria-selected="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.tour-tab img { width: 92px; height: 68px; object-fit: cover; border-radius: 9px; }
.tour-tab b { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.tour-tab em { font-style: normal; font-size: 12px; opacity: .65; }
@media (max-width: 960px) { .tours { grid-template-columns: 1fr; } .tours__list { flex-direction: row; overflow-x: auto; } .tour-tab { min-width: 250px; } }
@media (max-width: 700px) { .xembed__view { aspect-ratio: 4 / 5; } .xembed__ext { display: none; } }

/* Características */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.feat { padding: clamp(26px, 3vw, 44px); border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); min-height: 230px; display: flex; flex-direction: column; transition: background .4s; }
.feat:hover { background: var(--paper); }
.feat h3 { font-family: var(--text); text-transform: none; font-weight: 600; font-size: clamp(1.2rem, 1.6vw, 1.55rem); line-height: 1.2; margin: auto 0 10px; padding-top: 40px; }
.feat p { margin: 0; color: var(--grey-d); font-size: 15px; }
@media (max-width: 860px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* Proceso con línea de progreso */
.pblock__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); }
.pblock__head { position: sticky; top: 120px; align-self: start; }
.pblock__head > p:last-child { margin-top: 24px; max-width: 46ch; }
.psteps { list-style: none; margin: 0; padding: 0 0 0 46px; position: relative; }
.psteps__line { position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--line-l); }
.psteps__line i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--black); transform-origin: top; transform: scaleY(var(--pp, 0)); }
.pstep { position: relative; padding: 0 0 clamp(48px, 6vw, 88px); opacity: .32; transition: opacity .5s; }
.pstep::before { content: ""; position: absolute; left: -44px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 1px solid var(--black); transition: background .4s; }
.pstep.is-on { opacity: 1; } .pstep.is-on::before { background: var(--black); }
.no-js .pstep { opacity: 1; }
.pstep__when { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-d); }
.pstep h3 { font-family: var(--text); text-transform: none; font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.8rem); letter-spacing: -.02em; margin: 10px 0 12px; line-height: 1.1; }
.pstep p { margin: 0; max-width: 46ch; color: var(--grey-d); }
@media (max-width: 860px) { .pblock__grid { grid-template-columns: 1fr; } .pblock__head { position: static; } }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 120px); }
.faq__head { position: sticky; top: 120px; align-self: start; }
.faq__head > p { margin-top: 22px; max-width: 40ch; color: var(--grey-d); }
.acc { border-top: 1px solid var(--line-l); }
.acc__item { border-bottom: 1px solid var(--line-l); }
.acc__q { width: 100%; display: grid; grid-template-columns: 44px 1fr 34px; gap: 14px; align-items: center; text-align: left; padding: 24px 0; font-size: clamp(1.05rem, 1.45vw, 1.35rem); font-weight: 400; line-height: 1.35; }
.acc__q:hover span:nth-child(2) { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.acc__a p { margin: 0; padding: 0 48px 26px 58px; color: var(--grey-d); line-height: 1.7; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } .acc__a p { padding: 0 0 22px 58px; } }

/* Casos destacados (lista con columna fija) */
.fcases__grid { display: grid; grid-template-columns: 1fr 1.6fr; }
.fcases__side { padding: 0 var(--gutter); }
.fcases__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.fcases__sticky .lead { max-width: 30ch; color: var(--grey-d); margin: 0; }
.fcases__list { display: flex; flex-direction: column; }
.fcase { position: relative; display: block; height: 100svh; overflow: hidden; color: #fff; }
.fcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fcase:hover img { transform: scale(1.04); }
.fcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 35%, rgba(0,0,0,.2)); }
.fcase__meta { position: absolute; left: clamp(24px, 3vw, 48px); top: clamp(90px, 12vh, 130px); z-index: 2; display: flex; flex-direction: column; }
.fcase__meta b { font-weight: 400; font-size: clamp(2.2rem, 4vw, 4.4rem); letter-spacing: -.02em; line-height: 1.05; }
.fcase__meta em { font-style: normal; font-size: 15px; opacity: .85; }
.fcase__meta u { text-decoration: none; margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .2em; border: 1px solid rgba(255,255,255,.7); border-radius: 100px; padding: 10px 18px; align-self: flex-start; transition: background .3s, color .3s; }
.fcase:hover .fcase__meta u { background: #fff; color: #000; }
@media (max-width: 860px) { .fcases__grid { grid-template-columns: 1fr; } .fcases__sticky { position: static; height: auto; padding: 90px 0 40px; } .fcase { height: 75svh; } }

/* Grilla de portfolio en claro */
.chip--l { border-color: var(--line-l); color: var(--black); }
.chip--l:hover { border-color: var(--black); }
.chip--l[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.pgrid--l .case-card__meta span { color: var(--grey-d); }

/* Contacto */
.cform { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.cform__head .muted { margin-top: 22px; }
a.u { text-decoration: underline; text-underline-offset: 4px; }
.cform__card { background: var(--paper); border-radius: 26px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
.cfield { display: flex; flex-direction: column; border: 0; margin: 0; padding: 0; min-width: 0; }
.cfield.full, .cform__foot.full { grid-column: 1 / -1; }
.cfield label, .cfield legend { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-d); padding-top: 18px; }
.cfield input, .cfield select, .cfield textarea { font: inherit; font-size: 17px; color: var(--black); background: transparent; border: 0; border-bottom: 1px solid rgba(11,11,11,.25); padding: 12px 0; outline: none; border-radius: 0; appearance: none; transition: border-color .3s; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus { border-color: var(--black); }
.cfield textarea { min-height: 110px; resize: vertical; }
.chips-field { flex-direction: row; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.chips-field legend { width: 100%; margin-bottom: 12px; }
.chips-field label { padding: 0; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--black); font-size: 14px; cursor: pointer; }
.chips-field input { position: absolute; opacity: 0; pointer-events: none; }
.chips-field span { display: inline-block; padding: 9px 18px; border: 1px solid rgba(11,11,11,.3); border-radius: 100px; transition: background .25s, color .25s; }
.chips-field input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chips-field input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.cform__foot { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.cform__foot .btn--line { min-width: min(420px, 100%); color: var(--black); }
@media (max-width: 860px) { .cform { grid-template-columns: 1fr; } .cform__card { grid-template-columns: 1fr; } }
.calinline { height: 720px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-d); display: grid; place-items: center; }
.calinline iframe { width: 100%; height: 100%; border: 0; }
.offices { display: grid; gap: clamp(48px, 6vw, 90px); }
.office { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.office h3 { font-family: var(--text); text-transform: none; font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.8rem); margin-top: 14px; }
.office__time { font-size: clamp(1.6rem, 2.4vw, 2.4rem); font-weight: 300; color: var(--grey); margin: 6px 0 22px; font-variant-numeric: tabular-nums; }
.office__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; }
.office__img img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; }
@media (max-width: 860px) { .office { grid-template-columns: 1fr; } }

/* Ficha de proyecto en claro */
.p-intro .xtitle--m { margin: 0; }

/* Showrooms como tarjetas (no embebidos) */
.live--2 { grid-template-columns: repeat(2, 1fr); }
.live--1 { grid-template-columns: 1fr; }
.live--1 .live-card { aspect-ratio: 16 / 7; }
.live--2 .live-card { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .live--2 { grid-template-columns: 1fr; } .live--1 .live-card { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   v4 — redes, formulario en todas las páginas, confianza, showroom, carrusel, ilustraciones
   ========================================================================== */
.spin__logo { transform-origin: 50% 50%; width: clamp(110px, 11vw, 170px); }

/* Redes en el pie */
.socials { display: flex; gap: 12px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--white); color: var(--black); border-color: var(--white); transform: translateY(-3px); text-decoration: none; }
.socials svg { width: 21px; height: 21px; }

/* Formulario compartido */
.lead-sec { padding-block: clamp(90px, 11vw, 170px); }
.lead-sec__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.lead-sec__list li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.lead-sec__list li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 14px; flex-basis: 100%; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #1f7a3a; } .form-status.err { color: #a12a2a; }
.cform__card { position: relative; }
.cform__card.is-sending button { opacity: .5; pointer-events: none; }

/* Banda de confianza / Spazios */
.trust { padding-block: clamp(90px, 11vw, 160px); border-top: 1px solid var(--line-l); }
.trust--inv { border-top-color: var(--line-d); }
.trust__grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.trust__badge { aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid var(--line-l); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; max-width: 360px; width: 100%; margin: 0 auto; position: relative; }
.trust__badge::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed var(--line-l); animation: spinSlow 40s linear infinite; }
.trust__badge img { width: 62%; height: auto; }
.trust--inv .trust__badge, .trust--inv .trust__badge::after { border-color: var(--line-d); }
.trust--inv .trust__badge img { filter: invert(1); }
.trust .lead b { font-weight: 600; }
.t-dark .mini-stats { border-top-color: var(--line-d); }
.t-dark .mini-stats span { color: var(--grey); }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .trust__grid { grid-template-columns: 1fr; } .trust__badge { max-width: 240px; } }

/* Por qué vende el showroom */
.why__list { border-top: 1px solid var(--line-l); }
.why__row { display: grid; grid-template-columns: 60px 1fr 1fr; gap: clamp(16px, 3vw, 48px); padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-l); align-items: start; }
.why__row h3 { font-family: var(--text); text-transform: none; font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -.01em; }
.why__pain { margin: 10px 0 0; color: var(--grey-d); }
.why__fix { margin: 0; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.5; display: flex; gap: 14px; }
.why__arrow { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-size: 14px; margin-top: 2px; }
.cmp { margin-top: clamp(64px, 8vw, 120px); }
.cmp__wrap { overflow-x: auto; border: 1px solid var(--line-l); border-radius: 18px; }
.cmp__table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.cmp__table th, .cmp__table td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--line-l); }
.cmp__table tbody tr:last-child th, .cmp__table tbody tr:last-child td { border-bottom: 0; }
.cmp__table thead th { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-d); }
.cmp__table tbody th { text-align: left; font-weight: 400; }
.cmp__table .hl { background: var(--black); color: var(--white); }
.cmp__table thead .hl { color: var(--white); }
.cmp__table .yes { font-size: 18px; font-weight: 600; }
.cmp__table .no { color: #b3b2ae; }
@media (max-width: 860px) { .why__row { grid-template-columns: 40px 1fr; } .why__fix { grid-column: 2; } }

/* Carrusel de renders */
.rc { padding-block: clamp(90px, 11vw, 160px); overflow: hidden; }
.rc__head { margin-bottom: clamp(36px, 4vw, 60px); }
.rc__strip { overflow: hidden; }
.rc__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.rc__strip:hover .rc__track { animation-play-state: paused; }
.rc__group { display: flex; gap: 16px; padding-right: 16px; }
.rc__tile { margin: 0; position: relative; height: clamp(260px, 38vw, 560px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; }
.rc__tile:nth-child(3n+2) { aspect-ratio: 3 / 4; }
.rc__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rc__tile:hover img { transform: scale(1.05); }
.rc__tile figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 100px; }

/* Búsquedas laborales */
.careers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.careers__mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 300; border-bottom: 1px solid currentColor; padding-bottom: 6px; transition: gap .3s var(--ease); }
.careers__mail:hover { gap: 20px; }
@media (max-width: 860px) { .careers__grid { grid-template-columns: 1fr; } }

/* Pilares con ilustraciones animadas */
.pillar { justify-content: space-between; gap: 40px; }
.mg { width: 100%; max-width: 380px; color: var(--white); }
.mg-svg { width: 100%; height: auto; overflow: visible; }
.mg-svg .d, .mg-svg .b { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .pillar.in .mg-svg .d { animation: draw 1.8s var(--ease) forwards; }
.no-js .mg-svg .d, .no-js .mg-svg .b { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* 1 · el render se construye en pantalla */
.pillar.in .mg-1 .b { animation: build 5s ease-in-out infinite; }
.mg-1 .b2 { animation-delay: .35s !important; } .mg-1 .b3 { animation-delay: .7s !important; } .mg-1 .b4 { animation-delay: 1.05s !important; }
@keyframes build { 0%, 8% { stroke-dashoffset: 1; } 40%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.mg-bar { animation: bar 5s ease-in-out infinite; }
@keyframes bar { 0% { width: 0; } 70%, 100% { width: 106px; } }
.mg-arm { transform-origin: 98px 104px; animation: type .45s ease-in-out infinite alternate; }
@keyframes type { to { transform: rotate(-3deg) translateY(1px); } }
/* 2 · íconos flotando y render progresivo */
.mg-t { fill: currentColor; font-family: var(--text); font-size: 13px; letter-spacing: .08em; }
.mg-t--big { font-family: var(--display); font-size: 54px; font-weight: 700; letter-spacing: 0; }
.mg-t--s { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; fill: #9a9995; }
.mg-float { animation: floaty 4s ease-in-out infinite; }
.mg-float.f2 { animation-delay: -2s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.mg-grid .px { fill: currentColor; opacity: .08; animation: px 2.8s steps(1) infinite; animation-delay: var(--d); }
@keyframes px { 0% { opacity: .08; } 30% { opacity: .35; } 60% { opacity: .75; } 85% { opacity: 1; } }
.mg-dots { animation: blink 1.2s steps(1) infinite; }
/* 3 · dos personas con anteojos */
.mg-p1 { transform-origin: 88px 150px; animation: nod 3.2s ease-in-out infinite; }
.mg-p2 { transform-origin: 232px 150px; animation: nod 3.6s ease-in-out infinite reverse; }
@keyframes nod { 50% { transform: rotate(-2.5deg); } }
.mg-glow { fill: currentColor; opacity: .12; animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .35; } }
.mg-bubble { animation: bub 4s ease-in-out infinite; transform-origin: 160px 64px; }
@keyframes bub { 0%, 10% { opacity: 0; transform: scale(.85); } 20%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: scale(.9); } }
.mg-bubble .dot { fill: currentColor; animation: dot 1.2s ease-in-out infinite; }
.mg-bubble .dot:nth-of-type(2) { animation-delay: .15s; } .mg-bubble .dot:nth-of-type(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-3px); opacity: .4; } }

/* v4 — videos grabados del showroom y del recorrido */
.xembed__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); }
.xembed.is-live .xembed__vid { display: none; }
.xembed--video .xembed__view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xembed__live { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 100px; background: rgba(255,255,255,.95); color: var(--black); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: transform .3s var(--ease); }
.xembed__live:hover { transform: scale(1.04); }
.live-dot--static { position: static; background: var(--black); color: #fff; }
.vf { margin-top: clamp(56px, 7vw, 100px); }
.vf__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.vf__title { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 400; }
.vf__title span { color: var(--grey); }

/* SEO: los H1 con palabras clave conservan el estilo de etiqueta chica */
.hero__h1, .xh1 { font-family: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1.5; margin: 0; max-width: 52ch; }
.hero__top { align-items: flex-start; gap: 24px; }
.xhero .xh1 + .xtitle, .xhero-img .xh1 + .xtitle { margin-top: 18px; }
@media (max-width: 700px) { .hero__h1 { font-size: 11px; max-width: 30ch; } }

.hero__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: .88; margin: 0; }

/* ==========================================================================
   SEO — páginas de servicio y blog
   ========================================================================== */
.crumbs { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-d); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--black); }
.svc-hero { height: clamp(320px, 70vh, 760px); overflow: hidden; background: #111; }
.svc-hero img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; }
.tcards2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.tcard2 { margin: 0; }
.tcard2__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; }
.tcard2__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tcard2:hover img { transform: scale(1.05); }
.tcard2 figcaption { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.tcard2 b { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 600; }
.tcard2 span { color: var(--grey-d); font-size: 15px; }
@media (max-width: 960px) { .tcards2 { grid-template-columns: 1fr 1fr; } }
.incl { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-l); }
.incl li { padding: 18px 0; border-bottom: 1px solid var(--line-l); display: flex; gap: 16px; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.incl li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.osvc__list { margin-top: 24px; border-top: 1px solid var(--line-d); }
.osvc { display: flex; justify-content: space-between; align-items: center; padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line-d); font-size: clamp(1.6rem, 3.2vw, 3.2rem); font-weight: 300; letter-spacing: -.02em; transition: padding .4s var(--ease); }
.osvc:hover { padding-left: 16px; }
.osvc i { font-style: normal; width: 52px; height: 52px; border: 1px solid var(--line-d); border-radius: 50%; display: grid; place-items: center; font-size: 20px; transition: background .3s, color .3s; }
.osvc:hover i { background: var(--white); color: var(--black); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card__meta { margin: 6px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-d); }
.post-card h2 { font-family: var(--text); text-transform: none; font-weight: 600; font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.2; letter-spacing: -.01em; }
.post-card p:not(.post-card__meta) { margin: 0; color: var(--grey-d); font-size: 15px; }
.post-card .link-u { align-self: flex-start; margin-top: 6px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.article__head { max-width: 900px; }
.article__title { font-family: var(--text); text-transform: none; font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1.06; letter-spacing: -.025em; margin: 28px 0 0; }
.article__meta { margin: 20px 0 0; color: var(--grey-d); font-size: 14px; }
.article__img { margin: 0; height: clamp(280px, 60vh, 640px); overflow: hidden; }
.article__img img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 760px; padding-block: clamp(56px, 7vw, 100px); font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.75; }
.article__body h2 { font-family: var(--text); text-transform: none; font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.2; letter-spacing: -.015em; margin: 2em 0 .6em; }
.article__body p { margin: 0 0 1.1em; }
.article__body ul, .article__body ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article__body li { margin-bottom: .5em; }
.article__body a { text-decoration: underline; text-underline-offset: 4px; }
.post-minis { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.post-mini { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 600; line-height: 1.3; }
.post-mini img { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; }
.post-mini:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .post-minis { grid-template-columns: 1fr; } }

/* Estudio: fotos del equipo */
.duo__media { position: relative; }
.duo__media .duo__img img { filter: grayscale(1); }
.duo__inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; overflow: hidden; border: 8px solid var(--white); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.duo__inset img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.world__img img { object-position: 50% 30%; }
.team__tile { aspect-ratio: 846 / 900; }

/* Países */
.countries { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.countries li { border: 1px solid rgba(255,255,255,.4); border-radius: 100px; padding: 6px 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.mini-stats { flex-wrap: wrap; }
