/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */
:root {
  --navy: #1f438c;
  --navy-dk: #162f63;
  --cyan: #049dd9;
  --gold-dk: #bf820f;
  --gold: #f2b138;
  --bg-light: #f2f2f2;
  --white: #ffffff;
  --text: #2c2c2c;
  --muted: #666666;
  --border: #e2e6ee;
  --f-head: "Montserrat", sans-serif;
  --f-body: "Nunito", sans-serif;
  --t: 0.22s ease;
  --sec-py: 52px;
  --radius: 8px;
  --shadow-sm: 0 2px 12px rgba(31, 67, 140, 0.1);
  --shadow-card: 0 4px 20px rgba(31, 67, 140, 0.09);
}

/* ══════════════════════════════════════════
   BASE
══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
.img-ph {
  background: #e8ecf3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8bfcf;
}
body.mobile-nav-active {
  overflow: hidden;
}
body.mobile-nav-active::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1048;
}
/* ══════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-head);
  font-weight: 700;
}
h1,
.text-primary {
  --bs-text-opacity: 1;
  color: var(--navy) !important;
}
h3 {
  color: var(--navy) !important;
}
h2 {
  color: var(--cyan) !important;
}
.text-gold {
  color: var(--gold-dk);
}
.sec-title {
  font-family: var(--f-head);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.sec-desc {
  font-family: var(--f-body);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 680px;
  margin-inline: auto;
}
iframe {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
}
.label.tags {
  display: none !important;
}

span.value span {
  margin: 2px !important;
}
/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--t);
}
.btn-gold:hover {
  background: var(--gold-dk);
  color: var(--white);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--t);
}
.btn-navy:hover {
  background: var(--navy-dk);
  color: var(--white);
}

.link-more {
  color: var(--navy);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition:
    color var(--t),
    gap var(--t);
}
.link-more:hover {
  color: var(--gold-dk);
  gap: 0.5rem;
}

/* ══════════════════════════════════════════
   TOP COLOR BAR
══════════════════════════════════════════ */
.top-bar {
  display: flex;
  height: 5px;
  width: 100%;
  position: relative;
  z-index: 1061;
}
.top-bar span {
  flex: 1;
  display: block;
}
.top-bar__navy {
  background: var(--navy);
}
.top-bar__cyan {
  background: var(--cyan);
}
.top-bar__gold-dk {
  background: var(--gold-dk);
}
.top-bar__gold {
  background: var(--gold);
}

/* ══════════════════════════════════════════
   SITE HEADER
══════════════════════════════════════════ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px 16px;
  transition: box-shadow var(--t);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(31, 67, 140, 0.1);
  border-radius: var(--radius);
}

.site-header__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-header__logo {
  height: 54px;
  width: auto;
}

.site-header__nav-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

/* ══════════════════════════════════════════
   NAVMENU
══════════════════════════════════════════ */
.navmenu {
  display: flex;
  align-items: center;
  position: relative;
}

.navmenu > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.navmenu > ul > li {
  list-style: none;
  position: relative;
}

.navmenu > ul > li > a.navlink,
.navmenu > ul > li > span.navlink {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--navy);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
  transition: color var(--t);
}
.navmenu > ul > li > a.navlink:hover,
.navmenu > ul > li.current > a.navlink {
  color: var(--gold-dk);
}

.navmenu .toggle-dropdown {
  font-size: 10px;
  margin-left: 4px;
  transition: transform var(--t);
}
.navmenu .dropdown.dropdown-active > a.navlink .toggle-dropdown {
  transform: rotate(180deg);
}

/* Dropdown desktop */
.navmenu .dropdown {
  position: relative;
}
.navmenu .dropdown > ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 8px;
  min-width: 240px;
  list-style: none;
  margin: 0;
  z-index: 200;
}
.navmenu .dropdown.dropdown-active > ul {
  display: block;
}

.navmenu .dropdown > ul li {
  list-style: none;
}
.navmenu .dropdown > ul a {
  font-family: var(--f-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    background var(--t),
    color var(--t);
  white-space: normal;
  line-height: 1.3;
}
.navmenu .dropdown > ul a:hover {
  background: rgba(31, 67, 140, 0.07);
  color: var(--navy);
}
.navmenu .dropdown > ul a.active {
  background: rgba(242, 177, 56, 0.15);
  color: var(--gold-dk);
  font-weight: 600;
}
.navmenu .dropdown > ul li:first-child > a {
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.navmenu .dropdown > ul .dropdown-divider {
  border-color: rgba(31, 67, 140, 0.12);
  margin: 4px 8px;
}
.dropdown-thumb {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Búsqueda */
.nav-search-btn {
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.2rem;
  padding: 0.35rem 0.4rem;
  cursor: pointer;
  margin-left: 0.25rem;
  flex-shrink: 0;
  transition: color var(--t);
}
.nav-search-btn:hover {
  color: var(--gold-dk);
}

/* Mobile toggle — oculto en desktop */
.mobile-nav-toggle {
  display: none;
}

/* ══════════════════════════════════════════
   SOCIAL SIDEBAR
══════════════════════════════════════════ */
.social-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1030;
  display: flex;
  flex-direction: column;
}
.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 0.78rem;
  color: var(--white);
  text-decoration: none;
  transition: opacity var(--t);
}
.social-sidebar a:hover {
  opacity: 0.82;
}
.ss-fb {
  background: #1877f2;
}
.ss-li {
  background: #0a66c2;
}
.ss-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}
.ss-yt {
  background: #ff0000;
}
.ss-tt {
  background: #010101;
}

/* ══════════════════════════════════════════
   INTRO
══════════════════════════════════════════ */
.intro-section {
  padding: 1.5rem 0 1.35rem;
  border-bottom: 1px solid #eaecf2;
}
.intro-section p {
  font-family: var(--f-body);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
  color: var(--text);
}
.intro-section strong {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--navy);
}

/* ══════════════════════════════════════════
   EJES DE INFLUENCIA
══════════════════════════════════════════ */
.ejes-section {
  padding: var(--sec-py) 0;
}

.ejes-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.75rem 0 2rem;
}
.ejes-tab {
  background: var(--navy);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.76rem;
  border: none;
  padding: 0.52rem 1.05rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t);
}
.ejes-tab:hover {
  background: var(--navy-dk);
  color: var(--white);
}
.ejes-tab.active {
  background: var(--gold);
  color: var(--white);
}

/* Imagen circular — sin padding, solo recorte */
.ejes-section .filedisplay img,
.ejes-section .filedisplayer img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  display: block !important;
}

/* Stats */
.eje-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border-left: 3px solid var(--gold);
}
.eje-stat-card__num {
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.eje-stat-card__num i {
  font-size: 1.4rem;
  color: var(--gold);
}
.eje-stat-card__text {
  font-family: var(--f-body);
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .eje-stat-card {
    border-left: none;
    border-top: 3px solid var(--gold);
    padding: 0.75rem 0;
  }
}

/* ══════════════════════════════════════════
   MEDIA STRIP
══════════════════════════════════════════ */
.media-strip {
  background: var(--bg-light);
  padding: 1.5rem 0;
}
.media-strip__inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.media-strip__block {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
  min-width: 250px;
}
.media-strip__thumb {
  width: 86px;
  height: 65px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.media-strip__thumb .img-ph {
  width: 100%;
  height: 100%;
  font-size: 1.1rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.25);
}
.media-strip__pdf {
  width: 58px;
  height: 65px;
  border-radius: 5px;
  background: var(--gold-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--white);
  flex-shrink: 0;
}
.ms-label {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--gold-dk);
  margin-bottom: 0.18rem;
}
.ms-title {
  font-family: var(--f-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.media-strip__sep {
  width: 1px;
  height: 72px;
  background: rgba(31, 67, 140, 0.18);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   RESEÑAS
══════════════════════════════════════════ */
.resenas-section {
  padding: var(--sec-py) 0;
}

.resena-card {
  border: none;
  border-radius: var(--radius);
  overflow: visible;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition:
    box-shadow var(--t),
    transform var(--t);
}
.resena-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

/* Imagen — mismo truco que gallery */
.resena-card__img {
  position: relative;
  width: 100%;
  padding-top: 62%; /* relación del contenedor */
  overflow: hidden;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: #f5f5f5;
}

.resena-card__img a {
  position: absolute;
  inset: 0;
  display: block;
}

.resena-card__img img,
.resena-card__img a img {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  border-radius: var(--radius);

  /* LA CLAVE */
  object-fit: contain !important;
  object-position: center center !important;

  transform: translate(-50%, -50%) scale(1.1) !important;
  transition: transform 0.4s ease;
}

.resena-card:hover .resena-card__img img,
.resena-card:hover .resena-card__img a img {
  transform: translate(-50%, -50%) scale(1.1) !important;
}
/* Body */
.resena-card__body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Título */
.resena-card__title {
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.resena-card__title a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--t);
}
.resena-card__title a:hover {
  color: var(--gold-dk);
}

/* Texto — truncado 3 líneas */
.resena-card__text {
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.62;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resena-card__text em,
.resena-card__text a {
  display: none;
}

/* Botón — full width, centrado, con borde */
.resena-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  background: none;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--t),
    color var(--t);
  margin-top: auto;
}
.resena-card__btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* Ver todas — flecha dorada */
.resenas-section .text-end .link-more i {
  color: var(--gold);
}
.resenas-section .text-end .link-more:hover i {
  color: var(--gold-dk);
}
/* ── Fecha en card ── */
.resena-card__body .date {
  display: block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* ── Tags ── */
.resena-card__body .label.tags {
  display: none; /* oculta el label "Tags:" */
}

.resena-card__body .value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}

.resena-card__body .tag a {
  display: inline-flex;
  align-items: center;
  background: rgba(4, 157, 217, 0.12);
  color: var(--cyan);
  font-family: var(--f-head);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 20px;
  text-decoration: none;
  transition:
    background var(--t),
    color var(--t);
}
.resena-card__body .tag a:hover {
  background: var(--cyan);
  color: var(--white);
}
/* ── Fecha ── */
.resena-card__body .date {
  display: block;
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

/* ── Tags — sobrescribe Bootstrap ── */
.resena-card__body .label.tags {
  display: none;
}

.resena-card__body .value {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
}

span.value span.tag a {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  height: auto !important;
  line-height: 1 !important;
  padding: 0.25rem 0.75rem !important;
  background-color: rgba(4, 157, 217, 0.12) !important;
  border-radius: 20px !important;
  color: var(--cyan) !important;
  font-family: var(--f-head) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition:
    background var(--t),
    color var(--t) !important;
  z-index: 3;
}
span.value span.tag a:hover {
  background-color: var(--cyan) !important;
  color: var(--white) !important;
}

/* Ocultar el pseudo-elemento triangulo del tag Bootstrap */
span.value span.tag a::before,
span.value span.tag a::after {
  display: none !important;
}
.resena-card__body span.value span {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* ══════════════════════════════════════════
   IMÁGENES Y VIDEOS
══════════════════════════════════════════ */
.media-section {
  padding: var(--sec-py) 0;
  background: var(--bg-light);
}

.video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #1a3070;
}
.video-wrap .vw-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  background: #1a3070;
  color: rgba(255, 255, 255, 0.1);
}
.vw-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.vw-play-btn {
  width: 52px;
  height: 52px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition:
    transform var(--t),
    background var(--t);
}
.vw-play-btn:hover {
  transform: scale(1.1);
  background: var(--gold-dk);
}
.vw-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  z-index: 3;
  transition: background var(--t);
}
.vw-nav:hover {
  background: rgba(255, 255, 255, 0.35);
}
.vw-prev {
  left: 9px;
}
.vw-next {
  right: 9px;
}
.vw-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: var(--white);
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 1.5rem 0.85rem 0.6rem;
}
.gc-img {
  height: 135px;
  width: 100%;
  font-size: 1.7rem;
  border-radius: 6px;
}
.gc-name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy);
  line-height: 1.3;
  margin: 0.55rem 0 0.45rem;
}
.gc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border: 1px solid var(--navy);
  background: none;
  color: var(--navy);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background var(--t),
    color var(--t);
}
.gc-btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* ══════════════════════════════════════════
   GRUPO GEMM
══════════════════════════════════════════ */
.gemm-section {
  padding: var(--sec-py) 0;
}
.gemm-logo {
  height: 50px;
  width: auto;
  margin: 0 auto 1.35rem;
}
.gemm-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-family: var(--f-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.gemm-divider::before,
.gemm-divider::after {
  content: "";
  display: block;
  height: 2px;
  width: 70px;
  background: var(--gold);
}
.empresa-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    box-shadow var(--t),
    transform var(--t);
}
.empresa-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.empresa-item img {
  height: 34px;
  width: auto;
  object-fit: contain;
}
/* ══════════════════════════════════════════
   LOGOS GEMM
══════════════════════════════════════════ */
.logos-carousel-wrapper {
  overflow: visible;
  position: relative;
  padding: 0 !important;
}

.logos-carousel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.logos-slide {
  flex: 0 0 calc(16.666% - 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-width: 100%;
  transition:
    transform var(--t),
    opacity var(--t);
}
.logo-item:hover .logo-img {
  transform: scale(1.05);
  opacity: 0.85;
}

.logos-arrow {
  display: none !important;
}

@media (max-width: 991px) {
  .logos-slide {
    flex: 0 0 calc(33.333% - 1.5rem);
  }
}
@media (max-width: 575px) {
  .logos-slide {
    flex: 0 0 calc(50% - 1.5rem);
  }
}
/* ══════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════ */
.contact-section {
  background: var(--white);
  padding: 1.75rem 0 1.25rem;
}

.contact-label {
  font-family: var(--f-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

/* Campos */
.fmm-field {
  width: 100%;
  border: 1px solid #d0d6e4;
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  font-family: var(--f-body);
  font-size: 0.83rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  display: block;
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.fmm-field:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 67, 140, 0.12);
}
.fmm-field::placeholder {
  color: #bbb;
}
textarea.fmm-field {
  resize: none;
}

/* Textarea + botón dentro */
.contact-textarea-wrap {
  position: relative;
}
.contact-textarea-wrap textarea {
  padding-bottom: 3rem;
}
.contact-textarea-wrap .btn-send {
  position: absolute;
  bottom: 8px;
  right: 8px;
  margin: 0;
}

/* Botón enviar */
.btn-send {
  background: var(--gold);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.78rem;
  border: none;
  padding: 0.42rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background var(--t);
}
.btn-send:hover {
  background: var(--gold-dk);
}
.btn-send i {
  color: var(--white);
}

/* Checkboxes — sobrescribe Bootstrap */
.contact-section .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-left: 0;
  margin-bottom: 0.65rem;
}
.contact-section .form-check-input {
  flex-shrink: 0;
  margin-top: 3px;
  margin-left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #d0d6e4;
  border-radius: 3px;
  accent-color: var(--navy);
  cursor: pointer;
}
.contact-section .form-check-input:checked {
  background-color: var(--navy);
  border-color: var(--navy);
}
.contact-section .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(31, 67, 140, 0.12);
  outline: none;
}
.contact-section .form-check-label {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}
.contact-section .form-check-label a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  display: inline;
}
.contact-section .form-check-label a:hover {
  text-decoration: underline;
}

/* Links columna derecha */
.cl-item {
  font-family: var(--f-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--t);
}
.cl-item::before {
  content: "›";
  font-size: 1rem;
  line-height: 1;
  color: var(--navy);
}
.cl-item:hover,
.cl-item:hover::before {
  color: var(--gold-dk);
}

/* Nota legal */
.contact-note {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e2e6ee;
}
/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 1.1rem 0;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.ft-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.ft-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ft-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ft-found {
  font-family: var(--f-head);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ft-name {
  font-family: var(--f-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.ft-copy {
  flex: 1;
  font-family: var(--f-body);
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}
.bg-navy {
  background: var(--navy);
}
.border-gold {
  border-color: var(--gold) !important;
}
/* ══════════════════════════════════════════
   SCROLL TOP
══════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1029;
  background: var(--navy);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--t),
    background var(--t);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--gold-dk);
}
.mobile-nav-toggle.fa-x {
  position: fixed;
  left: 60%;
  z-index: 1051;
  font-size: 1.5rem;
}
/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1199px) {
  .site-header {
    padding: 6px 10px;
  }
  .site-header__logo {
    height: 35px;
  }
  .mobile-nav-toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
    margin-left: 0.5rem;
    flex-shrink: 0;
  }

  /* Panel lateral mobile */
  body.mobile-nav-active .navmenu > ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: 4px 0 24px rgba(31, 67, 140, 0.15);
    padding: 5rem 1.5rem 2rem;
    z-index: 1050;
    overflow-y: auto;
    gap: 0;
  }
  body.mobile-nav-active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 5;
  }

  .navmenu > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(31, 67, 140, 0.08);
  }
  .navmenu > ul > li:last-child {
    border-bottom: none;
  }

  .navmenu > ul > li > a.navlink,
  .navmenu > ul > li > span.navlink {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 0;
    width: 100%;
    justify-content: space-between;
  }

  .navmenu .dropdown > ul {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0.5rem 0.75rem;
    min-width: unset;
    border-left: 3px solid var(--gold);
    margin: 0 0 0.5rem;
    background: transparent;
  }
  .navmenu .dropdown.dropdown-active > ul {
    display: block;
  }
  .navmenu .dropdown > ul li:first-child > a {
    display: none;
  }
  .navmenu .dropdown > ul li:nth-child(2) {
    display: none;
  }
  .navmenu .dropdown > ul a {
    font-size: 0.83rem;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 5px;
  }
  .navmenu .dropdown > ul a:hover {
    background: rgba(31, 67, 140, 0.06);
    color: var(--gold-dk);
  }
}

@media (max-width: 767px) {
  .ejes-panel {
    flex-direction: column;
    align-items: center;
  }
  .ejes-panel__img {
    width: 190px;
  }
  .ejes-stats {
    gap: 1.1rem;
  }
}

@media (max-width: 575px) {
  .media-strip__sep {
    display: none;
  }
  .media-strip__block {
    min-width: 100%;
  }
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-label {
    grid-column: 1/-1;
  }
}

@media (max-width: 575px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cf-row {
    grid-template-columns: 1fr;
  }
}
/* Mobile: ul oculto por defecto, solo abre con clase activa */
@media (max-width: 1199px) {
  .navmenu > ul {
    display: none;
  }

  body.mobile-nav-active .navmenu > ul {
    display: flex;
  }
}
/* ══════════════════════════════════════════
   SEARCH PANEL
══════════════════════════════════════════ */
.search-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 1055;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.search-panel.open {
  display: block;
  animation: searchSlideDown 0.22s ease;
}
@keyframes searchSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.search-panel form {
  width: 100%;
  margin: 0;
}
.search-panel .header_search_form {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
  width: 100% !important;
  padding: 0 !important;
}
.search-panel .search_input {
  flex: 1;
  width: 100% !important;
  border: none !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4) !important;
  background: transparent !important;
  color: var(--white) !important;
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 0.65rem 0.35rem !important;
  outline: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: border-color var(--t);
}
.search-panel .search_input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.search-panel .search_input:focus {
  border-color: var(--gold) !important;
  box-shadow: none !important;
}
.search-panel .header_search_button {
  background: none !important;
  border: none !important;
  color: var(--white) !important;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  flex-shrink: 0;
  transition: color var(--t);
}
.search-panel .header_search_button:hover {
  color: var(--gold) !important;
}

/* ══════════════════════════════════════════
   SEARCH RESULTS
══════════════════════════════════════════ */
.sr-header {
  padding: 2rem 0 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}
.sr-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.sr-summary {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.sr-terms {
  color: var(--navy);
  font-weight: 700;
}
.sr-count {
  background: var(--gold);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  margin-left: 0.2rem;
}

/* Lista con stripe */
.sr-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.sr-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.sr-item:last-child {
  border-bottom: none;
}
.sr-item:nth-child(even) {
  background: var(--bg-light);
}
.sr-item:nth-child(odd) {
  background: var(--white);
}
.sr-item:hover {
  background: rgba(31, 67, 140, 0.05);
}

.sr-item__title {
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.35;
  transition: color var(--t);
}
.sr-item__title:hover {
  color: var(--gold-dk);
  text-decoration: underline;
}

/* Highlight término buscado */
.sr-item__title b,
.sr-item__body b {
  color: var(--gold-dk);
  font-weight: 800;
  background: rgba(242, 177, 56, 0.15);
  padding: 0 3px;
  border-radius: 2px;
}

.sr-item__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--muted);
}
.sr-item__cat::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}
.sr-item__body {
  font-family: var(--f-body);
  font-size: 0.86rem;
  color: #444;
  line-height: 1.68;
  margin: 0;
}

/* Producto */
.sr-item--product {
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
}
.sr-item__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}
.sr-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sr-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.sr-item__price {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  min-width: 110px;
}
.sr-price {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.sr-price--old {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}
.sr-price--special {
  color: #e03131;
}
.sr-item__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--t);
}
.sr-item__cta:hover {
  background: var(--gold-dk);
  color: var(--white);
}

/* Categorías agrupadas */
.sr-cat-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
  margin: 2rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ══════════════════════════════════════════
   PAGINACIÓN
══════════════════════════════════════════ */
.pagination-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: #f8f9fb;
  margin-bottom: 1.5rem;
  border: none;
}
.pagination-links nav {
  order: 2;
  margin: 0;
}
.pagination-links .pagination {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.pagination-links .page-item {
  list-style: none;
}
.pagination-links .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.6rem;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t);
  line-height: 1;
}
.pagination-links .page-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.pagination-links .page-item.active .page-link,
.pagination-links .page-item.active.disabled .page-link {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(31, 67, 140, 0.35);
  transform: scale(1.08);
}
.pagination-links .page-link.prev,
.pagination-links .page-link.next {
  font-size: 1rem;
  font-weight: 700;
}
.pagination-links .page-link.prev:hover,
.pagination-links .page-link.next:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
}

.pagetotals {
  order: 1;
  font-family: var(--f-body);
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.pagetotals .frecord,
.pagetotals .lrecord {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--navy);
}
.pagetotals .total {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--gold-dk);
}
.loader {
  display: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 575px) {
  .sr-item--product {
    flex-direction: column;
  }
  .sr-item__price {
    align-items: flex-start;
  }
  .sr-item {
    padding: 0.85rem 0.75rem;
  }
  .pagination-links {
    flex-direction: column;
    align-items: center;
  }
  .pagination-links .page-link {
    min-width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
}
/* ══════════════════════════════════════════
   VIDEO CARDS — display--files
══════════════════════════════════════════ */
.display--files .item {
  border: none;
  border-radius: var(--radius);
  margin-bottom: 0;
}

.display--files .card.single-feature {
  border: none;
  border-radius: var(--radius);
  overflow: visible;
  background: var(--white);
  transition:
    box-shadow var(--t),
    transform var(--t);
}
.display--files .card.single-feature:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

/* Thumbnail wrap */
.display--files .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.display--files .item-wrap img {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}
.display--files .card.single-feature:hover .item-wrap img {
  transform: scale(1.09);
}

/* Overlay al hover */
.display--files .item-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--t),
    visibility var(--t);
  z-index: 2;
}
.display--files .item-wrap:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Icono play centrado */
.display--files .item-wrap > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: var(--white);
  font-size: 2.8rem;
  opacity: 0;
  visibility: hidden;
  transition:
    transform var(--t),
    opacity var(--t),
    visibility var(--t);
  z-index: 3;
}
.display--files .item-wrap:hover > span {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Tags */
.display--files .card.single-feature .label.tags {
  display: none !important;
}
.display--files .card.single-feature .value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.65rem 1rem 0.3rem;
}
.display--files .card.single-feature span.value span {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}
.display--files span.value span.tag a {
  display: inline-flex !important;
  align-items: center;
  background: rgba(4, 157, 217, 0.12) !important;
  color: var(--cyan) !important;
  font-family: var(--f-head) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.65rem !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  border: none !important;
  transition:
    background var(--t),
    color var(--t) !important;
}
.display--files span.value span.tag a::before,
.display--files span.value span.tag a::after {
  display: none !important;
}
.display--files span.value span.tag a:hover {
  background: var(--cyan) !important;
  color: var(--white) !important;
}

/* Título */
.display--files .card.single-feature h6 {
  font-family: var(--f-head) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  text-transform: none !important;
  text-align: left !important;
  justify-content: flex-start !important;
  min-height: unset !important;
  padding: 0.3rem 1rem 0.5rem !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

/* Share buttons — compactos */
.display--files #my_centered_buttons {
  padding: 0 1rem 0.85rem !important;
  justify-content: flex-start !important;
  gap: 0.25rem;
  font-size: 0.72rem;
}
.display--files #my_centered_buttons .small {
  font-family: var(--f-body);
  color: var(--muted);
  font-size: 0.72rem;
  align-self: center;
  margin-right: 0.2rem;
}
.display--files #my_centered_buttons .a2a_svg {
  border-radius: 4px !important;
}
.text .bodycopy ul,
.text .bodycopy ol {
  margin: 1rem 0 1.5rem;
  padding-left: 0;
  list-style: none;
}

.text .bodycopy ul li,
.text .bodycopy ol li {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.45rem 0;
  position: relative;
  padding-left: 2rem;
}

/* UL */
.text .bodycopy ul li:before {
  font-family: "Font Awesome 6 Free", "FontAwesome";
  content: "\f105";
  font-weight: 900;
  color: var(--gold);
  position: absolute;
  left: 0.35rem;
  top: 0.05rem;
}

/* OL */
.text .bodycopy ol {
  counter-reset: fmm-list;
}

.text .bodycopy ol li {
  counter-increment: fmm-list;
  padding-left: 2.4rem;
}

.text .bodycopy ol li:before {
  content: counter(fmm-list);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}
