/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}

body.scrolled .logo-hero {
  animation: none;

  opacity: calc(1 - var(--scroll));
  transform: 
    scale(calc(1 - (0.15 * var(--scroll))))
    translateY(calc(-20px * var(--scroll)));
}

section {
  border-top: 1px solid #f1f5f9;
}

.titulo {
  margin-top: 140px;
  text-align: center;
  font-weight: 400;
  font-size: 32px;
}

.contenido {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-hero {
  padding: 170px 20px 90px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #475569;
  font-size: 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 16px;
}

.section-heading p {
  color: #475569;
  font-size: 18px;
}

.fila {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #e2e8f0;
}

.fila span {
  color: #64748b;
}

/* =========================
   ASOCIACION
========================= */
.asociacion-intro,
.asociacion-funciones,
.asociacion-valores,
.asociacion-beneficios {
  padding: 110px 0;
}

.asociacion-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.asociacion-card,
.funcion-card,
.beneficio-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.asociacion-card {
  padding: 34px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
}

.asociacion-card h2 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 18px;
}

.asociacion-card p {
  color: #475569;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.asociacion-card p:last-child {
  margin-bottom: 0;
}

.asociacion-highlight {
  padding: 110px 20px;
  background: #f8fafc;
}

.asociacion-highlight-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.asociacion-highlight h2 {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 22px;
}

.asociacion-highlight p {
  color: #475569;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.funciones-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.funcion-card {
  padding: 28px;
  background: #f8fafc;
}

.funcion-card h3 {
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 12px;
}

.funcion-card p {
  color: #475569;
}

.asociacion-valores {
  background: #f8fafc;
}

.valores-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.valores-list span {
  padding: 12px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #ffffff;
  color: #1e293b;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.beneficio-item {
  padding: 22px 24px;
  position: relative;
  padding-left: 54px;
  color: #334155;
  line-height: 1.7;
}

.beneficio-item::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 22px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #2563eb;
  border-radius: 4px;
}

.asociacion-cta {
  margin-top: 34px;
}

/* =========================
   PROFESION
========================= */
.profesion-intro,
.profesion-formacion,
.profesion-habilitacion,
.profesion-funciones,
.profesion-limites,
.profesion-despachos,
.profesion-registro,
.profesion-normativa {
  padding: 110px 0;
}

.profesion-formacion,
.profesion-limites,
.profesion-registro {
  background: #f8fafc;
}

.profesion-grid,
.profesion-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.profesion-stack {
  display: grid;
  gap: 18px;
}

.legal-list,
.normativa-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.legal-list div,
.normativa-list div {
  position: relative;
  padding-left: 28px;
  color: #334155;
  line-height: 1.7;
}

.legal-list div::before,
.normativa-list div::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1.5px solid #2563eb;
  border-radius: 4px;
}

.number-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  counter-reset: profession-items;
}

.number-list div {
  position: relative;
  padding-left: 46px;
  color: #334155;
  line-height: 1.7;
}

.number-list div::before {
  counter-increment: profession-items;
  content: counter(profession-items);
  position: absolute;
  top: 2px;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* =========================
   LEGAL
========================= */
.legal-section {
  padding: 110px 0;
  background: #f8fafc;
}

.legal-stack {
  display: grid;
  gap: 22px;
}

.legal-card {
  padding: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.legal-card h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 16px;
}

.legal-card p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: #2563eb;
}

/* =========================
   HEADER / NAV
========================= */
/* HEADER BASE */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: transparent;
  transition: all 0.35s ease;
}

.header {
  --scroll: 0;

  background: rgba(255,255,255, calc(var(--scroll) * 0.95));
  backdrop-filter: blur(calc(var(--scroll) * 6px));

  box-shadow: 0 5px 20px rgba(0,0,0, calc(var(--scroll) * 0.05));

  transition: none; /* importante */
}

/* CUANDO HACES SCROLL */

/* CONTENEDOR */
.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 25px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s ease;
}

.nav-container {
  padding: calc(28px - (16px * var(--scroll))) 20px;
}

/* MENÚ MÁS COMPACTO AL SCROLL */
.header.scrolled .nav-container {
  padding: 12px 20px;
}

/* HERO LOGO */
#hero-trigger {
  position: absolute;
  top: 25%;
  left: 0;
  width: 100%;
  height: 1px;
}

/* MENU */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(calc(16px * var(--scroll)));
}

.nav-primary {
  align-items: center;
}

.nav-secondary {
  justify-content: center;
  gap: 12px;
}

nav a {
  text-decoration: none;
  color: #1e293b;
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: #2563eb;
}

/* ESTADO INICIAL */
.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 28px 20px;

  display: flex;
  justify-content: center; /* 🔥 clave */
  align-items: center;

  position: relative; /* 🔥 necesario */
}

.nav-group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  gap: calc(16px * var(--scroll));
}

/* CUANDO HAY SCROLL */
.header.scrolled .nav-container {
  padding: 12px 20px;
}

/* BOTÓN ASOCIARSE MÁS FINO */
.btn-asociarse {
  border-bottom: 1px solid #2563eb;
}

/* CLUB MÁS PRO */
.btn-club {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-club:hover {
  background: #2563eb;
  color: white;
}

.btn-bolsa {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-bolsa:hover {
  background: #2563eb;
  color: white;
}

/* MAPA (botón secundario elegante) */
.btn-mapa {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;

  letter-spacing: 0.3px;
}

/* HOVER */
.btn-mapa:hover {
  background: #2563eb;
  color: white;
}

.btn-mapa::after,
.btn-club::after,
.btn-bolsa::after,
.btn-asociarse::after {
  display: none;
}

.btn-bolsa {
  order: 97;
}

.btn-mapa {
  order: 98;
}

.btn-club {
  order: 99;
}

/* HOVER MÁS SUAVE */
nav a {
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #2563eb;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 38px;
  cursor: pointer;
  position: absolute;
  left: 20px;
}



/* =========================
   HERO PREMIUM
========================= */
.hero-premium {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-inner {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 11px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.line {
  width: 60px;
  height: 2px;
  background: #2563eb;
  margin: 30px auto 30px;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-premium h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.08;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.1s forwards;
}

.hero-premium p {
  margin-top: 20px;
  color: #64748b;
  font-size: 20px;
  max-width: 540px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}

/* CTA */
.cta {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid #2563eb;
  color: #2563eb;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.cta:hover {
  background: #2563eb;
  color: white;
}

.hero-link {
  color: #1e293b;
  text-decoration: none;
  font-size: 15px;
}

.hero-link:hover {
  color: #2563eb;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.12);
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -18px 22px auto auto;
  width: 130px;
  height: 130px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(191, 219, 254, 0.35));
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 20px;
}

.hero-note {
  position: absolute;
  left: -34px;
  bottom: 26px;
  max-width: 270px;
  padding: 18px 20px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.1);
}

.hero-note-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #1d4ed8;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-note p {
  margin-top: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  opacity: 1;
  animation: none;
}

/* =========================
   MANIFIESTO
========================= */
.manifiesto {
  padding: 120px 20px;
  background: #f8fafc;
}

.manifiesto-inner {
  max-width: 800px;
  margin: auto;
}

.manifiesto p {
  font-size: 22px;
  margin-bottom: 30px;
}

.manifiesto-line {
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.institucional {
  padding: 120px 20px;
  background: #f8fafc;
}

.institucional-inner {
  max-width: 700px;
  margin: auto;
  text-align: left;
}

.institucional .line {
  width: 50px;
  height: 2px;
  background: #2563eb;
  margin-bottom: 20px;
}

.institucional h2 {
  font-weight: 400;
  margin-bottom: 20px;
}

.institucional p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 20px;
}

/* =========================
   ACTUALIDAD
========================= */
.actualidad {
  padding: 110px 20px;
  background: #ffffff;
}

.actualidad-inner {
  max-width: 1100px;
  margin: auto;
}

.actualidad .line {
  width: 50px;
  height: 2px;
  background: #2563eb;
  margin: 0 0 20px;
}

.actualidad-head {
  max-width: 720px;
  margin-bottom: 45px;
}

.actualidad-head h2 {
  margin-bottom: 18px;
}

.actualidad-head p {
  font-size: 18px;
  color: #475569;
}

.actualidad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.actualidad-card {
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.actualidad-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.actualidad-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.actualidad-card h3 {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 14px;
}

.actualidad-card p {
  color: #475569;
  margin-bottom: 24px;
}

.actualidad-card a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.actualidad-card a:hover {
  color: #1d4ed8;
}

.actualidad-cta {
  margin-top: 36px;
}

.noticia-meta {
  margin-bottom: 12px;
  color: #64748b;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* =========================
   NOTICIAS
========================= */
.noticias-featured,
.noticias-listado,
.noticias-cta {
  padding: 110px 0;
}

.noticias-featured {
  background: #f8fafc;
}

.noticia-destacada {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.noticia-destacada-copy,
.noticia-side-card,
.noticias-cta-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.noticia-destacada-copy {
  padding: 38px;
}

.noticia-destacada-copy h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 18px;
}

.noticia-destacada-copy p {
  color: #475569;
  font-size: 18px;
  line-height: 1.8;
}

.noticia-destacada-copy .btn-primary {
  margin-top: 30px;
}

.noticia-destacada-side {
  display: flex;
}

.noticia-side-card {
  width: 100%;
  padding: 32px;
  align-self: stretch;
}

.noticia-side-card h3 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 14px;
}

.noticia-side-card p {
  color: #475569;
  line-height: 1.8;
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.noticias-cta {
  background: #f8fafc;
}

.noticias-cta-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px;
  text-align: center;
}

.noticias-cta-box h2 {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 18px;
}

.noticias-cta-box p {
  color: #475569;
  font-size: 18px;
  line-height: 1.8;
}

/* =========================
   ICONO
========================= */

.titulo-icono {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}

.icono {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono svg {
  width: 100%;
  height: 100%;
  stroke: #2563eb;
  stroke-width: 1.3;
  fill: none;
}

.icono svg {
  stroke: #1d4ed8;
  opacity: 0.9;
}

/* ICONO BASE */
.icono-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-box svg {
  width: 100%;
  height: 100%;
  stroke: #1d4ed8;
  stroke-width: 1.2;
  fill: none;
}

/* TÍTULOS */
.titulo-icono {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}

.icono-box {
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.titulo-icono:hover .icono-box {
  transform: translateY(-2px);
}

/* =========================
   MENSAJES
========================= */
.mensaje {
  padding: 100px 20px;
}

.container {
  max-width: 900px;
  margin: auto;
}

.mensaje p {
  font-size: 20px;
  margin-bottom: 25px;
}

/* =========================
   SPLIT
========================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 120px 20px;
}

.split-text h2 {
  font-weight: 400;
  margin-bottom: 15px;
}

.split-text p {
  color: #475569;
  font-size: 18px;
}

.split-img img {
  width: 100%;
  border-radius: 6px;
}

.split.reverse {
  direction: rtl;
}

.split.reverse .split-text {
  direction: ltr;
}

/* =========================
   JUNTA
========================= */
.junta-premium {
  padding: 120px 20px;
  text-align: center;
}

.junta-premium h2 {
  font-weight: 400;
  margin-bottom: 50px;
}

.tabla {
  max-width: 700px;
  margin: auto;
}

.fila {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #e2e8f0;
}

.fila span {
  color: #64748b;
}

/* =========================
   ÁMBITO
========================= */
.ambito {
  padding: 120px 20px;
  text-align: center;
}

.ambito-inner {
  max-width: 700px;
  margin: auto;
}

.ambito p {
  color: #64748b;
}

/* =========================
   CTA FINAL
========================= */
.cta-final {
  padding: 120px 20px;
  background: #0f172a;
  color: white;
  text-align: center;
}

.cta-final p {
  color: #cbd5f5;
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 22px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* =========================
   COOKIES MODAL
========================= */
.cookies-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  z-index: 2000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookies-modal.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.cookies-notice-dismissed .cookies-modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cookies-modal-panel {
  width: min(100%, 460px);
  padding: 32px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  text-align: left;
}

.cookies-modal-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookies-modal-panel h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #0f172a;
}

.cookies-modal-panel p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.cookies-modal-button {
  margin-top: 24px;
  padding: 12px 20px;
  border: 1px solid #2563eb;
  border-radius: 6px;
  background: #2563eb;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cookies-modal-button:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 250px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid #1e293b;
}

.footer-legal a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 13px;
  text-align: center;
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease;
}
