/* Newsreader (con tamaño óptico 6–72 y pesos 200–800) + Hanken Grotesk (100–900), servidas desde el sitio. Subconjuntos latin y latin-ext. */
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/hanken-grotesk-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* CLA · Consultores Legales Asociados — prototipo v2
   Paleta tomada del sitio en desarrollo (Salient):
   crema #F6F4F0, arena #DBD7D1, verde #15302B, verde profundo #06312E, verde agua #4EA195.
   Tipografía (definida el 2026-10-12): Newsreader para títulos, con tamaño óptico automático;
   Hanken Grotesk para texto e interfaz. Las dos servidas desde el sitio (assets/fonts.css). */

:root {
  --cream: #F6F4F0;
  --sand: #DBD7D1;
  --sand-soft: #E7E4DE;
  --green: #15302B;
  --green-deep: #06312E;
  --teal: #4EA195;
  --ink: #161A19;
  --ink-soft: #4A514F;
  --line: rgba(21, 48, 43, .16);
  --line-light: rgba(255, 255, 255, .22);
  --white: #fff;
  --black: #141414;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --serif-sm: var(--serif);

  --pad: clamp(20px, 4vw, 56px);
  --wrap: 1320px;
  --sec: clamp(84px, 9vw, 144px);
  --radius: 16px;
  --radius-sm: 10px;
  --head-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
h1, h2, h3, h4 { text-wrap: balance; }
h3, h4 { letter-spacing: 0; }
h1 { font-size: clamp(42px, 5.2vw, 82px); line-height: 1.04; }
h2 { font-size: clamp(32px, 3.5vw, 54px); line-height: 1.1; }
h3 { font-size: clamp(25px, 2.15vw, 34px); line-height: 1.2; }
h4 { font-size: clamp(20px, 1.5vw, 23px); line-height: 1.25; font-weight: 500; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .7); }
.on-green { background: var(--green); color: var(--white); }
.on-deep { background: var(--green-deep); color: var(--white); }
.on-sand { background: var(--sand); }

/* Volanta: el tratamiento que ya usa el sitio (sans en mayúscula chica con aire) */
.volanta {
  display: block;
  font: 500 11.5px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.lead { font-weight: 300; font-size: clamp(20px, 1.45vw, 23px); line-height: 1.5; }
.muted { color: var(--ink-soft); }
.on-green .muted, .on-deep .muted { color: rgba(255, 255, 255, .82); }

/* Botones: píldoras, como en el sitio actual */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 14px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--green); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--sand); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--sm { min-height: 36px; padding: 9px 18px; font-size: 13px; }

/* Enlace de texto con subrayado que se dibuja */
.link {
  font: 500 14px/1.4 var(--sans); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Loader (el velo verde del sitio actual) ---------- */
#cla-loader {
  position: fixed; inset: 0; z-index: 200;
  background: #123A2E;
  display: grid; place-items: center;
  transition: opacity .45s ease, visibility .45s ease;
}
#cla-loader img { width: auto; height: 34px; max-width: none; flex-shrink: 0; }
#cla-loader.out { opacity: 0; visibility: hidden; }

/* ---------- Header ---------- */
.head {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--head-h);
  color: var(--white);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.head.solid {
  background: rgba(246, 244, 240, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.head__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { position: relative; display: block; height: 32px; flex-shrink: 0; }
.logo img { width: auto; height: 32px; max-width: none; flex-shrink: 0; transition: opacity .35s var(--ease); }
.logo .logo--pos { position: absolute; left: 0; top: 0; opacity: 0; }
.head.solid .logo .logo--pos { opacity: 1; }
.head.solid .logo .logo--neg { opacity: 0; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav > ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav a.nl { font: 400 15px/1 var(--sans); text-decoration: none; padding: 10px 0; display: inline-flex; align-items: center; gap: 7px; position: relative; }
.nav a.nl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a.nl:hover::after, .nav a.nl.on::after { transform: scaleX(1); transform-origin: left; }
.nav .caret { width: 9px; height: 9px; transition: transform .3s var(--ease); }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub {
  position: absolute; top: 100%; left: -20px; min-width: 220px;
  list-style: none; margin: 0; padding: 10px;
  background: var(--white); color: var(--ink);
  border-radius: 14px; box-shadow: 0 18px 50px -18px rgba(6, 49, 46, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 11px 14px; border-radius: 9px; text-decoration: none; font-size: 15px; }
.sub a:hover { background: var(--cream); }
.head .btn--cta { background: var(--black); color: var(--white); min-height: 42px; padding: 10px 22px; }
.head .btn--cta:hover { background: var(--green); }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--green-deep); color: var(--white);
  padding: calc(var(--head-h) + 28px) var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.menu-open .mnav { opacity: 1; visibility: visible; }
.menu-open .head { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .head .logo .logo--pos, .menu-open .head.solid .logo .logo--pos { opacity: 0; }
.menu-open .head .logo .logo--neg, .menu-open .head.solid .logo .logo--neg { opacity: 1; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav li a { display: block; font: 400 clamp(30px, 8vw, 40px)/1.2 var(--serif); text-decoration: none; padding: 7px 0; }
.mnav li.sub-i a { font: 300 20px/1.3 var(--sans); padding: 6px 0 6px 18px; opacity: .8; }
.mnav__foot { font-size: 15px; line-height: 1.7; opacity: .8; }
.mnav__foot a { text-decoration: none; }

/* ---------- Héroes ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; isolation: isolate; background: var(--green-deep); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; }

.hero--home { min-height: max(640px, 100svh); display: flex; flex-direction: column; }
.hero--home .hero__bg { object-position: center 30%; }
.hero--home .hero__shade {
  background:
    linear-gradient(180deg, rgba(6, 49, 46, .55) 0%, rgba(6, 49, 46, .18) 26%, rgba(6, 49, 46, .22) 58%, rgba(6, 49, 46, .78) 100%);
}
.hero--home .hero__inner {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding-top: var(--head-h);
}
.hero--home h1 { font-size: clamp(46px, 5.8vw, 92px); }
.hero--home .hero__sub { margin: 26px 0 34px; font-weight: 400; font-size: clamp(18px, 1.35vw, 21px); }
.hero--home .btns { justify-content: center; }

.trust { border-top: 1px solid var(--line-light); }
.trust ul {
  list-style: none; margin: 0; padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  font: 400 15px/1.4 var(--sans); color: rgba(255, 255, 255, .92);
}
.trust li { display: flex; align-items: center; gap: 12px; }
.trust li + li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin-right: 16px; }

.hero--page { min-height: clamp(520px, 74svh, 760px); display: flex; align-items: flex-end; }
.hero--page .hero__shade {
  background:
    linear-gradient(180deg, rgba(6, 49, 46, .5) 0%, rgba(6, 49, 46, 0) 30%),
    linear-gradient(90deg, rgba(6, 49, 46, .82) 0%, rgba(6, 49, 46, .52) 45%, rgba(6, 49, 46, .08) 85%);
}
.hero--page .hero__inner { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; padding: calc(var(--head-h) + 60px) 0 clamp(56px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); }
.hero--page h1 { font-size: clamp(38px, 4.1vw, 66px); line-height: 1.06; }
.hero--page .hero__txt > * + * { margin-top: 22px; }
.hero--page .hero__txt p { font-weight: 400; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .94); }

/* ---------- Bloques comunes ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--mid { align-items: center; }
.sticky { position: sticky; top: calc(var(--head-h) + 32px); }
.stack > * + * { margin-top: 22px; }
.center { text-align: center; }
.sec-head { margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head.center h2 { margin-inline: auto; }
.ph { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Presentación (Inicio) */
.intro p { font: 400 clamp(26px, 2.6vw, 42px)/1.25 var(--serif); margin: 0; }
.intro p + p { margin-top: .7em; color: rgba(255, 255, 255, .62); }

/* ¿Qué hacemos? — tarjetas que se apilan al hacer scroll */
.cards-stack { display: grid; gap: 28px; }
.scard {
  position: sticky; top: calc(var(--head-h) + 24px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  min-height: min(560px, calc(100svh - var(--head-h) - 64px));
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 18px;
  background: var(--sand);
  box-shadow: 0 -10px 40px -24px rgba(6, 49, 46, .35);
}
.scard:nth-child(2) { top: calc(var(--head-h) + 38px); background: var(--green); color: var(--white); }
.scard:nth-child(3) { top: calc(var(--head-h) + 52px); background: var(--white); }
.scard:nth-child(4) { top: calc(var(--head-h) + 66px); background: var(--sand); }
.scard__txt { padding: clamp(8px, 2vw, 32px) clamp(4px, 2vw, 36px); }
.scard__txt h3 { margin-bottom: 18px; }
.scard__txt p { margin-bottom: 28px; }
.scard .ph { height: 100%; min-height: 380px; border-radius: 12px; }
.scard:nth-child(2) .btn--dark { background: var(--white); color: var(--black); }
.scard:nth-child(2) .btn--dark:hover { background: var(--sand); }

/* Carruseles (socios, testimonios) */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit;
  display: grid; place-items: center; cursor: pointer; opacity: .85; transition: background-color .3s, color .3s, opacity .3s;
}
.arrow:hover { opacity: 1; background: var(--white); color: var(--black); border-color: var(--white); }
.on-cream .arrow:hover, .arrows--dark .arrow:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.arrow svg { width: 16px; height: 16px; }

/* Socios */
.socios { overflow: hidden; }
.socios__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 72px); align-items: stretch; }
.socios__txt { display: flex; flex-direction: column; }
.socios__txt .row { margin-top: auto; }
.socios__txt h3 { margin: 22px 0 34px; font: 300 max(21px, 1.45vw)/1.5 var(--sans); color: var(--white); }
.socios__txt h2 { margin-top: -.12em; }
.socios__txt .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.socios .rail { margin-right: calc(-1 * max(var(--pad), (100vw - var(--wrap)) / 2)); padding-right: max(var(--pad), (100vw - var(--wrap)) / 2); }
.pcard { width: clamp(250px, 23vw, 320px); }
.pcard .ph { aspect-ratio: 1; background: #e9e9e7; border-radius: 12px; }
.pcard .ph img { transition: transform .9s var(--ease); }
.pcard:hover .ph img { transform: scale(1.035); }
.pcard small { display: block; margin: 18px 0 6px; font: 500 13px/1.4 var(--sans); color: rgba(255, 255, 255, .8); }
.pcard h4 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.25; }
.pcard p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .84); }

/* Clientes */
.clients-intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.logos { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos li { list-style: none; display: grid; place-items: center; height: 120px; padding: 18px 22px; }
.logos li + li { border-left: 1px solid var(--line); }
.logos img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .4s, opacity .4s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos ul { display: contents; }

/* Testimonios */
.testis { margin-top: clamp(56px, 6vw, 88px); }
.testis__top { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.tcard {
  margin: 0;
  width: clamp(300px, 32vw, 440px); min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 30px; border-radius: 14px; background: var(--white);
}
.tcard:first-child { background: var(--teal); color: var(--white); }
.tcard blockquote { margin: 0; font: 300 max(21px, 1.45vw)/1.5 var(--sans); }
.tcard cite { font-style: normal; font-size: 14px; line-height: 1.45; }
.tcard cite b { display: block; font-weight: 500; }
.tcard cite span { opacity: .7; }

/* ¿Cómo trabajamos? — grilla de piezas */
.bento { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 14px; }
.bento > * { border-radius: 14px; overflow: hidden; }
.bento .b-photo { position: relative; min-height: 360px; }
.bento .b-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.bento .b-steps { display: grid; gap: 14px; border-radius: 0; overflow: visible; }
.bento .b-step { background: var(--white); border-radius: 14px; padding: 24px 26px; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.bento .b-step .n { font: 400 34px/1 var(--serif); color: var(--teal); }
.bento .b-step h3 { font-size: clamp(21px, 1.6vw, 25px); font-weight: 500; margin-bottom: 8px; }
.bento .b-step p { font-size: 16px; color: var(--ink-soft); }
.bento .b-portrait { position: relative; min-height: 360px; }
.bento .b-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.bento .b-portrait .btn { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.bento-foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }

/* Acompañamiento mensual */
.feature { position: relative; border-radius: 18px; overflow: hidden; color: var(--white); isolation: isolate; min-height: 560px; display: flex; align-items: flex-end; }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 49, 46, .86) 0%, rgba(6, 49, 46, .55) 50%, rgba(6, 49, 46, .1) 100%); }
.feature__in { padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; width: 100%; align-items: end; }
.feature h3 { font-size: clamp(28px, 2.6vw, 42px); line-height: 1.18; }
.feature .feature__aside > * + * { margin-top: 22px; }

/* Herramientas modernas */
.tools .ph { aspect-ratio: 4 / 3.1; }

/* AEA */
.aea { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.aea > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1); }
.aea::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 49, 46, .95) 0%, rgba(6, 49, 46, .86) 46%, rgba(6, 49, 46, .55) 100%); }
.aea .split { align-items: end; }
.aea h2 { margin-bottom: 26px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.stats div { padding: 26px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stats b { display: block; font: 400 clamp(38px, 3.6vw, 58px)/1 var(--serif); }
.stats span { display: block; margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .84); }
.on-cream .stats, .stats--ink { border-color: var(--line); }

/* Insights */
.ins-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 90px); align-items: end; margin-bottom: clamp(40px, 4.5vw, 64px); }
.ins-head .stack .link { display: inline-block; }
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { text-decoration: none; display: flex; flex-direction: column; }
.post .ph { aspect-ratio: 4 / 4.4; }
.post .ph img { transition: transform 1s var(--ease); }
.post:hover .ph img { transform: scale(1.04); }
.post h3 { font-size: clamp(22px, 1.65vw, 26px); font-weight: 500; line-height: 1.25; margin: 22px 0 12px; }
.post p { font-size: 16px; color: var(--ink-soft); }
.post .link { align-self: flex-start; margin-top: 18px; }

/* Llamado final */
.cta .split { align-items: end; }
.cta h2 { font-size: clamp(34px, 3.8vw, 60px); }
.cta .cta__aside > * + * { margin-top: 26px; }

/* Pie */
.foot { padding: clamp(64px, 7vw, 100px) 0 34px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 3fr) minmax(0, 2.6fr); gap: 40px; }
.foot__brand img { width: auto; height: 28px; max-width: none; flex-shrink: 0; }
.foot__brand p { margin-top: 22px; color: var(--ink-soft); }
.foot h5 { font: 500 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; color: var(--ink-soft); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot address { font-style: normal; line-height: 1.75; }
.foot__base { margin-top: clamp(56px, 6vw, 84px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; }
/* Firma de Fantásticö: el isotipo, igual que en el resto de los sitios del estudio. */
.foot .ft-fan { display: inline-flex; color: var(--ink-soft); transition: color .3s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
.foot .ft-fan svg { width: auto; height: 20px; overflow: visible; }
.foot .ft-fan .eye { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.foot .ft-fan:hover { color: var(--green); transform: rotate(-8deg); }
.foot .ft-fan:hover .eye { transform: translateY(-3px); }
.foot .ft-fan:hover .eye + .eye { transition-delay: .06s; }

/* ---------- Estudio ---------- */
.criteria { counter-reset: crit; border-top: 1px solid var(--line); }
.crit { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.crit .n { font: 400 30px/1 var(--serif); color: var(--teal); }
.crit h3 { font-size: clamp(22px, 1.75vw, 27px); font-weight: 500; margin-bottom: 14px; }
.crit p { color: var(--ink-soft); }
.criteria-aside .ph { margin-top: 40px; aspect-ratio: 4 / 3.3; }

.team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 22px; }
.member { grid-column: span 2; align-self: start; display: block; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.member.lg { grid-column: span 3; }
.member[disabled] { cursor: default; }
.member .ph { aspect-ratio: 1; background: #ebebea; border-radius: 12px; }
.member .ph img { transition: transform .9s var(--ease); }
.member:not([disabled]):hover .ph img { transform: scale(1.035); }
.member small { display: block; margin: 16px 0 6px; font: 500 13px/1.4 var(--sans); color: var(--ink-soft); }
.member h3 { font-size: clamp(20px, 1.5vw, 23px); font-weight: 500; line-height: 1.25; }
.member .more { display: inline-block; margin-top: 10px; font: 500 13.5px/1.4 var(--sans); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.member.lg h3 { font-size: clamp(23px, 1.8vw, 27px); }

.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: var(--pad); background: rgba(6, 49, 46, .55); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__box { width: min(940px, 100%); max-height: calc(100svh - 2 * var(--pad)); overflow: auto; background: var(--cream); border-radius: 18px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); transform: translateY(14px); transition: transform .45s var(--ease); }
.modal.open .modal__box { transform: none; }
.modal__box .ph { border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 360px; }
.modal__txt { padding: clamp(28px, 4vw, 52px); position: relative; }
.modal__txt small { display: block; font: 500 13px/1.4 var(--sans); color: var(--ink-soft); margin-bottom: 10px; }
.modal__txt h3 { margin-bottom: 22px; padding-right: 40px; }
.modal__txt p { color: var(--ink-soft); }
.modal__x { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.modal__x:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.modal__x svg { width: 14px; height: 14px; }

/* ---------- Soluciones ---------- */
.sol .items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; }
.item .n { display: block; font: 500 12px/1 var(--sans); letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.item h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.6vw, 24px); line-height: 1.25; margin-bottom: 12px; }
.item p { font-size: 16px; color: var(--ink-soft); }
.sol__aside > * + * { margin-top: 22px; }
.sol__aside .btns { margin-top: 30px; }

.area-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; gap: 0 40px; border-top: 1px solid var(--line); }
.area-names a { display: flex; gap: 18px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 clamp(19px, 1.45vw, 21px)/1.3 var(--serif); transition: padding-left .4s var(--ease), color .3s; }
.area-names a span { font: 500 12px/1 var(--sans); letter-spacing: .1em; color: var(--ink-soft); min-width: 22px; }
.area-names a:hover { padding-left: 8px; color: var(--green); }

/* ---------- Para empresas / personas ---------- */
.needs { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.needs li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: 16.5px; }
.needs li::before { content: ''; position: absolute; left: 4px; top: 25px; width: 12px; height: 1px; background: var(--green); }
.lead-serif { font: 400 clamp(26px, 2.4vw, 38px)/1.24 var(--serif); }

.focus .ph { aspect-ratio: 4 / 3.6; }
.situ-ph { aspect-ratio: 4 / 4.7; }
.situ-ph img { object-position: center 30%; }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 60px minmax(0, 1fr) 46px; gap: 16px; align-items: center; padding: 30px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { font: 400 26px/1 var(--serif); color: var(--teal); }
.acc summary h3 { font-size: clamp(24px, 2vw, 32px); font-weight: 500; }
.acc .pm { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.acc .pm svg { width: 14px; height: 14px; }
.acc details[open] .pm { background: var(--green); color: var(--white); border-color: var(--green); transform: rotate(45deg); }
.acc summary:hover .pm { border-color: var(--green); }
.acc__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); padding: 0 0 40px 76px; }
.acc__body .lead { font-size: clamp(20px, 1.4vw, 21px); }
.acc__body h5 { font: 500 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; color: var(--ink-soft); }
.acc__body ul { margin: 0; padding: 0; list-style: none; }
.acc__body li { padding: 11px 0 11px 26px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.acc__body li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 10px; height: 1px; background: var(--green); }

.band { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 49, 46, .93) 0%, rgba(6, 49, 46, .86) 55%, rgba(6, 49, 46, .8) 100%); }
.band .split { align-items: end; }
.band .band__txt > * + * { margin-top: 22px; }

.fronts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.front { grid-column: span 2; background: var(--white); border-radius: 14px; padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.front:nth-child(4), .front:nth-child(5) { grid-column: span 3; }
.front .n { font: 400 32px/1 var(--serif); color: var(--teal); padding-bottom: 44px; }
.front h3 { font-size: clamp(23px, 1.8vw, 27px); font-weight: 500; }
.front p { font-size: 16px; color: var(--ink-soft); }
.front:nth-child(1) { background: var(--green); color: var(--white); }
.front:nth-child(1) p { color: rgba(255, 255, 255, .86); }

.steps { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: st; border-top: 1px solid var(--line-light); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-light); font-size: 16.5px; }
.steps li::before { content: counter(st, decimal-leading-zero); font: 400 19px/1.4 var(--serif); color: var(--teal); }

/* ---------- Áreas de práctica ---------- */
.areas-grid { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 8.8fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.areas-index { list-style: none; margin: 0; padding: 0; }
.areas-index a { display: flex; gap: 12px; padding: 7px 0; text-decoration: none; font-size: 15px; color: var(--ink-soft); transition: color .3s; }
.areas-index a span { font: 500 11.5px/1.9 var(--sans); letter-spacing: .08em; min-width: 22px; }
.areas-index a:hover, .areas-index a.on { color: var(--ink); }
.areas-index a.on span { color: var(--teal); }
.area { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; padding: 38px 0 40px; border-top: 1px solid var(--ink); }
.area:last-child { border-bottom: 1px solid var(--ink); }
.area h2 { font-size: clamp(26px, 2.2vw, 34px); margin-bottom: 16px; }
.area h2, .scard__txt h3 { letter-spacing: 0; }
.area p { color: var(--ink-soft); }
.area .big { font: 400 clamp(56px, 6vw, 92px)/.8 var(--serif); color: var(--green); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 36px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 13px/1.3 var(--sans); color: var(--ink-soft); }
.field input, .field textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--white);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(21, 48, 43, .12); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.datos { border-radius: 18px; overflow: hidden; background: var(--green); color: var(--white); position: sticky; top: calc(var(--head-h) + 28px); }
.datos__in { padding: clamp(28px, 3vw, 42px); }
.datos h3 { font-size: clamp(23px, 1.8vw, 27px); font-weight: 500; margin-bottom: 26px; }
.datos dl { margin: 0; display: grid; gap: 18px; }
.datos dt { font: 500 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 4px; }
.datos dd { margin: 0; font-size: 16.5px; line-height: 1.55; }
.datos dd a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.datos dd a:hover { border-color: var(--white); }
.map { height: 300px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.85) contrast(1.05); }

/* ---------- Revelado al hacer scroll ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .rail { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav > ul { gap: 22px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos li:nth-child(4) { border-left: 0; }
  .logos li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  :root { --head-h: 72px; }
  .nav > ul, .nav .btn--cta { display: none; }
  .burger { display: block; }
  .logo, .logo img { height: 26px; }
  .split, .split--even, .clients-intro, .ins-head, .socios__grid, .areas-grid, .contact-grid, .feature__in, .acc__body { grid-template-columns: minmax(0, 1fr); }
  .hero--page .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero--split { grid-template-columns: minmax(0, 1fr); }
  .hero--split .hero__inner { padding: calc(var(--head-h) + 48px) var(--pad) 48px; }
  .hero--split .hero__ph { aspect-ratio: 4 / 3; }
  .sticky, .datos { position: static; }
  .scard { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .scard .ph { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .scard__txt { padding: 8px 6px 10px; }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento .b-steps { grid-column: 1 / -1; grid-row: 2; }
  .bento .b-photo, .bento .b-portrait { min-height: 0; aspect-ratio: 4 / 5; }
  .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ins-grid .post:nth-child(3) { display: none; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member, .member.lg { grid-column: span 1; }
  .fronts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front, .front:nth-child(4), .front:nth-child(5) { grid-column: span 1; }
  .front:nth-child(5) { grid-column: 1 / -1; }
  .areas-index { display: none; }
  .acc__body { padding-left: 0; }
  .socios .rail { margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .trust ul { flex-direction: column; gap: 8px; padding: 18px 0 22px; }
  .trust li::before, .trust li + li::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; margin-right: 0; border-radius: 50%; background: var(--teal); }
  .hero--home .hero__inner { padding-top: calc(var(--head-h) + 20px); }
  .sol .items, .area-names, .form, .ins-grid, .fronts, .stats { grid-template-columns: minmax(0, 1fr); }
  .area-names { grid-template-rows: none; grid-auto-flow: row; }
  .ins-grid .post:nth-child(3) { display: flex; }
  .front:nth-child(5) { grid-column: auto; }
  .stats div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .stats div { padding: 20px 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .b-steps { grid-row: auto; }
  .bento .b-photo { aspect-ratio: 16 / 10; }
  .bento .b-step { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 22px 20px; }
  .team { gap: 32px 14px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li, .logos li + li, .logos li:nth-child(n+4) { border-left: 0; border-top: 0; height: 96px; }
  .area { grid-template-columns: minmax(0, 1fr); }
  .area .big { order: -1; font-size: 48px; }
  .acc summary { grid-template-columns: 40px minmax(0, 1fr) 42px; }
  .crit { grid-template-columns: 44px minmax(0, 1fr); }
  .modal__box { grid-template-columns: minmax(0, 1fr); }
  .modal__box .ph { min-height: 0; aspect-ratio: 1; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .feature { min-height: 520px; }
  .feature::before { background: linear-gradient(0deg, rgba(6, 49, 46, .9) 0%, rgba(6, 49, 46, .55) 60%, rgba(6, 49, 46, .2) 100%); }
  .hero--page .hero__shade { background: linear-gradient(0deg, rgba(6, 49, 46, .88) 0%, rgba(6, 49, 46, .45) 55%, rgba(6, 49, 46, .35) 100%); }
}

/* Contacto: portada partida para no tapar el cartel de la recepción */
.hero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(540px, 68svh, 700px); }
.hero--split .hero__inner { display: flex; align-items: flex-end; padding: calc(var(--head-h) + 60px) clamp(32px, 4vw, 72px) clamp(56px, 6vw, 88px) max(var(--pad), (100vw - var(--wrap)) / 2); }
.hero--split .hero__txt > * + * { margin-top: 22px; }
.hero--split h1 { font-size: clamp(38px, 4.1vw, 66px); line-height: 1.06; }
.hero--split .hero__txt p { font-weight: 400; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .94); }
.hero--split .hero__ph { position: relative; }
.hero--split .hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* Dos secciones claras seguidas no suman el aire completo */
.sec.cr + .sec.cr { padding-top: calc(var(--sec) * .3); }
.hero--personas .hero__bg { object-position: center 22%; }

/* Red de seguridad del loader si el JS demora (fuentes lentas, etc.) */
@keyframes cla-out { to { opacity: 0; visibility: hidden; } }
#cla-loader { animation: cla-out .45s ease 2.4s forwards; }

/* Texto claro sobre fondo oscuro: suavizado en escala de grises para que no se empaste */
.on-green, .on-deep, .hero, .aea, .band, .feature, .scard:nth-child(2), .datos, .mnav, .tcard:first-child, .front:nth-child(1), .btn--dark, .head .btn--cta, #cla-loader {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Títulos chicos en serif: variable aparte por si se quiere otro corte para tamaños chicos */
h4, .pcard h4, .member h3, .post h3, .crit h3, .item h4, .area-names a, .acc summary h3, .front h3, .datos h3, .bento .b-step h3, .modal__txt h3 { font-family: var(--serif-sm); }

/* ---------- Clientes: carrusel de dos filas (portada) y grilla completa ---------- */
.marquee { margin-top: clamp(44px, 5vw, 64px); display: grid; gap: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: cla-marquee var(--dur, 90s) linear infinite; }
.marquee__row:nth-child(2) .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > * { flex: 0 0 auto; }
.logo-cell { width: 200px; height: 104px; display: grid; place-items: center; padding: 16px 24px; }
.logo-cell img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .4s, opacity .4s; }
.logo-cell:hover img { filter: none; opacity: 1; }
@keyframes cla-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__row { overflow-x: auto; }
}
.logos-grid { margin: clamp(40px, 4.5vw, 64px) 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 24px; }
.logos-grid li { flex: 0 0 calc(100% / 6); }
.logos-grid .logo-cell { width: auto; height: 132px; padding: 30px 42px; }
@media (max-width: 1180px) { .logos-grid li { flex-basis: calc(100% / 4); } }
@media (max-width: 680px) {
  .logo-cell { width: 150px; height: 84px; padding: 12px 18px; }
  .logos-grid li { flex-basis: 50%; }
  .logos-grid .logo-cell { height: 104px; padding: 22px 26px; }
}
.marquee__copia { display: contents; }

/* ---------- Asesoría mensual ---------- */
.hero--mensual .hero__bg { object-position: center 40%; }
.hero--mensual .volanta { margin: 0; }
.am-intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.am-intro__foto { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.am-intro__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.am-cifra__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.am-cifra__num { font: 400 clamp(120px, 15vw, 230px)/.82 var(--serif); letter-spacing: -.02em; color: var(--white); }
.am-cifra__titulo { font: 400 clamp(28px, 2.8vw, 44px)/1.15 var(--serif); margin-bottom: 16px; }
.am-cifra__txt p:last-child { color: rgba(255, 255, 255, .82); font-size: 18px; }
.am-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); border-top: 1px solid var(--ink); }
.am-pasos li { position: relative; padding-top: 34px; }
.am-pasos li::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--teal); }
.am-pasos .n { display: block; font: 400 34px/1 var(--serif); color: var(--teal); margin-bottom: 22px; }
.am-pasos h3 { font-size: clamp(22px, 1.7vw, 26px); font-weight: 500; margin-bottom: 12px; }
.am-pasos p { color: var(--ink-soft); }
.am-incluye { margin-top: 0; }
.am-cita__in { margin: 0 auto; max-width: 980px; text-align: center; }
.am-cita blockquote { margin: 0; font: 300 clamp(24px, 2.2vw, 32px)/1.45 var(--sans); }
.am-cita figcaption { margin-top: 28px; font-size: 15px; }
.am-cita figcaption b { display: block; font-weight: 500; }
.am-cita figcaption span { color: var(--ink-soft); }
.am-clientes h2 { font-size: clamp(28px, 2.6vw, 40px); }
@media (max-width: 1024px) {
  .am-intro__grid { grid-template-columns: minmax(0, 1fr); }
  .am-intro__foto { aspect-ratio: 4 / 3; }
  .am-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; border-top: 0; }
  .am-pasos li { border-top: 1px solid var(--ink); }
}
@media (max-width: 680px) {
  .am-cifra__in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .am-pasos { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
}
.needs__mas { margin-top: 26px; }

/* ---------- WordPress ---------- */
.admin-bar .head { top: 32px; }
@media (max-width: 782px) { .admin-bar .head { top: 46px; } }
.volanta--sola { margin: 0; }
.sec-head__bajada { margin-top: 14px; }
.cifras-estudio { margin-top: clamp(56px, 6vw, 88px); }
.tcard .cite { font-size: 14px; line-height: 1.45; }
.tcard .cite b { display: block; font-weight: 500; }
.tcard .cite span { opacity: .7; }
.area-names { grid-template-rows: repeat(var(--filas, 6), auto); }
.ph img { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso { margin: 28px 0 0; padding: 18px 20px; border-radius: 12px; font-size: 16px; }
.aviso--ok { background: rgba(78, 161, 149, .14); border: 1px solid rgba(78, 161, 149, .5); }
.aviso--error { background: #fbeceb; border: 1px solid #e3b5b1; }

/* Insights y páginas comunes */
.hero--blog { padding: calc(var(--head-h) + clamp(56px, 7vw, 100px)) 0 clamp(48px, 6vw, 80px); }
.hero__inner--blog > * + * { margin-top: 20px; }
.hero__inner--blog h1 { font-size: clamp(36px, 4.2vw, 64px); max-width: 22ch; }
.nota__volver { text-decoration: none; display: inline-block; }
.nota__fecha { color: rgba(255, 255, 255, .78); font-size: 15px; }
.nota__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(36px, 4vw, 56px); }
.nota__foto { width: 100%; aspect-ratio: 16 / 8; margin: 0; }
.prosa { width: min(720px, 100%); font-size: 18px; line-height: 1.7; }
.prosa > * + * { margin-top: 1.1em; }
.prosa h2 { font-size: clamp(28px, 2.4vw, 36px); margin-top: 1.6em; }
.prosa h3 { font-size: clamp(23px, 1.8vw, 27px); font-weight: 500; margin-top: 1.4em; }
.prosa ul, .prosa ol { padding-left: 1.2em; }
.prosa li + li { margin-top: .4em; }
.prosa a { color: var(--green); text-underline-offset: 3px; }
.prosa blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--teal); font: 300 21px/1.5 var(--sans); }
.prosa img { height: auto; border-radius: var(--radius-sm); }
.paginas { margin-top: 48px; display: flex; gap: 8px; justify-content: center; }
.paginas .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.paginas .current { background: var(--black); color: var(--white); border-color: var(--black); }
/* La tarjeta de nota no necesita su revelado propio dentro del listado */
.ins-grid .post .ph { background: var(--sand); }

/* Aviso de cookies (plugin CookieAdmin): colores y letra de CLA.
   El plugin escribe los colores en línea desde su configuración; por eso solo acá va !important. */
.cookieadmin_law_container, .cookieadmin_cookie_modal { font-family: var(--sans) !important; border-radius: 14px !important; }
.cookieadmin_law_container .cookieadmin_btn, .cookieadmin_cookie_modal .cookieadmin_btn { border-radius: 999px !important; font-family: var(--sans) !important; font-weight: 500 !important; }
.cookieadmin_accept_btn, .cookieadmin_save_btn { background: var(--green) !important; border-color: var(--green) !important; color: #fff !important; }
.cookieadmin_law_container a, .cookieadmin_cookie_modal a { color: var(--green) !important; }

/* ---------- Contenido Maestro (tema 2.0) ---------- */
/* Portada interna sin bajada (Áreas, Equipo) */
.hero--corto { min-height: clamp(380px, 52svh, 520px); }

/* Inicio */
a.pcard { display: block; text-decoration: none; color: inherit; }
.feature__tit { font-size: clamp(28px, 2.6vw, 42px); line-height: 1.18; }
.tools .stack .btn { margin-top: 8px; }
.on-green .ph { border-radius: var(--radius-sm, 12px); overflow: hidden; aspect-ratio: 4 / 3.1; }

/* El Estudio y Empresas: lista numerada con foto fija al costado */
.criteria-aside__link { margin-top: 28px; }
.criteria-aside--solo .ph { margin-top: 0; aspect-ratio: 4 / 5; }
.crit__tit { font-size: clamp(22px, 1.75vw, 27px); font-weight: 500; margin-bottom: 14px; }

/* Áreas: profesionales y consulta */
.area__pie { margin-top: 22px; display: grid; gap: 12px; justify-items: start; }
.area .area__gente { font-size: 15px; color: var(--ink); }
.area__gente span { display: block; font: 500 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.area__gente a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(21, 48, 43, .35); }
.area__gente a:hover { color: var(--green); text-decoration-color: currentColor; }

/* Nuestro Equipo */
.grupo + .grupo { margin-top: clamp(72px, 8vw, 120px); padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--line); }
.grupo__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 90px); align-items: end; margin-bottom: clamp(32px, 3.5vw, 48px); }
.grupo__head h2 { font-size: clamp(30px, 2.8vw, 44px); }
.grupo__head p { max-width: 60ch; }
.team--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
.team--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.team--4 .member, .team--3 .member { grid-column: auto; cursor: default; scroll-margin-top: calc(var(--head-h) + 24px); }
.member .ph { overflow: hidden; }
.member__mail { display: inline-block; margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }
.member__mail:hover { color: var(--green); border-color: currentColor; }
.member button.more { display: block; margin-top: 14px; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; font: 500 13.5px/1.4 var(--sans); color: inherit; cursor: pointer; }
.member button.more:hover { color: var(--green); }
.member__bio { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.member__bio p + p { margin-top: .7em; }
.iniciales { width: 100%; height: 100%; display: grid; place-items: center; background: var(--sand); color: var(--green); font: 400 clamp(44px, 4.4vw, 68px)/1 var(--serif); letter-spacing: .02em; }
.gente-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.gente-lista li { padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 24px); }
.gente-lista b { display: block; font: 500 clamp(20px, 1.5vw, 23px)/1.25 var(--serif); }
.gente-lista span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-soft); }
.modal__box .ph .iniciales { min-height: 360px; }
.modal__mail { margin-top: 22px; }
.modal__mail a { color: var(--green); text-underline-offset: 3px; }

/* Contacto */
.datos__tit { font-size: clamp(23px, 1.8vw, 27px); font-weight: 500; margin-bottom: 26px; }
.datos__nota { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.btn--wa { margin-top: 28px; gap: 10px; }
.btn--wa svg { width: 20px; height: 20px; flex-shrink: 0; }
.form__privacidad { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }

/* Pie: tres columnas */
.foot__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr); }
.foot__nota { font-size: 13px; color: var(--ink-soft); }

/* WhatsApp flotante */
.wa-flota { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--white); box-shadow: 0 10px 30px rgba(6, 49, 46, .28); transition: transform .3s var(--ease), background .3s; }
.wa-flota svg { width: 28px; height: 28px; }
.wa-flota:hover { background: var(--teal); transform: translateY(-2px); }
.menu-open .wa-flota { display: none; }

@media (max-width: 1180px) {
	.foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.team--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.grupo__head { grid-template-columns: minmax(0, 1fr); }
	.team--3, .gente-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.criteria-aside--solo { display: none; }
}
@media (max-width: 680px) {
	.team--4, .team--3 { gap: 36px 14px; }
	.team--3 { grid-template-columns: minmax(0, 1fr); }
	.team--3 .member { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 18px; align-items: start; }
	.team--3 .member .ph { grid-row: 1 / span 4; }
	.team--3 .member small { margin-top: 2px; }
	.team--3 .member__bio { font-size: 14.5px; margin-top: 8px; }
	.gente-lista { grid-template-columns: minmax(0, 1fr); }
	.foot__grid { grid-template-columns: minmax(0, 1fr); }
	.wa-flota { width: 52px; height: 52px; }
}

/* Ajustes tras la primera revisión */
.hero--home h1 { font-size: clamp(40px, 4.4vw, 70px); max-width: 20ch; margin-inline: auto; }
.feature::before { background: linear-gradient(0deg, rgba(6, 49, 46, .92) 0%, rgba(6, 49, 46, .7) 38%, rgba(6, 49, 46, .15) 75%, rgba(6, 49, 46, 0) 100%); }
.feature__in { align-items: end; }
.cta h2 { font-size: clamp(32px, 3.2vw, 52px); max-width: 22ch; }
/* Mismo tamaño de ficha en todos los grupos (sin jerarquías por tamaño) */
.team--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .team--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .team--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1024px) {
	.hero--split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.hero--split .hero__inner { padding: calc(var(--head-h) + 48px) var(--pad) 48px; }
	.hero--split .hero__ph { aspect-ratio: 4 / 3; }
}
@media (max-width: 680px) {
	.hero--home h1 { font-size: 34px; line-height: 1.1; }
	.feature::before { background: linear-gradient(0deg, rgba(6, 49, 46, .92) 0%, rgba(6, 49, 46, .78) 60%, rgba(6, 49, 46, .5) 100%); }
	.cta h2 { font-size: 30px; }
}

/* ---------- Tema 2.1: juego tipográfico, Empresas en Inicio, cierre e Innovación ---------- */
/* Itálica en la segunda parte de los títulos (se marca con *asteriscos* en el admin) */
h1 em, h2 em { font-style: italic; font-weight: 340; letter-spacing: -.012em; }

/* Portada de Inicio: composición abajo a la izquierda, la afirmación chica y la respuesta grande en itálica */
.hero--home .hero__shade { background: linear-gradient(180deg, rgba(6, 49, 46, .5) 0%, rgba(6, 49, 46, .1) 28%, rgba(6, 49, 46, .3) 55%, rgba(6, 49, 46, .9) 100%); }
.hero--home .hero__inner { align-items: stretch; justify-content: flex-end; text-align: left; padding-bottom: clamp(36px, 4.5vw, 64px); }
.hero--home h1.hero__tit { font-size: inherit; max-width: none; margin: 0; display: grid; gap: .28em; }
.hero__l1 { display: block; font: 400 clamp(24px, 2.4vw, 40px)/1.15 var(--serif); color: rgba(255, 255, 255, .86); letter-spacing: -.005em; }
.hero__l2 { display: block; font: 400 clamp(52px, 7.2vw, 118px)/.95 var(--serif); letter-spacing: -.022em; max-width: 12.5ch; }
.hero__l2 em { font-weight: 300; }
.hero__pie { margin-top: clamp(30px, 3.4vw, 50px); padding-top: 24px; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: end; }
.hero--home .hero__sub { margin: 0; max-width: 58ch; font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.6; color: rgba(255, 255, 255, .92); }
.hero--home .btns { justify-content: flex-end; flex-wrap: nowrap; }

/* Socios: fotos verticales para que el carrusel acompañe la altura del texto */
.socios__txt h2 { font-size: clamp(40px, 3.9vw, 62px); line-height: 1.02; }
.pcard { width: clamp(240px, 21vw, 300px); }
.pcard .ph { aspect-ratio: 4 / 5; }
.pcard .ph img { object-position: 50% 22%; }

/* Inicio: Empresas y negocios */
.empresas-home__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: end; margin-bottom: clamp(40px, 4.5vw, 68px); }
.empresas-home__head h2 { font-size: clamp(46px, 5.4vw, 88px); line-height: .98; letter-spacing: -.022em; }
.empresas-home__head .lead { color: var(--ink-soft); }
.empresas-home__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.empresas-home__body .ph { min-height: 100%; border-radius: 18px; }
.empresas-home__body .ph img { object-position: 50% 35%; }
.frentes-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); align-self: center; }
.frentes-lista li { border-bottom: 1px solid var(--line); }
.frentes-lista a { display: block; padding: 20px 0 21px; text-decoration: none; color: inherit; }
.frentes-lista__t { display: block; font: 400 clamp(21px, 1.65vw, 26px)/1.2 var(--serif); transition: color .3s; }
.frentes-lista__d { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.frentes-lista a:hover .frentes-lista__t, .frentes-lista a:focus-visible .frentes-lista__t { color: var(--green); font-style: italic; }

/* Cierre de todas las páginas: título a la izquierda, vías de contacto a la derecha */
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 110px); align-items: end; }
.cta .cta__main h2 { font-size: clamp(30px, 2.9vw, 46px); line-height: 1.12; max-width: 21ch; }
.cta .cta__main h2 em { display: inline-block; margin-top: .12em; font-size: 1.7em; line-height: 1; letter-spacing: -.02em; }
.cta__main .btn { margin-top: clamp(28px, 3vw, 40px); }
.cta__vias { margin: 0; border-top: 1px solid var(--line-light); }
.cta__vias > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-light); }
.cta__vias dt { font-size: 13.5px; color: rgba(255, 255, 255, .6); padding-top: 2px; }
.cta__vias dd { margin: 0; font-size: 16px; line-height: 1.45; }
.cta__vias a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.cta__vias a:hover { border-color: var(--white); }
.cta__vias dd span { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* Innovación: el texto principal grande y para qué se usa al costado */
.innova__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.innova__lead p { font: 400 clamp(25px, 2.25vw, 36px)/1.32 var(--serif); letter-spacing: -.008em; }
.innova__usos { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--ink); }
.innova__usos li { padding: 15px 0; border-bottom: 1px solid var(--line); font: 400 clamp(19px, 1.4vw, 22px)/1.3 var(--serif); }
.pag-innovacion .hero__bg { object-position: 50% 40%; }

/* Áreas: la portada muestra los tomos de la biblioteca */
.pag-areas .hero__bg { object-position: 50% 50%; }

@media (max-width: 1024px) {
	.hero__pie, .empresas-home__head, .empresas-home__body, .cta__grid, .innova__grid { grid-template-columns: minmax(0, 1fr); }
	.hero--home .btns { justify-content: flex-start; }
	.empresas-home__body .ph { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
	.hero__l1 { font-size: 20px; }
	.hero__l2 { font-size: 46px; }
	.hero--home .btns { flex-wrap: wrap; }
	.socios__txt h2 { font-size: 36px; }
	.cta .cta__main h2 { font-size: 27px; }
	.cta .cta__main h2 em { font-size: 1.55em; }
	.cta__vias > div { grid-template-columns: 80px minmax(0, 1fr); }
}
/* Ajustes 2.1 tras revisar */
.socios__txt h2 { font-size: clamp(34px, 3vw, 50px); }
.frentes-lista a { padding: 22px 0 23px; }
.frentes-lista__t { font-size: clamp(23px, 1.9vw, 30px); }
.cta .cta__main h2 { max-width: 27ch; }
.hero--home .hero__shade { background: linear-gradient(180deg, rgba(6, 49, 46, .5) 0%, rgba(6, 49, 46, .12) 25%, rgba(6, 49, 46, .48) 52%, rgba(6, 49, 46, .9) 100%); }
.hero__l2 em { font-weight: 330; }
@media (max-width: 680px) { .socios__txt h2 { font-size: 34px; } }

/* ---------- Tema 2.2: escala tipográfica única (a 1440 px: 56 · 48 · 36 · 24 · 20) ---------- */
:root {
	--t-display: clamp(36px, 3.9vw, 56px);
	--t-h1: clamp(34px, 3.35vw, 48px);
	--t-h2: clamp(27px, 2.5vw, 36px);
	--t-h3: clamp(20px, 1.6vw, 23px);
	--t-lead: clamp(17.5px, 1.3vw, 19.5px);
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); line-height: 1.14; }
h3 { font-size: var(--t-h3); }

/* Portada de Inicio */
.hero--home h1.hero__tit { gap: .5em; }
.hero__l1 { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.3; color: rgba(255, 255, 255, .84); }
.hero__l2 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -.015em; max-width: 17ch; }
.hero__l2 em { font-weight: 340; }
.hero__pie { margin-top: clamp(26px, 2.6vw, 38px); }

/* Portadas internas */
.hero--page h1, .hero--split h1 { font-size: var(--t-h1); line-height: 1.08; }

/* Títulos de sección: todos iguales */
.socios__txt h2, .empresas-home__head h2, .cta .cta__main h2, .grupo__head h2 { font-size: var(--t-h2); line-height: 1.14; letter-spacing: -.008em; }
.cta .cta__main h2 { max-width: 30ch; }
.cta .cta__main h2 em { display: inline; font-size: 1em; margin: 0; letter-spacing: inherit; }
.empresas-home__head { align-items: start; }

/* Subtítulos, listas y números */
.crit h3, .crit__tit, .frentes-lista__t, .member h3, .gente-lista b, .innova__usos li { font-size: var(--t-h3); }
.area h2 { font-size: clamp(22px, 1.9vw, 27px); }
.area .big { font-size: clamp(40px, 3.6vw, 52px); }
.crit .n { font-size: 24px; }
.pcard h4 { font-size: 21px; }
.datos__tit { font-size: var(--t-h3); }
.frentes-lista a { padding: 17px 0 18px; }

/* Textos destacados */
.lead, .socios__txt h3, .innova__lead p { font-size: var(--t-lead); line-height: 1.6; }
.innova__lead p { font-family: var(--serif); line-height: 1.5; font-size: clamp(20px, 1.6vw, 23px); }
.tcard blockquote { font-size: 18.5px; }

@media (max-width: 680px) {
	:root { --t-display: 33px; --t-h1: 32px; --t-h2: 26px; --t-h3: 20px; --t-lead: 17px; }
	.hero__l1 { font-size: 17px; }
	.hero__l2 { font-size: var(--t-display); }
	.socios__txt h2, .cta .cta__main h2 { font-size: var(--t-h2); }
	.area .big { font-size: 36px; }
}
/* Empresas y negocios en Inicio: cabecera en la misma grilla que la foto y la lista */
.empresas-home__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.empresas-home__head h2 { margin-top: -.12em; }
.empresas-home__head .stack > :first-child { margin-top: 0; }
.empresas-home__head .lead { font-size: 17px; line-height: 1.65; }
@media (max-width: 1024px) { .empresas-home__head { grid-template-columns: minmax(0, 1fr); } }
/* Testimonios: la cita en la serif, con interlineado de lectura y comillas colgadas */
.tcard { min-height: 0; width: clamp(300px, 30vw, 420px); padding: clamp(28px, 2.4vw, 36px); gap: 28px; }
.tcard blockquote { font: 400 clamp(18px, 1.3vw, 19.5px)/1.62 var(--serif); letter-spacing: .002em; text-wrap: pretty; text-indent: -.42em; }
.tcard .cite { padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.tcard:first-child .cite { border-top-color: rgba(255, 255, 255, .35); }
.tcard .cite b { font-weight: 500; margin-bottom: 2px; }
@media (max-width: 680px) { .tcard { width: min(86vw, 340px); } .tcard blockquote { font-size: 17.5px; } }
.criteria-aside .ph { aspect-ratio: 4 / 4.6; }
.criteria-aside .ph img { object-position: 50% 30%; }
/* Logos de clientes más chicos */
.logo-cell { width: 168px; height: 82px; padding: 18px 28px; }
.logos-grid .logo-cell { height: 108px; padding: 30px 54px; }
@media (max-width: 680px) {
	.logo-cell { width: 128px; height: 66px; padding: 12px 18px; }
	.logos-grid .logo-cell { height: 88px; padding: 22px 32px; }
}

/* Logos de clientes: cada uno a su medida de peso visual (inc/logos-medidas.json), centrados en su celda */
.logo-cell { --k: 1; width: auto; min-width: 150px; height: 84px; padding: 0 26px; display: flex; align-items: center; justify-content: center; }
.logo-cell img { width: calc(var(--w) * var(--k) * 1px); height: calc(var(--h) * var(--k) * 1px); max-width: none; max-height: none; object-fit: contain; }
.marquee__track { align-items: center; }
.logos-grid li { display: flex; }
.logos-grid .logo-cell { width: 100%; min-width: 0; height: 112px; padding: 0 16px; }
@media (max-width: 680px) {
	.logo-cell { --k: .8; min-width: 118px; height: 68px; padding: 0 18px; }
	.logos-grid .logo-cell { height: 92px; }
}
.logo-cell img { filter: grayscale(1) contrast(1.15) brightness(.8); opacity: .82; }
.logo-cell:hover img { filter: none; opacity: 1; }

/* ---------- Selector de idioma ----------
   La clase no puede ser «lang»: CookieAdmin escribe su objeto «lang» en el primer elemento .lang de la página. */
.idioma { display: flex; align-items: center; gap: 2px; font: 500 13px/1 var(--sans); letter-spacing: .04em; }
.idioma a { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 999px; text-decoration: none; color: inherit; opacity: .62; transition: opacity .25s, background .25s; }
.idioma a:hover { opacity: 1; }
.idioma a.on { opacity: 1; box-shadow: inset 0 0 0 1px currentColor; }
.idioma--movil { display: none; margin-left: auto; margin-right: 6px; }
@media (max-width: 1024px) {
	.idioma--movil { display: flex; }
}
/* El menú completo entra desde 1240 px; por debajo, menú hamburguesa */
.nav a.nl { white-space: nowrap; }
@media (max-width: 1240px) {
	.nav > ul, .nav .btn--cta, .nav .idioma { display: none; }
	.burger { display: block; }
	.idioma--movil { display: flex; }
}
@media (max-width: 680px) {
	.head__in { gap: 8px; }
	.logo, .logo img { height: 22px; width: auto; }
	.idioma--movil { margin-right: 0; }
	.idioma a { min-width: 30px; height: 30px; padding: 0 4px; font-size: 12px; }
	.burger { width: 40px; height: 40px; flex-shrink: 0; }
}

/* ---------- Tema 2.4.4: portada con la foto 135, título más contenido y sombra que despeja el texto ---------- */
.hero--home .hero__bg { object-position: 50% 18%; }
.hero--home .hero__shade { background:
	radial-gradient(ellipse 62% 58% at 0% 100%, rgba(6, 49, 46, .72) 0%, rgba(6, 49, 46, .38) 55%, rgba(6, 49, 46, 0) 100%),
	linear-gradient(180deg, rgba(6, 49, 46, .45) 0%, rgba(6, 49, 46, .06) 22%, rgba(6, 49, 46, .14) 50%, rgba(6, 49, 46, .86) 100%); }
.hero--home h1.hero__tit { gap: .45em; }
.hero__l1 { font-size: clamp(17px, 1.3vw, 20px); }
.hero__l2 { font-size: clamp(40px, 3.1vw, 48px); max-width: 15ch; }
@media (max-width: 680px) {
	.hero__l2 { font-size: 31px; }
}
/* Pantallas anchas y bajas: el bloque de texto se compacta para no subir hasta las caras */
@media (min-width: 1100px) and (min-aspect-ratio: 17/10) {
	.hero--home .hero__inner { padding-bottom: 34px; }
	.hero--home .hero__sub { max-width: 74ch; }
	.hero__pie { margin-top: 22px; padding-top: 18px; }
}

/* Nuestro Equipo: los cuatro socios enteros, con aire sobre las cabezas */
.pag-equipo .hero--corto { min-height: clamp(440px, 68svh, 660px); }
.pag-equipo .hero__bg { object-position: 50% 58%; }
@media (max-width: 680px) { .pag-equipo .hero--corto { min-height: 330px; } .pag-equipo .hero__bg { object-position: 50% 70%; } }

/* ---------- Tema 2.4.8: carruseles que se arrastran con el mouse ---------- */
.rail--mueve { cursor: grab; }
.rail--anim { scroll-snap-type: none; } /* el movimiento lo hace cla.js, sin el ajuste magnético en el medio */
.rail--drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.rail--drag * { pointer-events: none; }
.arrows[hidden] { display: none; }

/* Empresas y negocios: la foto de portada baja para que los socios queden al centro y no se vea tanto techo */
.pag-empresas .hero__bg { object-position: 50% 75%; }

/*
 * Pantallas verticales: la foto de cabecera de la home y de Empresas y negocios recorre despacio de un
 * costado al otro, para que se vea entera aunque el formato la recorte (solo donde hay gente fuera de cuadro).
 */
.hero--home .hero__bg { --paneo-y: 18%; }
.pag-empresas .hero__bg { --paneo-y: 75%; }
@media (orientation: portrait) and (prefers-reduced-motion: no-preference) {
	.hero--home .hero__bg, .pag-empresas .hero__bg { animation: cla-paneo 28s ease-in-out infinite alternate; }
}
@keyframes cla-paneo {
	from { object-position: 0% var(--paneo-y, 50%); }
	to { object-position: 100% var(--paneo-y, 50%); }
}
