/* Global Andes Trading · sitio corporativo (ES / EN / 中文)
   Colores del manual de Global (p. 6): #00558D, #CEE4EF, #007626, #DCF4E3, #B3B3B3, #E6E6E6.
   Space Grotesk = títulos (manual p. 5); Jost = sustituto libre de la Futura que el manual pide para la web.
   Todo se sirve desde el mismo dominio: nada de Google Fonts ni CDN (no cargan en China). */

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070-209F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070-209F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215;
}

:root {
  --azul: #00558D;
  --azul-hondo: #003B63;
  --azul-noche: #0B2436;
  --azul-cl: #CEE4EF;
  --azul-bruma: #F2F7FA;
  --verde: #007626;
  --verde-vivo: #12A04A;
  --verde-cl: #DCF4E3;
  --gris: #B3B3B3;
  --gris-cl: #E6E6E6;
  --tinta: #0D2131;
  --tinta-2: #44596A;
  --linea: #E2EBF1;
  --blanco: #FFFFFF;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "WenQuanYi Micro Hei";
  --f-tit: "Space Grotesk", var(--cjk), system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-txt: "Jost", var(--cjk), system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
  --r-sm: 12px;
  --sombra: 0 1px 2px rgba(13, 33, 49, .05), 0 8px 24px -12px rgba(13, 33, 49, .18);
  --sombra-alta: 0 2px 6px rgba(13, 33, 49, .06), 0 24px 48px -20px rgba(0, 59, 99, .35);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--tinta);
  font-family: var(--f-txt);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-tit); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--verde-vivo); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- tipografía por idioma ---------- */
.l-zh body { line-height: 1.75; letter-spacing: .01em; }
.l-zh h1, .l-zh h2, .l-zh h3, .l-zh h4 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
.l-zh .hero__h1 { line-height: 1.18; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-tit); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--verde);
  margin-bottom: 18px;
}
.l-zh .eyebrow { letter-spacing: .08em; font-size: 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde-vivo); box-shadow: 0 0 0 4px rgba(18, 160, 74, .16); }
.h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); color: var(--azul-noche); text-wrap: balance; }
.h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); color: var(--azul-noche); text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); color: var(--tinta-2); max-width: 36em; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--f-tit); font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn .i, .btn svg { width: 20px; height: 20px; flex: none; }
.btn--solid { background: var(--verde); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 118, 38, .7); }
.btn--solid:hover { background: #00862C; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(0, 118, 38, .75); }
.btn--ghost { color: var(--azul); border-color: rgba(0, 85, 141, .28); background: rgba(255, 255, 255, .6); }
.btn--ghost:hover { border-color: var(--azul); background: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-bottom-color: var(--linea); box-shadow: 0 6px 24px -18px rgba(13, 33, 49, .4); }
.nav__in { height: var(--nav-h); width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-family: var(--f-tit); font-weight: 500; font-size: 15px; color: var(--tinta-2); padding: 6px 0; position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--verde); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--azul); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--azul); }
.nav__right { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--azul-bruma); border: 1px solid var(--linea); }
.lang a { text-decoration: none; font-family: var(--f-tit); font-size: 13px; font-weight: 600; color: var(--tinta-2); padding: 6px 11px; border-radius: 999px; line-height: 1; transition: background .2s, color .2s; }
.lang a:hover { color: var(--azul); }
.lang a[aria-current="page"] { background: var(--azul); color: #fff; }

.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--azul-noche); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__sheet { border-top: 1px solid var(--linea); padding: 12px 20px 22px; display: grid; gap: 4px; background: #fff; }
.nav__sheet[hidden] { display: none; }
@media (min-width: 1101px) { .nav__sheet { display: none; } }
.nav__sheet a { text-decoration: none; font-family: var(--f-tit); font-size: 20px; font-weight: 500; padding: 12px 4px; border-bottom: 1px solid var(--linea); }
.nav__sheet .lang { margin-top: 14px; justify-self: start; }
.nav__sheet .lang a { font-size: 15px; padding: 9px 16px; border: 0; }

/* ---------- portada ---------- */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(closest-side, rgba(206, 228, 239, .9), rgba(206, 228, 239, 0) 70%);
  pointer-events: none;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--linea); }
.hero__in {
  position: relative; width: min(1320px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center;
  min-height: min(calc(85svh - var(--nav-h)), 720px);
}
.hero__copy { max-width: 980px; padding: clamp(64px, 11vh, 124px) 0; }
.hero__h1 { max-width: 16ch; font-size: clamp(2.6rem, 1.1rem + 4.6vw, 5rem); line-height: .98; letter-spacing: -0.035em; color: var(--azul-noche); margin-bottom: 26px; text-wrap: balance; }
.hero__h1 .acento { color: var(--azul); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.wall {
  position: relative; align-self: stretch; height: min(calc(100svh - var(--nav-h)), 860px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.wall__col { overflow: hidden; }
.wall__track { display: flex; flex-direction: column; gap: 16px; animation: subir var(--dur, 60s) linear infinite; will-change: transform; }
.wall__col:nth-child(2) .wall__track { animation-name: bajar; }
/* Cajas cuadradas con la foto posicionada adentro: si la foto fluye, Safari deja que una vertical estire el cuadro
   (pasó en el iPhone de Felipe el 26-oct: tarjetas descuadradas y el nombre cortado). */
.wall__card, .card__img, .lb__img { position: relative; aspect-ratio: 1; }
.wall__card img, .card__img img, .lb__img img {
  position: absolute; top: var(--pad); left: var(--pad);
  width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain;
}
.wall__card {
  --pad: 8%; flex: none; border-radius: var(--r); background: #fff;
  border: 1px solid var(--linea); box-shadow: var(--sombra);
}
@keyframes subir { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@keyframes bajar { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
@keyframes izquierda { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@keyframes derecha { from { transform: translateX(calc(-50% - 6px)); } to { transform: translateX(0); } }
.wall:hover .wall__track { animation-play-state: paused; }

/* ---------- fotos reales (Felipe, China, 29-oct) ---------- */
.foto { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--azul-bruma); box-shadow: var(--sombra-alta); isolation: isolate; }
/* La foto va posicionada dentro de una caja con medida propia (aspect-ratio o la fila del grid): si fluye, Safari deja
   que su proporción estire la caja (pasó con las tarjetas del portafolio en el iPhone de Felipe, 26-oct). */
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto figcaption {
  position: absolute; left: 14px; bottom: 14px; right: auto; max-width: calc(100% - 28px);
  padding: 8px 14px; border-radius: 999px; background: rgba(11, 36, 54, .72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-family: var(--f-tit); font-size: 14px; font-weight: 500; line-height: 1.3;
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); }
.hero__h1 { font-size: clamp(2.6rem, 1.2rem + 3.4vw, 4.6rem); }
.hero__foto { aspect-ratio: 4 / 5; max-height: min(calc(85svh - var(--nav-h) - 56px), 660px); width: 100%; justify-self: end; }
.nos__foto { margin-top: clamp(28px, 4vw, 44px); aspect-ratio: 4 / 3; }
.como__fotos { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 18px; }
.como__foto { aspect-ratio: 3 / 2; }
.como__feria { min-height: 280px; }
.ctl__foto { margin-bottom: clamp(44px, 6vw, 72px); aspect-ratio: 21 / 9; }
.sedes__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.sedes__media { display: grid; }
.sedes__foto { min-height: 440px; }
.sedes__txt .sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
.sedes__txt .sedes__grid { grid-template-columns: 1fr; gap: 14px; }
.sedes__txt .sede { grid-template-columns: 34px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 22px 24px; }
.sedes__txt .sede svg { margin: 2px 0 0; }
.sedes__txt .sede > div { display: grid; gap: 6px; }

/* ---------- datos ---------- */
.datos { background: var(--azul-bruma); border-bottom: 1px solid var(--linea); }
.datos__in { width: min(1320px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.dato { padding: 30px 26px; display: grid; gap: 4px; align-content: start; border-left: 1px solid var(--linea); }
.dato:first-child { border-left: 0; padding-left: 0; }
.dato strong { font-family: var(--f-tit); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 600; color: var(--azul); letter-spacing: -0.01em; line-height: 1.2; }
.dato span { font-size: 15px; color: var(--tinta-2); line-height: 1.45; }

/* ---------- secciones ---------- */
section { position: relative; }
.nos, .prod, .como, .ctl, .sedes, .prov { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head__p { margin-top: 18px; color: var(--tinta-2); font-size: 18px; max-width: 40em; }

.nos__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.nos__body { display: grid; gap: 20px; font-size: 19px; color: var(--tinta-2); padding-top: 34px; }
.nos__para { margin-top: 12px; padding: 22px 24px; border-radius: var(--r); background: var(--verde-cl); color: var(--tinta); display: grid; gap: 10px; }
.nos__para p { font-size: 17px; }
.tag { justify-self: start; font-family: var(--f-tit); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--verde); background: #fff; padding: 5px 10px; border-radius: 999px; }
.l-zh .tag { letter-spacing: .06em; font-size: 13px; }

/* ---------- productos ---------- */
.prod { padding-top: clamp(40px, 6vw, 80px); }
.cats {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 18px; margin: 0 -4px 26px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.cat {
  flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px; border: 1.5px solid var(--linea); background: #fff;
  cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.cat:hover { border-color: rgba(0, 85, 141, .4); transform: translateY(-1px); }
.cat__img { width: 44px; height: 44px; border-radius: 50%; background: var(--azul-bruma); display: grid; place-items: center; overflow: hidden; flex: none; }
.cat__img img { width: 78%; height: 78%; object-fit: contain; }
.cat__txt { display: grid; line-height: 1.2; }
.cat__name { font-family: var(--f-tit); font-weight: 600; font-size: 15px; color: var(--azul-noche); white-space: nowrap; }
.cat__n { font-size: 13px; color: var(--tinta-2); }
.cat[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); box-shadow: 0 10px 24px -14px rgba(0, 85, 141, .8); }
.cat[aria-pressed="true"] .cat__name, .cat[aria-pressed="true"] .cat__n { color: #fff; }
.cat[aria-pressed="true"] .cat__img { background: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.grid--muestra { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  border: 1px solid var(--linea); border-radius: var(--r); background: #fff; padding: 0; cursor: zoom-in;
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); border-color: transparent; }
.card__img { --pad: 9%; display: block; flex: none; width: 100%; background: #fff; }
.card__img img { transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__cap { flex: 1 0 auto; width: 100%; padding: 14px 16px 16px; border-top: 1px solid var(--linea); display: flex; flex-direction: column; gap: 2px; }
.card__cat { font-size: 12px; font-family: var(--f-tit); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--verde); }
.l-zh .card__cat { letter-spacing: .02em; }
.card__name { font-size: 15.5px; line-height: 1.35; color: var(--tinta); }
.card.is-hidden { display: none; }
.grid--dest .card { order: var(--o, 999); }
.card.is-in { animation: entrar .45s var(--ease) both; }
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card--sm .card__img { --pad: 12%; }
.nota { margin-top: 26px; font-size: 14px; color: var(--tinta-2); }
.prod__pie { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.prod__pie .nota { margin-top: 0; }

/* ---------- marcas ---------- */
.marcas { padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: #fff; }
.marcas__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.marcas__head .eyebrow { margin-bottom: 12px; }
.marcas__list { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.marca { font-family: var(--f-tit); font-weight: 600; font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem); color: var(--azul-noche); padding: 10px 18px; border-radius: 999px; background: var(--azul-bruma); border: 1px solid var(--linea); letter-spacing: -0.01em; }
.marca--propia { background: var(--verde-cl); border-color: transparent; color: var(--verde); display: inline-flex; align-items: center; gap: 10px; }
.marca--propia small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: #fff; padding: 3px 8px; border-radius: 999px; }
.l-zh .marca--propia small { letter-spacing: .04em; font-size: 12px; }

/* ---------- cómo trabajamos ---------- */
.como { background: var(--azul-bruma); }
.ruta { margin: 0 0 clamp(36px, 5vw, 56px); border-radius: 24px; background: #fff; border: 1px solid var(--linea); padding: clamp(14px, 2.4vw, 28px); overflow: hidden; }
.ruta svg { width: 100%; height: auto; display: block; }
.ruta .rt-grid { stroke: var(--azul-cl); stroke-width: 1; }
.ruta .rt-land { fill: var(--azul-bruma); stroke: var(--azul-cl); stroke-width: 1.5; }
.ruta .rt-path { fill: none; stroke: var(--azul); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; }
.ruta .rt-trace { fill: none; stroke: var(--verde-vivo); stroke-width: 3; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.ruta.is-in .rt-trace { transition: stroke-dashoffset 2.6s var(--ease) .2s; stroke-dashoffset: 0; }
.ruta .rt-node { fill: #fff; stroke: var(--azul); stroke-width: 3; }
.ruta .rt-node--fin { stroke: var(--verde); }
.ruta .rt-pulse { fill: var(--verde-vivo); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulso 2.4s ease-out infinite; }
.ruta .rt-label { font-family: var(--f-tit); font-weight: 600; font-size: 22px; fill: var(--azul-noche); }
.ruta .rt-sub { font-family: var(--f-txt); font-size: 15px; fill: var(--tinta-2); }
.ruta .rt-ocean { font-family: var(--f-tit); font-size: 15px; font-weight: 500; letter-spacing: .3em; fill: var(--azul); opacity: .55; text-transform: uppercase; }
.l-zh .ruta .rt-ocean { letter-spacing: .5em; }
.ruta .rt-ship { fill: var(--verde); }
@keyframes pulso { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.6); opacity: 0; } }

.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: paso; }
.paso { background: #fff; border-radius: var(--r); padding: 26px 24px 28px; border: 1px solid var(--linea); display: grid; gap: 10px; align-content: start; position: relative; }
.paso__n { font-family: var(--f-tit); font-weight: 600; font-size: 14px; color: var(--verde); letter-spacing: .1em; }
.paso h3 { font-size: 21px; color: var(--azul-noche); }
.paso p { font-size: 16px; color: var(--tinta-2); line-height: 1.55; }
.pasos--6 { grid-template-columns: repeat(3, 1fr); }

.resp { margin-top: clamp(48px, 6vw, 80px); }
.resp__h { font-size: 15px; font-family: var(--f-tit); letter-spacing: .14em; text-transform: uppercase; color: var(--verde); margin-bottom: 22px; }
.l-zh .resp__h { letter-spacing: .08em; }
.resp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resp__item { display: grid; gap: 10px; align-content: start; padding: 24px 0 0; border-top: 2px solid var(--azul); }
.resp__item svg { width: 30px; height: 30px; color: var(--azul); }
.resp__item h4 { font-size: 20px; color: var(--azul-noche); }
.resp__item p { font-size: 16px; color: var(--tinta-2); }

/* ---------- catálogo (Chilat) ---------- */
.ctl { background: #fff; }
.ctl__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ctl__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ctl__ctas .btn--ghost svg { color: #25D366; }
.ctl__nota { margin-top: 18px; font-size: 14px; color: var(--tinta-2); }
.ctl__card { border-radius: 24px; background: var(--azul-bruma); border: 1px solid var(--linea); padding: clamp(28px, 4vw, 44px); container-type: inline-size; }
/* la cifra escala con la tarjeta (cqi), no con la ventana: entre 900 y 1200 px la tarjeta es angosta */
.ctl__n { font-family: var(--f-tit); font-weight: 600; font-size: clamp(2.4rem, 1rem + 3.2vw, 4.4rem); font-size: min(5rem, 16cqi); line-height: 1; letter-spacing: -0.04em; color: var(--azul); white-space: nowrap; }
.ctl__n span { color: var(--verde); }
.ctl__nd { margin-top: 10px; font-size: 17px; color: var(--tinta-2); }
.ctl__pasos { margin-top: 28px; display: grid; gap: 14px; border-top: 1px solid var(--azul-cl); padding-top: 24px; }
.ctl__pasos li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; font-size: 16.5px; line-height: 1.4; color: var(--tinta); }
.ctl__pasos b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: #fff; font-family: var(--f-tit); font-weight: 600; font-size: 15px; }

/* ---------- canales ---------- */
.canales { background: var(--azul); color: #fff; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.canales::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(18, 160, 74, .35), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(0, 30, 52, .55), transparent 70%); pointer-events: none; }
.canales .wrap { position: relative; }
.sec-head--inv .eyebrow { color: #9FE3B5; }
.sec-head--inv .h2 { color: #fff; }
.sec-head--inv .sec-head__p { color: rgba(255, 255, 255, .78); }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.logos li { height: 112px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; padding: 18px 22px; transition: background .3s; }
.logos li:hover { background: rgba(255, 255, 255, .12); }
.logos img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.badge-ml { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-family: var(--f-tit); font-weight: 500; font-size: 16px; }
.badge-ml svg { width: 26px; height: 26px; color: #FFE600; }

/* ---------- sedes ---------- */
.sedes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sede { border: 1px solid var(--linea); border-radius: var(--r); padding: 28px 26px 30px; display: grid; gap: 10px; align-content: start; background: #fff; }
.sede svg { width: 34px; height: 34px; color: var(--verde); margin-bottom: 8px; }
.sede h3 { font-size: 21px; color: var(--azul-noche); }
.sede p { color: var(--tinta-2); font-size: 16.5px; }

/* ---------- proveedores / contacto ---------- */
.prov { background: var(--azul-noche); color: #fff; overflow: hidden; }
.prov::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 0% 0%, rgba(0, 85, 141, .7), transparent 60%), radial-gradient(50% 60% at 100% 100%, rgba(0, 118, 38, .45), transparent 70%); pointer-events: none; }
.prov__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.prov .eyebrow { color: #9FE3B5; }
.prov .h2 { color: #fff; }
.prov__p { margin-top: 20px; font-size: 19px; color: rgba(255, 255, 255, .8); max-width: 34em; }
.prov__persona { margin-top: 26px; font-family: var(--f-tit); font-weight: 500; color: #fff; display: inline-flex; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.contactos { display: grid; gap: 12px; }
.contacto {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  text-decoration: none; color: #fff; transition: background .25s, transform .25s var(--ease), border-color .25s;
}
a.contacto:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.contacto__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.contacto__ico svg { width: 24px; height: 24px; }
.contacto--wa .contacto__ico { background: #25D366; color: #fff; }
.contacto--wc .contacto__ico { background: #07C160; color: #fff; }
.contacto__txt { display: grid; line-height: 1.3; min-width: 0; }
.contacto__txt small { font-size: 13px; color: rgba(255, 255, 255, .65); font-family: var(--f-tit); letter-spacing: .06em; text-transform: uppercase; }
.l-zh .contacto__txt small { letter-spacing: 0; }
.contacto__txt span { font-family: var(--f-tit); font-weight: 500; font-size: 17px; overflow-wrap: anywhere; }
.contacto__go { width: 20px; height: 20px; opacity: .6; }
.wc-qr { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 4px 0 0; }
.wc-qr img { width: 136px; height: 136px; flex: none; border-radius: 12px; background: #fff; padding: 6px; }
.wc-qr figcaption { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .78); }

/* ---------- pie ---------- */
.pie { background: #071825; color: rgba(255, 255, 255, .7); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.pie__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.pie__logo { height: 40px; width: auto; }
.pie__lang { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.pie__lang a { color: #fff; text-decoration: none; opacity: .75; }
.pie__lang a:hover, .pie__lang a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.pie__monza { text-decoration: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .45; }
.pie__monza:hover { opacity: .8; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
  transform: translateY(120px); transition: transform .45s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.is-on { transform: none; }
.wa-float--wc { background: #07C160; }

/* ---------- visor ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(7, 24, 37, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; padding: 20px; opacity: 0; transition: opacity .25s; }
.lb.is-open { opacity: 1; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; display: grid; gap: 16px; justify-items: center; max-height: 100%; }
.lb__img { --pad: clamp(14px, 3vw, 36px); background: #fff; border-radius: 22px; width: min(76vh, 100%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.lb figcaption { text-align: center; color: #fff; display: grid; gap: 4px; }
.lb__cat { font-family: var(--f-tit); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9FE3B5; }
.lb__name { font-family: var(--f-tit); font-weight: 500; font-size: 20px; }
.lb__count { font-size: 13px; color: rgba(255, 255, 255, .55); }
.lb button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb button:hover { background: rgba(255, 255, 255, .2); }
.lb button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb__close { position: absolute; top: 18px; right: 18px; }
.lb__prev { justify-self: start; }
.lb__next { justify-self: end; }

/* ---------- aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__right { margin-left: auto; }
  .nav__burger { display: block; }
  .pasos, .pasos--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__logo img { height: 38px; }
  .nav__right .lang, .nav__cta { display: none; }
  .hero__in { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding: 56px 0 36px; }
  .hero__foto { aspect-ratio: 4 / 3; max-height: none; margin-bottom: 48px; justify-self: stretch; }
  .ctl__foto { aspect-ratio: 3 / 2; }
  .sedes__in { grid-template-columns: 1fr; }
  .sedes__media { order: 2; }
  .sedes__foto { min-height: 0; aspect-ratio: 4 / 3; }
  .wall { order: -1; height: auto; display: grid; grid-template-columns: 1fr; gap: 12px; margin: 20px -20px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
  .wall__col:nth-child(3) { display: none; }
  .wall__track { flex-direction: row; gap: 12px; animation-name: izquierda; width: max-content; }
  .wall__col:nth-child(2) .wall__track { animation-name: derecha; }
  .wall__card { --pad: 10%; width: 132px; border-radius: 16px; }
  .datos__in { grid-template-columns: 1fr 1fr; }
  .dato { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--linea); }
  .dato:nth-child(-n+2) { border-top: 0; }
  .dato:first-child, .dato:nth-child(3) { padding-left: 0; }
  .dato:nth-child(even) { border-left: 1px solid var(--linea); }
  .nos__in, .marcas__in, .ctl__in, .prov__in { grid-template-columns: 1fr; }
  .nos__body { padding-top: 0; font-size: 18px; }
  .resp__grid, .sedes__grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__cap { padding: 11px 12px 13px; }
  .card__name { font-size: 14px; }
  .lb { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 64px 14px 20px; gap: 14px; }
  .lb__fig { grid-row: 1; }
  .lb__img { width: min(100%, 62vh); }
  .lb__prev, .lb__next { grid-row: 2; position: absolute; bottom: 22px; }
  .lb__prev { left: 22px; }
  .lb__next { right: 22px; }
  .pie__lang { margin-left: 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .nav__in, .hero__in, .datos__in { width: calc(100% - 32px); }
  .wall { margin: 16px -16px 0; }
  .hero__ctas .btn { width: 100%; }
  .eyebrow { letter-spacing: .1em; align-items: flex-start; }
  .eyebrow .dot { margin-top: 5px; flex: none; }
  .pasos, .pasos--6 { grid-template-columns: 1fr; }
  .ctl__ctas .btn { width: 100%; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li { height: 92px; padding: 14px; }
  .logos img { max-height: 42px; }
  .logos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .badge-ml { font-size: 14px; border-radius: 18px; }
  .foto { border-radius: 18px; }
  .como__fotos { grid-template-columns: 1fr; gap: 12px; }
  .como__feria { min-height: 0; aspect-ratio: 4 / 3; }
  .foto figcaption { left: 10px; bottom: 10px; font-size: 13px; padding: 6px 12px; }
  .contacto { grid-template-columns: 44px 1fr auto; padding: 14px; gap: 12px; }
  .contacto__ico { width: 44px; height: 44px; }
  .contacto__txt span { font-size: 15px; }
}
@media (min-width: 901px) { .wa-float { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall__track { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ruta .rt-pulse, .ruta .rt-ship { animation: none; display: none; }
  .ruta .rt-trace { stroke-dashoffset: 0 !important; transition: none !important; }
  .card, .card__img img { transition: none; }
}

/* Portafolio comercial */
.portafolio { padding: clamp(62px, 7vw, 105px) 0; background: #f4f8fa; }
.portafolio__encabezado { max-width: 710px; margin-bottom: 30px; }
.portafolio__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.linea { display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 96px; border: 1px solid #dce8ee; border-radius: 15px; background: #fff; }
.linea:target { outline: 2px solid #00558d; outline-offset: 3px; }
.linea__foto { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eef4f7; }
.linea__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.linea__foto:not(.linea__foto--hogar) img { inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.linea__foto--fitness { background: #fff; }
.linea__copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px; }
.linea__copy h3 { margin: 0 0 7px; color: #093653; font-size: clamp(1.17rem, 2vw, 1.42rem); line-height: 1.2; }
.linea__copy p { margin: 0 0 17px; color: #425565; line-height: 1.5; }
.linea__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; color: #00558d; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.linea__cta svg { flex: 0 0 19px; width: 19px; height: 19px; }
.linea__cta:hover { color: #003a60; }
@media (max-width: 880px) { .portafolio__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .portafolio__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* Controles de medición voluntaria */
.analitica { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: min(370px, calc(100vw - 36px)); padding: 17px; border: 1px solid #d4e1e7; border-radius: 12px; background: #fff; box-shadow: 0 8px 35px #0e263b24; }
.analitica p { margin: 0 0 12px; color: #192e40; line-height: 1.45; }
.analitica div { display: flex; flex-wrap: wrap; gap: 8px; }
.pie__medicion { padding: 6px; border: 0; background: transparent; color: #fff; cursor: pointer; text-decoration: underline; }
