/* Meditec · Ecosistema — Modelo 2 (paleta azul ejecutivo).
   Paleta usada:
   fondo #f5f8fc · panel #eaf0f8 · tinta #0b2545 · texto #1e2f47 · texto suave rgba(30,47,71,.76)
   línea rgba(11,37,69,.14) · línea activa rgba(31,95,191,.5) · azul #1f5fbf · teal #14a38b
   teal texto #0b7c7c · teal claro #4fd6bf · ámbar #f2a541 · navy #0b2f5b · navy claro #14508f */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: light;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: #f5f8fc;
  color: #1e2f47;
  font: 400 clamp(16px, 0.9rem + 0.25vw, 17px) / 1.6 'Figtree', 'Segoe UI', system-ui, sans-serif;
}
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: max(16px, 4vw, env(safe-area-inset-left, 0px)) max(16px, 4vw, env(safe-area-inset-right, 0px));
}
h1,
h2,
h3 {
  margin: 0;
  font-family: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
}
h3 {
  font-size: 1.35rem;
  font-weight: 700;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid #f2a541;
  outline-offset: 3px;
  border-radius: 6px;
}
.eyebrow {
  font: 600 0.78rem/1 'Figtree', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0b7c7c;
}
.eyebrow + h2 {
  margin-top: 14px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem 'Figtree', 'Segoe UI', system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-amber {
  background: #f2a541;
  color: #2b1a00;
  box-shadow: 0 8px 24px -8px rgba(242, 165, 65, 0.8);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-navy {
  background: #0b3a6e;
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(11, 58, 110, 0.6);
}
.btn-line {
  background: #fff;
  color: #0b2545;
  border: 1.5px solid rgba(11, 37, 69, 0.14);
}
.btn-line:hover {
  border-color: rgba(31, 95, 191, 0.5);
}

/* Navegación
   Los enlaces ocupan el espacio libre del centro: si no entran, pasan a una
   fila oculta (se muestran los que caben y el resto se esconde solo). */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(245, 248, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 37, 69, 0.14);
}
.nav .wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(10px, 2.5vw, 28px);
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  text-decoration: none;
  color: #0b2545;
}
.brand img {
  height: clamp(28px, 7vw, 34px);
  width: auto;
}
.brand b {
  font: 800 clamp(1rem, 3.6vw, 1.25rem) 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.12em;
}
.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  height: 24px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 24px;
}
.nav ul::before {
  content: '';
  height: 24px;
}
.nav li {
  margin-inline: 14px;
  white-space: nowrap;
}
.nav ul a {
  text-decoration: none;
  color: rgba(30, 47, 71, 0.76);
}
.nav ul a:hover {
  color: #0b2545;
}
.nav .btn {
  padding: clamp(8px, 1.5vw, 10px) clamp(14px, 3vw, 20px);
  font-size: clamp(0.82rem, 2.4vw, 0.92rem);
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px);
  background:
    radial-gradient(1000px 520px at 88% -8%, rgba(31, 95, 191, 0.1) 0, transparent 62%),
    linear-gradient(160deg, #f8fafd, #f2f6fc 55%, #eaf1fa);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite alternate;
}
.b1 {
  right: 10%;
  bottom: -100px;
  width: 300px;
  height: 300px;
  background: #14a38b;
  opacity: 0.2;
  animation-delay: -6s;
}
.helix {
  position: absolute;
  top: 0;
  right: clamp(-160px, 30vw - 330px, -30px);
  height: 115%;
  opacity: 0.2;
  pointer-events: none;
  animation: float 9s ease-in-out infinite alternate;
}
/* Texto y video lado a lado; cuando no entran, el video baja */
.hero .wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(44px, 7vw, 110px);
}
.hero-txt {
  flex: 0 1 520px;
  min-width: min(100%, 380px);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.9vw, 4.2rem);
  font-weight: 800;
  -webkit-font-smoothing: antialiased;
}
/* "sin carga de datos": arranca oscuro y se colorea de izquierda a derecha, en bucle */
.carga {
  font-style: normal;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #1f5fbf, #14a38b), linear-gradient(#0b2545, #0b2545);
  background-repeat: no-repeat;
  background-size: 0% 100%, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: carga 5s cubic-bezier(0.6, 0.05, 0.3, 1) infinite;
}
.hero .lead {
  max-width: 30em;
  margin-top: 22px;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.25rem);
  /* color: rgba(30, 47, 71, 0.76); */
}
.hero .lead strong {
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #1f5fbf;
}
.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 16px;
  border: 1px solid rgba(11, 37, 69, 0.14);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  color: rgba(30, 47, 71, 0.76);
}
.dot,
.vbar span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14a38b;
  animation: pulse 2s infinite;
}

/* Video vertical de la visitadora, con sus etiquetas encima */
.hero-media {
  position: relative;
  flex: 0 1 360px;
  min-width: min(100%, 280px);
  margin-inline: auto;
  animation-delay: 0.2s;
}
.hero-media video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 28px;
  background: #0b2545;
  box-shadow: 0 40px 80px -30px rgba(11, 37, 69, 0.5);
}
.hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b2545;
}
/* Tarjeta flotante: sobresale del video hacia la izquierda, sin salirse de la pantalla en celular */
.hero-card {
  position: absolute;
  left: max(-48px, (100% - 100vw) / 2 + 8px);
  bottom: 70px;
  max-width: 240px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px -16px rgba(11, 37, 69, 0.45);
  font-size: 0.9rem;
  line-height: 1.4;
  color: #1e2f47;
}
.hero-card b {
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
  color: #0b7c7c;
}

/* Caja de la grabación del sistema (bloque Inteligencia artificial) */
.vbox {
  padding: clamp(8px, 1.5vw, 10px) clamp(8px, 1.5vw, 10px) clamp(12px, 2vw, 14px);
  border-radius: clamp(16px, 3vw, 22px);
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.vbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5d6f86;
}
.vbar i {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff7a6b;
}
.vbar i:nth-child(2) {
  background: #f6b94c;
}
.vbar i:nth-child(3) {
  background: #5fd6b4;
}
.vbar span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.vbar span::before {
  content: '';
  flex-shrink: 0;
}
.vbox video {
  display: block;
  width: 100%;
  aspect-ratio: 1600 / 760;
  object-fit: cover;
  border-radius: 12px;
  background: #0b2545;
}
.vcap {
  padding: 10px 8px 0;
  font-size: 0.84rem;
  color: #5d6f86;
}

/* Franja */
.strip {
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid rgba(11, 37, 69, 0.14);
  background: #eaf0f8;
  color: #0b2f5b;
  font: 800 clamp(1rem, 0.9rem + 0.6vw, 1.2rem) 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.strip div {
  display: inline-block;
  animation: marq 28s linear infinite;
}
.strip span {
  margin: 0 26px;
}
.strip span::after {
  content: '✦';
  margin-left: 52px;
  color: #1f5fbf;
  opacity: 0.7;
}

/* Secciones */
section {
  padding-block: clamp(64px, 9vw, 112px);
}
.head {
  max-width: 780px;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.head p {
  margin-top: 16px;
  font-size: 1.1rem;
  color: rgba(30, 47, 71, 0.76);
}
.ger .head p,
#servicios .head p {
  color: #111;
}

/* Grillas fluidas (sin media queries):
   - .roles, .facts, .chain: 4 columnas → 2 (menos de 940px de ancho) → 1 (menos de 520px)
   - .safe: 3 columnas → 1 (menos de 720px)
   - .logos: 4 columnas → 2 (menos de 560px)
   El truco "(ANCHO - 100%) * 999" da un número enorme por debajo de ese ancho y negativo por encima,
   y clamp()/max()/min() eligen la medida de columna que corresponde. */
.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(clamp((100% - 60px) / 4 - 1px, (940px - 100%) * 999, (100% - 20px) / 2 - 1px), (520px - 100%) * 999)), 1fr));
  gap: 20px;
}
.facts,
.chain {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(clamp(25% - 1px, (940px - 100%) * 999, 50% - 1px), (520px - 100%) * 999)), 1fr));
}
.safe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max((100% - 40px) / 3 - 1px, (720px - 100%) * 999)), 1fr));
  gap: 20px;
}
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp((100% - 42px) / 4 - 1px, (560px - 100%) * 999, (100% - 14px) / 2 - 1px), 1fr));
  gap: 10px 14px;
}

/* Gerencias */
.ger {
  background: #fff;
}
/* Cada tarjeta ocupa 3 filas de la grilla (rótulo, pregunta, "En el sistema") y las
   comparte con las tarjetas vecinas: así "En el sistema" queda a la misma altura en todas. */
.role {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 16px;
  min-width: 0;
  padding: 28px 26px;
  border: 1px solid rgba(11, 37, 69, 0.14);
  border-radius: 22px;
  background: #f5f8fc;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.role:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 95, 191, 0.5);
  box-shadow: 0 24px 48px -28px rgba(11, 37, 69, 0.4);
}
.role small {
  font: 600 0.75rem 'Figtree', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f5fbf;
}
.role q {
  font: 700 1.3rem/1.22 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  quotes: none;
  color: #0b2545;
}
.role p {
  padding-top: 14px;
  border-top: 1px solid rgba(11, 37, 69, 0.14);
  font-size: 0.92rem;
  color: #111;
}
.role p b,
.mini span {
  display: block;
  margin-bottom: 4px;
  font: 600 0.7rem 'Figtree', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b7c7c;
}

/* Servicios */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid rgba(11, 37, 69, 0.14);
  border-radius: 24px;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(11, 37, 69, 0.35);
}
.c1,
.c2 {
  flex: 1 1 360px;
}
.card .num {
  display: block;
  margin-bottom: 14px;
  font: 700 0.8rem 'Figtree', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b7c7c;
}
.card .sub {
  margin-top: 8px;
  color: rgba(30, 47, 71, 0.76);
}
.card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.card li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
}
.card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #1f5fbf;
}
.c3 {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  border: 0;
  background: linear-gradient(135deg, #0b2f5b, #14508f);
  color: #fff;
}
.c3 > * {
  flex: 1 1 300px;
  min-width: 0;
}
.c3 .num {
  color: #4fd6bf;
}
.c3 .big {
  font: 800 clamp(1.6rem, 3vw, 2.4rem)/1.1 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  color: #fff;
}
.c3 .big em {
  font-style: normal;
  color: #f2a541;
}
.c3 .sub {
  margin-top: 14px;
}
.c3 .sub,
.c3 li {
  color: #d6e5f4;
}
.c3 li::before {
  background: #f2a541;
}
.c3 .vbox {
  margin-top: 24px;
}

/* Además */
.ademas {
  margin-top: 36px;
}
.ademas > h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.ademas > h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(11, 37, 69, 0.14);
}
.mini {
  min-width: 0;
  padding: 24px;
  border: 1.5px solid #1f5fbf;
  border-radius: 20px;
  background: #fff;
}
.mini span {
  margin-bottom: 8px;
  font-size: 0.75rem;
}
.mini b {
  display: block;
  font: 800 1.375rem 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: #0b2545;
}
.mini p {
  max-width: 46em;
  margin-top: 8px;
  font-size: 0.96rem;
  color: #111;
}

/* Flujo */
.flow {
  background: #fff;
  border-block: 1px solid rgba(11, 37, 69, 0.14);
}
.flow .head {
  margin-bottom: 24px;
}
.chain {
  position: relative;
  row-gap: 36px;
  margin-top: 24px;
}
/* Línea que une los pasos: solo se ve con las 4 columnas en fila (ancho 0 por debajo de 940px) */
.chain::before {
  content: '';
  position: absolute;
  left: 12.5%;
  top: 34px;
  width: clamp(0px, (100% - 940px) * 999, 75%);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #1f5fbf, #f2a541);
  transform-origin: left;
  animation: grow 3.2s ease-out both;
}
.step {
  position: relative;
  padding: 0 12px;
  text-align: center;
}
.step .ic {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #0b2f5b;
  box-shadow: 0 0 0 2px #1f5fbf;
  color: #fff;
  font: 800 1.4rem 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
}
.step:last-child .ic {
  background: #f2a541;
  box-shadow: 0 0 0 2px #f2a541;
  color: #2b1a00;
}
.step p {
  margin-top: 6px;
  font-size: 0.95rem;
  color: rgba(30, 47, 71, 0.76);
}

/* IA con criterio */
.safe div {
  padding: 26px;
  border-radius: 20px;
  background: #eaf0f8;
}
.safe b {
  display: block;
  margin-bottom: 6px;
  font: 700 1.15rem 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  color: #0b2f5b;
}
.safe p {
  font-size: 0.96rem;
  color: #3a5170;
}

/* Por qué Meditec */
.porque {
  background: linear-gradient(180deg, #fff, #eaf0f8);
}
.porque .eyebrow {
  font-size: 1rem;
  font-weight: 700;
}
.porque .head p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #1e2f47;
}
.facts {
  border-top: 2px solid #0b2545;
}
.fact {
  padding: 30px 24px 10px 0;
}
.fact b {
  display: block;
  font: 800 clamp(2.2rem, 4.4vw, 3.4rem)/1 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  color: #1f5fbf;
}
.fact span {
  display: block;
  margin-top: 10px;
  font-size: 0.98rem;
  color: #111;
}
.elig {
  margin-top: 44px;
}
.elig h3 {
  margin-bottom: 22px;
  font: 700 0.85rem 'Figtree', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(30, 47, 71, 0.76);
}
.logos {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(11, 37, 69, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(11, 37, 69, 0.35);
}
.logos div {
  display: grid;
  place-items: center;
  height: clamp(70px, 10vw, 88px);
  padding: 8px 14px;
  border-radius: 14px;
  transition: background 0.3s, transform 0.3s;
}
.logos div:hover {
  background: #f5f8fc;
  transform: translateY(-3px);
}
.logos img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Demo */
.demo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #14508f, #1f5fbf);
  color: #fff;
}
.demo .wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px;
}
.demo .wrap > * {
  flex: 1 1 0;
  min-width: min(100%, 360px);
}
.demo .eyebrow {
  color: #4fd6bf;
}
.demo h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
}
.demo .l p {
  max-width: 30em;
  margin-top: 18px;
  font-size: 1.1rem;
  color: #d3e2f3;
}
.demo ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.demo li::before {
  content: '✓';
  margin-right: 12px;
  font-weight: 800;
  color: #4fd6bf;
}
.ct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.95rem;
  color: #cfe0f3;
}
.ct code {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font: 500 0.95rem 'Figtree', 'Segoe UI', system-ui, sans-serif;
  overflow-wrap: anywhere;
  user-select: all;
}
.ct .btn {
  padding: 8px 16px;
}
.ct + .ct {
  margin-top: 12px;
}

/* Formulario */
form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
  border-radius: 26px;
  background: #fff;
  color: #0b2545;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.two {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.two label {
  flex: 1 1 180px;
}
label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 600;
}
label small {
  font-size: inherit;
  font-weight: 400;
  color: #8a96aa;
}
input,
textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid rgba(11, 37, 69, 0.14);
  border-radius: 12px;
  background: #f5f8fc;
  color: #0b2545;
  font: 400 1rem 'Figtree', 'Segoe UI', system-ui, sans-serif;
}
textarea {
  resize: vertical;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: #1f5fbf;
  background: #fff;
}
form .btn {
  justify-content: center;
}
.note {
  min-height: 1.4em;
  font-size: 0.88rem;
  color: #5d6f86;
}
.note.ok {
  font-weight: 600;
  color: #0b7c7c;
}

/* Pie */
footer {
  padding-block: 36px;
  background: #0b2f5b;
  color: #b9cfe6;
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
footer a,
footer b {
  color: #fff;
}

/* Animaciones */
.rise {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes rise {
  from {
    transform: translateY(22px);
  }
}
@keyframes drift {
  to {
    transform: translate(60px, -40px) scale(1.15);
  }
}
@keyframes float {
  to {
    transform: translateY(-24px) rotate(2deg);
  }
}
@keyframes carga {
  0%,
  6% {
    background-size: 0% 100%, 100% 100%;
  }
  62%,
  100% {
    background-size: 100% 100%, 100% 100%;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 163, 139, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(20, 163, 139, 0);
  }
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

/* Movimiento reducido: script.js agrega la clase "reduce-motion" al <html>
   si el sistema lo pide (reemplaza al media query prefers-reduced-motion). */
.reduce-motion {
  scroll-behavior: auto;
}
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
