/* ============================================================
   GRUPO BONACINA — Landing
   ============================================================ */

/* ---------- Barra de progreso ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: transparent; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
body.menu-open .nav {
  z-index: 130; box-shadow: none; background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav__brand { transition: opacity 0.3s var(--ease-out); }
body.menu-open .nav__brand { opacity: 0; pointer-events: none; }
.nav.is-solid {
  background: rgba(20, 17, 16, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
  padding-block: 0.7rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__brand svg { width: 40px; height: 40px; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1.02; }
.nav__wordmark b { font-weight: 640; letter-spacing: 0.08em; font-size: 0.92rem; color: var(--ink); }
.nav__wordmark span { font-weight: 760; letter-spacing: 0.08em; font-size: 0.92rem; color: var(--red); }
.nav--dark .nav__wordmark b { color: #fff; }
.nav--dark .nav__wordmark span { color: var(--red-bright); }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); opacity: 0.82; position: relative; padding-block: 0.3rem;
}
.nav--dark .nav__links a { color: #fff; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width 0.35s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--red); color: #fff !important; border: 0;
  font-size: 0.8rem; font-weight: 620; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.85rem 1.5rem; border-radius: 100px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(227, 44, 30, 0.35); background: var(--red-bright); }
.btn--ghost { background: transparent; border: 1px solid currentColor; color: inherit !important; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); box-shadow: none; }

.nav__burger {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; z-index: 130;
}
.nav__burger i { display: block; width: 26px; height: 2px; background: var(--ink); transition: 0.35s var(--ease-out); }
.nav--dark .nav__burger i { background: #fff; }
body.menu-open .nav__burger i { background: #fff !important; }
body.menu-open .nav__burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav__burger i:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 120; overflow-y: auto;
  background:
    radial-gradient(circle at 84% 12%, rgba(227, 44, 30, 0.2), transparent 52%),
    radial-gradient(circle at 10% 94%, rgba(227, 44, 30, 0.1), transparent 46%),
    var(--ink);
  display: flex; flex-direction: column; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.menu__clover {
  position: fixed; right: -18vw; bottom: -12vh; width: 72vw; max-width: 520px;
  opacity: 0.06; pointer-events: none;
}
.menu > a { position: relative; flex-shrink: 0; }
.menu > a:first-of-type { margin-top: auto; }
.menu > a:last-of-type { margin-bottom: auto; }
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu a {
  color: #fff; font-size: clamp(1.8rem, 7vw, 3rem); font-weight: 300; line-height: 1.35;
  border-bottom: 1px solid var(--line-dark); padding-block: 0.55rem;
  display: flex; justify-content: space-between; align-items: baseline;
}
.menu a small { font-size: 0.72rem; letter-spacing: 0.3em; color: var(--red-bright); text-transform: uppercase; }
.menu a:hover { color: var(--red-bright); }

/* ---------- Hero (estilo portada de la presentación) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; background: var(--ink); color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 24% 40%, rgba(227, 44, 30, 0.17), transparent 46%);
  animation: breathe 7s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: 0.5; } to { opacity: 1; } }
.hero__clover {
  position: absolute; z-index: 1; right: -6vw; top: 8vh; width: 44vw; max-width: 640px; opacity: 0.08;
  animation: cloverfloat 14s ease-in-out infinite alternate;
}
@keyframes cloverfloat { from { transform: translateY(-16px) rotate(-3deg); } to { transform: translateY(18px) rotate(4deg); } }

.hero__mark { width: clamp(92px, 12vh, 140px); margin-bottom: 2rem; display: block; }
.hero__mark .leaf { transform-origin: 0 0; animation: leafin 1.1s var(--ease-out) both; }
.hero__mark .leaf:nth-child(2) { animation: leafin 1.1s var(--ease-out) 0.2s both, heartbeat 3.4s ease-in-out 2.2s infinite; }
@keyframes leafin { from { opacity: 0; scale: 0.3; } to { opacity: 1; scale: 1; } }
@keyframes heartbeat {
  0%, 26%, 100% { scale: 1; }
  6% { scale: 1.09; }
  12% { scale: 1; }
  18% { scale: 1.06; }
}

.hero__content { position: relative; z-index: 2; padding: 6.5rem var(--gutter) 3rem; max-width: 1500px; width: 100%; margin-inline: auto; }
.hero__kicker { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.hero__kicker .kicker { color: #ffb3ab; }
.hero__kicker::before { content: ''; width: 46px; height: 2px; background: var(--red); }
.hero h1 {
  font-size: clamp(2.7rem, 8.2vw, 7rem);
  line-height: 0.99; font-weight: 760; letter-spacing: -0.02em;
  max-width: 13ch;
}
.hero h1 em { font-style: normal; color: var(--red-bright); }
.hero__sub {
  margin-top: 1.6rem; max-width: 52ch; font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65; font-weight: 340; color: rgba(255, 255, 255, 0.82);
}
.hero__actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  margin-top: 3.4rem;
}
.hero__stats div { padding: 1.5rem var(--gutter); border-left: 1px solid var(--line-dark); }
.hero__stats div:first-child { border-left: 0; }
.hero__stats b { display: block; font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 740; color: #fff; }
.hero__stats b i { font-style: normal; color: var(--red-bright); }
.hero__stats div > span { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }

.hero__scroll {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 9.2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  color: rgba(255,255,255,0.65); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ''; width: 1px; height: 54px; background: rgba(255,255,255,0.4);
  animation: scrollcue 2s var(--ease-out) infinite; writing-mode: horizontal-tb;
}
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Secciones base ---------- */
.section { padding: var(--section) var(--gutter); }
.wrap { max-width: 1500px; margin-inline: auto; }
.section__head { max-width: 900px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section__head h2 {
  font-size: clamp(2rem, 4.6vw, 3.7rem); font-weight: 720; letter-spacing: -0.015em; line-height: 1.05;
  margin-top: 1rem;
}
.section__head p { margin-top: 1.3rem; font-size: 1.08rem; line-height: 1.7; color: var(--smoke); max-width: 62ch; }

/* ---------- Manifiesto ---------- */
.manifesto { background: var(--paper); position: relative; overflow: hidden; }
.manifesto .wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.manifesto blockquote {
  margin: 0; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 330; line-height: 1.38; letter-spacing: -0.01em;
}
.manifesto blockquote b { font-weight: 700; color: var(--red); }
.manifesto__side { display: flex; flex-direction: column; gap: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.chip {
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 560;
  border: 1px solid var(--line); border-radius: 100px; padding: 0.55rem 1.1rem; color: var(--charcoal);
}
.manifesto__card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.manifesto__card svg { width: 74px; height: 74px; margin-bottom: 1.2rem; }
.manifesto__card h3 { font-size: 1.05rem; font-weight: 660; letter-spacing: 0.02em; }
.manifesto__card p { margin-top: 0.6rem; font-size: 0.94rem; line-height: 1.65; color: var(--smoke); }

/* ---------- Marquee de logos ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--white);
  padding-block: 1.6rem; position: relative;
}
/* gap 1.5rem + padding-inline 1rem de cada enlace = los mismos 3.5rem de aire visual
   entre logos que antes, pero con 2rem más de área tocable por logo. */
.marquee__track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 46s linear infinite; align-items: center; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
/* La pausa por :hover va sólo donde hay puntero real. En touch el navegador simula
   un :hover pegajoso que sobrevive al tap hasta que tocás otra cosa, así que un solo
   toque dejaba la tira congelada para siempre. En celular pausa el JS (.is-paused),
   que sí sabe cuándo termina el gesto. */
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
/* Sólo foco de TECLADO detiene la tira: con :focus-within un tap dejaba el <a> como
   activeElement (el JS hace preventDefault, nada mueve el foco) y la animación quedaba
   congelada para siempre. Además reseteamos el desplazamiento en vez de pausarlo donde
   esté: el track corre con translateX negativo y ese desborde hacia la izquierda no es
   alcanzable por scroll, así que el anillo de foco quedaba fuera de pantalla. Al volver
   el track al origen, el desborde pasa a ser hacia la derecha y el navegador ya puede
   traer el enlace enfocado a la vista. Regla aparte para no invalidar la lista de
   arriba en navegadores sin :has(). */
.marquee:has(.marquee__item:focus-visible) .marquee__track { animation: none; transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* En touch la tira NO se anima: se desliza con el dedo.
   Motivos: (1) el track mide ~5100px y varios iPhone tienen un límite de textura de
   4096px, por encima del cual Safari no compone la capa y la animación no corre —lo que
   explica que la tira estuviera quieta desde la carga—; (2) aunque corriera, apuntarle
   con el dedo a un logo en movimiento es incómodo y se le erra al de al lado.
   Como franja deslizable funciona igual bajo «Reducir movimiento» y con cualquier límite
   de GPU, y los 21 logos quedan alcanzables. Se ocultan los clones del loop: sin
   animación no cumplen ninguna función y duplicarían el recorrido. */
@media (hover: none), (pointer: coarse) {
  .marquee {
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .marquee::-webkit-scrollbar { display: none; }
  /* El aire lateral va en el track, no en el contenedor: varios navegadores ignoran
     el padding-inline-end de un contenedor con scroll y el último logo quedaría pegado. */
  .marquee__track { animation: none; transform: none; padding-inline: var(--gutter); }
  .marquee__item[aria-hidden='true'] { display: none; }
  .marquee__item { scroll-snap-align: center; }
  /* Degradé en los bordes: insinúa que hay más logos fuera de la vista. */
  .marquee {
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  }
}

/* ---------- Aviso de deslizar (sólo táctil, ver media query de arriba) ---------- */
.marquee__hint {
  display: none; align-items: center; justify-content: center; gap: 0.7rem;
  margin: 0; margin-top: -1px; /* funde su borde con el de la tira */
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 0.15rem 1rem 0.85rem;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--smoke); font-weight: 560;
  transition: opacity 0.5s var(--ease-out);
}
.marquee__hint.is-hidden { opacity: 0; }
.marquee__hint-arrow { color: var(--red); animation: hintslide 1.6s ease-in-out infinite; }
.marquee__hint-arrow:last-child { animation-name: hintslide-r; }
@keyframes hintslide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes hintslide-r { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
/* Después de la regla base para ganarle al display:none con el mismo selector. */
@media (hover: none), (pointer: coarse) {
  .marquee__hint { display: flex; }
}

/* Cada logo es un enlace a la tarjeta de su marca */
.marquee__item {
  display: inline-flex; align-items: center; line-height: 0;
  border-radius: 9px; text-decoration: none; color: inherit;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  padding: 0.35rem 1rem; /* área táctil más cómoda sin mover el layout visual */
}
.marquee__track img { height: 58px; width: auto; border-radius: 9px; filter: saturate(0.92); transition: transform 0.3s var(--ease-out); }
.marquee__item:focus-visible img { transform: scale(1.12); }
/* Mismo motivo que la pausa: en touch el :hover queda pegado y el logo se quedaba agrandado. */
@media (hover: hover) and (pointer: fine) {
  .marquee__item:hover img { transform: scale(1.12); }
}
.marquee__item:focus-visible {
  outline: 2px solid var(--red); outline-offset: 6px;
  box-shadow: 0 0 0 6px rgba(227, 44, 30, 0.12);
}

/* ---------- Pilares ---------- */
.pilares { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.pilares::before {
  content: ''; position: absolute; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 44, 30, 0.16), transparent 65%);
  top: -30vw; right: -22vw; pointer-events: none;
}
.pilares .section__head p { color: rgba(255, 255, 255, 0.66); }
.pilares__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.pilar {
  position: relative; border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 2.1rem 1.7rem 1.9rem; background: rgba(255, 255, 255, 0.03);
  display: flex; flex-direction: column; min-height: 380px;
  transition: transform 0.45s var(--ease-out), background 0.45s, border-color 0.45s;
}
.pilar:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.06); border-color: rgba(227, 44, 30, 0.5); }
.pilar__num {
  font-size: 0.75rem; letter-spacing: 0.3em; color: var(--red-bright); font-weight: 620;
}
.pilar__icon { width: 52px; height: 52px; margin-top: 1.4rem; color: var(--red-bright); }
.pilar h3 { font-size: 1.45rem; font-weight: 700; margin-top: 1.2rem; letter-spacing: -0.01em; }
.pilar > p { margin-top: 0.8rem; font-size: 0.93rem; line-height: 1.6; color: rgba(255, 255, 255, 0.68); flex: 1; }
.pilar__brands { margin-top: 1.4rem; font-size: 0.78rem; line-height: 1.7; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.04em; }
.pilar__go {
  margin-top: 1.2rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: #fff;
}
.pilar__go svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.pilar:hover .pilar__go svg { transform: translateX(6px); color: var(--red-bright); }

/* ---------- Divisiones ---------- */
.division { position: relative; scroll-margin-top: clamp(72px, 8vh, 96px); }
.division__banner {
  position: relative; height: clamp(340px, 58vh, 560px); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
}
.division__banner .bg {
  position: absolute; inset: -12% 0; background-size: cover; background-position: center;
  will-change: transform;
}
.division__banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 12, 11, 0.9), rgba(15, 12, 11, 0.24) 60%);
}
.division__banner .wrap { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) 2.6rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.division__banner h2 {
  font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 760; letter-spacing: -0.02em; line-height: 0.98;
}
.division__banner .kicker { color: #ffb3ab; }
.division__index {
  font-size: clamp(4rem, 9vw, 7rem); font-weight: 120; line-height: 0.9;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.55);
}
.division__intro { max-width: 66ch; font-size: 1.05rem; line-height: 1.7; color: var(--smoke); margin-bottom: clamp(2.4rem, 5vw, 4rem); }

/* Marca (fila editorial) */
.brands { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }
.brand {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.6rem, 4vw, 3.4rem);
  border-top: 1px solid var(--line); padding-top: clamp(2.2rem, 4vw, 3.2rem);
  /* aire para que el nav fijo no tape el título al saltar desde el marquee */
  scroll-margin-top: clamp(96px, 11vh, 130px);
  border-radius: 4px;
}

/* Pulso de resaltado al llegar desde el marquee (no desplaza el layout) */
.brand.is-target { animation: brandPulso 1.4s var(--ease-out) 1; }
@keyframes brandPulso {
  0%   { box-shadow: 0 0 0 0 rgba(227, 44, 30, 0); background-color: rgba(227, 44, 30, 0); }
  18%  { box-shadow: 0 0 0 14px rgba(227, 44, 30, 0.10); background-color: rgba(251, 231, 226, 0.75); }
  100% { box-shadow: 0 0 0 22px rgba(227, 44, 30, 0); background-color: rgba(227, 44, 30, 0); }
}
.brand__ident { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.brand__logo {
  width: 100%; max-width: 300px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.brand__logo img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; }
.brand__soc { display: flex; flex-direction: column; gap: 0.2rem; }
.brand__soc b { font-size: 0.86rem; font-weight: 680; letter-spacing: 0.04em; }
.brand__soc span { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--smoke); }
.brand__body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 720; letter-spacing: -0.01em; }
.brand__tag { margin-top: 0.35rem; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.brand__body > p { margin-top: 1.1rem; font-size: 1rem; line-height: 1.7; color: var(--charcoal); max-width: 68ch; }
.brand__meta { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 1.6rem; }
.brand__count b { font-size: 2rem; font-weight: 740; color: var(--red); line-height: 1; }
.brand__count span { display: block; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--smoke); margin-top: 0.3rem; }
.brand__sucs { flex: 1; min-width: 240px; }
.brand__sucs summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 620; color: var(--ink);
  border-bottom: 2px solid var(--red); padding-bottom: 0.3rem;
}
.brand__sucs summary::-webkit-details-marker { display: none; }
.brand__sucs summary::after { content: '+'; color: var(--red); font-size: 1rem; transition: transform 0.3s; }
.brand__sucs[open] summary::after { transform: rotate(45deg); }
.brand__sucs ul {
  margin: 1rem 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.5rem 1.4rem;
}
.brand__sucs li { font-size: 0.9rem; line-height: 1.45; color: var(--charcoal); padding-left: 1rem; position: relative; }
.brand__sucs li::before { content: ''; position: absolute; left: 0; top: 0.52em; width: 5px; height: 5px; background: var(--red); border-radius: 1px; }
.brand__sucs li small { display: block; color: var(--smoke); font-size: 0.78rem; }
.brand__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 1.7rem; }
/* Galerías de exactamente cuatro piezas: cuatro en línea, para que no quede
   una sola colgando en una segunda fila. */
.brand__gallery--4 { grid-template-columns: repeat(4, 1fr); }
.brand__gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.brand__gallery img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.brand__gallery figure:hover img { transform: scale(1.06); }
.brand__gallery figure.tall img { aspect-ratio: 3 / 4; }
.brand__gallery figure.pad { background: #fff; border: 1px solid var(--line); }
.brand__gallery figure.pad img { object-fit: contain; padding: 10%; }
.brand__logo--dual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  box-shadow: none; border: 0; border-radius: 0; overflow: visible; max-width: 300px;
}
.brand__logo--dual img {
  height: auto; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

/* división: fondos alternos */
.division--gastro .division__content,
.division--salud .division__content { background: var(--paper); }
.division--retail .division__content,
.division--comuni .division__content { background: var(--white); }
.division__content { padding: var(--section) var(--gutter); }

/* ---------- Presencia ---------- */
.presencia { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.presencia::after {
  content: ''; position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 44, 30, 0.13), transparent 65%);
  bottom: -30vw; left: -20vw; pointer-events: none;
}
.presencia .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; position: relative; z-index: 2; }
.presencia .section__head { margin-bottom: 1.8rem; }
.presencia__net { width: 100%; height: auto; }
.presencia__net text { font-family: var(--font); }
.presencia__list { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.6rem; }
.presencia__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--line-dark); padding-block: 0.85rem;
}
.presencia__row b { font-weight: 600; font-size: 1.02rem; }
.presencia__row span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.06em; }
.presencia__foot { margin-top: 1.8rem; font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 54ch; }

/* ---------- Cifras ---------- */
.cifras { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cifras::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 55%);
}
.cifras .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.cifra { text-align: left; border-left: 1px solid rgba(255, 255, 255, 0.3); padding: 0.6rem 0 0.6rem 1.4rem; }
.cifra b { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 780; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.cifra b sup { font-size: 0.45em; font-weight: 700; }
.cifra > span { display: block; margin-top: 0.5rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }

/* ---------- Contacto por división ---------- */
.contacto { background: var(--white); }
.contacto__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.ficha {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  min-width: 0;
}
.ficha:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.ficha__icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 0.9rem; flex: none; }
.ficha__div { font-size: 0.68rem; font-weight: 620; letter-spacing: 0.22em; text-transform: uppercase; color: var(--smoke); }
.ficha h3 { font-size: 1.16rem; font-weight: 680; letter-spacing: -0.01em; margin-top: 0.15rem; }
.ficha__mail {
  /* el mail más largo (constanza.bonacina@…) tiene que entrar en una línea
     dentro de la tarjeta angosta de escritorio; anywhere es sólo la red de
     seguridad para anchos intermedios */
  margin-top: 0.7rem; font-size: 0.74rem; line-height: 1.5; color: var(--red); font-weight: 560;
  overflow-wrap: anywhere;
}
.ficha__mail:hover { text-decoration: underline; }

/* ---------- CTA presentación ---------- */
.ctafinal { background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
.ctafinal svg.clover-bg { position: absolute; width: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.05; }
.ctafinal .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.ctafinal h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.02; max-width: 20ch; }
.ctafinal h2 em { font-style: normal; color: var(--red-bright); }
.ctafinal p { color: rgba(255, 255, 255, 0.66); max-width: 56ch; line-height: 1.7; }
.ctafinal .hero__actions { justify-content: center; margin-top: 0.6rem; }

/* ---------- Video institucional (lightbox) ---------- */
.videobox {
  border: 0; padding: 0; background: transparent;
  width: min(1080px, 94vw); max-width: none;
  /* margin:auto explícito: algunos resets (button/dialog) lo pisan y el diálogo queda arriba a la izquierda */
  margin: auto; overflow: visible;
}
.videobox::backdrop { background: rgba(15, 12, 11, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.videobox video {
  display: block; width: 100%; height: auto; max-height: 86svh;
  border-radius: var(--radius-lg); background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.videobox__close {
  position: absolute; right: 0; bottom: 100%; margin-bottom: 0.5rem;
  background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2rem; line-height: 1; padding: 0.2rem 0.4rem;
  opacity: 0.8; transition: opacity 0.25s;
}
.videobox__close:hover { opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: #0f0c0b; color: rgba(255, 255, 255, 0.72); padding: 4.5rem var(--gutter) 2.2rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.4rem; }
.footer__brand svg { width: 54px; height: 54px; }
.footer__brand p { margin-top: 1.1rem; font-size: 0.88rem; line-height: 1.7; color: rgba(255, 255, 255, 0.5); max-width: 30ch; }
.footer h4 { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--red-bright); font-weight: 640; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.footer ul a:hover { color: #fff; }
.footer__bar {
  max-width: 1500px; margin: 3.4rem auto 0; padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.04em;
}
.footer__bar a { color: rgba(255, 255, 255, 0.72); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .pilares__grid { grid-template-columns: repeat(2, 1fr); }
  .pilar { min-height: 0; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .contacto__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .manifesto .wrap { grid-template-columns: 1fr; }
  .presencia .wrap { grid-template-columns: 1fr; }
  .brand { grid-template-columns: 1fr; }
  .brand__ident { flex-direction: row; align-items: center; gap: 1.4rem; }
  .brand__logo { max-width: 150px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats div:nth-child(3) { border-left: 0; }
  .hero__stats div { border-top: 1px solid var(--line-dark); }
  .hero__stats div:nth-child(-n+2) { border-top: 0; }
  .hero__scroll { display: none; }
  .cifras .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .cifras .cifra:last-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .hero__mark { width: 72px; margin-bottom: 1.2rem; }
  .hero__content { padding-top: 5.5rem; padding-bottom: 2rem; }
  .hero__stats { margin-top: 2rem; }
  .pilares__grid { grid-template-columns: 1fr; }
  /* En celular la galería baja a dos columnas y se muestran todas las fotos:
     ahora son las fotos reales de cada local, así que ninguna sobra. */
  .brand__gallery, .brand__gallery--4 { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .contacto__grid { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .division__index { display: none; }
  .brand__ident { flex-direction: column; align-items: flex-start; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: none; }
  /* Con la tira quieta el resto de los logos queda fuera del recorte: se hace
     desplazable a mano para que sigan siendo alcanzables con mouse o dedo, y se
     ocultan los clones del loop, que sin animación sólo duplican el recorrido. */
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee__item[aria-hidden='true'] { display: none; }
  .marquee__item:hover img,
  .marquee__item:focus-visible img { transform: none; }
  /* sin pulso animado: realce estático y sutil del destino */
  .brand.is-target { animation: none; box-shadow: 0 0 0 3px rgba(227, 44, 30, 0.22); }
  .marquee__hint-arrow { animation: none; }
}
