/* =========================================================
   All in One Professional Services — edición editorial
   Mismo lenguaje que JP Real Estate: fotografía a sangre, tipografía
   grande (Inter Tight con acentos en peso fino), líneas finas en lugar de
   tarjetas. Paleta: tinta verde casi negra, papel cálido y un oro discreto.
   ========================================================= */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/inter-tight-latin.woff2") format("woff2"); }

:root {
  --ink: #0b1310;
  --forest: #0f231b;
  --white: #ffffff;
  --paper: #f2f0ea;
  --grey: #868b88;
  --grey-d: #545a57;
  --gold: #c9a45c;
  --line: rgba(11, 19, 16, .13);
  --line-l: rgba(255, 255, 255, .16);

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --light: 300; /* acento: la misma familia en peso fino */

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 3.4vw, 56px);
  --radius: 4px;
  --nav-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
em { font-style: normal; font-weight: var(--light); }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--ink); color: #fff; padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
.dark { background: var(--ink); color: var(--white); }

/* ---------- Tipografía ---------- */
.label { margin: 0 0 28px; font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--grey-d); display: flex; gap: 14px; align-items: baseline; }
.label b { font-weight: 500; color: var(--ink); }
.dark .label, .label--light { color: rgba(255,255,255,.55); }
.dark .label b { color: var(--white); }
.h2 { font-weight: 500; font-size: clamp(42px, 6vw, 96px); line-height: .95; letter-spacing: -.045em; margin: 0 0 32px; }
.h2 em, .h3 em { letter-spacing: inherit; }
.h3 { font-weight: 500; font-size: clamp(34px, 4.2vw, 64px); line-height: .98; letter-spacing: -.04em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -.015em; color: var(--grey-d); max-width: 46ch; }
.dark .lead { color: rgba(255,255,255,.66); }
.muted { color: var(--grey-d); }

.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em 0; margin: 0 -.04em -.12em 0; }
.w-in { display: inline-block; will-change: transform; }

/* ---------- Botones (texto que rueda + círculo con flecha) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 58px; padding: 0 9px 0 28px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--sans); letter-spacing: -.01em; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .5s var(--ease), border-color .5s var(--ease); }
.btn::before { content: ""; position: absolute; left: 50%; top: 100%; width: 160%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, 0) scale(0); z-index: -1; transition: transform .7s var(--ease-io); background: var(--fill); }
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn__text { position: relative; display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.btn__text > i { display: block; font-style: normal; transition: transform .6s var(--ease); }
.btn__text > i::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__text > i { transform: translateY(-100%); }
.btn__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--icon-bg); color: var(--icon-fg); transition: transform .6s var(--ease), background .5s, color .5s; }
.btn__icon .ic { width: 16px; height: 16px; stroke-width: 1.8; }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--light { background: var(--white); color: var(--ink); --fill: var(--ink); --icon-bg: var(--ink); --icon-fg: var(--white); }
.btn--light:hover { color: var(--white); --icon-bg: var(--white); --icon-fg: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); --fill: #24302b; --icon-bg: var(--white); --icon-fg: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); --fill: var(--white); --icon-bg: var(--ink); --icon-fg: var(--white); }
.btn--outline { color: var(--white); border-color: rgba(255,255,255,.4); padding: 0 28px; --fill: var(--white); }
.btn--outline:hover { color: var(--ink); border-color: var(--white); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); padding: 0 28px; --fill: var(--ink); }
.btn--line:hover { color: var(--white); }
.btn--block { width: 100%; justify-content: space-between; padding-left: 24px; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; position: relative; padding-bottom: 6px; }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.link .ic { transition: transform .6s var(--ease); }
.link:hover .ic { transform: rotate(-45deg); }

/* ---------- Preloader: el logo se dibuja como una gráfica y la pantalla se abre en dos ---------- */
.preloader { display: none; }
.intro .preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; color: var(--white); pointer-events: none; }
.intro body { overflow: hidden; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); }
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; }
.preloader__center { position: relative; display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: min(96px, 26vw); overflow: visible; }
.pl-ring { stroke-dasharray: 120; stroke-dashoffset: 120; transform: rotate(-90deg); transform-origin: 24px 24px; }
.pl-bar { stroke-dasharray: 20; stroke-dashoffset: 20; }
.preloader__word { display: flex; overflow: hidden; font-size: clamp(34px, 5vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; padding-bottom: .06em; }
.preloader__word span { display: inline-block; transform: translateY(105%); }
.preloader__word .is-light { font-weight: var(--light); color: var(--gold); }
.preloader__tag { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); opacity: 0; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
  .has-cursor .cursor { display: block; }
}
.cursor__blob, .cursor__dot, .cursor__label { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; }
.cursor__blob { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: var(--white); mix-blend-mode: difference; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), opacity .3s; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--white); mix-blend-mode: difference; transition: opacity .3s; }
.cursor.is-hover .cursor__blob { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.is-down .cursor__blob { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cursor__label { width: 110px; height: 110px; margin: -55px 0 0 -55px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 15px; font-weight: 600; letter-spacing: -.02em; transform: scale(0); transition: transform .5s var(--ease); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.cursor.is-label .cursor__label { transform: scale(1); }
.cursor.is-label .cursor__blob, .cursor.is-label .cursor__dot, .cursor.is-hidden .cursor__blob, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* Vista previa flotante de imágenes (lista de servicios) */
.preview { position: fixed; top: 0; left: 0; z-index: 50; width: 320px; height: 400px; margin: -200px 0 0 -160px; pointer-events: none; overflow: hidden; border-radius: var(--radius); visibility: hidden; }
.preview__inner { position: absolute; inset: 0; transition: transform .8s var(--ease-io); }
.preview img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; gap: 36px; padding: 0 var(--gutter); color: var(--white); transition: transform .8s var(--ease), background .5s var(--ease), height .5s var(--ease), color .5s; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent); transition: opacity .5s; pointer-events: none; }
.nav.is-solid { height: 72px; background: rgba(11,19,16,.94); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav.is-solid::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-110%); }
body.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
body.menu-open .nav::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; position: relative; z-index: 2; }
.brand__mark { width: 40px; height: 40px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.4); }
.brand__name b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.brand__name small { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; height: 100%; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: inherit; }
.roll { display: block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.roll > span { display: block; position: relative; transition: transform .5s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.nav__link:hover .roll > span, .nav__item.is-open .roll > span { transform: translateY(-100%); }
.nav__link[aria-current="page"] { color: var(--gold); }
.nav__chev { width: 13px; height: 13px; transition: transform .5s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__cta { padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 15px; font-weight: 500; transition: background .4s, color .4s; }
.nav__cta:hover { background: var(--white); color: var(--ink); }

/* Menú desplegable */
.menu { position: absolute; top: calc(100% - 8px); left: -28px; width: 460px; padding: 14px 28px 22px; background: var(--ink); color: var(--white); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s var(--ease), transform .5s var(--ease), visibility .35s; }
.menu--wide { width: 640px; left: -160px; }
.nav__item.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.menu__link { display: grid; grid-template-columns: 28px 1fr; gap: 4px 10px; padding: 14px 0; border-bottom: 1px solid var(--line-l); transition: padding .5s var(--ease), color .3s; }
.menu__link:hover { padding-left: 8px; color: var(--gold); }
.menu__link small { font-size: 12px; color: rgba(255,255,255,.4); padding-top: 3px; }
.menu__link b { font-weight: 500; font-size: 16px; letter-spacing: -.02em; line-height: 1.25; }
.menu__link span { grid-column: 2; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.4; }
.menu__all { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--gold); }
.menu__all .ic { transition: transform .5s var(--ease); }
.menu__all:hover .ic { transform: translateX(4px); }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; color: inherit; position: relative; z-index: 2; cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
body.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }

/* Menú móvil a pantalla completa */
.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white); padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow-y: auto; overscroll-behavior: contain; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io), visibility 0s 1s; visibility: hidden; }
body.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s var(--ease-io); }
.mmenu__list { display: grid; }
.mmenu__row { border-bottom: 1px solid var(--line-l); opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
body.menu-open .mmenu__row { opacity: 1; transform: none; }
body.menu-open .mmenu__row:nth-child(1) { transition-delay: .3s; }
body.menu-open .mmenu__row:nth-child(2) { transition-delay: .36s; }
body.menu-open .mmenu__row:nth-child(3) { transition-delay: .42s; }
body.menu-open .mmenu__row:nth-child(4) { transition-delay: .48s; }
body.menu-open .mmenu__row:nth-child(5) { transition-delay: .54s; }
.mmenu__row > a, .mmenu__row > button { width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 8px 0; background: none; border: 0; cursor: pointer; text-align: left; font-size: clamp(34px, 9vw, 64px); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; color: inherit; }
.mmenu__row small { font-size: 13px; letter-spacing: 0; color: rgba(255,255,255,.45); font-weight: 400; }
.mmenu__row .ic { margin-left: auto; align-self: center; width: 26px; height: 26px; transition: transform .5s var(--ease); }
.mmenu__row.is-open .ic { transform: rotate(45deg); }
.mmenu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.mmenu__row.is-open .mmenu__sub { grid-template-rows: 1fr; }
.mmenu__sub > div { overflow: hidden; display: grid; }
.mmenu__sub a { display: block; padding: 9px 0 9px 40px; font-size: 17px; color: rgba(255,255,255,.75); }
.mmenu__sub a:last-child { padding-bottom: 20px; }
.mmenu__foot { display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255,255,255,.7); font-size: 15px; }

/* =========================================================
   HERO (inicio) — fotografía a sangre
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; color: var(--white); background: var(--ink); overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 24%, rgba(0,0,0,.1) 36%, rgba(5,12,9,.45) 60%, rgba(5,12,9,.92) 100%); }
.hero__content { position: relative; z-index: 2; align-self: end; padding: 0 var(--gutter) 36px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 14px; font-weight: 500; padding: 8px 16px 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,164,92,.7); } 70% { box-shadow: 0 0 0 10px rgba(201,164,92,0); } 100% { box-shadow: 0 0 0 0 rgba(201,164,92,0); } }
.hero__title { font-weight: 500; font-size: clamp(48px, 8.6vw, 160px); line-height: .9; letter-spacing: -.055em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.04em; }
.hero__title .line__in { display: inline-block; white-space: nowrap; }
.hero__title em { letter-spacing: inherit; }
.hero__title em { color: var(--gold); }
/* Mensaje largo del hero: tres líneas a menor tamaño */
.hero__title--long { font-size: clamp(42px, 6.4vw, 118px); }
.rotator { display: inline-grid; vertical-align: top; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rotator__item { grid-area: 1 / 1; font-weight: var(--light); letter-spacing: -.05em;  white-space: nowrap; color: var(--gold); transform: translateY(110%); transition: transform 1.1s var(--ease-io); }
.rotator__item.is-active { transform: translateY(0); }
.rotator__item.is-leaving { transform: translateY(-110%); }
.hero__foot { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 30px; align-items: center; margin: 0 var(--gutter); padding: 26px 0 32px; border-top: 1px solid rgba(255,255,255,.22); }
.hero__lead { max-width: 480px; font-size: 17px; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; gap: 18px; font-size: 13px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hero__scroll { position: absolute; right: var(--gutter); top: 40%; z-index: 2; display: grid; justify-items: center; gap: 12px; font-size: 12px; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 70px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Hero de páginas internas */
.phero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; padding: calc(var(--nav-h) + 60px) 0 0; }
.phero .hero__media img { object-position: center 45%; }
.phero__in { position: relative; z-index: 2; width: 100%; }
.crumbs { display: flex; gap: 10px; font-size: 13px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.crumbs a:hover { color: var(--white); }
.phero__title { font-weight: 500; font-size: clamp(46px, 8vw, 140px); line-height: .9; letter-spacing: -.055em; max-width: 14ch; }
.phero__title em { letter-spacing: inherit; color: var(--gold); }
.phero__foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: end; margin-top: 44px; padding: 26px 0 34px; border-top: 1px solid rgba(255,255,255,.22); }
.phero__foot p { max-width: 520px; color: rgba(255,255,255,.8); font-size: 17px; }
.phero__index { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; font-size: 14px; }
.phero__index a { color: rgba(255,255,255,.75); transition: color .3s; }
.phero__index a:hover { color: var(--gold); }

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding: clamp(100px, 13vw, 200px) 0; }
.section--paper { background: var(--paper); }
.section--tight { padding: clamp(70px, 9vw, 130px) 0; }

/* Intro: texto que se ilumina */
.intro__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.intro__text { font-size: clamp(30px, 4.2vw, 68px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; }
.intro__text em { letter-spacing: inherit; color: var(--grey-d); }

/* Lista de servicios (filas grandes numeradas) */
.head-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.head-split .h2 { margin: 0; }
.head-split .lead { justify-self: end; }
.srows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.srow { border-bottom: 1px solid var(--ink); position: relative; }
.srow a { position: relative; display: grid; grid-template-columns: 80px 1fr minmax(240px, 380px) 70px; align-items: center; gap: 24px; padding: clamp(20px, 2.2vw, 32px) 0; isolation: isolate; transition: color .6s var(--ease), padding .7s var(--ease); }
.srow a::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-io); }
.srow__num { font-size: 14px; color: var(--grey); }
.srow__title { font-size: clamp(40px, 6.4vw, 112px); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.srow__desc { font-size: 15.5px; color: var(--grey-d); transition: color .6s; }
.srow__arrow { width: 64px; height: 64px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; justify-self: end; transition: transform .7s var(--ease), background .5s, color .5s; }
.srow__arrow .ic { width: 22px; height: 22px; stroke-width: 1.4; }
.srow__img { display: none; }
@media (hover: hover) and (min-width: 761px) {
  .srow:hover a { color: var(--white); padding-left: 24px; padding-right: 24px; }
  .srow:hover a::before { transform: scaleY(1); transform-origin: top; }
  .srow:hover .srow__title { font-weight: var(--light); color: var(--gold); }
  .srow:hover .srow__desc { color: rgba(255,255,255,.75); }
  .srow:hover .srow__arrow { transform: rotate(-45deg); background: var(--gold); border-color: var(--gold); color: var(--ink); }
}

/* Marquesina */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding: clamp(26px, 3.4vw, 46px) 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(28px, 3vw, 54px); padding-right: clamp(28px, 3vw, 54px); }
.marquee span { font-size: clamp(54px, 8.5vw, 150px); font-weight: 500; letter-spacing: -.055em; line-height: 1.05; white-space: nowrap; }
.marquee span em { letter-spacing: inherit; color: var(--gold); }
.marquee i { width: clamp(16px, 1.6vw, 26px); height: clamp(16px, 1.6vw, 26px); border-radius: 50%; border: 1.5px solid var(--gold); flex: none; }

/* Trámites: tres columnas con imagen */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 30px); }
.tcards--4 { grid-template-columns: repeat(4, 1fr); }
.tcards--4 .tcard__cap b { font-size: clamp(19px, 1.6vw, 24px); }
.tcard { display: block; }
.tcard__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--paper); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .9s var(--ease); filter: saturate(.85); }
.tcard:hover .tcard__img img { transform: scale(1.01); filter: saturate(1); }
.tcard__tag { position: absolute; left: 16px; top: 16px; font-weight: var(--light); letter-spacing: -.05em; font-size: 34px; line-height: 1; color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.tcard__cap { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 18px 0 16px; border-bottom: 1px solid var(--ink); }
.tcard__cap b { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.tcard__cap .ic { width: 26px; height: 26px; margin-top: 4px; transition: transform .6s var(--ease); }
.tcard:hover .tcard__cap .ic { transform: rotate(-45deg); }
.tcard p { margin-top: 14px; color: var(--grey-d); font-size: 15.5px; max-width: 40ch; }

/* Por qué (oscuro, encabezado fijo) */
.why__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.why__head { position: sticky; top: 130px; }
.why__list { border-top: 1px solid var(--line-l); }
.why__item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 44px 0; border-bottom: 1px solid var(--line-l); position: relative; transition: padding .6s var(--ease); }
.why__item::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.why__item:hover::before { transform: scaleX(1); }
.why__item:hover { padding-left: 14px; }
.why__num { font-weight: var(--light); letter-spacing: -.05em; font-size: 34px; line-height: 1; color: rgba(255,255,255,.45); transition: color .4s; }
.why__item:hover .why__num { color: var(--gold); }
.why__item h3 { margin: 0 0 14px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.why__item p { color: rgba(255,255,255,.62); max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 10vw, 150px); }
.stat { padding: 30px 30px 0 0; border-top: 1px solid var(--line-l); }
.stat + .stat { padding-left: 30px; border-left: 1px solid var(--line-l); }
.stat strong { display: block; font-size: clamp(64px, 8vw, 140px); font-weight: 500; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 18px; color: rgba(255,255,255,.6); font-size: 15px; max-width: 22ch; }
.section--paper .stat, .section--paper .stat + .stat { border-color: var(--line); }
.section--paper .stat p { color: var(--grey-d); }

/* Bloque dividido con imagen (cortina + parallax) */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split--rev > :first-child { order: 2; }
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--paper); }
.frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.frame--wide { aspect-ratio: 5 / 4; }
.visual { position: relative; }
.badge { position: absolute; right: -50px; bottom: 60px; width: 150px; height: 150px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.badge svg.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge text { fill: currentColor; font: 500 13px var(--sans); letter-spacing: 3px; }
.badge .brand__mark { width: 46px; height: 46px; }
@keyframes spin { to { transform: rotate(360deg); } }
.split__text { padding-top: 20px; }
.split__lead { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; letter-spacing: -.02em; margin: 0 0 36px; max-width: 34ch; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; color: var(--grey-d); }
.dark .cols { color: rgba(255,255,255,.62); }
.values { list-style: none; margin: 54px 0 44px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.values li { border-top: 1px solid currentColor; padding-top: 16px; font-weight: var(--light); letter-spacing: -.05em; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; display: grid; gap: 10px; }
.values li span { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--grey); line-height: 1.4; }

/* Internacional (inicio): foto y lista con la misma altura */
.intl { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: stretch; }
.intl .visual { min-height: 460px; }
.intl .frame { aspect-ratio: auto; height: 100%; }
.intl .badge { right: auto; left: -40px; bottom: 40px; }
.intl__list { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.intl__list .nlist { margin: 0; }
.intl__list .nlist a { padding: 30px 0; }
.intl__list .nlist--compact a { padding: 18px 0; align-items: center; }
.nlist--compact b { margin: 0; font-size: clamp(18px, 1.5vw, 22px); }
.nlist--compact small { font-size: 20px; }
.intl__list .btn { align-self: flex-start; }
@media (max-width: 1100px) { .intl { grid-template-columns: 1fr; } .intl .visual { min-height: 0; } .intl .frame { aspect-ratio: 5 / 4; height: auto; } .intl .badge { left: auto; right: 10px; bottom: -30px; } }

/* Lista numerada con líneas (internacional, etc.) */
.nlist { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid currentColor; }
.nlist a, .nlist > li > div { display: grid; grid-template-columns: 56px 1fr 40px; gap: 16px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.dark .nlist a, .dark .nlist > li > div { border-color: var(--line-l); }
.nlist a:hover { padding-left: 12px; }
.nlist small { font-weight: var(--light); font-size: 26px; line-height: 1; color: var(--gold); }
.nlist b { display: block; font-size: clamp(21px, 1.9vw, 28px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 8px; }
.nlist span span { color: var(--grey-d); font-size: 15.5px; }
.nlist b { color: var(--ink); }
.dark .nlist b { color: var(--white); }
.dark .nlist span span { color: rgba(255,255,255,.6); }
.nlist .ic { width: 24px; height: 24px; justify-self: end; margin-top: 4px; transition: transform .6s var(--ease); }
.nlist a:hover .ic { transform: rotate(-45deg); color: var(--gold); }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 34px; }
.step__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); overflow: hidden; }
.step__bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-io) .2s; }
.step.is-in .step__bar i, .no-motion .step__bar i, html:not(.js) .step__bar i { transform: scaleX(1); }
.step__num { display: block; font-weight: var(--light); letter-spacing: -.05em; font-size: clamp(64px, 6vw, 100px); line-height: .9; margin-bottom: 30px; }
.step h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; margin: 0 0 10px; }
.step p { color: var(--grey-d); font-size: 15.5px; }

/* Galería horizontal anclada */
.hgallery { background: var(--ink); color: var(--white); overflow: hidden; }
.hgallery__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 4vh, 50px); padding: 90px 0 40px; }
.hgallery__head { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.hgallery__head .label { margin: 0; }
.hgallery__progress { flex: 0 1 300px; height: 1px; background: var(--line-l); position: relative; }
.hgallery__progress i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hgallery__track { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 30px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hgallery__title { width: clamp(280px, 34vw, 560px); flex: none; align-self: center; }
.hgallery__title .h2 { margin: 0 0 18px; font-size: clamp(40px, 4.8vw, 80px); }
.hgallery__title p { color: rgba(255,255,255,.6); max-width: 36ch; }
.hcard { margin: 0; flex: none; width: clamp(260px, 26vw, 420px); }
.hcard--tall { width: clamp(240px, 21vw, 330px); }
.hcard__img { overflow: hidden; height: clamp(260px, 46vh, 460px); border-radius: var(--radius); }
.hcard--tall .hcard__img { height: clamp(300px, 56vh, 560px); }
.hcard img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.12); transition: filter .9s var(--ease), transform 1.2s var(--ease); }
.hcard:hover img { filter: grayscale(0); transform: scale(1.02); }
.hcard figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--line-l); }
.hcard figcaption span { font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.hcard figcaption small { font-weight: var(--light); font-size: 18px; color: rgba(255,255,255,.5); white-space: nowrap; }
.hcard--cta { display: flex; flex-direction: column; justify-content: space-between; height: clamp(300px, 56vh, 560px); padding: 34px; background: var(--gold); color: var(--ink); border-radius: var(--radius); transition: background .5s var(--ease); }
.hcard--cta:hover { background: #d8b673; }
.hcard--cta span { font-size: 14px; text-transform: uppercase; }
.hcard--cta strong { font-size: clamp(40px, 3.6vw, 64px); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.hcard--cta .ic { width: 54px; height: 54px; stroke-width: 1.1; transition: transform .6s var(--ease); }
.hcard--cta:hover .ic { transform: rotate(-45deg); }
.no-motion .hgallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.no-motion .hgallery__pin { height: auto; }
.no-motion .hcard { scroll-snap-align: start; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 56px 1fr 44px; gap: 16px; align-items: center; padding: 28px 0; cursor: pointer; font-size: clamp(20px, 1.9vw, 28px); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; transition: padding .6s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { padding-left: 10px; }
.faq summary small { font-weight: var(--light); font-size: 24px; color: var(--grey); }
.faq summary i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); position: relative; transition: background .4s, transform .6s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .6s var(--ease); }
.faq details[open] summary i { background: var(--ink); color: var(--white); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 60px 30px 72px; color: var(--grey-d); max-width: 80ch; font-size: 16.5px; }

/* Banda final con imagen */
.band { position: relative; color: var(--white); min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 0; overflow: hidden; background: var(--white); }
.band__media { position: absolute; inset: 0; overflow: hidden; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__shade { position: absolute; inset: 0; background: rgba(5,12,9,.55); }
.band__content { position: relative; display: grid; justify-items: center; }
.band__title { font-size: clamp(60px, 11vw, 200px); font-weight: 500; letter-spacing: -.06em; line-height: .88; margin: 0 0 30px; }
.band__title em { letter-spacing: inherit; color: var(--gold); }
.band__content p { max-width: 540px; color: rgba(255,255,255,.82); margin: 0 0 40px; font-size: 17px; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =========================================================
   DETALLE DE SERVICIO (páginas internas)
   ========================================================= */
.subnav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: top .8s var(--ease); }
body.nav-solid .subnav { top: 72px; }
body.nav-hidden .subnav { top: 0; }
.subnav__in { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; position: relative; padding: 20px 0 18px; font-size: 14px; font-weight: 500; color: var(--grey-d); transition: color .3s; }
.subnav a small { font-weight: var(--light); font-size: 15px; margin-right: 6px; color: var(--grey); }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.subnav a:hover, .subnav a.is-active { color: var(--ink); }
.subnav a.is-active::after { transform: scaleX(1); }

.svc { padding: clamp(90px, 11vw, 170px) 0; border-bottom: 1px solid var(--line); }
.svc:nth-of-type(even) { background: var(--paper); }
.svc__top { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 6vw, 100px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.svc__num { font-weight: var(--light); letter-spacing: -.05em; font-size: clamp(110px, 16vw, 260px); line-height: .75;  color: var(--ink); }
.svc__num span { font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--grey-d); display: block; margin-top: 22px; line-height: 1.4; }
.svc__title { font-weight: 500; font-size: clamp(40px, 5.6vw, 92px); line-height: .95; letter-spacing: -.05em; }
.svc__title em { letter-spacing: inherit; color: var(--grey-d); }
.svc__body { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.svc__media .frame { aspect-ratio: 4 / 4.6; }
.svc__lead { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; letter-spacing: -.02em; max-width: 38ch; margin-bottom: 40px; }
.svc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.svc__cols h3 { font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--grey-d); margin-bottom: 14px; }
.ilist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: i; }
.ilist li { counter-increment: i; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.ilist li::before { content: counter(i, decimal-leading-zero); font-size: 12px; color: var(--grey); padding-top: 3px; }
.ilist--steps b { display: block; font-weight: 500; }
.ilist--steps span { color: var(--grey-d); font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; padding: 0; list-style: none; }
.tags li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(11,19,16,.22); font-size: 14px; font-weight: 500; }
.note { display: grid; grid-template-columns: 26px 1fr; gap: 12px; margin: 0 0 34px; padding: 18px 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--grey-d); max-width: 60ch; }
.note .ic { color: var(--gold); width: 22px; height: 22px; margin-top: 1px; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 30px); }
.team--6 { grid-template-columns: repeat(3, 1fr); row-gap: clamp(40px, 5vw, 70px); }
.team--6 .member__photo { aspect-ratio: 3 / 4; }
/* Fotos del equipo: en blanco y negro para unificar fondos distintos; a color al pasar el mouse */
.member__photo img { object-position: center 30%; filter: grayscale(1) contrast(1.04); transform: scale(1.04); transition: filter .9s var(--ease), transform 1.2s var(--ease); }
.member:hover .member__photo img { filter: none; transform: scale(1); }
@media (hover: none) { .member__photo img { filter: none; transform: none; } }
.member__photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius); background: #dfdcd3; display: grid; place-items: center; }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__initials { font-weight: var(--light); letter-spacing: -.05em; font-size: clamp(60px, 6vw, 96px); color: rgba(11,19,16,.35); }
.member__cap { padding: 16px 0 14px; border-bottom: 1px solid var(--ink); }
.member__role { font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; color: var(--grey-d); }
.member h3 { font-size: 24px; font-weight: 500; letter-spacing: -.035em; margin: 6px 0 0; }
.member p { margin-top: 12px; font-size: 15px; color: var(--grey-d); }
.member button { margin-top: 14px; background: none; border: 0; padding: 0 0 6px; cursor: pointer; }

.bio { width: min(640px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.bio::backdrop { background: rgba(5,12,9,.6); backdrop-filter: blur(4px); }
.bio[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px); } }
.bio__head { display: flex; gap: 18px; align-items: flex-start; padding: 30px 30px 22px; border-bottom: 1px solid var(--line); }
.bio__head h3 { font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-top: 6px; }
.bio__close { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: none; cursor: pointer; display: grid; place-items: center; }
.bio__body { padding: 24px 30px 34px; display: grid; gap: 14px; color: var(--grey-d); }

.mv { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-l); }
.mv > div { padding: 40px 40px 0 0; }
.mv > div + div { padding-left: 40px; border-left: 1px solid var(--line-l); }
.mv h3 { font-weight: var(--light); letter-spacing: -.05em; font-size: clamp(40px, 4vw, 64px); line-height: 1; color: var(--gold); margin-bottom: 22px; }
.mv p { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -.025em; max-width: 30ch; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 56px 0 0; border-top: 1px solid var(--ink); }
.contact__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact__list small { flex: 0 0 110px; font-size: 13px; text-transform: uppercase; color: var(--grey); }
.contact__list a, .contact__list span { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.2; position: relative; }
.contact__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.contact__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.form { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); }
.form__head h2 { font-size: clamp(32px, 3vw, 46px); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin: 0 0 10px; }
.form__head p { margin: 0 0 36px; color: var(--grey-d); }
.chips { border: 0; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; font-size: 13px; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(11,19,16,.25); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .4s var(--ease), color .4s, border-color .4s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { position: relative; margin-bottom: 24px; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid rgba(11,19,16,.25); background: transparent; padding: 28px 0 12px; font: 500 17px var(--sans); color: var(--ink); outline: none; border-radius: 0; resize: vertical; appearance: none; }
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1310' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0 bottom 14px / 18px no-repeat; padding-right: 28px; }
.field label { position: absolute; left: 0; top: 26px; color: var(--grey); font-size: 16px; pointer-events: none; transform-origin: left; transition: transform .5s var(--ease), color .4s; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-24px) scale(.78); color: var(--ink); }
.field__err { position: absolute; right: 0; top: 4px; font-size: 12px; color: #b4382a; opacity: 0; transition: opacity .3s; }
.field.is-invalid input, .field.is-invalid select { border-color: #b4382a; }
.field.is-invalid .field__err { opacity: 1; }
.form__note { font-size: 13px; color: var(--grey); margin: 16px 0 0; }
.form__ok { display: none; margin-top: 16px; font-weight: 600; font-size: 14px; }
.form.is-sent .form__ok { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(80px, 10vw, 130px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand { color: var(--white); }
.footer__brand p { max-width: 30ch; margin-top: 24px; font-size: 18px; color: var(--white); letter-spacing: -.02em; line-height: 1.4; }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer small { font-size: 13px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--white); }
.footer__big { display: flex; justify-content: space-between; margin: clamp(60px, 9vw, 130px) 0 20px; font-size: clamp(56px, 15.5vw, 230px); font-weight: 600; letter-spacing: -.07em; line-height: .8; color: var(--white); overflow: hidden; padding-bottom: .06em; }
.footer__big span { display: inline-block; }
.footer__big span:last-child { font-weight: var(--light); letter-spacing: -.05em;  color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; padding-top: 24px; border-top: 1px solid var(--line-l); font-size: 13px; }
.footer__note { flex-basis: 100%; max-width: 70ch; color: rgba(255,255,255,.4); }
/* Sello "Powered by DGP" */
.dgp-badge { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px 0 6px; border: 1px solid var(--line-l); border-radius: 999px; font-size: 12px; letter-spacing: .02em; color: rgba(255,255,255,.6); transition: border-color .4s, color .4s, background .4s; }
.dgp-badge img { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: #fff; object-fit: contain; transition: transform .6s var(--ease); }
.dgp-badge b { font-weight: 600; color: var(--white); letter-spacing: .04em; }
.dgp-badge:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); color: var(--white); }
.dgp-badge:hover img { transform: rotate(-12deg) scale(1.08); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); transform: scale(0); transition: transform .6s var(--ease); }
.wa-float.is-visible { transform: scale(1); }
.wa-float.is-visible:hover { transform: scale(1.08); }
.wa-float .ic { width: 26px; height: 26px; }

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.notfound b { display: block; font-weight: var(--light); letter-spacing: -.05em; font-size: clamp(120px, 22vw, 320px); line-height: .8; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 1100px) {
  .hero__foot, .phero__foot { grid-template-columns: 1fr; gap: 22px; }
  .phero__index { justify-content: flex-start; }
  .hero__meta, .hero__scroll { display: none; }
  .intro__grid, .split, .why__grid, .contact__grid, .head-split, .svc__top, .svc__body { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .head-split .lead { justify-self: start; }
  .why__head { position: static; }
  .visual { max-width: 560px; }
  .srow a { grid-template-columns: 50px 1fr 64px; }
  .srow__desc { grid-column: 2 / 3; }
  .srow__arrow { grid-row: 1; grid-column: 3; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .tcards, .tcards--4 { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .svc__media { max-width: 520px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 76px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name b { font-size: 14px; }
  .brand__name small { font-size: 9.5px; }
  .hero { min-height: 620px; }
  .hero__title { font-size: clamp(42px, 12.4vw, 72px); }
  .hero__title--long { font-size: clamp(34px, 10vw, 56px); }
  .hero__title .line__in { white-space: normal; }
  .rotator { display: grid; }
  .hero__lead { font-size: 15.5px; }
  .btn { height: 54px; }
  .badge { width: 112px; height: 112px; right: 10px; bottom: -30px; }
  .badge text { font-size: 13.5px; }
  .badge .brand__mark { width: 34px; height: 34px; }
  .cols, .svc__cols, .mv { grid-template-columns: 1fr; }
  .mv > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-l); margin-top: 40px; }
  .values { grid-template-columns: 1fr; gap: 26px; }
  .srow a { grid-template-columns: 1fr 56px; gap: 14px 16px; padding: 26px 0; }
  .srow__num { grid-column: 1 / -1; }
  .srow__title { font-size: 46px; }
  .srow__desc { grid-column: 1 / -1; grid-row: auto; }
  .srow__arrow { grid-row: 2; grid-column: 2; width: 52px; height: 52px; }
  .srow__img { display: block; grid-column: 1 / -1; width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .stat { padding-right: 14px; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .tcards, .tcards--4, .team { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact__list small { flex-basis: 100%; }
  .faq summary { grid-template-columns: 40px 1fr 40px; }
  .faq summary i { width: 40px; height: 40px; }
  .faq details p { padding: 0 0 26px 56px; }
  .hcard img { filter: grayscale(0); }
  .footer__top { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .phero { min-height: 86svh; }
}
@media (max-width: 400px) { .brand__name small { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.badge svg.brand__mark { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Selector de idioma ES · EN */
.lang { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); font-size: 12px; font-weight: 600; letter-spacing: .06em; transition: border-color .4s; }
.lang:hover { border-color: rgba(255,255,255,.8); }
.lang__opt { display: grid; place-items: center; min-width: 32px; height: 28px; padding: 0 8px; border-radius: 999px; color: rgba(255,255,255,.65); transition: background .4s var(--ease), color .4s; }
.lang__opt.is-on { background: var(--white); color: var(--ink); }
.lang:hover .lang__opt:not(.is-on) { color: var(--white); }
.mmenu__foot .lang { margin-right: auto; }
@media (max-width: 1180px) { .nav > .lang { margin-left: auto; } .brand { margin-right: 0; } }
