@font-face {
  font-family: 'Roboto-Regular';
  src: url(fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: 'Roboto-Bold';
  src: url(fonts/Roboto-Bold.ttf);
}

@font-face {
  font-family: 'Montserrat-Regular';
  src: url(fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: 'Montserrat-Bold';
  src: url(fonts/Roboto-Bold.ttf);
}

@font-face {
  font-family: 'Roboto-Black';
  src: url(fonts/Roboto-Black.ttf);
}

:root {
  --azul-bajo: #006AB5;
  --azul-fuerte: #002A56;
  --azul-botones: #0092CD;
  --dorado: #CAB881;
  --blanco: #fff;
  --negro: #000;
  --gris: #f3f5f8;

  --bullet-img: url('https://ik.imagekit.io/dn8iw9heh/IDEEM/ICONOS/Mesa%20de%20trabajo%201%20(1).png?updatedAt=1762184054996');
  --bullet-size: 16px;
  --bullet-gap: 0.6rem;
}

/*/Primera fila barra*/
@media (min-width: 1000px) {
  .px-md-7 {
    padding-left: 7rem !important;
    padding-right: 7.7rem !important;
  }
}

.segundo-titulo {
  font-family: 'Roboto-Black';
  font-size: 2rem;
  color: var(--blanco);
}


@media (max-width: 991.98px) {
  .navbar {
    background-color: var(--azul-fuerte) !important;
    /* móvil azul */
    padding: 10px 0;
  }

  .navbar>.container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-link,
  .nav-link:focus,
  .nav-link:hover {
    color: var(--blanco) !important;
  }
}

/* ===== Navbar base (FULL WIDTH dorado en desktop) ===== */
.navbar {
  background-color: var(--dorado);
  /* franja dorada a 100% */
  padding: 10px 0;
  /* alto consistente */
}

.navbar>.container {
  background: transparent;
  /* el dorado vive en .navbar, no en el container */
}

.navbar-toggler {
  border-color: var(--dorado) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='%23CAB881' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

/* Enlaces */
.nav-link {
  font-family: 'Roboto-Bold';
  font-size: 0.9rem;
  color: var(--azul-fuerte);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--azul-fuerte);
}

/* Separación entre items */
.navbar-nav .nav-item:not(:last-child) {
  margin-right: 0.8rem;
}

/* Color texto collapse (no afecta links) */
.navbar-collapse {
  color: var(--blanco);
}

/* Centrar los enlaces del navbar dentro de la franja (desktop) */
@media (min-width: 992px) {
  .navbar .navbar-collapse {
    justify-content: center;
  }

  .navbar-nav.ms-auto {
    margin-left: 22rem !important;
    margin-right: 0 !important;
  }
}

/* ===== Dropdown (no tocar) ===== */
.dropdown-hover:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  width: 82vw;
  padding: 5%;
  width: 100%;
  margin-top: 1rem !important;
  margin-left: 1rem !important;
  padding: 1.5rem;
  border-top: 1px solid #dee2e6;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.dropdown-header {
  font-family: 'Roboto-Bold';
  color: black;
  font-size: 1.2rem;
}

.dropdown-item {
  font-family: 'Roboto-Regular';
  font-size: 0.9rem;
}

.dropdown-item.ver-mas {
  font-weight: bold;
  color: #007bff;
  margin-bottom: 0.5rem;
}

/* ===== Footer ===== */
.categoria-footer {
  font-size: 1rem;
  font-family: 'Roboto-Regular';
}

.contenido-footer {
  font-size: 0.9rem;
  font-family: 'Roboto-Regular';
}

.footer-bg {
  background-image: url('https://res.cloudinary.com/dwvatbtfk/image/upload/v1753714987/BGFooter_l1k4uk.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #002855;
  padding-left: 1.9%;
}

.footer-copy {
  background-color: var(--azul-fuerte);
  color: #ffffff;
  font-size: 0.9rem;
  font-family: 'Roboto-Regular';
}

/* ===== Dropdown responsive ===== */
@media (max-width: 991.98px) {
  .dropdown-menu {
    width: 82vw !important;
    left: 0 !important;
    right: 0 !important;
    min-width: unset;
    overflow-x: auto;
    padding: 1rem;
    box-sizing: border-box;
    height: auto;
    border-radius: 0 0 10px 10px;
    margin-left: 1.5rem;

  }

  .dropdown-contenedor {
    margin-left: -1.7rem;
  }

  .navbar-collapse {
    padding: 0;
  }

  .dropdown-menu .row {
    flex-wrap: wrap;
  }

  .dropdown-menu .col-12 {
    min-width: 0;
    word-break: break-word;
    white-space: normal;
  }

  .dropdown-item {
    white-space: normal;
    word-break: break-word;
  }

  .alineacion {
    text-align: center;
  }
}

/* Asegura que quede por encima del contenido al hacer scroll */
#mainNav {
  z-index: 1040;
}


@media (min-width: 992px) {
  #mainNav .dropdown.position-static .dropdown-menu {
    left: 0;
    right: 0;
  }
}

/* =========================================================
   AJUSTES DE CENTRADO DEL TÍTULO SUPERIOR
   ========================================================= */
@media (min-width: 1240px) {
  .primera-fila .row {
    position: relative;
  }

  .primera-fila .segundo-titulo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
    max-width: calc(100% - 2rem);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Igualar padding del header superior para alineación visual */
@media (min-width: 1000px) {
  .px-md-7 {
    padding-left: 7.5rem !important;
    padding-right: 7.5rem !important;
  }
}


/* Fijación exacta cuando el header termina */
#mainNav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1051;
  isolation: isolate;
}

/* Suavizado visual de la sombra*/
#mainNav {
  transform: translateZ(0);
  transition: box-shadow 160ms ease;
}

/* Spacer que ocupa el lugar del nav cuando éste se fija*/
#nav-spacer {
  height: 0;
}


@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}


html,
body {
  margin: 0;
}

.fuente {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto-Bold";
  font-size: 2rem;
  color: var(--azul-fuerte);
  text-align: justify;
  gap: 1em;
}

.fuente::before,
.fuente::after {
  content: "";
  display: block;
  height: 2px;
  background: #000;
  margin: 0 0.5em;
  flex: 0 0 1;
  flex-basis: 0;
  transition: flex-basis 1s cubic-bezier(.77, 0, .18, 1);
}

.fuente span {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .fuente {
    font-size: 1.2rem;
  }

  .fuente.linea-activa::before,
  .fuente.linea-activa::after {
    flex-basis: 30px;
  }
}

.fuente:not(.linea-activa)::before,
.fuente:not(.linea-activa)::after {
  flex-basis: 0 !important;
  background: transparent;
}

.fuente.linea-activa::before,
.fuente.linea-activa::after {
  flex-basis: 200px;
  background: #000;
}

@media (max-width: 576px) {
  .fuente {
    font-size: 1.2rem;
  }

  .fuente.linea-activa::before,
  .fuente.linea-activa::after {
    flex-basis: 15px;
  }
}


.alineacion .footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alineacion .footer-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--bullet-gap);
  margin: .25rem 0;
  line-height: 1.4;
  padding-left: 0;
}

.alineacion .footer-list li::before {
  content: "";
  width: var(--bullet-size);
  height: var(--bullet-size);
  background: var(--bullet-img) center/contain no-repeat;
  flex: 0 0 var(--bullet-size);
  margin-top: var(--bullet-offset);
}

.alineacion .footer-list a {
  display: inline-block;
  text-decoration: none;
}

.text-justify {
  text-align: justify;
}


/*------------Seccion Agentes-----------*/
* {
  box-sizing: border-box
}

body {
  margin: 0;
  color: #0e0f12;
  background: #fff;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 20px
}

.hero {
  text-align: center;
}

.brand {
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--azul-fuerte);
  font-size: clamp(44px, 7vw, 82px)
}

.sub {
  font-family: "Roboto-Black";
  margin: 14px auto 26px;
  max-width: 840px;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.5;
  color: #1d2a36;
}

.ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: .2s transform ease, .2s box-shadow ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .12)
}

.btn-primary {
  background: var(--azul-botones);
  color: var(--blanco)
}

.btn-ghost {
  background: #eef6fb;
  color: #0b3c5c
}

.agents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

@media (max-width:800px) {
  .agents {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 22px auto 0
  }
}

.agent {
  background: var(--gris);
  border-radius: 22px;
  padding: 18px 18px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: .25s transform ease, .25s box-shadow ease;
  border: 1px solid #e7ecf2;
}

.agent:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .10)
}

.agent__status {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1a2b3a;
  background: #fff;
  border: 1px solid #e9eef4;
  padding: 6px 10px;
  border-radius: 999px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #27c93f;
  box-shadow: 0 0 0 6px rgba(39, 201, 63, .12)
}


.agent__media {
  width: min(500px, 100%);
  aspect-ratio: 1 / 1;
  display: block;
  margin: 10px auto 10px;
  object-fit: contain;
}


.whatsapp {
  background: #E7FAF1
}

.telegram {
  background: #EDF5FF
}

.web {
  background: #F8F0E4
}

.agent__title {
  font-family: "Roboto-Black";
  font-weight: 800;
  font-size: 18px;
  color: var(--azul-fuerte)
}

.agent__hint {
  font-family: "Roboto-Regular";
  font-size: 13px;
  color: #3c4a57
}

.chips {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap
}

.chip {
  font-family: "Roboto-Regular";
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e9eef4;
  color: #264156
}

.agent a.stretch {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
}

.mini {
  margin-top: 28px;
  text-align: center;
  color: #4a5a6a;
  font-size: 13px
}

.mini code {
  background: #f5f7fb;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid #edf1f6
}

@media (prefers-reduced-motion: reduce) {
  .agent__media {
    animation: none;
  }
}

.dorado {
  color: var(--dorado);
  font-weight: bold;
  font-family: inherit;
}