:root {
  --navy-950: #09233f;
  --navy-900: #0d3157;
  --navy-800: #154a78;
  --azul: #325191;
  --azul-2: #193cb8;

  --verde: #2bac6b;
  --verde-2: #359f78;

  --celeste: #37c4e8;

  --naranja: #fec340;

  --blanco: #fefefe;

  --gris: #969a9c;

  --gris-claro: #f5f7fa;

  --texto: #26324a;

  --borde: #e6eaf0;

  --sombra: 0 8px 30px rgba(15, 4, 77, 0.08);

  --sombra-hover: 0 15px 35px rgba(15, 4, 77, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;

  font-family: "Nunito", sans-serif;

  color: var(--texto);

  background: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
}

/*BARRA SUPERIOR*/

.top-line {
  height: 5px;

  width: 100%;

  background: linear-gradient(
    90deg,
    var(--verde) 0%,
    var(--verde) 35%,
    var(--azul-2) 35%,
    var(--azul-2) 52%,
    var(--azul) 52%,
    var(--azul) 100%
  );
}

.header {
  height: 5.5rem;

  width: 100%;

  left: 0;

  right: 0;

  background: linear-gradient(100deg, var(--azul), var(--navy-800));

  display: flex;

  align-items: center;

  position: fixed;

  top: 0;

  z-index: 1000;
}

.header-container {
  width: 100%;

  max-width: 1380px;

  margin: auto;

  padding: 0 35px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.institution-link {
  display: flex;

  align-items: center;

  color: var(--azul);
}

.institution-logo {
  height: 68px;

  width: auto;

  object-fit: contain;
}

.header-divider {
  width: 1px;

  height: 60px;

  background: #dce1e8;

  margin: 0 30px;
}

.system-title {
  border-left: 1px solid transparent;
}

.system-title h1 {
  margin: 0;

  color: white;

  font-size: 27px;

  font-weight: 900;

  line-height: 1.1;
}

.system-title p {
  margin: 7px 0 0;

  color: #59657a;

  font-size: 14px;

  line-height: 1.5;
}

.idioma-button {
  display: flex;

  align-items: center;

  gap: 10px;

  color: white;

  font-size: 15px;

  font-weight: 800;
  transition: all 0.2s ease;
  margin-right: 10px;
  width: 90px;
}

.idioma-button:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(---azul);
  cursor: pointer;
}

/*AYUDA*/

.help-link {
  display: flex;

  align-items: center;

  gap: 10px;

  color: white;

  font-size: 15px;

  font-weight: 800;
  transition: all 0.2s ease;
}

.help-link:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(---azul);
}

.help-icon {
  width: 32px;

  height: 32px;

  border: 2px solid var(--celeste);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--celeste);

  font-size: 15px;
}

.help-link:hover .help-icon {
  border-color: var(--azul);
  color: var(--azul);
  
}

.linear-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  padding: 8% 10%;
  background-image: linear-gradient(100deg, #ffffff, rgba(4, 0, 255, 0.04));
  z-index: 2;
}

.linear-background a {
  margin: 15px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  height: 320px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 40%,
      rgba(55, 196, 232, 0.08),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #fafcfe 100%);
}

/* CONTENEDOR */

.hero-container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  display: block;
  position: relative;
  box-sizing: border-box;
}

/* =========================================================
   TEXTO
   ========================================================= */

.hero-content {
  width: 100%;
  max-width: none;
  height: 100%;
  position: relative;
  margin: 0;
  padding: clamp(2rem, 6vw, 6rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(100deg, #ffffff, rgba(4, 0, 255, 0.04));
}

.hero-label {
  display: inline-block;

  color: var(--verde);

  font-size: 18px;
  font-weight: 800;

  margin-bottom: 8px;
}

.hero-title {
  margin: 0;

  color: var(--azul-2);

  font-size: clamp(42px, 5vw, 62px);
  font-weight: 900;

  line-height: 1.03;
  letter-spacing: -1.5px;
}

.hero-title span {
  color: var(--verde-2);
}

.hero-line {
  width: 53px;
  height: 4px;

  background: var(--verde);

  border-radius: 10px;

  margin: 22px 0;
}

.hero-description {
  max-width: 520px;

  color: #060606;

  font-size: 16px;
  line-height: 1.8;

  margin: 0;
}
.hero-visual {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1;

  border-radius: 0px 0px 15px 15px;

  overflow: hidden;
}

.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(20, 80, 141, 0.533);
  border-radius: 0px 0px 15px 15px;
  pointer-events: none;
}

.hero-carousel {
  width: 100%;
  max-width: none;
  height: 100%;

  position: relative;

  overflow: hidden;

  border-radius: 0px 0px 15px 15px;
}

/* Área interna */

.hero-carousel .carousel-inner {
  width: 100%;
  height: 100%;

  position: relative;

  overflow: hidden;

  border-radius: 0px 0px 15px 15px;
}

/* Cada slide */

.hero-carousel .carousel-item {
  width: 100%;
  height: 100%;
  display: block !important;
  position: absolute;
  inset: 0;
  float: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s ease-in-out;
}

.hero-carousel .carousel-item.active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.hero-carousel-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  border-radius: 0px 0px 15px 15px;
}

/* =========================================================
   INDICADORES
   ========================================================= */

.hero-carousel .carousel-indicators {
  bottom: 8px;

  margin-bottom: 0;

  z-index: 10;
}

.hero-carousel .carousel-indicators li {
  width: 8px;
  height: 8px;

  margin: 0 4px;

  border-radius: 50%;

  opacity: 0.45;

  transition:
    width 0.4s ease,
    opacity 0.4s ease;
}

.hero-carousel .carousel-indicators .active {
  width: 22px;

  border-radius: 0px 0px 10px 10px;

  opacity: 1;
}

/* =========================================================
   FLECHAS
   ========================================================= */

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 45px;

  opacity: 0;

  transition: opacity 0.25s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
  opacity: 0.9;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .hero {
    height: auto;
  }

  .hero-container {
    height: auto;

    display: flex;
    flex-direction: column;

    justify-content: center;
  }

  .hero-content {
    width: 100%;
    max-width: 700px;
    height: auto;

    text-align: center;
  }

  .hero-line {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: 100%;
    height: 210px;
  }

  .hero-carousel {
    height: 210px;
  }

  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: 210px;
  }

  .hero-carousel-image {
    height: 100%;
  }
}

@media (max-width: 575px) {
  .hero-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-label {
    font-size: 16px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-visual {
    height: 180px;
  }

  .hero-carousel {
    height: 180px;
  }

  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: 180px;
  }

  .hero-carousel-image {
    height: 100%;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    opacity: 0.8;
  }
}

.access-section {
  background: var(--gris-claro);

  padding: 25px;
}

.section-title {
  text-align: center;

  color: var(--azul);

  font-size: 26px;

  font-weight: 900;

  margin: 0 0 8px;
}

.section-line {
  width: 42px;

  height: 3px;

  background: var(--verde);

  margin: 0 auto 32px;

  border-radius: 10px;
}

.access-container {
  max-width: 1250px;

  margin: auto;
}

.access-card {
  height: 100%;

  background: #ffffff;

  border: 1px solid #e7ebf1;

  border-radius: 17px;

  padding: 25px 22px;

  box-shadow: 0 5px 20px rgba(15, 4, 77, 0.05);

  transition: all 0.25s ease;

  display: flex;

  flex-direction: column;
}

.access-card:hover {
  transform: translateY(-7px);

  box-shadow: var(--sombra-hover);
}

.access-icon {
  width: 95px;

  height: 95px;

  margin: 0 auto 16px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 39px;
}

.access-card.socio .access-icon {
  background: rgba(43, 60, 172, 0.14);

  color: var(--azul);
}

.access-card.publico .access-icon {
  background: rgba(43, 60, 172, 0.14);

  color: var(--azul);
}

.access-card.ejecutivo .access-icon {
  background: rgba(107, 82, 179, 0.13);

  color: #4b2a91;
}

.access-title {
  text-align: center;

  font-size: 25px;

  font-weight: 900;

  margin-bottom: 7px;
}

.socio .access-title {
  color: var(--azul);
}

.publico .access-title {
  color: var(--azul);
}

.ejecutivo .access-title {
  color: #4b2a91;
}

.access-description {
  text-align: center;

  color: #4f5b70;

  font-size: 14px;

  line-height: 1.6;

  min-height: 67px;

  margin-bottom: 15px;
}

.access-divider {
  width: 100%;

  border-top: 1px solid #dfe4ea;

  margin-bottom: 13px;
}

.access-features {
  list-style: none;

  padding: 0;

  margin: 0 0 20px;

  flex: 1;
}

.access-features li {
  display: flex;

  align-items: center;

  gap: 12px;

  color: #39455a;

  font-size: 14px;

  margin-bottom: 12px;
}

.access-features i {
  width: 22px;

  text-align: center;
}

.socio .access-features i {
  color: var(--azul);
}

.publico .access-features i {
  color: #5537a0;
}

.ejecutivo .access-features i {
  color: #5537a0;
}

.access-button {
  width: 100%;

  border: 0;

  border-radius: 7px;

  padding: 12px 18px;

  color: white !important;

  font-size: 14px;

  font-weight: 800;

  display: flex;

  align-items: center;

  justify-content: space-between;

  transition: all 0.2s ease;
}

.access-button:hover {
  transform: translateY(-2px);

  filter: brightness(0.96);
}

.socio .access-button {
  background: var(--azul);
}

.publico .access-button {
  background: var(--azul);
}

.ejecutivo .access-button {
  background: #4b2791;
}

.access-button i {
  font-size: 18px;
}

.info-section {
  max-width: 1250px;

  margin: 0 auto;

  padding: 15px 25px 35px;
}

.info-card {
  border: 1px solid rgba(15, 4, 77, 0.08);

  border-radius: 15px;

  background: linear-gradient(
    135deg,
    rgba(15, 4, 77, 0.03),
    rgba(55, 196, 232, 0.025),
    rgba(43, 172, 107, 0.03)
  );

  box-shadow: var(--sombra);

  padding: 28px 30px;

  position: relative;

  overflow: hidden;
}

.info-card::after {
  content: "";

  position: absolute;

  right: 0;

  top: 0;

  width: 160px;

  height: 100%;

  background: linear-gradient(
    180deg,
    rgba(43, 172, 107, 0.06),
    rgba(55, 196, 232, 0.02)
  );

  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.mini-header {
  margin-bottom: 12px;
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(15, 4, 77, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul);
  font-size: 22px;
}

.small-icon {
  width: 42px;
  height: 42px;
  font-size: 18px;
}

.info-header h3 {
  margin: 0;
  color: var(--azul);
  font-size: 22px;
  font-weight: 900;
}

.info-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

.info-block {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(15, 4, 77, 0.06);
  border-radius: 12px;
  padding: 22px 20px;
}

.accent-block {
  background: rgba(55, 196, 232, 0.04);
}

.info-block p {
  margin: 0;
  color: #515d76;
  font-size: 14px;
  line-height: 1.75;
}

.info-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #374562;
  font-size: 14px;
  line-height: 1.7;
}

.info-list li {
  margin-bottom: 10px;
}

.info-list strong {
  color: var(--azul);
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 22px 18px;
  }
}

.tracking-section {
  max-width: 1250px;

  margin: 0 auto;

  padding: 24px 25px;
}

.tracking-card {
  border: 1px solid rgba(43, 172, 107, 0.65);

  border-radius: 15px;

  background: linear-gradient(
    100deg,
    rgba(43, 172, 107, 0.035),
    rgba(55, 196, 232, 0.025)
  );

  padding: 22px 28px;

  position: relative;

  overflow: hidden;
}

.tracking-card::after {
  content: "";

  position: absolute;

  right: -1px;

  top: -1px;

  width: 0;

  height: 0;

  border-top: 45px solid var(--verde);

  border-left: 45px solid transparent;
}

.tracking-icon {
  width: 90px;

  height: 90px;

  border-radius: 50%;

  background: #ffffff;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--azul);

  font-size: 42px;

  flex-shrink: 0;
}

.tracking-content h3 {
  color: var(--azul);

  font-size: 21px;

  font-weight: 900;

  margin-bottom: 4px;
}

.tracking-content p {
  color: #59657a;

  font-size: 13px;

  margin: 6px 0 0;
}

.tracking-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--verde);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tracking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1.5fr)) auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tracking-field label {
  display: block;
  margin-bottom: 5px;
  color: #59657a;
  font-size: 12px;
  font-weight: 800;
}

.tracking-input {
  height: 48px;

  min-width: 280px;

  border: 1px solid #d8dee8;

  border-radius: 7px;

  padding: 0 16px;

  font-family: "Nunito", sans-serif;

  outline: none;
}

.tracking-input:focus {
  border-color: var(--verde);

  box-shadow: 0 0 0 3px rgba(43, 172, 107, 0.1);
}

.tracking-button {
  height: 42px;
  margin: 0;
  min-width: 120px;

  border: 0;

  border-radius: 7px;

  background: var(--verde);

  color: white;

  font-weight: 800;

  font-family: "Nunito", sans-serif;
}

.tracking-form .btnGuardar {
  align-self: end;
  height: 42px;
  min-height: 42px;
  margin: 0;
}

.tracking-help {
  padding: 0 8px;
}

.tracking-note {
  padding-left: 18px;
  border-left: 1px solid #ccd3dc;
}

.tracking-note h5 {
  color: #e79500;

  font-size: 13px;

  font-weight: 900;
  margin: 0 0 5px;
}

.tracking-note p {
  max-width: 260px;

  color: #59657a;

  font-size: 12px;

  line-height: 1.45;
  margin: 0;
}

.services-section {
  max-width: 1250px;

  margin: auto;

  padding: 0 25px 35px;
}

.services-card {
  background: white;

  border: 1px solid #e7ebf1;

  border-radius: 15px;

  box-shadow: var(--sombra);

  display: grid;

  grid-template-columns: repeat(4, 1fr);
}

.service {
  padding: 22px 25px;

  border-right: 1px solid #e0e5eb;
}

.service:last-child {
  border-right: none;
}

.service-icon {
  font-size: 28px;

  margin-bottom: 8px;
}

.service h4 {
  color: var(--azul);

  font-size: 14px;

  font-weight: 900;

  margin-bottom: 5px;
}

.service p {
  color: #687286;

  font-size: 12px;

  line-height: 1.5;

  margin-bottom: 7px;
}

.service a {
  font-size: 12px;

  font-weight: 800;
}

.service:nth-child(1) .service-icon,
.service:nth-child(1) a {
  color: #f19a00;
}

.service:nth-child(2) .service-icon,
.service:nth-child(2) a {
  color: var(--verde);
}

.service:nth-child(3) .service-icon,
.service:nth-child(3) a {
  color: #168fc0;
}

.service:nth-child(4) .service-icon,
.service:nth-child(4) a {
  color: #f19a00;
}

.footer {
  background: var(--azul);

  color: white;

  border-top: 5px solid var(--verde);
}

.footer-container {
  max-width: 1250px;

  margin: auto;

  padding: 28px 25px;

  display: grid;

  grid-template-columns: 1fr 1fr 1fr;

  align-items: center;

  gap: 30px;
}

.footer-security {
  display: flex;

  align-items: center;

  gap: 15px;
}

.footer-security i {
  color: var(--verde);

  font-size: 35px;
}

.footer-security strong {
  display: block;

  font-size: 13px;
}

.footer-security span {
  display: block;

  color: #b9c1d2;

  font-size: 11px;

  line-height: 1.5;
}

.footer-logo {
  text-align: center;

  border-left: 1px solid rgba(255, 255, 255, 0.2);

  border-right: 1px solid rgba(255, 255, 255, 0.2);

  padding: 5px 20px;
}

.footer-logo img {
  max-height: 52px;

  max-width: 190px;
}

.footer-copy {
  text-align: right;

  color: #c2c9d7;

  font-size: 11px;

  line-height: 1.7;
}

/* =========================================================
   TOPBAR
========================================================= */

.topbar {
  min-height: 76px;
  padding: 0 28px;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 4, 77, 0.08);
  box-shadow: 0 2px 12px rgba(15, 4, 77, 0.05);
  position: relative;
  z-index: 1000;
}

/* ---------------------------------------------------------
   TÍTULO
--------------------------------------------------------- */

.topbar-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  min-width: 0;
}

.topbar-eyebrow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #2bac6b;
  margin-bottom: 4px;
}

.topbar-title strong {
  font-size: 19px;
  font-weight: 800;
  color: #0f044d;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   ENLACE NUEVO TRÁMITE
--------------------------------------------------------- */

.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 40px;
  padding: 0 17px;

  border: 1px solid rgba(43, 172, 107, 0.25);
  border-radius: 10px;

  background: rgba(43, 172, 107, 0.07);

  color: #2bac6b !important;

  font-size: 13px;
  font-weight: 800;

  text-decoration: none !important;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.quick-link i {
  font-size: 13px;
}

.quick-link:hover {
  background: #2bac6b;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(43, 172, 107, 0.2);
}

/* ---------------------------------------------------------
   USUARIO
--------------------------------------------------------- */

.user-menu {
  display: flex !important;
  align-items: center;
  gap: 9px;

  min-height: 48px;
  padding: 5px 9px !important;

  border-radius: 12px;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.user-menu:hover {
  background: rgba(15, 4, 77, 0.04);
}

.user-avatar {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(43, 172, 107, 0.12);
  color: #2bac6b;

  font-size: 15px;
}

.user-name {
  max-width: 170px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #0f044d;

  font-size: 13px;
  font-weight: 800;
}

.user-chevron {
  color: #969a9c;
  font-size: 10px;
}

/* ---------------------------------------------------------
   DROPDOWN
--------------------------------------------------------- */

.user-menu + .dropdown-menu {
  min-width: 230px;

  margin-top: 8px;

  padding: 8px;

  border: 1px solid rgba(15, 4, 77, 0.08);
  border-radius: 12px;

  box-shadow: 0 12px 30px rgba(15, 4, 77, 0.12) !important;
}

.dropdown-user-title {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;

  color: #0f044d;
  font-size: 13px;
  font-weight: 800;
}

.dropdown-user-title i {
  color: #2bac6b;
  font-size: 20px;
}

.user-menu + .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;

  padding: 10px 12px;

  border-radius: 8px;

  font-size: 13px;

  transition:
    background 0.2s ease,
    padding-left 0.2s ease;
}

.user-menu + .dropdown-menu .dropdown-item:hover {
  background: rgba(43, 172, 107, 0.08);
  padding-left: 16px;
}

/* =========================================================
   BOTÓN MENÚ MÓVIL
========================================================= */

#sidebarToggleTop {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-right: 10px !important;

  border-radius: 10px !important;

  background: rgba(43, 172, 107, 0.08);

  color: #0f044d !important;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

#sidebarToggleTop:hover {
  background: #2bac6b;
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .header {
    height: auto;

    padding: 15px 0;
  }

  .header-container {
    padding: 0 20px;
  }

  .hero {
    margin-top: 6.25rem;
  }

  .system-title {
    display: none;
  }

  .header-divider {
    display: none;
  }

  .idioma-button {
    display: flex;
  }

  .hero-container {
    padding: 45px 30px;
  }

  .hero-content {
    width: 55%;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-title {
    font-size: 45px;
  }

  .services-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .service:nth-child(2) {
    border-right: none;
  }

  .service:nth-child(-n + 2) {
    border-bottom: 1px solid #e0e5eb;
  }

  .footer-container {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-security {
    justify-content: center;
  }

  .footer-logo {
    border: none;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 412px) {
  .hero {
    margin-top: 5.25rem;
  }

  .institution-logo {
    height: 42px;
  }

  .help-link {
    gap: 0;
  }

  .help-link > span:first-child {
    display: none;
  }

  .help-icon {
    width: 28px;

    height: 28px;

    font-size: 13px;
  }

  .hero-container {
    flex-direction: column;

    text-align: center;

    padding: 24px 15px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-description {
    margin: auto;
  }

  .hero-line {
    margin: 20px auto;
  }

  .hero-visual {
    width: 100%;
    height: 165px;
    min-height: 0;
    margin-top: 0;
  }

  .hero-carousel {
    height: 165px;
  }

  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: 165px;
  }

  .hero-icon-container {
    width: 280px;

    height: 190px;
  }

  .hero-icon-container i {
    font-size: 90px;
  }
  .linear-background {
    width: 100%;
  }

  .access-section {
    padding-left: 15px;

    padding-right: 15px;
  }

  .tracking-card {
    padding: 25px 20px;
  }

  .tracking-card > .row {
    text-align: center;
  }

  .tracking-icon {
    margin: auto;
  }

  .tracking-form {
    grid-template-columns: 1fr;
  }

  .tracking-input {
    min-width: 100%;

    width: 100%;
  }

  .tracking-help {
    padding: 0;
  }

  .tracking-note {
    border-left: none;
    border-top: 1px solid #ccd3dc;
    margin-top: 18px;
    padding: 16px 0 0;
  }

  .tracking-note p {
    max-width: none;
  }

  .services-card {
    grid-template-columns: 1fr;
  }

  .service {
    border-right: none !important;

    border-bottom: 1px solid #e0e5eb;
  }

  .service:last-child {
    border-bottom: none;
  }
}

@media (max-width: 400px) {
  .header-container {
    padding: 0 15px;
  }

  .institution-logo {
    max-width: 180px;

    height: 42px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-label {
    font-size: 16px;
  }

  .linear-background {
    width: 100%;
  }

  .access-card {
    padding: 23px 18px;
  }
}

.social-sidebar {
  position: fixed;

  left: 0;

  top: 50%;

  transform: translateY(-50%);

  display: flex;

  flex-direction: column;

  gap: 7px;

  z-index: 1050;
}

/* BOTÓN GENERAL */

.social-button {
  width: 52px;

  height: 52px;

  display: flex;

  align-items: center;

  position: relative;

  overflow: hidden;

  color: #ffffff !important;

  border-radius: 0 10px 10px 0;

  box-shadow: 4px 4px 15px rgba(15, 4, 77, 0.12);

  transition:
    width 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* ICONO */

.social-button i {
  min-width: 52px;

  width: 52px;

  text-align: center;

  font-size: 21px;
}

/* TEXTO */

.social-button span {
  white-space: nowrap;

  font-size: 13px;

  font-weight: 800;

  padding-right: 18px;

  opacity: 0;

  transition: opacity 0.15s ease;
}

/* EFECTO AL PASAR EL CURSOR */

.social-button:hover {
  width: 145px;

  transform: translateX(4px);

  box-shadow: 6px 7px 20px rgba(15, 4, 77, 0.18);
}

.social-button:hover span {
  opacity: 1;
}

/* =====================================================
   FACEBOOK
===================================================== */

.social-facebook {
  background: #1877f2;
}

/* =====================================================
   YOUTUBE
===================================================== */

.social-youtube {
  background: #ff0000;
}

/* =====================================================
   INSTAGRAM
===================================================== */

.social-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcaf45);
}

/* =====================================================
   TIKTOK
===================================================== */

.social-tiktok {
  background: #161616;
}

/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.whatsapp-float {
  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 1100;

  display: flex;

  align-items: center;

  text-decoration: none !important;
}

/* ICONO */

.whatsapp-icon {
  width: 58px;
  height: 58px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #2bac6b;

  color: #ffffff;

  font-size: 28px;

  box-shadow: 0 8px 25px rgba(43, 172, 107, 0.3);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* TEXTO */

.whatsapp-label {
  opacity: 0;

  transform: translateX(15px);

  margin-right: 10px;

  padding: 9px 13px;

  border-radius: 9px;

  background: #ffffff;

  color: #0f044d;

  font-size: 12px;

  font-weight: 800;

  white-space: nowrap;

  box-shadow: 0 5px 20px rgba(15, 4, 77, 0.12);

  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* HOVER */

.whatsapp-float:hover .whatsapp-label {
  opacity: 1;

  transform: translateX(0);
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.08);

  box-shadow: 0 10px 30px rgba(43, 172, 107, 0.4);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 767px) {
  .social-sidebar {
    top: auto;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

    flex-direction: row;

    gap: 8px;
  }

  .social-button {
    width: 46px;

    height: 46px;

    border-radius: 50%;

    justify-content: center;
  }

  .social-button i {
    min-width: 46px;

    width: 46px;

    font-size: 19px;
  }

  .social-button span {
    display: none;
  }

  .social-button:hover {
    width: 46px;

    transform: translateY(-3px);
  }
}

.Whats-button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blanco);
  font-size: 15px;
  font-weight: 800;
  transition: all 0.2s ease;
  margin-right: 25%;
  width: auto;
}

.Whats-button:hover {
  border-radius: 7px;
  color: var(--verde-2);
  cursor: pointer;
}

@media (max-width: 412px) {
  .Whats-button {
    display: none;
  }
}

.section-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  pointer-events: none;
  padding: 0%;
  margin-bottom: 0px;
}
.section-divider img{
  width: 100%;
}

.animate-section {
  opacity: 0;

  animation: sectionAppear 0.75s ease forwards;
}

@keyframes sectionAppear {
  from {
    opacity: 0;

    transform: translateY(25px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}
/* =========================================================
   TARJETAS
========================================================= */

.animate-card {
  opacity: 0;

  animation: cardAppear 0.65s ease forwards;
}

@keyframes cardAppear {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.animate-card:nth-child(1) {
  animation-delay: 0.1s;
}

.animate-card:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* ==============================
   VALIDACIÓN SEGUIMIENTO
   ============================== */

.tracking-field {
    position: relative;
}

.tracking-error {
    display: block;
    min-height: 18px;
    margin-top: 0px;
    font-size: 12px;
    font-weight: 700;
    color: #d64c4c;
}

/* Campo con error */
.form_texto.input-error {
    border-color: #d64c4c !important;
    box-shadow: 0 0 0 3px rgba(214, 76, 76, 0.10);
}

/* Campo correcto */
.form_texto.input-success {
    border-color: #2bac6b !important;
    box-shadow: 0 0 0 3px rgba(43, 172, 107, 0.10);
}

/* Placeholder */
.form_texto::placeholder {
    color: #98a2b3;
}