/* =========================================================
   MONEX Grupo Financiero — Estilos globales
   Fuente de referencia: www.monex.com.mx/portal
   ========================================================= */

:root {
  --navy: #001865;
  --navy-soft: #0032a0;
  --blue: #009cde;
  --sky: #60b5e1;
  --sky-light: #e7f5fb;
  --steel: #436c86;
  --ink: #1f2d3d;
  --muted: #5c6b7a;
  --line: #e3eaf0;
  --white: #ffffff;
  --light: #f2f9fc;
  --yellow: #ffd200;
  --shadow-sm: 0 2px 10px rgba(0, 24, 101, .08);
  --shadow-md: 0 10px 30px rgba(0, 24, 101, .12);
  --radius: 14px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--light); }
.section-tight { padding: 48px 0; }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; }
.section-kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  line-height: 1.2;
}
.btn i { font-size: 13px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy-soft); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar-item i { color: var(--sky); }
.topbar-item:hover { color: #fff; }
.topbar-sep { color: rgba(255, 255, 255, .35); }
.topbar-cta { background: var(--blue); color: #fff; }
.topbar-cta:hover { background: var(--sky); color: var(--navy); }

/* ---------- Encabezado / navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.brand { display: block; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 13px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  white-space: nowrap;
}
.nav-link i { font-size: 10px; color: var(--sky); transition: transform .2s ease; }
.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--blue); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}

.has-sub { position: relative; }
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .nav-link i { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all .22s ease;
  border-top: 3px solid var(--blue);
}
.submenu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.submenu a i { color: var(--blue); font-size: 10px; }
.submenu a:hover { background: var(--sky-light); color: var(--navy); }
.submenu a.active { background: var(--sky-light); color: var(--navy); font-weight: 700; }

.nav-toggle {
  display: none;
  background: var(--navy);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Menú móvil ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 88vw);
    height: 100vh;
    background: #fff;
    z-index: 1200;
    overflow-y: auto;
    transition: right .3s ease;
    box-shadow: -10px 0 40px rgba(0, 24, 101, .15);
    padding: 20px;
  }
  .main-nav.open { right: 0; }
  .main-nav .nav-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: var(--sky-light); border-radius: 10px; }
  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding: 0 0 6px 14px;
    display: none;
    background: var(--light);
    border-radius: 10px;
    margin-bottom: 6px;
  }
  .submenu.open { display: block; }
  .submenu a { padding: 11px 12px; }
  .has-sub.mobile-open > .nav-link i { transform: rotate(180deg); }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 24, 101, .45);
    z-index: 999; /* por debajo del header (1000) para no tapar el menú lateral */
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
}

.nav-close { display: none; }
.nav-close button {
  background: transparent;
  border: 0;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
}
.nav-close .brand img { height: 34px; }

/* ---------- Banner principal (inicio) ---------- */
.hero-slider {
  position: relative;
  background: linear-gradient(135deg, #dff2fb 0%, #e7f5fb 45%, #cfe9f7 100%);
  overflow: hidden;
}
.hero-slide {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 60px 0;
}
.hero-slide-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 156, 222, .12);
  color: var(--navy-soft);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-slide h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-slide p {
  color: var(--steel);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { display: flex; justify-content: center; }
.hero-media img {
  width: min(420px, 100%);
  filter: drop-shadow(0 18px 30px rgba(0, 24, 101, .18));
}
.hero-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  pointer-events: none;
}
.hero-deco.d1 { width: 340px; height: 340px; top: -120px; right: -80px; }
.hero-deco.d2 { width: 180px; height: 180px; bottom: -60px; left: 6%; background: rgba(0, 156, 222, .10); }

.hero-slider .swiper-pagination { bottom: 20px; }
.hero-slider .swiper-pagination-bullet { width: 28px; height: 5px; border-radius: 4px; background: rgba(0, 24, 101, .3); opacity: 1; }
.hero-slider .swiper-pagination-bullet-active { background: var(--blue); }
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after { font-size: 16px; font-weight: 700; }

/* ---------- Banda de tipo de cambio ---------- */
.fx-ticker {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.fx-ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: fx-scroll 30s linear infinite;
}
.fx-ticker:hover .fx-ticker-track { animation-play-state: paused; }
.fx-ticker-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 14px; }
.fx-ticker-item .c { color: var(--sky); font-weight: 700; }
.fx-ticker-item .v { color: #fff; font-weight: 600; }
.fx-ticker-item .flag { color: var(--yellow); }
.fx-ticker-note {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 2;
}
@keyframes fx-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Tarjetas ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all .25s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-light);
  color: var(--navy-soft);
  font-size: 24px;
  margin-bottom: 18px;
}
.card-icon img { width: 32px; height: 32px; }
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--blue); }
.card-link i { font-size: 11px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Página interior: héroe ---------- */
.page-hero {
  position: relative;
  padding: 84px 0 76px;
  color: var(--navy);
  background: linear-gradient(120deg, #eaf6fc 0%, #d7edf9 55%, #c5e6f7 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  top: -160px;
  right: -120px;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(0, 156, 222, .10);
  bottom: -80px;
  left: 8%;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--steel);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb i { font-size: 9px; color: var(--sky); }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--navy);
}
.page-hero-sub { max-width: 720px; font-size: 17px; color: var(--steel); margin-bottom: 26px; }
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-media {
  position: absolute;
  right: 4%;
  bottom: -10px;
  width: 320px;
  opacity: .9;
  pointer-events: none;
}
@media (max-width: 900px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero-media { display: none; }
}

/* ---------- Introducción de página ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.intro-text h2 { color: var(--navy); font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; line-height: 1.3; }
.intro-text p { color: var(--muted); margin-bottom: 14px; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-media {
  background: linear-gradient(145deg, var(--sky-light), #d5ecf9);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
}
.intro-media img { width: min(300px, 100%); margin: 0 auto; }
.intro-media .media-caption { margin-top: 14px; color: var(--steel); font-size: 14px; }

/* ---------- Listas ---------- */
.check-list { margin-top: 18px; display: grid; gap: 10px; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 15px;
}
.check-list li i { color: var(--blue); margin-top: 4px; font-size: 13px; }

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue);
  transition: all .25s ease;
  height: 100%;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card .card-icon { background: var(--navy); color: #fff; }
.feature-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* ---------- Pasos ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 24px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 18px;
}
.step-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0 auto 26px; font-size: 16px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Estadísticas ---------- */
.stats-band { background: var(--sky-light); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat h3 { font-size: clamp(30px, 3.4vw, 42px); color: var(--navy); line-height: 1.1; }
.stat h3 span { color: var(--blue); }
.stat p { color: var(--steel); font-size: 14px; margin-top: 6px; }

/* ---------- Noticias ---------- */
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: all .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-date { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.news-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: var(--muted); font-size: 14px; flex: 1; }
.news-card .card-link { margin-top: 16px; }

/* ---------- Acordeón ---------- */
.accordion { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.acc-item.open { box-shadow: var(--shadow-sm); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}
.acc-head i { color: var(--blue); transition: transform .25s ease; font-size: 13px; }
.acc-item.open .acc-head i { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 20px 20px; color: var(--muted); font-size: 14.5px; }
.acc-item.open .acc-body { display: block; }
.acc-body p { margin-bottom: 10px; }
.acc-body ul { display: grid; gap: 8px; }
.acc-body ul li { display: flex; gap: 8px; }
.acc-body ul li i { color: var(--blue); margin-top: 4px; font-size: 11px; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
.table-wrap th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
}
.table-wrap td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.table-wrap tr:nth-child(even) td { background: var(--light); }

/* ---------- Mapa de sitio ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sitemap-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.sitemap-col h3 { color: var(--navy); font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--sky-light); }
.sitemap-col ul { display: grid; gap: 8px; }
.sitemap-col a { color: var(--steel); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.sitemap-col a i { color: var(--blue); font-size: 10px; }
.sitemap-col a:hover { color: var(--navy); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 26px;
  text-align: center;
  transition: all .25s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .card-icon { margin: 0 auto 16px; }
.contact-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.contact-card a { color: var(--blue); font-weight: 600; font-size: 14px; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 36px;
  padding: 60px 20px 44px;
}
.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: all .25s ease;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  font-size: 12.5px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255, 255, 255, .72); margin-left: 14px; }
.footer-bottom a:hover { color: var(--sky); }

/* ---------- Varios ---------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 900;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--blue); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.lead-text { font-size: 17px; color: var(--steel); }
.text-center { text-align: center; }
.mt-2 { margin-top: 18px; }
.mb-2 { margin-bottom: 18px; }

/* ---------- Páginas interiores: bloques de contenido ---------- */
.content-block { max-width: 900px; margin: 0 auto 40px; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 {
  color: var(--navy);
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 14px;
  line-height: 1.3;
}
.content-block h3 { color: var(--navy); font-size: 18px; margin: 18px 0 8px; }
.content-block p { color: var(--muted); margin-bottom: 12px; }
.content-block ul { display: grid; gap: 8px; margin: 12px 0; }
.content-block ul li { display: flex; gap: 10px; color: var(--ink); font-size: 15px; }
.content-block ul li i { color: var(--blue); margin-top: 4px; font-size: 12px; }
.content-block .table-wrap { margin: 18px 0; }

.reqs-band {
  background: var(--light);
  border-radius: var(--radius);
  padding: 34px;
  max-width: 900px;
  margin: 0 auto;
}
.reqs-band h3 { color: var(--navy); font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.reqs-band h3 i { color: var(--blue); }

.children-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.child-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px 24px;
  transition: all .25s ease;
  display: block;
  height: 100%;
}
.child-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.child-card .card-icon { background: var(--navy); color: #fff; }
.child-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.child-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.child-card span { color: var(--blue); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.child-card span i { font-size: 10px; }

.link-list { display: grid; gap: 12px; max-width: 760px; }
.link-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: all .25s ease;
}
.link-list a i:first-child { color: var(--blue); font-size: 18px; width: 24px; text-align: center; }
.link-list a i:last-child { margin-left: auto; color: var(--sky); font-size: 12px; }
.link-list a:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--navy); }

.app-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
  transition: all .25s ease;
}
.app-badge i { font-size: 22px; color: var(--sky); }
.app-badge:hover { background: var(--navy-soft); color: #fff; transform: translateY(-2px); }

.logo-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.logo-strip .pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-strip .pill i { color: var(--blue); }

.press-list { max-width: 900px; margin: 0 auto; display: grid; gap: 18px; }
.press-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all .25s ease;
}
.press-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.press-item .press-date {
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  min-width: 74px;
  font-size: 12px;
  line-height: 1.3;
}
.press-item .press-date b { display: block; font-size: 20px; }
.press-item h3 { color: var(--navy); font-size: 17px; margin-bottom: 6px; line-height: 1.4; }
.press-item p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.press-item a { font-size: 13.5px; font-weight: 700; color: var(--blue); }

.map-placeholder {
  background: linear-gradient(135deg, #dff2fb, #bfe3f6);
  border-radius: 20px;
  padding: 60px 30px;
  text-align: center;
  color: var(--navy);
}
.map-placeholder i { font-size: 44px; color: var(--blue); margin-bottom: 14px; }
.map-placeholder h3 { font-size: 20px; margin-bottom: 8px; }
.map-placeholder p { color: var(--steel); font-size: 14px; max-width: 520px; margin: 0 auto; }

.legal-note {
  background: var(--light);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 13.5px;
  margin: 22px auto 0;
  max-width: 900px;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .section { padding: 56px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-slide-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-slide p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { order: -1; }
  .hero-media img { width: min(280px, 70%); }
  .hero-slide { min-height: 460px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 44px 0; }
  .grid-2, .grid-3, .grid-4, .steps-grid, .stats-grid, .contact-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .children-grid { grid-template-columns: 1fr; }
  .press-item { flex-direction: column; }
  .reqs-band { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar-right .topbar-item:first-child { display: none; }
  .topbar-cta { padding: 6px 12px; font-size: 12px; }
  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev { display: none; }
  .brand img { height: 36px; }
  .navbar-inner { min-height: 64px; }
  .btn { padding: 11px 20px; font-size: 14px; }
}
