/* ZooTrack · página publicitaria (solo modo claro) */
@font-face { font-family: "Space Grotesk"; src: url("/fonts/SpaceGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/SpaceGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/SpaceGrotesk-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/SpaceGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light only;
  --p-50: #F8FDF6; --p-100: #F0FAEC; --p-200: #DFF3D7; --p-300: #CDEDC1; --p-400: #B6E4A6;
  --p-500: #A2DB8E; --p-600: #78B865; --p-700: #4F9142; --p-800: #356B2E; --p-850: #284F24; --p-900: #1D3A1B; --p-950: #0F1E0E;

  --fondo: #F7F6EF;
  --superficie: #FFFFFF;
  --crema: #FBF4E4;
  --borde: rgba(20, 26, 22, 0.08);
  --borde-fuerte: rgba(20, 26, 22, 0.14);
  --texto: #121812;
  --texto-suave: #5C6A61;
  --texto-tenue: #9AA59C;
  --acento: var(--p-700);

  --naranja: #E8743B; --ambar: #F2A541; --arena: #F7C873; --cafe: #5A2E16;
  --azul: #3B4FA8; --azul-medio: #5B73C4; --azul-claro: #DCE4F6; --aqua: #9ED6D0;
  --rosa: #E58BBF; --rosa-claro: #FBE3EF; --naranja-claro: #FDE6D6; --arena-claro: #FCF0D4; --azul-fondo: #E8EDFA;
  --rojo: #DD524C; --rojo-fondo: #FCEBEA; --rojo-texto: #A33A35;
  --ambar-fondo: #FCF1DB; --ambar-texto: #8A5F06;
  --azul-texto: #2E3F8F;

  --rebote: cubic-bezier(0.34, 1.56, 0.64, 1);
  --resorte: cubic-bezier(0.3, 1.15, 0.5, 1);
  --suave: cubic-bezier(0.22, 1, 0.36, 1);
  --hundir: cubic-bezier(0.3, 0.7, 0.4, 1);
  --fuente: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1280px;
  --sombra: 0 1px 2px rgba(20, 26, 22, 0.04), 0 8px 24px rgba(20, 26, 22, 0.06);
  --sombra-alta: 0 2px 4px rgba(20, 26, 22, 0.04), 0 24px 60px rgba(20, 26, 22, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: hidden; font-family: var(--fuente); font-size: 16px; line-height: 1.55; color: var(--texto); -webkit-font-smoothing: antialiased;
  background-color: var(--fondo);
  background-image: linear-gradient(rgba(79, 145, 66, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 145, 66, 0.07) 1px, transparent 1px), linear-gradient(rgba(79, 145, 66, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 145, 66, 0.035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; background-position: -1px -1px; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("/img/grano.png") 0 0 / 320px; opacity: 0.05; mix-blend-mode: multiply; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--p-400); color: var(--p-950); }
:focus-visible { outline: 2px solid var(--p-600); outline-offset: 3px; border-radius: 6px; }
.saltar { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--p-900); color: #fff; font-weight: 600; transform: translateY(-160%); transition: transform 0.3s var(--rebote); }
.saltar:focus { transform: none; }

/* Marca */
.marca { display: inline-flex; align-items: center; gap: 0.25em; color: var(--p-850); font-size: 22px; text-decoration: none; }
.isotipo { display: block; flex: none; width: 1.45em; aspect-ratio: 1; background: currentColor; -webkit-mask: url("/img/isotipo.svg") center / contain no-repeat; mask: url("/img/isotipo.svg") center / contain no-repeat; transition: transform 0.6s var(--rebote); }
.marca:hover .isotipo { transform: rotate(-16deg) scale(1.1); }
.marca__texto { font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.marca__texto b { color: var(--p-700); }

/* Botones con relieve */
.boton {
  --base: var(--p-600); --fondo-b: var(--p-500); --tinta: var(--p-950);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; margin-bottom: 4px;
  border: 0; border-radius: 999px; background: var(--fondo-b); color: var(--tinta); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 var(--base); transition: translate 0.37s var(--rebote), box-shadow 0.37s var(--rebote), background-color 0.2s ease;
}
.boton i { font-size: 1.05em; transition: transform 0.45s var(--rebote); }
@media (hover: hover) {
  .boton:hover { translate: 0 4px; box-shadow: 0 0 0 var(--base); transition: translate 0.16s var(--hundir), box-shadow 0.16s var(--hundir), background-color 0.2s ease; }
  .boton:hover .ph-arrow-right { transform: translateX(4px); }
  .boton:hover .ph-paper-plane-tilt { transform: translate(3px, -3px) rotate(10deg); }
}
.boton:active { translate: 0 4px; scale: 0.97; box-shadow: 0 0 0 var(--base); }
.boton--chico { min-height: 40px; padding: 0 18px; font-size: 14px; }
.boton--grande { min-height: 56px; padding: 0 28px; font-size: 16px; }
.boton--borde { --base: var(--borde-fuerte); --fondo-b: var(--superficie); --tinta: var(--texto); box-shadow: 0 4px 0 var(--base), inset 0 0 0 1.5px var(--borde-fuerte); }
@media (hover: hover) { .boton--borde:hover { box-shadow: 0 0 0 var(--base), inset 0 0 0 1.5px var(--borde-fuerte); } }
.boton--claro { --base: var(--p-300); --fondo-b: #fff; --tinta: var(--p-850); }
.boton.cargando { pointer-events: none; opacity: 0.85; }
.boton.cargando .ph-circle-notch { animation: girar 0.6s linear infinite; }
[data-iman] { will-change: transform; }

/* Navegación */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 20px; transition: padding 0.4s var(--suave); }
.nav__marco {
  display: flex; align-items: center; gap: 20px; max-width: 1100px; margin: 0 auto; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 1px 0 rgba(20, 26, 22, 0.04);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background-color 0.3s ease, box-shadow 0.4s ease, max-width 0.6s var(--suave);
}
.nav.flotando { padding-top: 10px; }
.nav.flotando .nav__marco { max-width: 960px; background: rgba(255, 255, 255, 0.82); box-shadow: var(--sombra-alta); border-color: var(--borde); }
.nav__enlaces { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__enlaces a:not(.boton) { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--texto-suave); transition: color 0.2s ease, background-color 0.25s ease; }
.nav__enlaces a:not(.boton):hover { color: var(--texto); background: rgba(20, 26, 22, 0.05); }
.nav__enlaces a.activo { color: var(--p-850); background: var(--p-200); }
.nav__entrar { margin-bottom: 4px; }
.nav__estado { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13.5px; font-weight: 500; color: var(--texto-suave); }
.nav__estado .pastilla__punto { width: 18px; height: 18px; }
.nav__estado .pastilla__punto::after { inset: 5px; }
.nav__hamburguesa, .nav__entrar-movil { display: none !important; }
.nav__hamburguesa { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--p-900); }
.nav__hamburguesa span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.45s var(--rebote), top 0.3s ease; }
.nav__hamburguesa span:first-child { top: 18px; } .nav__hamburguesa span:last-child { top: 25px; }
.nav__hamburguesa[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__hamburguesa[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Etiquetas y textos */
.etiqueta { --mc: var(--p-600); position: relative; display: inline-flex; align-items: center; justify-self: start; align-self: flex-start; min-width: 2.5em; min-height: 34px; padding: 4px 12px; border: 1.5px solid var(--mc); font-size: 15px; font-weight: 500; color: var(--texto); background: rgba(255, 255, 255, 0.7); }
.etiqueta__cursor { margin-left: 1px; color: var(--mc); animation: parpadeo 1s steps(1) infinite; }
.etiqueta--clara { --mc: var(--p-400); color: #fff; background: rgba(255, 255, 255, 0.08); }
.etiqueta .asa, .marco .asa { position: absolute; width: 7px; height: 7px; border: 1.5px solid var(--mc); background: #fff; }
.asa--1 { top: -4px; left: -4px; } .asa--2 { top: -4px; right: -4px; } .asa--3 { bottom: -4px; left: -4px; } .asa--4 { bottom: -4px; right: -4px; }
.tenue { color: var(--texto-tenue); }

/* Portada */
.portada { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; max-width: var(--ancho); min-height: min(100svh, 940px); margin: 0 auto; padding: 128px 24px 56px; }
.portada__texto { display: grid; gap: 28px; justify-items: start; }
.pastilla { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: box-shadow 0.3s ease, translate 0.4s var(--rebote); }
.pastilla:hover { translate: 0 -2px; box-shadow: var(--sombra-alta); }
.pastilla i { font-size: 13px; transition: transform 0.4s var(--rebote); } .pastilla:hover i { transform: translateX(3px); }
.pastilla__punto { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--p-200); }
.pastilla__punto::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--p-700); box-shadow: 0 0 0 0 rgba(79, 145, 66, 0.5); animation: pulso 2s var(--suave) infinite; }
.titular { font-size: clamp(46px, 6.6vw, 92px); font-weight: 700; line-height: 0.94; letter-spacing: -0.055em; text-wrap: balance; }
.titular .palabra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.titular .palabra > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--resorte); transition-delay: calc(var(--k) * 70ms + 100ms); }
.listo .titular .palabra > span { transform: none; }
.resalta { position: relative; color: var(--p-700); white-space: nowrap; }
.resalta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.16em; border-radius: 99px; background: var(--ambar); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--resorte) 0.9s; z-index: -1; }
.listo .resalta::after { transform: scaleX(1); }
.portada__bajada { max-width: 520px; font-size: 19px; color: var(--texto-suave); }
.portada__botones { display: flex; flex-wrap: wrap; gap: 12px; }
.portada__sellos { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--texto-suave); }
.portada__sellos li { display: inline-flex; align-items: center; gap: 7px; }
.portada__sellos i { color: var(--p-700); font-size: 17px; }

.entra { opacity: 0; translate: 0 26px; transition: opacity 0.7s ease, translate 1s var(--resorte); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.listo .entra { opacity: 1; translate: 0 0; }

/* Escena de sabana */
.sabana { position: relative; aspect-ratio: 1 / 0.92; border-radius: 40px; background: linear-gradient(180deg, #FDF6E6 0%, var(--crema) 62%, #F3E4BE 62%, #EFDCAE 100%); box-shadow: inset 0 0 0 1px rgba(90, 46, 22, 0.06); overflow: hidden; isolation: isolate; }
.sabana > * { position: absolute; transition: translate 0.9s var(--suave); }
.sabana__sol { top: 15%; left: 42%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 0 18px rgba(242, 165, 65, 0.16), 0 0 0 40px rgba(242, 165, 65, 0.08); animation: sol 6s ease-in-out infinite; }
.sabana__suelo { left: 0; right: 0; bottom: 0; height: 38%; z-index: -1; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(90, 46, 22, 0.04) 46px 48px); }
.sabana__acacia { left: 4%; bottom: 33%; width: 42%; }
.sabana__jirafa { left: 6%; bottom: 10%; width: 28%; }
.sabana__elefante { left: 28%; bottom: 8%; width: 40%; z-index: 2; }
.sabana__leon { right: 1%; bottom: 3%; width: 34%; z-index: 3; }
.sabana__pasto { width: 9%; z-index: 4; }
.sabana__pasto--1 { left: 30%; bottom: 4%; } .sabana__pasto--2 { right: 30%; bottom: 30%; width: 6%; z-index: 1; }

.flotante { z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.92); box-shadow: var(--sombra-alta); backdrop-filter: blur(10px); font-size: 13px; line-height: 1.25; animation: flota 6s ease-in-out infinite; }
.flotante strong { display: block; font-size: 14px; font-weight: 600; }
.flotante small { display: block; font-size: 12px; color: var(--texto-suave); }
.flotante__icono { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--p-200); color: var(--p-700); font-size: 18px; }
.flotante__icono .ph-heart { animation: latido 2.4s ease-in-out infinite; }
.flotante__icono--sabana { background: var(--arena-claro); color: #B5741C; }
.flotante--salud { top: 6%; left: 5%; animation-delay: -1s; }
.flotante--nfc { top: 38%; right: 4%; animation-delay: -3.4s; }
.flotante--comida { right: 4%; top: 6%; width: 230px; align-items: flex-start; animation-delay: -2.2s; }
.flotante__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--azul-fondo); overflow: hidden; }
.flotante__avatar img { width: 92%; }
.flotante__cuerpo { display: grid; gap: 4px; flex: 1; }
.flotante__estado { display: inline-flex !important; align-items: center; gap: 4px; color: var(--p-700) !important; font-weight: 600; }
.flotante__estado.vacio { color: var(--rojo-texto) !important; }
.barra { position: relative; height: 8px; margin-top: 4px; border-radius: 999px; background: #EEF0EC; overflow: hidden; }
.barra span { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--p-500), var(--p-700)); transform-origin: left; transform: scaleX(var(--n, 0.02)); transition: transform 1.1s var(--rebote), background 0.4s ease; }
.barra.ambar span { background: linear-gradient(90deg, #F7C873, var(--ambar)); }
.barra.rojo { background: var(--rojo-fondo); } .barra.rojo span { background: var(--rojo); }

/* Marquesina */
.marquesina { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--borde); background: var(--superficie); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquesina__pista { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquesina 38s linear infinite; }
.marquesina:hover .marquesina__pista { animation-play-state: paused; }
.marquesina span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.marquesina i { width: 22px; height: 22px; flex: none; background: var(--ambar); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: titila 3s ease-in-out infinite; }
.marquesina i:nth-of-type(3n+2) { background: var(--p-600); } .marquesina i:nth-of-type(3n) { background: var(--rosa); }

/* Secciones */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: 140px 24px 0; }
.seccion__cabeza { display: grid; gap: 16px; margin-bottom: 48px; }
.seccion h2 { font-size: clamp(36px, 4.8vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.caja {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra);
  transition: transform 0.6s var(--resorte), box-shadow 0.4s ease; transform-style: preserve-3d;
}
.caja::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(162, 219, 142, 0.28), transparent 60%); transition: opacity 0.4s ease; }
.caja:hover::before { opacity: 1; }
.caja:hover { box-shadow: var(--sombra-alta); }
.caja h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.caja p { font-size: 15px; color: var(--texto-suave); max-width: 380px; }
.caja__icono { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 14px; background: var(--p-100); color: var(--p-700); font-size: 21px; box-shadow: inset 0 0 0 1px rgba(79, 145, 66, 0.15); transition: transform 0.5s var(--rebote); }
.caja:hover .caja__icono { transform: rotate(-10deg) scale(1.08); }
.caja--panel { grid-column: span 7; grid-row: span 2; background: linear-gradient(160deg, #fff 30%, var(--p-50)); }
.caja--nfc { grid-column: span 5; min-height: 260px; }
.caja--senal { grid-column: span 5; min-height: 260px; }
.caja--inventario, .caja--equipo, .caja--docs { grid-column: span 4; min-height: 320px; }
.caja__texto { display: grid; gap: 10px; margin-bottom: 34px; }
.caja--inventario, .caja--docs { overflow: visible; }
.caja__animal { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 12px 16px rgba(20, 26, 22, 0.18)); transition: transform 0.8s var(--resorte); animation: flota 6s ease-in-out infinite; }
.caja__animal--avestruz { right: -26px; top: -78px; width: 120px; rotate: 10deg; }
.caja__animal--mono { right: -22px; top: -64px; width: 140px; rotate: -8deg; animation-delay: -3s; }
.caja:hover .caja__animal { transform: translateY(-10px) rotate(-6deg) scale(1.06); }

.tabla-mini { margin-top: auto; padding: 12px; border-radius: 20px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); }
.tabla-mini__resumen { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; padding: 10px 12px; border-radius: 14px; background: var(--fondo); font-size: 13px; color: var(--texto-suave); }
.tabla-mini__resumen strong { color: var(--texto); }
.mini-barra { position: relative; width: 76px; height: 8px; border-radius: 99px; background: #E8EBE5; overflow: hidden; }
.mini-barra span { position: absolute; inset: 0; border-radius: inherit; background: var(--p-600); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--rebote) 0.3s; }
.visible .mini-barra span { transform: scaleX(var(--n)); }
.chip-alerta { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 5px 10px; border-radius: 10px; background: var(--ambar-fondo); color: var(--ambar-texto); font-size: 12px; font-weight: 600; white-space: nowrap; }
.fila { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 140px; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; transition: background-color 0.2s ease; }
.fila:hover { background: var(--p-50); }
.fila + .fila { border-top: 1px solid var(--borde); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; }
.avatar img { width: 90%; }
.avatar--azul { background: var(--azul-fondo); } .avatar--naranja { background: var(--naranja-claro); } .avatar--rosa { background: var(--rosa-claro); } .avatar--arena { background: var(--arena-claro); }
.fila__nombre { display: grid; line-height: 1.25; }
.fila__nombre strong { font-size: 14px; font-weight: 600; }
.fila__nombre small { font-size: 12px; color: var(--texto-suave); }
.salud { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.salud--verde { background: var(--p-200); color: var(--p-850); }
.salud--azul { background: var(--azul-fondo); color: var(--azul-texto); }
.salud--ambar { background: var(--ambar-fondo); color: var(--ambar-texto); }
.salud--verde i { animation: latido 2.4s ease-in-out infinite; }
.comida { --c: var(--p-600); display: grid; gap: 4px; }
.comida--ambar { --c: var(--ambar); } .comida--rojo { --c: var(--rojo); }
.comida__barra { position: relative; height: 8px; border-radius: 999px; background: #EEF0EC; overflow: hidden; }
.comida--rojo .comida__barra { background: var(--rojo-fondo); }
.comida__barra span { position: absolute; inset: 0; border-radius: inherit; background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--rebote); }
.visible .comida__barra span { transform: scaleX(var(--n)); }
.visible .fila:nth-child(3) .comida__barra span { transition-delay: 0.15s; } .visible .fila:nth-child(4) .comida__barra span { transition-delay: 0.3s; } .visible .fila:nth-child(5) .comida__barra span { transition-delay: 0.45s; }
.comida small { font-size: 11.5px; color: var(--texto-suave); white-space: nowrap; }
.comida--rojo small { color: var(--rojo-texto); font-weight: 600; }

.ondas { position: absolute; top: 28px; right: 28px; display: grid; place-items: center; width: 150px; height: 150px; }
.ondas span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--p-500); opacity: 0; animation: onda 3s var(--suave) infinite; }
.ondas span:nth-child(2) { animation-delay: 1s; } .ondas span:nth-child(3) { animation-delay: 2s; }
.ondas i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--p-700); color: #fff; font-size: 30px; box-shadow: 0 10px 24px rgba(79, 145, 66, 0.35); }
.caja--nfc, .caja--senal { justify-content: flex-end; }

.sincro { position: absolute; top: 34px; right: 30px; display: flex; align-items: center; gap: 10px; }
.sincro__nube, .sincro__tel { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 28px; }
.sincro__nube { background: var(--azul-fondo); color: var(--azul-medio); }
.sincro__tel { background: var(--p-100); color: var(--p-700); order: -1; }
.sincro__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--p-500); animation: viaja 1.6s ease-in-out infinite; }
.sincro__punto:nth-of-type(3) { animation-delay: 0.2s; } .sincro__punto:nth-of-type(4) { animation-delay: 0.4s; }

.barras { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: auto; }
.barras span { flex: 1; height: 100%; border-radius: 10px 10px 4px 4px; background: var(--p-500); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--rebote); }
.barras span:nth-child(2) { background: var(--p-300); } .barras span:nth-child(5) { background: var(--p-600); }
.barras span.bajo { background: var(--ambar); }
.visible .barras span { transform: scaleY(var(--h)); }
.visible .barras span:nth-child(2) { transition-delay: 0.1s; } .visible .barras span:nth-child(3) { transition-delay: 0.2s; } .visible .barras span:nth-child(4) { transition-delay: 0.3s; } .visible .barras span:nth-child(5) { transition-delay: 0.4s; }

.equipo { display: grid; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.equipo li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--fondo); font-size: 13px; line-height: 1.2; transition: translate 0.45s var(--rebote); }
.equipo li:hover { translate: 6px 0; }
.equipo small { display: block; color: var(--texto-suave); font-size: 12px; }
.persona { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; }
.persona--1 { background: var(--azul-medio); } .persona--2 { background: var(--naranja); } .persona--3 { background: var(--p-700); }
.estado { width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: #5EC269; box-shadow: 0 0 0 0 rgba(94, 194, 105, 0.5); animation: pulso 2s var(--suave) infinite; }
.estado--ambar { background: #E3A321; animation-delay: -1s; }

.sellos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.sellos span { padding: 6px 12px; border-radius: 10px; border: 1.5px dashed var(--borde-fuerte); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; transition: background-color 0.3s ease, border-color 0.3s ease; }
.caja--docs:hover .sellos span { background: var(--p-100); border-color: var(--p-500); }

/* Cómo funciona */
.ruta { position: relative; }
.ruta__camino { position: relative; z-index: 2; height: 74px; margin-bottom: -3px; pointer-events: none; }
.ruta__caminante { position: absolute; bottom: 0; left: calc(24px + var(--avance, 0) * (100% - 198px)); width: 150px; filter: drop-shadow(0 4px 3px rgba(20, 26, 22, 0.12)); }
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.paso { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 28px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); transition: transform 0.6s var(--resorte), box-shadow 0.4s ease; }
.paso:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }
.paso__num { font-size: 15px; font-weight: 700; color: var(--p-700); letter-spacing: 0.08em; }
.paso h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.paso p { color: var(--texto-suave); }

/* Nosotros */
.nosotros { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; }
.nosotros__declaracion { display: grid; gap: 20px; }
.nosotros__declaracion h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.04em; }
.tachado { position: relative; color: var(--texto-tenue); white-space: nowrap; }
.tachado::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 0.09em; border-radius: 9px; background: var(--naranja); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--resorte); }
.visible .tachado::after { transform: scaleX(1); }
.visible .tachado:nth-of-type(1)::after { transition-delay: 0.5s; } .visible .tachado:nth-of-type(2)::after { transition-delay: 0.75s; } .visible .tachado:nth-of-type(3)::after { transition-delay: 1s; }
.nosotros__escena { position: relative; aspect-ratio: 1.25; border-radius: 36px; background: linear-gradient(180deg, #EAF1FB 0%, #F4F7FC 64%, #E9DFC2 64%, #E3D5AE 100%); overflow: hidden; }
.nosotros__escena img { position: absolute; }
.escena__cactus { left: 6%; bottom: 20%; width: 18%; }
.escena__rino { left: 22%; bottom: 10%; width: 52%; }
.escena__avestruz { right: 4%; bottom: 8%; width: 24%; }
.escena__pasto { left: 6%; bottom: 6%; width: 12%; }
.valores { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.valor { display: grid; gap: 10px; padding: 26px 0 0; border-top: 2px solid var(--texto); }
.valor__num { font-size: 13px; font-weight: 700; color: var(--p-700); letter-spacing: 0.08em; }
.valor h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.valor p { color: var(--texto-suave); }

/* Contacto */
.contacto { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding-bottom: 140px; }
.contacto__panel { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 40px; border-radius: 32px; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(120% 90% at 100% 100%, var(--p-700) 0%, var(--p-850) 55%, var(--p-900) 100%); }
.contacto__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/img/grano.png") 0 0 / 320px; opacity: 0.1; mix-blend-mode: overlay; }
.contacto__panel h2 { font-size: clamp(34px, 3.8vw, 52px); }
.contacto__panel > p { max-width: 360px; color: rgba(255, 255, 255, 0.8); font-size: 17px; }
.contacto__correo { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); font-size: 17px; font-weight: 600; text-decoration: none; transition: background-color 0.25s ease, translate 0.4s var(--rebote); }
.contacto__correo i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--p-500); color: var(--p-950); font-size: 18px; }
.contacto__correo:hover { background: rgba(255, 255, 255, 0.16); translate: 4px 0; }
.contacto__cuenta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-weight: 600; }
.contacto__leon { position: absolute; right: -78px; bottom: 34px; width: 340px; z-index: -1; opacity: 0.95; }

.formulario { display: grid; gap: 18px; align-content: start; padding: 36px; border-radius: 32px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); }
.formulario__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: grid; gap: 8px; }
.campo label { font-size: 14px; font-weight: 600; transition: color 0.2s ease; }
.campo label span { font-weight: 400; color: var(--texto-tenue); }
.campo:focus-within label { color: var(--acento); }
.campo input, .campo textarea, .campo select { width: 100%; min-height: 54px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--fondo); outline: none; box-shadow: inset 0 0 0 1.5px transparent; font-size: 15px; transition: box-shadow 0.25s ease, background-color 0.25s ease; }
.campo input:hover, .campo textarea:hover, .campo select:hover { background: #F1F0E7; }
.campo textarea { resize: vertical; min-height: 140px; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--texto-tenue); }
.campo input:focus, .campo textarea:focus, .campo select:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--p-600), 0 0 0 5px rgba(162, 219, 142, 0.35); }
.campo input:-webkit-autofill, .campo input:-webkit-autofill:hover, .campo input:-webkit-autofill:focus { -webkit-text-fill-color: var(--texto); caret-color: var(--texto); font: inherit; box-shadow: inset 0 0 0 1.5px var(--p-400), inset 0 0 0 1000px var(--p-50); transition: background-color 9999s ease-in-out 0s; }
.campo.error input, .campo.error textarea { box-shadow: inset 0 0 0 1.5px var(--rojo), 0 0 0 5px var(--rojo-fondo); animation: sacude 0.4s ease; }
.campo__error { font-size: 13px; font-weight: 500; color: var(--rojo-texto); }
.campo__error:empty { display: none; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario__pie { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 4px; }

/* Pie: tarjeta redondeada con animales dentro */
.pie { padding: 0 12px 12px; }
.pie__tarjeta { position: relative; margin: 0 auto; border-radius: 36px; overflow: hidden; isolation: isolate; color: var(--texto-suave); background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); }
.pie__arriba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; padding: 44px 40px 8px; }
.pie__marca { display: grid; gap: 14px; justify-items: start; align-content: start; }
.marca--clara { color: #fff; } .marca--clara .marca__texto b { color: var(--p-400); }
.pie__marca p { max-width: 260px; font-size: 15px; }
.pie__marca .pie__lema { margin-top: -10px; }
.pie__marca .boton { margin-top: 6px; }
.pie__columnas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pie__columnas div { display: grid; gap: 10px; align-content: start; }
.pie__columnas h3 { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--p-700); }
.pie__columnas a, .pie__columnas span { position: relative; justify-self: start; font-size: 15px; text-decoration: none; color: var(--texto); transition: color 0.2s ease, translate 0.4s var(--rebote); }
.pie__columnas a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; border-radius: 2px; background: var(--p-600); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--rebote); }
.pie__columnas a:hover { color: var(--p-800); translate: 3px 0; }
.pie__columnas a:hover::after { transform: scaleX(1); }
.pie__columnas span { color: var(--texto-tenue); }
.pie__columnas .pie__contacto { display: inline-flex; align-items: center; gap: 6px; color: var(--p-700); font-weight: 600; }
.pie__columnas .pie__contacto::after { background: var(--p-700); }
.pie__contacto i { font-size: 14px; transition: transform 0.45s var(--rebote); }
.pie__columnas .pie__contacto:hover { color: var(--p-800); }
.pie__contacto:hover i { transform: translate(3px, -3px); }

.pie__escena { position: relative; height: clamp(150px, 17vw, 230px); margin-top: 24px; }
.pie__animal { position: absolute; bottom: 0; width: auto; transform-origin: bottom center; translate: 0 100%; transition: translate 1s var(--resorte); }
.pie.visible .pie__animal { translate: 0 0; }
.pie__animal--jirafa { left: 6%; height: 92%; transition-delay: 0.05s; }
.pie__animal--elefante { left: 22%; height: 56%; transition-delay: 0.15s; }
.pie__animal--mono { left: 47%; height: 44%; transition-delay: 0.25s; }
.pie__animal--rino { left: 62%; height: 44%; transition-delay: 0.35s; }
.pie__animal--avestruz { right: 6%; height: 80%; transition-delay: 0.45s; }
@media (hover: hover) {
  .pie__animal { cursor: default; }
  .pie__escena .pie__animal:hover { translate: 0 -8px; transition: translate 0.5s var(--rebote); }
}

.pie__abajo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 40px 20px; border-top: 1px solid var(--borde); font-size: 13px; }
.pie__subir { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--superficie); border: 1px solid var(--borde); color: var(--texto); font-weight: 600; text-decoration: none; transition: background-color 0.2s ease; }
.pie__subir i { transition: transform 0.45s var(--rebote); }
.pie__subir:hover { background: var(--p-100); }
.pie__subir:hover i { transform: translateY(-3px); }

/* Avisos */
.avisos { position: fixed; left: 50%; bottom: 24px; z-index: 80; display: grid; gap: 10px; translate: -50% 0; width: min(420px, calc(100% - 32px)); }
.aviso { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-alta); animation: aviso-entra 0.6s var(--rebote) both; }
.aviso.sale { animation: aviso-sale 0.3s ease both; }
.aviso__icono { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 14px; background: var(--p-200); color: var(--p-800); font-size: 20px; animation: pop 0.5s var(--rebote) 0.1s both; }
.aviso--error .aviso__icono { background: var(--rojo-fondo); color: var(--rojo-texto); }
.aviso strong { display: block; font-size: 14px; } .aviso p { font-size: 13px; color: var(--texto-suave); }

/* Aparición al desplazar */
.revela { opacity: 0; translate: 0 40px; transition: opacity 0.7s ease, translate 1s var(--resorte); transition-delay: calc(var(--i, 0) * 90ms); }
.revela.visible { opacity: 1; translate: 0 0; }

@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes sol { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes latido { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 25% { transform: scale(0.95); } }
@keyframes titila { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(0.6) rotate(45deg); } }
@keyframes pulso { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes onda { 0% { transform: scale(0.45); opacity: 0.9; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes viaja { 0%, 100% { transform: translateX(-6px); opacity: 0.3; } 50% { transform: translateX(6px); opacity: 1; } }
@keyframes marquesina { to { transform: translateX(-50%); } }
@keyframes desfile { from { left: 100%; } to { left: -160px; } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(0.5); } }
@keyframes sacude { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(30px) scale(0.9); } }
@keyframes aviso-sale { to { opacity: 0; transform: translateY(16px) scale(0.96); } }

/* Huellita en Iniciar sesión */
.boton .huella { font-size: 1.15em; transform-origin: 50% 80%; }
@media (hover: hover) {
  .boton:hover .huella { animation: pisada 0.7s var(--rebote) both; }
}
@keyframes pisada { 0% { transform: rotate(0) scale(1); } 35% { transform: rotate(-24deg) scale(1.3) translateY(-3px); } 60% { transform: rotate(8deg) scale(0.9); } 100% { transform: rotate(-12deg) scale(1.1); } }

/* Herramientas nuevas */
.novedades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.novedad { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; border-radius: 28px; overflow: hidden; isolation: isolate; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); transition: transform 0.6s var(--resorte), box-shadow 0.4s ease; }
.novedad::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(162, 219, 142, 0.25), transparent 60%); transition: opacity 0.4s ease; }
.novedad:hover::before { opacity: 1; }
.novedad:hover { box-shadow: var(--sombra-alta); }
.novedad h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.novedad p { color: var(--texto-suave); font-size: 15px; }
.nuevo { align-self: flex-start; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--p-200); color: var(--p-850); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nuevo--chico { position: absolute; top: 16px; right: 16px; margin: 0; padding: 3px 8px; font-size: 10.5px; }

.maqueta { position: relative; height: 210px; margin-bottom: 8px; border-radius: 20px; overflow: hidden; }
.maqueta--pages { background: #FBE3EF; padding: 18px 22px 0; }
.maqueta__barra { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px 12px 0 0; background: #fff; }
.maqueta__barra span { width: 8px; height: 8px; border-radius: 50%; background: #F1A39D; } .maqueta__barra span:nth-child(2) { background: #F3D58E; } .maqueta__barra span:nth-child(3) { background: var(--p-500); }
.maqueta__barra p { margin-left: 10px; font-size: 11px; color: var(--texto-suave); }
.maqueta__web { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 10px; height: 100%; background: #fff; border-top: 1px solid var(--borde); }
.bloque { height: 46px; border-radius: 8px; background: #F4ECF1; }
.bloque--hero { grid-column: 1 / -1; height: 62px; background: linear-gradient(90deg, var(--rosa), #F2A541); animation: brillo 4s ease-in-out infinite; }
.cursor { position: absolute; display: flex; align-items: flex-start; gap: 2px; font-size: 18px; animation: navega 7s var(--suave) infinite; }
.cursor b { margin-top: 12px; padding: 2px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 600; color: #fff; }
.cursor--1 { color: var(--azul-medio); top: 80px; left: 60px; } .cursor--1 b { background: var(--azul-medio); }
.cursor--2 { color: var(--naranja); top: 130px; left: 260px; animation-delay: -3.5s; animation-direction: reverse; } .cursor--2 b { background: var(--naranja); }

.maqueta--circuito { background: #E8EDFA; }
.placa { position: absolute; left: 30px; top: 40px; display: grid; grid-template-columns: repeat(3, 10px); gap: 8px; padding: 16px; border-radius: 12px; background: #2E6A85; box-shadow: 0 6px 0 #1B4253; }
.placa i { width: 10px; height: 10px; border-radius: 2px; background: #9ED6D0; }
.cables { position: absolute; left: 60px; top: 30px; width: 260px; height: 140px; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.cables path:first-child { stroke: var(--naranja); } .cables path:last-child { stroke: var(--p-600); }
.cables path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.visible .cables path { animation: dibuja 1.6s var(--suave) forwards 0.3s; }
.visible .cables path:last-child { animation-delay: 0.6s; }
.led { position: absolute; left: 236px; top: 38px; width: 24px; height: 24px; border-radius: 50% 50% 4px 4px; background: #DD524C; box-shadow: 0 0 0 0 rgba(221, 82, 76, 0.6); animation: led 1.4s ease-in-out infinite; }
.lectura { position: absolute; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--sombra); font-size: 14px; color: var(--texto-suave); }
.lectura b { font-size: 22px; color: var(--texto); font-variant-numeric: tabular-nums; }
.lectura i { color: var(--naranja); font-size: 20px; }

.maqueta--plano { background: #1F4B8F; background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 16px 16px; }
.maqueta--plano svg { position: absolute; inset: 20px 30px 30px; width: calc(100% - 60px); height: calc(100% - 50px); fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.maqueta--plano circle { fill: #F2A541; stroke: none; }
.traza { stroke-dasharray: 900; stroke-dashoffset: 900; }
.visible .traza { animation: dibuja 2.4s var(--suave) forwards 0.3s; }
.visible .traza--2 { animation-delay: 1.4s; stroke-dasharray: 6 6; stroke-dashoffset: 0; opacity: 0; animation-name: aparece; animation-duration: 0.6s; }
.plano__etiqueta { position: absolute; left: 22px; bottom: 16px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 12px; font-weight: 600; }

.maqueta--latex { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px; padding: 18px; background: #FCF0D4; }
.codigo { display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: 14px; background: #1D2420; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; color: #CFE3CB; }
.codigo span { white-space: nowrap; overflow: hidden; }
.c1 { color: #F2A541; } .c3 { color: #9ED6D0; }
.escribe { width: 0; height: 12px; border-right: 2px solid var(--p-500); animation: escribe 3s steps(22) infinite; }
.hoja-pdf { display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: 6px; background: #fff; box-shadow: var(--sombra); font-size: 11px; }
.hoja-pdf span { height: 6px; border-radius: 3px; background: #E8E6DE; }
.hoja-pdf span:nth-of-type(2) { width: 70%; }
.hoja-pdf .formula { height: auto; background: none; text-align: center; font-family: "Times New Roman", serif; font-style: italic; font-size: 14px; }

/* Catálogo de herramientas */
.catalogo { margin-top: 56px; }
.catalogo__pestanas { position: relative; display: inline-flex; gap: 4px; padding: 6px; margin-bottom: 20px; border-radius: 999px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra); }
.catalogo__pestanas button { position: relative; z-index: 1; padding: 10px 18px; border: 0; border-radius: 999px; background: none; font-size: 14.5px; font-weight: 600; color: var(--texto-suave); transition: color 0.25s ease; }
.catalogo__pestanas button[aria-selected="true"] { color: var(--p-950); }
.catalogo__indicador { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--p-500); box-shadow: 0 3px 0 var(--p-600); transition: translate 0.6s var(--rebote), width 0.6s var(--rebote); }
.catalogo__panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.catalogo__panel[hidden] { display: none; }
.catalogo__panel.entra-panel .herramienta { animation: herramienta 0.6s var(--resorte) both; }
.catalogo__panel.entra-panel .herramienta:nth-child(2) { animation-delay: 0.05s; } .catalogo__panel.entra-panel .herramienta:nth-child(3) { animation-delay: 0.1s; }
.catalogo__panel.entra-panel .herramienta:nth-child(4) { animation-delay: 0.15s; } .catalogo__panel.entra-panel .herramienta:nth-child(5) { animation-delay: 0.2s; } .catalogo__panel.entra-panel .herramienta:nth-child(6) { animation-delay: 0.25s; }
.herramienta { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; align-items: start; padding: 18px; border-radius: 20px; background: var(--superficie); border: 1px solid var(--borde); transition: translate 0.45s var(--rebote), box-shadow 0.3s ease; }
.herramienta:hover { translate: 0 -4px; box-shadow: var(--sombra-alta); }
.herramienta > i { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--p-100); color: var(--p-700); font-size: 21px; transition: transform 0.45s var(--rebote); }
.herramienta:hover > i { transform: rotate(-10deg) scale(1.08); }
.herramienta h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; padding-right: 54px; }
.herramienta p { font-size: 14px; color: var(--texto-suave); }

@keyframes brillo { 0%, 100% { filter: saturate(1); } 50% { filter: saturate(1.3) brightness(1.05); } }
@keyframes navega { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(120px, 20px); } 60% { transform: translate(60px, -30px); } }
@keyframes dibuja { to { stroke-dashoffset: 0; } }
@keyframes aparece { to { opacity: 1; } }
@keyframes led { 0%, 100% { background: #DD524C; box-shadow: 0 0 0 0 rgba(221, 82, 76, 0.6); } 50% { background: #FF7B6E; box-shadow: 0 0 22px 6px rgba(255, 123, 110, 0.55); } }
@keyframes escribe { 0% { width: 0; } 60%, 100% { width: 160px; } }
@keyframes herramienta { from { opacity: 0; translate: 0 18px; } }

@media (max-width: 960px) {
  .novedades { grid-template-columns: 1fr; }
  .catalogo__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .catalogo__pestanas { display: flex; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .catalogo__pestanas button { flex: none; padding: 10px 14px; }
  .catalogo__panel { grid-template-columns: 1fr; }
  .maqueta { height: 190px; }
  .novedad { padding: 20px 20px 24px; border-radius: 24px; }
  .maqueta--latex { grid-template-columns: 1fr; } .hoja-pdf { display: none; }
}

/* Marcos de selección (estilo editor de diseño) */
.marco { --mc: var(--p-600); position: relative; margin-top: 26px; padding: 10px; border: 1.5px solid var(--mc); }
.marco--azul { --mc: #3D8BF2; } .marco--morado { --mc: #8B5CF6; } .marco--verde { --mc: var(--p-600); }
.marco__nombre, .marco__der { position: absolute; bottom: calc(100% + 8px); font-size: 13px; font-weight: 500; color: var(--mc); line-height: 1; }
.marco__nombre { left: -2px; } .marco__der { right: -2px; color: var(--texto-suave); }
.marco > .sabana, .marco > .formulario, .marco > .tabla-mini { margin: 0; }
.caja--panel .marco { margin-top: auto; }
.contacto .marco { align-self: start; }

/* Listones de color que se dibujan */
.portada, .seccion { position: relative; isolation: isolate; }
.liston { position: absolute; z-index: -1; overflow: visible; pointer-events: none; }
.liston path { fill: none; stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
.liston--portada-1 { left: max(-230px, calc(50% - 900px)); top: 360px; width: 330px; }
.liston--portada-2 { right: max(-70px, calc(50% - 750px)); top: 150px; width: 190px; }
.liston--como { left: 0; right: 0; top: 40px; width: 100%; }
.liston--como path { stroke-width: 26; }
.liston--herramientas { right: -40px; top: 60px; width: 260px; }

/* Texto que se ilumina */
[data-ilumina] .pal { color: #C9CEC6; transition: color 0.35s ease; }
[data-ilumina] .pal.on { color: var(--texto); }
[data-ilumina] .tachado .pal.on { color: var(--texto-tenue); }

/* Calcomanías de animales */
.seccion__cabeza { position: relative; }
.calcomania { position: absolute; right: 4%; top: -30px; width: 170px; z-index: 1; pointer-events: auto;
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 10px 14px rgba(20, 26, 22, 0.16));
  rotate: 8deg; animation: flota 6s ease-in-out infinite; transition: rotate 0.6s var(--rebote), scale 0.6s var(--rebote); }
.calcomania:hover { rotate: -6deg; scale: 1.1; }
.calcomania--avestruz { width: 130px; top: -50px; rotate: -8deg; animation-delay: -2s; }
.calcomania--jirafa { width: 120px; top: -80px; rotate: 6deg; animation-delay: -4s; }

@keyframes parpadeo { 50% { opacity: 0; } }

@media (max-width: 960px) {
  .liston--portada-1, .liston--portada-2 { opacity: 0.6; }
}
@media (max-width: 640px) {
  .calcomania { width: 100px; right: 0; top: -36px; }
  .calcomania--avestruz { width: 76px; } .calcomania--jirafa { width: 72px; top: -60px; }
  .caja__animal--avestruz { width: 90px; right: -8px; top: -60px; } .caja__animal--mono { width: 100px; right: -8px; top: -48px; }
  .liston--herramientas, .liston--portada-1, .liston--portada-2 { display: none; }
  .marco { padding: 6px; }
  .marco__der { display: none; }
}

/* Preguntas frecuentes */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq__cabeza { position: sticky; top: 120px; display: grid; gap: 18px; justify-items: start; }
.faq__nota { margin-top: 10px; color: var(--texto-suave); }
.calcomania--rino { width: 260px; top: auto; bottom: -230px; right: auto; left: 20px; rotate: -6deg; animation-delay: -1s; }
.preguntas { display: grid; gap: 10px; }
.preguntas.marco { padding: 14px; }
.pregunta { border-radius: 20px; background: var(--superficie); border: 1px solid var(--borde); transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.pregunta:hover { box-shadow: var(--sombra); }
.pregunta.abierta { border-color: rgba(79, 145, 66, 0.35); box-shadow: var(--sombra); }
.pregunta h3 { margin: 0; }
.pregunta button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; border: 0; background: none; text-align: left; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.pregunta__mas { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--p-100); transition: background-color 0.3s ease, rotate 0.6s var(--rebote); }
.pregunta__mas i { position: absolute; left: 10px; right: 10px; top: 16px; height: 2px; border-radius: 2px; background: var(--p-700); transition: rotate 0.6s var(--rebote), background-color 0.3s ease; }
.pregunta__mas i:last-child { rotate: 90deg; }
.pregunta.abierta .pregunta__mas { background: var(--p-500); rotate: 180deg; }
.pregunta.abierta .pregunta__mas i { background: var(--p-950); }
.pregunta.abierta .pregunta__mas i:last-child { rotate: 0deg; }
.pregunta__respuesta { overflow: hidden; height: 0; transition: height 0.55s var(--resorte); }
.pregunta__respuesta p { padding: 0 22px 22px; color: var(--texto-suave); max-width: 620px; opacity: 0; translate: 0 -8px; transition: opacity 0.35s ease, translate 0.55s var(--resorte); }
.pregunta.abierta .pregunta__respuesta p { opacity: 1; translate: 0 0; }
@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq__cabeza { position: relative; top: 0; }
}
@media (max-width: 640px) {
  .pregunta button { padding: 16px 16px; font-size: 16px; }
  .pregunta__respuesta p { padding: 0 16px 18px; }
  .calcomania--rino { width: 160px; bottom: -10px; left: auto; right: 0; }
}

/* Cursor de huellita y pisada al hacer clic */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("/img/cursor-huella.svg") 14 14, auto; }
  a, button, select, summary, label, [role="tab"], .calcomania { cursor: url("/img/cursor-huella-activo.svg") 14 14, pointer; }
  input, textarea { cursor: text; }
}
.pisada { position: fixed; z-index: 90; width: 160px; height: 160px; margin: -80px 0 0 -80px; pointer-events: none; color: #121812; }
.pisada svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pisada__huella { transform-origin: 80px 80px; animation: pisada-sello 0.8s var(--rebote) both; }
.pisada__huella path, .pisada__huella ellipse { fill: currentColor; }
.pisada__punto { transform-box: view-box; transform-origin: 80px 80px; animation: pisada-punto 0.75s var(--resorte) both; animation-delay: var(--d, 0s); }
.pisada__punto circle { fill: currentColor; }
.pisada__punto--hueco circle { fill: none; stroke: currentColor; stroke-width: 1.8; }
.pisada__texto { transform-box: view-box; transform-origin: 80px 80px; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
.pisada__texto path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: pisada-dibuja 0.5s var(--suave) forwards; }
.pisada__texto path:nth-child(2) { animation-delay: 0.12s; } .pisada__texto path:nth-child(3) { animation-delay: 0.22s; } .pisada__texto path:nth-child(4) { animation-delay: 0.3s; }
.pisada.sale { animation: pisada-sale 0.45s ease forwards; }
@keyframes pisada-sello { 0% { transform: scale(1.9) rotate(var(--r, 0deg)); opacity: 0; } 35% { transform: scale(0.82) rotate(var(--r, 0deg)); opacity: 1; } 60% { transform: scale(1.06) rotate(var(--r, 0deg)); } 100% { transform: scale(1) rotate(var(--r, 0deg)); } }
@keyframes pisada-punto { 0% { transform: translate(0, 0) scale(0.2); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(1); opacity: 1; } }
@keyframes pisada-dibuja { to { stroke-dashoffset: 0; } }
@keyframes pisada-sale { to { opacity: 0; transform: translateY(-6px) scale(0.92); } }

/* Campos con X para borrar */
.campo__etiqueta { font-size: 14px; font-weight: 600; transition: color 0.2s ease; }
.campo:focus-within .campo__etiqueta { color: var(--acento); }
.campo__caja { position: relative; }
.campo__caja input { padding-right: 48px; }
.campo__limpiar { position: absolute; right: 12px; top: 50%; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 26, 22, 0.08); color: var(--texto-suave); font-size: 13px; translate: 0 -50%; scale: 0.4; opacity: 0; pointer-events: none; transition: scale 0.45s var(--rebote), opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.campo__caja.con-texto .campo__limpiar { scale: 1; opacity: 1; pointer-events: auto; }
.campo__limpiar:hover { background: var(--p-200); color: var(--p-850); }
.campo__limpiar:active { scale: 0.85; }

/* Selector propio */
.selector { position: relative; }
.selector__boton { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 54px; padding: 8px 16px 8px 9px; border: 0; border-radius: 16px; background: var(--fondo); text-align: left; font-size: 15px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow 0.25s ease, background-color 0.25s ease; }
.selector__boton:hover { background: #F1F0E7; }
.selector__boton:focus-visible, .selector.abierto .selector__boton { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--p-600), 0 0 0 5px rgba(162, 219, 142, 0.35); }
.selector__valor { display: inline-flex; align-items: center; gap: 10px; }
.selector__icono { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--p-100); color: var(--p-700); font-size: 17px; }
.selector__flecha { color: var(--texto-suave); transition: rotate 0.5s var(--rebote); }
.selector.abierto .selector__flecha { rotate: 180deg; }
.selector__lista { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; display: grid; gap: 2px; max-height: 400px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; border-radius: 20px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-alta); transform-origin: top center; opacity: 0; translate: 0 -8px; scale: 0.96; pointer-events: none; transition: opacity 0.18s ease, translate 0.5s var(--rebote), scale 0.5s var(--rebote); }
.selector.abierto .selector__lista { opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; }
.selector__lista li { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 14px; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color 0.15s ease; }
.selector__lista li .selector__icono { width: 32px; height: 32px; font-size: 16px; transition: transform 0.45s var(--rebote); }
.selector__lista li.activa { background: var(--fondo); }
.selector__lista li.activa .selector__icono { transform: rotate(-10deg) scale(1.08); }
.selector__lista li[aria-selected="true"] { color: var(--p-850); font-weight: 600; }
.selector__lista li[aria-selected="true"] .selector__icono { background: var(--p-500); color: var(--p-950); }
.selector__check { margin-left: auto; color: var(--p-700); opacity: 0; scale: 0.4; transition: opacity 0.2s ease, scale 0.45s var(--rebote); }
.selector__lista li[aria-selected="true"] .selector__check { opacity: 1; scale: 1; }
.selector.abierto .selector__lista li { animation: opcion 0.45s var(--resorte) both; }
.selector.abierto .selector__lista li:nth-child(2) { animation-delay: 0.02s; } .selector.abierto .selector__lista li:nth-child(3) { animation-delay: 0.04s; } .selector.abierto .selector__lista li:nth-child(4) { animation-delay: 0.06s; }
.selector.abierto .selector__lista li:nth-child(5) { animation-delay: 0.08s; } .selector.abierto .selector__lista li:nth-child(6) { animation-delay: 0.1s; } .selector.abierto .selector__lista li:nth-child(7) { animation-delay: 0.12s; } .selector.abierto .selector__lista li:nth-child(8) { animation-delay: 0.14s; }
@keyframes opcion { from { opacity: 0; translate: 0 -6px; } }

/* PetCard: cápsula flotante tipo aviso de cookies, con su propia paleta */
.contacto { padding-bottom: 140px; }
.petcard {
  --pc-50: #FFF5EE; --pc-100: #FDE6D6; --pc-500: #E8743B; --pc-600: #C2582A; --pc-900: #3A1C0D;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; align-items: center; gap: 16px;
  padding: 10px 10px 10px 10px; border-radius: 999px; background: var(--pc-50); border: 1.5px solid rgba(232, 116, 59, 0.28);
  box-shadow: 0 2px 4px rgba(58, 28, 13, 0.05), 0 22px 50px rgba(58, 28, 13, 0.16);
  translate: 0 calc(100% + 40px); opacity: 0; transition: translate 0.9s var(--resorte), opacity 0.35s ease;
}
.petcard.visible { translate: 0 0; opacity: 1; }
.petcard.sale { translate: 0 calc(100% + 40px); opacity: 0; transition-duration: 0.5s; }
.petcard__logo { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 14px rgba(194, 88, 42, 0.25); }
.petcard.visible .petcard__logo { animation: petcard-saluda 1.2s var(--rebote) 0.6s both; }
.petcard__texto { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; flex: 1; min-width: 0; line-height: 1.3; }
.petcard__texto strong { font-size: 15.5px; font-weight: 700; letter-spacing: -0.015em; color: var(--pc-900); }
.petcard__texto strong span { color: var(--pc-500); }
.petcard__texto > span { font-size: 13.5px; color: #8E6E5C; }
.petcard__boton { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 3px; padding: 0 18px; border-radius: 999px; background: var(--pc-500); color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 var(--pc-600); transition: translate 0.37s var(--rebote), box-shadow 0.37s var(--rebote); }
.petcard__boton:hover { translate: 0 3px; box-shadow: 0 0 0 var(--pc-600); }
.petcard__boton i { transition: transform 0.45s var(--rebote); }
.petcard__boton:hover i { transform: translate(2px, -2px); }
.petcard__cerrar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8E6E5C; font-size: 15px; transition: background-color 0.2s ease, color 0.2s ease, rotate 0.45s var(--rebote); }
.petcard__cerrar:hover { background: var(--pc-100); color: var(--pc-900); rotate: 90deg; }
@keyframes petcard-saluda { 0% { rotate: 0deg; } 30% { rotate: -14deg; } 55% { rotate: 10deg; } 80% { rotate: -4deg; } 100% { rotate: 0deg; } }
@media (max-width: 640px) {
  .petcard { left: 8px; right: 8px; bottom: 8px; flex-wrap: wrap; gap: 10px; padding: 14px; border-radius: 26px; }
  .petcard__logo { width: 44px; height: 44px; }
  .petcard__texto { flex: 1; }
  .petcard__cerrar { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; }
  .petcard__texto { padding-right: 26px; }
  .petcard__boton { width: 100%; justify-content: center; }
}

/* Páginas internas */
.pagina > .seccion:first-child { padding-top: 150px; }
.pagina > .seccion:last-child { padding-bottom: 140px; }

/* Desplegable de Plataformas */
.desplegable { position: relative; }
.desplegable__boton { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 500; color: var(--texto-suave); transition: color 0.2s ease, background-color 0.25s ease; }
.desplegable__boton:hover, .desplegable.abierto .desplegable__boton { color: var(--texto); background: rgba(20, 26, 22, 0.05); }
.desplegable__boton.activo { color: var(--p-850); background: var(--p-200); }
.desplegable__boton i { font-size: 12px; transition: rotate 0.5s var(--rebote); }
.desplegable.abierto .desplegable__boton i { rotate: 180deg; }
.desplegable__panel { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 60; display: grid; gap: 4px; width: 360px; padding: 8px; border-radius: 24px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-alta); translate: -50% -8px; scale: 0.96; transform-origin: top center; opacity: 0; pointer-events: none; transition: opacity 0.18s ease, translate 0.55s var(--rebote), scale 0.55s var(--rebote); }
.desplegable__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.desplegable.abierto .desplegable__panel { opacity: 1; translate: -50% 0; scale: 1; pointer-events: auto; }
.producto { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 18px; text-decoration: none; color: var(--texto); transition: background-color 0.2s ease; }
.producto:hover { background: var(--fondo); }
.desplegable.abierto .producto { animation: opcion 0.5s var(--resorte) both; }
.desplegable.abierto .producto:nth-child(2) { animation-delay: 0.04s; } .desplegable.abierto .producto:nth-child(3) { animation-delay: 0.08s; }
.producto__img { position: relative; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; overflow: hidden; transition: rotate 0.5s var(--rebote), scale 0.5s var(--rebote); }
.producto:hover .producto__img { rotate: -6deg; scale: 1.06; }
.producto__img--zootrack { background: var(--p-200); color: var(--p-800); }
.producto__img--zootrack .isotipo { position: absolute; top: 9px; left: 9px; font-size: 13px; }
.producto__img--zootrack img { position: absolute; right: -10px; bottom: -4px; width: 58px; }
.producto__img--vet { background: #DCE9F6; color: #2E5F8F; }
.producto__img--vet i { position: absolute; top: 8px; left: 8px; font-size: 20px; }
.producto__img--vet img { position: absolute; right: -2px; bottom: -14px; width: 40px; }
.producto__img--petcard img { width: 100%; height: 100%; }
.producto__texto { display: grid; gap: 2px; line-height: 1.3; }
.producto__texto strong { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.producto__texto strong i { font-size: 13px; color: var(--texto-suave); }
.producto__texto em { padding: 2px 7px; border-radius: 6px; background: #DCE9F6; color: #2E5F8F; font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.producto__texto small { font-size: 13px; color: var(--texto-suave); }
@media (max-width: 960px) {
  .desplegable__boton { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 16px; }
  .desplegable__panel { position: static; width: auto; padding: 0 0 4px; border: 0; box-shadow: none; translate: none; scale: 1; opacity: 1; display: none; pointer-events: auto; }
  .desplegable.abierto .desplegable__panel { display: grid; translate: none; }
  .desplegable__panel::before { display: none; }
  .producto__img { width: 52px; height: 52px; border-radius: 15px; }
  .pagina > .seccion:first-child { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* Adaptable */
@media (max-width: 1100px) {
  .caja--panel { grid-column: span 12; grid-row: auto; }
  .caja--nfc, .caja--senal { grid-column: span 6; }
  .caja--inventario, .caja--equipo { grid-column: span 6; }
  .caja--docs { grid-column: span 12; min-height: 240px; }
}
@media (max-width: 960px) {
  .pie__arriba { grid-template-columns: 1fr; }
  .nav__entrar { margin-left: auto; }
  .nav__hamburguesa { display: block !important; flex: none; margin-left: 4px; }
  .nav__enlaces {
    position: fixed; top: 84px; left: 16px; right: 16px; display: grid; gap: 4px; padding: 14px; border-radius: 28px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-alta);
    opacity: 0; transform: translateY(-14px) scale(0.97); transform-origin: top; pointer-events: none; transition: opacity 0.25s ease, transform 0.5s var(--rebote);
  }
  .nav__enlaces.abierto { opacity: 1; transform: none; pointer-events: auto; }
  .nav__enlaces a:not(.boton) { padding: 14px 16px; font-size: 16px; }
  .nav__entrar-movil { display: inline-flex !important; margin-top: 8px; }
  .portada { grid-template-columns: 1fr; min-height: 0; padding-top: 116px; gap: 40px; }
  .nosotros, .contacto { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; }
  .ruta__camino { height: 66px; }
  .ruta__caminante { width: 130px; left: calc(16px + var(--avance, 0) * (100% - 162px)); }
}
@media (max-width: 640px) {
  .nav { padding: 12px 14px; }
  .nav__entrar { display: none; }
  .nav__hamburguesa { margin-left: auto; }
  .portada, .seccion { padding-left: 16px; padding-right: 16px; }
  .seccion { padding-top: 100px; }
  .titular { font-size: 46px; }
  .portada__bajada { font-size: 17px; }
  .portada__botones .boton { flex: 1 1 100%; }
  .sabana { border-radius: 28px; aspect-ratio: 1 / 1.05; }
  .flotante { padding: 8px 10px 8px 8px; }
  .flotante--comida { width: 196px; right: 4%; top: 4%; }
  .flotante--salud { top: auto; bottom: 4%; left: 4%; }
  .sabana__sol { left: 8%; top: 10%; }
  .flotante--nfc { display: none; }
  .flotante__icono { width: 30px; height: 30px; font-size: 15px; }
  .bento > .caja { grid-column: span 12; }
  .caja { padding: 22px; border-radius: 24px; }
  .ondas { width: 110px; height: 110px; top: 18px; right: 18px; }
  .ondas i { width: 52px; height: 52px; font-size: 24px; }
  .caja--nfc, .caja--senal { min-height: 240px; }
  .fila { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .fila .comida { grid-column: 2 / -1; }
  .tabla-mini__resumen { flex-wrap: wrap; }
  .valores { grid-template-columns: 1fr; }
  .contacto__panel, .formulario { padding: 26px 22px; border-radius: 26px; }
  .contacto__leon { width: 230px; right: -50px; bottom: 110px; opacity: 0.35; }
  .formulario__fila { grid-template-columns: 1fr; }
  .formulario__enviar { flex: 1 1 100%; }
  .pie { padding: 0 8px 8px; }
  .pie__tarjeta { border-radius: 28px; }
  .pie__arriba { padding: 32px 24px 0; }
  .pie__columnas { grid-template-columns: 1fr 1fr; }
  .pie__abajo { padding: 14px 24px 18px; }
  .pie__animal--mono, .pie__animal--rino { display: none; }
  .pie__animal--elefante { left: 34%; }
}
