/* Verde Agostini — web pública */
:root {
  --azul: #0E2A47;
  --azul-hondo: #081B30;
  --azul-claro: #1D4570;
  --sol: #ECCF29;
  --naranja: #F7931E;
  --crema: #FBF8F1;
  --blanco: #fff;
  --tinta: #0E2A47;
  --suave: #5B6B7D;
  --borde: #E7E1D3;
  --wa: #25D366;
  --wa-hondo: #1DA851;
  --titulos: 'Archivo', system-ui, sans-serif;
  --cuerpo: 'Onest', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
  --suelto: cubic-bezier(.22, 1, .36, 1);
  --sombra: 0 1px 3px rgba(17, 24, 39, .06), 0 12px 32px rgba(17, 24, 39, .08);
  --sombra-alta: 0 2px 8px rgba(17, 24, 39, .08), 0 24px 56px rgba(17, 24, 39, .14);
  --gutter: max(16px, calc((100% - 1120px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--tinta);
  font: 400 17px/1.55 var(--cuerpo); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* grano fino, como película, encima de todo */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--titulos); margin: 0; letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 700; text-align: center; }
svg { flex: none; }
.caja { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* botones: al pasar el mouse cruza un brillo */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--titulos); letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .2s, box-shadow .3s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); transition: transform .75s var(--suelto); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; }
.btn--sol { background: var(--sol); color: var(--azul); box-shadow: 0 8px 22px rgba(17, 24, 39, .18); }
.btn--wa { background: var(--wa); color: var(--blanco); box-shadow: 0 8px 22px rgba(17, 24, 39, .16); }
.btn--wa:hover { background: var(--wa-hondo); }
.btn--blanco { background: var(--blanco); color: var(--azul); }
.btn--blanco svg { width: 18px; height: 18px; }
.btn--grande { min-height: 64px; padding: 0 34px; font-size: 18px; }

/* encabezado: píldora flotante de vidrio */
.cab {
  position: fixed; z-index: 30; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1120px, 100% - 24px); height: 64px; padding: 0 8px 0 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: background-color .35s, box-shadow .35s;
}
.cab__logo { position: relative; display: block; height: 38px; }
.cab__logo img { height: 38px; width: auto; transition: opacity .3s; }
.cab__color { position: absolute; inset: 0; opacity: 0; }
.cab__menu {
  width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer; position: relative;
  background: rgba(255, 255, 255, .14); transition: background-color .25s;
}
.cab__menu span {
  position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: var(--blanco);
  transition: transform .4s var(--suelto), top .4s var(--suelto), background-color .25s;
}
.cab__menu span:first-child { top: 19px; }
.cab__menu span:last-child { top: 27px; }
.cab__menu[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.cab__menu[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.cab.solida { background: rgba(8, 27, 48, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px rgba(17, 24, 39, .2); }
/* con el menú abierto la píldora se va y queda solo la cruz sobre el panel */
.cab.abierta { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.cab.abierta .cab__logo { opacity: 0; pointer-events: none; }
.cab__logo { transition: opacity .3s; }

/* la portada crema arranca con logo a color y vidrio claro */
.portada-c .cab:not(.solida) { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(14, 42, 71, .08), var(--sombra); }
.portada-c .cab:not(.solida) .cab__blanco { opacity: 0; }
.portada-c .cab:not(.solida) .cab__color { opacity: 1; }
.portada-c .cab:not(.solida) .cab__menu { background: var(--azul); }

/* menú en panel de costado */
.menu-fondo { position: fixed; inset: 0; z-index: 24; background: rgba(8, 27, 48, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: aparecer .35s both; }
.menu-fondo[hidden] { display: none; }
.menu {
  position: fixed; z-index: 25; top: 0; right: 0; bottom: 0; width: min(380px, 86vw);
  background: var(--azul-hondo); border-radius: 28px 0 0 28px; box-shadow: -20px 0 60px rgba(0, 0, 0, .3);
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 110px 32px 40px;
  animation: entrar .5s var(--suelto) both;
}
.menu[hidden] { display: none; }
.menu a:not(.btn) { font: 700 30px/1.5 var(--titulos); color: var(--blanco); letter-spacing: -.03em; opacity: .92; }
.menu a:not(.btn):hover { color: var(--sol); }
.menu .btn { margin-top: auto; width: 100%; }
.menu.abierto > * { animation: subir .6s var(--suelto) both; }
.menu.abierto > *:nth-child(2) { animation-delay: .05s; }
.menu.abierto > *:nth-child(3) { animation-delay: .1s; }
.menu.abierto > *:nth-child(4) { animation-delay: .15s; }
body.sin-scroll { overflow: hidden; }

/* portadas */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero h1 { font-size: clamp(54px, 14vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: .95; }
.hero__texto p { font-size: clamp(17px, 2.2vw, 20px); margin: 22px auto 0; max-width: 34ch; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* título palabra por palabra; "solar" en serif cursiva con trazo de marcador */
.titulo span { display: inline-block; }
.js .titulo span { animation: palabra .9s var(--suelto) both; animation-delay: calc(var(--i) * .09s + .15s); }
.titulo em {
  position: relative; z-index: 0; display: inline-block; padding: 0 .1em; color: var(--azul);
  font: italic 600 1.04em/1 var(--serif); letter-spacing: -.02em;
}
.titulo em::before {
  content: ''; position: absolute; z-index: -1; inset: .16em -.06em .02em; background: var(--sol);
  border-radius: .18em .5em .26em .6em; transform: rotate(-2deg); transform-origin: left center;
}
.js .titulo em::before { transform: rotate(-2deg) scaleX(0); animation: marcar .7s .75s var(--suelto) forwards; }

/* dato flotando, en vidrio */
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .74); color: var(--azul); font: 500 15px/1 var(--cuerpo);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), var(--sombra-alta);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  animation: flotar 6s ease-in-out infinite;
}
.hero__chip b { font: 800 20px/1 var(--titulos); color: var(--naranja); font-variant-numeric: tabular-nums; }

/* luces difusas que flotan */
.luz { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: deriva 16s ease-in-out infinite; }
.luz--sol { width: 40vw; max-width: 480px; aspect-ratio: 1; background: var(--sol); opacity: .2; mix-blend-mode: screen; left: -8%; top: 4%; }
.luz--cielo { width: 46vw; max-width: 560px; aspect-ratio: 1; background: #3E8EDC; opacity: .4; right: -10%; top: 30%; animation-delay: -8s; }

/* a */
.hero--a {
  background: radial-gradient(120% 80% at 50% 0%, var(--azul-claro) 0%, var(--azul) 45%, var(--azul-hondo) 100%);
  color: var(--blanco); padding: 130px 0 0; text-align: center;
}
.hero--a .hero__texto { width: min(900px, 100% - 32px); margin: 0 auto; position: relative; z-index: 2; }
.hero--a .hero__texto p { color: #C9D6E5; }
.hero--a .hero__botones { justify-content: center; }
.collage {
  position: relative; z-index: 2; height: clamp(330px, 62vw, 560px); width: min(1000px, 100%);
  margin: 56px auto 0;
}
.collage__f {
  position: absolute; margin: 0; overflow: hidden; border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); background: var(--azul-claro);
}
.collage__f img { width: 100%; height: 100%; object-fit: cover; }
.collage__f--1 { width: 30%; aspect-ratio: 3 / 4; left: 3%; top: 18%; transform: rotate(-5deg); animation: flotar 7s ease-in-out infinite; }
.collage__f--2 { width: 36%; aspect-ratio: 3 / 4; left: 32%; top: 0; z-index: 2; animation: flotar 8s ease-in-out -2s infinite; }
.collage__f--3 { width: 30%; aspect-ratio: 3 / 4; right: 3%; top: 22%; transform: rotate(4deg); animation: flotar 7.5s ease-in-out -4s infinite; }
.collage .hero__chip { position: absolute; z-index: 3; left: 0; right: 0; bottom: 14%; width: max-content; margin: 0 auto; white-space: nowrap; }

/* b: fotos a pantalla completa que se pasan solas */
.hero--b { min-height: 100svh; display: flex; align-items: flex-end; color: var(--blanco); background: var(--azul-hondo); }
.hero--b .hero__foto { position: absolute; inset: 0; z-index: -1; }
.hero--b .hero__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero--b .hero__foto img.activa { opacity: 1; animation: acercar 9s ease-out both; }
.hero--b .hero__foto::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 27, 48, .5) 0%, rgba(8, 27, 48, .15) 28%, rgba(8, 27, 48, .75) 60%, var(--azul-hondo) 100%);
}
.hero--b .hero__texto { position: relative; z-index: 2; width: min(1120px, 100% - 32px); margin: 0 auto; padding: 0 0 72px; text-align: center; }
.hero--b .hero__texto p { color: #D6E0EB; }
.hero--b .hero__botones { justify-content: center; }
.hero--b .hero__chip { margin-bottom: 24px; background: rgba(255, 255, 255, .14); color: var(--blanco); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.hero--b .hero__chip b { color: var(--sol); }

/* c: crema, partida */
.hero--c {
  background: var(--crema); display: grid; gap: 40px; align-items: center;
  padding: 120px var(--gutter) 72px; text-align: center;
}
.hero--c .luz--sol { opacity: .4; left: auto; right: 0; top: 10%; }
.hero--c .hero__texto p { color: var(--suave); }
.hero--c .hero__botones { justify-content: center; }
.hero__marco { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }
.hero__marco figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; box-shadow: var(--sombra-alta); }
.hero__marco img { width: 100%; height: 100%; object-fit: cover; animation: acercar 24s ease-out both; }
.hero__sol { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sol), var(--naranja)); right: -8%; top: -7%; animation: flotar 9s ease-in-out infinite; }
.hero__marco .hero__chip { position: absolute; left: -4%; bottom: 8%; }

@media (min-width: 900px) {
  .hero--c { grid-template-columns: 1.05fr 1fr; text-align: left; min-height: 100svh; padding-top: 110px; }
  .hero--c .hero__texto p { margin-left: 0; }
  .hero--c .hero__botones { justify-content: flex-start; }
}

/* cinta de rubros */
.cinta { background: var(--sol); color: var(--azul); overflow: hidden; padding: 16px 0; }
.cinta__pista { display: flex; width: max-content; animation: correr 38s linear infinite; }
.cinta span { display: flex; }
.cinta i { font: 700 19px/1 var(--titulos); font-style: normal; white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 44px; letter-spacing: -.02em; }
.cinta i::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--naranja); margin-right: -22px; }

/* equipos */
.equipos { padding: 88px 0 96px; }

/* categorías: cuadros con foto */
.filtros {
  display: flex; gap: 10px; margin: 28px calc(-1 * var(--gutter)) 32px; padding: 4px var(--gutter) 8px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.filtros::-webkit-scrollbar { display: none; }
.filtros button {
  flex: 0 0 auto; width: 108px; padding: 6px 6px 12px; border-radius: 22px; border: 0; cursor: pointer; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--blanco); color: var(--azul); font: 600 14px/1.15 var(--titulos); letter-spacing: -.01em; box-shadow: var(--sombra);
  transition: box-shadow .25s, transform .35s var(--rebote);
}
.filtros button:hover { transform: translateY(-3px); }
.filtros img, .filtros__todos { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.filtros__todos { display: block; background: radial-gradient(circle at 30% 30%, var(--sol), var(--naranja)); }
.filtros button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--azul), var(--sombra); }

/* productos: de a dos en el celu, de a tres en compu */
.grilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 4px var(--gutter) 16px; }
.equipos h2 + .grilla, .caja + .grilla { margin-top: 0; }
.equipos .caja:not(:has(.filtros)) { margin-bottom: 32px; }
.prod {
  background: var(--blanco); border-radius: 20px; overflow: hidden; box-shadow: var(--sombra); cursor: pointer;
  display: flex; flex-direction: column; transition: transform .45s var(--rebote), box-shadow .35s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }
.prod[hidden] { display: none; }
.prod__foto { aspect-ratio: 4 / 5; background: #EEF1F4; overflow: hidden; margin: 6px 6px 0; border-radius: 15px; }
.prod__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suelto); }
.prod:hover .prod__foto img { transform: scale(1.05); }
.prod__info { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.prod h3 { font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.prod p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--suave); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.prod__precio { font: 700 15px/1 var(--titulos); color: var(--azul); margin-top: 4px; }
.vacio { grid-column: 1 / -1; text-align: center; color: var(--suave); }

/* ficha del equipo: se abre al tocar una tarjeta */
.ficha {
  width: min(560px, 100% - 24px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px;
  background: var(--blanco); color: var(--azul); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: auto; overscroll-behavior: contain;
}
.ficha[open] { animation: ficha .45s var(--rebote) both; }
.ficha::backdrop { background: rgba(8, 27, 48, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ficha__foto { aspect-ratio: 4 / 3; margin: 8px 8px 0; border-radius: 22px; overflow: hidden; background: #EEF1F4; }
.ficha__foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha__info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.ficha h3 { font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.ficha__detalle { margin: 0; color: var(--suave); font-size: 16px; line-height: 1.5; }
.ficha .prod__precio { font-size: 22px; }
.ficha .btn { margin-top: 12px; width: 100%; }
.ficha__cerrar {
  position: absolute; top: 18px; right: 18px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .85); box-shadow: var(--sombra); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ficha__cerrar span { position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; border-radius: 2px; background: var(--azul); transform: rotate(45deg); }
.ficha__cerrar span + span { transform: rotate(-45deg); }

@media (min-width: 760px) {
  .filtros { justify-content: center; flex-wrap: wrap; margin: 32px 0 40px; padding: 4px 0 8px; overflow: visible; }
  .filtros button { width: 124px; }
  .filtros img, .filtros__todos { width: 112px; height: 112px; }
  .grilla { grid-template-columns: repeat(3, 1fr); gap: 22px; width: min(1120px, 100% - 32px); margin: 0 auto; padding: 0; }
  .prod { border-radius: 24px; }
  .prod__foto { margin: 8px 8px 0; border-radius: 18px; }
  .prod__info { padding: 14px 16px 18px; }
  .prod h3 { font-size: 20px; }
  .prod p { font-size: 15px; }
  .prod__precio { font-size: 16px; }
  .ficha[open] { display: grid; grid-template-columns: 1fr 1fr; width: min(900px, 100% - 48px); }
  .ficha__foto { aspect-ratio: auto; min-height: 420px; margin: 8px; }
  .ficha__info { justify-content: center; padding: 56px 32px 32px 16px; }
}

/* trabajos: fila que se desliza, con alturas distintas */
.trabajos { padding: 0 0 104px; }
.trabajos__fila {
  display: flex; align-items: center; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 36px var(--gutter) 10px; scroll-padding: 0 var(--gutter);
}
.trabajos__fila::-webkit-scrollbar { display: none; }
.trabajo {
  position: relative; flex: 0 0 min(64vw, 280px); aspect-ratio: 3 / 4; margin: 0; border-radius: 24px; overflow: hidden;
  scroll-snap-align: start; box-shadow: var(--sombra); background: var(--azul);
}
.trabajo:nth-child(3n + 2) { aspect-ratio: 4 / 5; }
.trabajo:nth-child(3n) { aspect-ratio: 2 / 3; flex-basis: min(58vw, 250px); }
.trabajo img { width: 100%; height: 100%; object-fit: cover; }
.trabajo figcaption {
  position: absolute; inset: auto 10px 10px; padding: 12px 14px; border-radius: 16px; color: var(--blanco);
  background: rgba(8, 27, 48, .38); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 2px;
}
.trabajo strong { font: 600 16px/1.2 var(--titulos); letter-spacing: -.01em; }
.trabajo span { font-size: 13px; color: #DCE5EF; }

/* zona: entra con una curva */
.zona { position: relative; background: var(--azul); color: var(--blanco); padding: 120px 0 104px; }
.zona::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: clamp(36px, 6vw, 72px);
  background: var(--crema); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.zona__pueblos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 24px auto 40px; max-width: 760px; }
.zona__pueblos li { padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: 15px; }
.mapa { border-radius: 28px; overflow: hidden; background: var(--blanco); color: var(--azul); box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.mapa iframe { display: block; width: 100%; height: clamp(300px, 52vw, 460px); border: 0; }
.mapa__pie { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 20px; }
.mapa__pie p { margin: 0; color: var(--suave); font-size: 15px; line-height: 1.4; }
.mapa__pie strong { color: var(--azul); font: 700 18px/1.3 var(--titulos); letter-spacing: -.02em; }
.mapa__pie .btn--blanco { background: var(--azul); color: var(--blanco); }

/* cierre */
.cierre { background: var(--azul); padding: 0 0 96px; }
.cierre__caja {
  width: min(1120px, 100% - 32px); margin: 0 auto; border-radius: 36px; text-align: center; color: var(--blanco);
  background: var(--azul-hondo); padding: clamp(56px, 9vw, 96px) 20px; position: relative; overflow: hidden; isolation: isolate;
  /* Safari pierde las puntas redondas con las luces animadas adentro: el recorte las fuerza */
  clip-path: inset(0 round 36px);
}
.cierre__caja::before, .cierre__caja::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); animation: deriva 16s ease-in-out infinite; }
.cierre__caja::before { width: 360px; height: 360px; background: var(--sol); opacity: .16; mix-blend-mode: screen; left: -80px; top: -120px; }
.cierre__caja::after { width: 320px; height: 320px; background: #3E8EDC; opacity: .35; right: -80px; bottom: -140px; animation-delay: -8s; }
.cierre__iso { width: 84px; height: auto; margin: 0 auto 22px; }
.cierre h2 { margin-bottom: 32px; font-size: clamp(30px, 5vw, 48px); }

/* pie compacto */
.pie { background: var(--azul-hondo); color: #B9C6D6; padding: 32px 0 0; }
.pie__fila { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; justify-content: space-between; padding-bottom: 24px; }
.pie__fila > img { height: 40px; width: auto; }
.pie__redes { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pie__redes a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; transition: color .2s; }
.pie__redes a:hover { color: var(--blanco); }
.circulo { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--blanco); }
.circulo svg { width: 18px; height: 18px; }
.circulo--wa { background: var(--wa); }
.circulo--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.byzoc-firma{--firma-texto:#B9C6D6;--firma-hover:#fff;--firma-linea:#ffffff24;padding:18px 0 calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--firma-linea);color:var(--firma-texto);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;font-size:14px;display:flex}
.byzoc-firma__copy{margin:0}
.byzoc-firma__link{color:var(--firma-texto);background:0 0;align-items:center;gap:10px;display:inline-flex}
.byzoc-firma__link:hover{color:var(--firma-hover)}
.byzoc-firma__link img{width:auto;height:24px;transition:transform .35s var(--rebote)}
.byzoc-firma__link:hover img{transform:translateY(-2px)}

/* WhatsApp flotante */
.wa-flota {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20;
  width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: var(--blanco);
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(17, 24, 39, .25);
  transition: transform .4s var(--rebote), opacity .3s;
}
.wa-flota svg { width: 32px; height: 32px; }
.wa-flota:hover { transform: scale(1.08); }
.wa-flota::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: latido 2.6s ease-out infinite; }
.wa-flota.oculto { opacity: 0; transform: scale(.6); pointer-events: none; }

/* aparecer al bajar */
.js [data-ver] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--suelto), transform .8s var(--suelto); }
.js [data-ver].visto { opacity: 1; transform: none; }
.js .prod[data-ver].visto:hover { transform: translateY(-6px); }

@keyframes flotar { 50% { translate: 0 -10px; } }
@keyframes deriva { 33% { translate: 6% -8%; } 66% { translate: -5% 6%; } }
@keyframes acercar { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes correr { to { transform: translateX(-50%); } }
@keyframes subir { from { opacity: 0; transform: translateY(20px); } }
@keyframes palabra { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } }
@keyframes marcar { to { transform: rotate(-2deg) scaleX(1); } }
@keyframes entrar { from { transform: translateX(100%); } }
@keyframes aparecer { from { opacity: 0; } }
@keyframes ficha { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes latido { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .cab { top: 16px; height: 72px; padding-left: 26px; }
  .cab__logo, .cab__logo img { height: 44px; }
  .hero--a { padding-top: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-ver] { opacity: 1; transform: none; }
  .js .titulo em::before { transform: rotate(-2deg); }
}
