/* Reset básico para márgenes, rellenos y bordes */
/* * {
  margin: 0;
  padding: 0t;
  box-sizing: border-box;
  border: 0;
} */

.row {
  /* width: 100%; */
  margin-right: 0px;
}
/* Animación para los links del navbar */
.navbar .nav-link {
  position: relative;
  color: #adb5bd;               /* color base */
  transition: color .3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;                  /* resalta color */
}

/* Línea animada abajo del link */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #0d6efd;    /* azul bootstrap */
  transition: width .3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
  width: 100%;
}

/* Para el link activo */
.navbar .nav-link.active {
  color: #fff;
  font-weight: 600;
}
.navbar .nav-link.active::after {
  width: 100%;
}


nav ul {
  list-style: none;
}

nav ul li {
  display: inline;
}

.bi-twitter {
  width: 50px;
  /* ancho deseado */
  height: 30px;
  /* alto deseado */
}

.bi-facebook {
  width: 50px;
  /* ancho deseado */
  height: 30px;
  /* alto deseado */
}

.bi-whatsapp {
  width: 50px;
  /* ancho deseado */
  height: 30px;
  /* alto deseado */
}

.img-carousel {
  object-fit: cover;
  width: 100%;
  /* height: 900px; */
}


.text-shadow {
  color: #0d6efd;
  /* color de Bootstrap primary */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* sombra */
}


div {
  text-align: center;
  /* left | right | center | justify */
  line-height: 1.8;
  /* Altura de línea */
  vertical-align: middle;
  /* Alineación vertical en inline-block */
}

.img-area {
  width: 100px;
  height: 100px;


  img {
    object-fit: cover;
    object-position: center;
  }
}

.historia-scroll {
  overflow-x: auto;
  padding-bottom: .5rem;
}

.historia-scroll::-webkit-scrollbar {
  height: 8px;
}

.historia-scroll::-webkit-scrollbar-thumb {
  background: #ced4da;
  border-radius: 8px;
}

.historia-card {
  min-width: 270px;
  border-radius: 16px;
  border: 1.5px solid #e9ecef;
}

@media (min-width: 992px) {
  .historia-card {
    min-width: 0;
    width: 100%;
  }

  .historia-scroll {
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* Sombra y borde suaves */
.shadow-soft {
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
  border: 1.5px solid #eef1f4;
  border-radius: 18px;
}

/* Línea divisoria con brillo suave */
.line-dot {
  height: 2px;
  background: linear-gradient(90deg, #e9ecef 60%, transparent 0) repeat-x;
  background-size: 12px 2px;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, .12), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.8s infinite;
}

/* Bullets */
.icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d6efd;
  opacity: .85;
}

/*Hovers*/
.img-wire {
  width: 100%;
  aspect-ratio: 16/10;
  border: 2px dashed #cfd8e3;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, transparent 0 8px, #f3f6f9 8px 16px);
  transition: transform .25s ease, box-shadow .25s ease;
}

.img-wire:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(16, 24, 40, .08);
}

.historia-card {
  min-width: 260px;
  border-radius: 14px;
  border: 1.5px solid #ebeff3;
  transition: transform .25s ease, box-shadow .25s ease;
}

.historia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(16, 24, 40, .09);
}

/* Valores */
.value-card {
  border: 1.5px solid #ebeff3;
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(16, 24, 40, .08);
}

/* Entrada animada para nosotros con fade y desplazamiento*/
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.anim-fadeUp {
  opacity: 0;
  animation: fadeUp .7s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: var(--d, 0s);
}

/* Brillo en la línea */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Desktop: cards de historia en grilla */
@media (min-width: 992px) {
  .historia-scroll {
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .historia-card {
    min-width: 0;
  }
}

/* Estilos para footer*/
.footer-dark {
  /* //background: #0d1117; */
  background: linear-gradient(180deg, #0d1117 0%, #1a1f27 100%);
}

.footer-link {
  color: #adb5bd;
  text-decoration: none;
  transition: color .2s;
}

.footer-link:hover {
  color: #fff;
}

.social-link {
  font-size: 1.2rem;
  color: #adb5bd;
  transition: color .2s, transform .2s;
}

.social-link:hover {
  color: #0d6efd;
  transform: translateY(-2px);
}

/* Estilos para botones de mi carrusel*/
.carousel-caption h5 p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
}

.carousel-caption h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


.carousel-caption .btn {
  font-size: clamp(.85rem, 2vw, 1rem);
  padding: .5rem 1.25rem;
  border-radius: .75rem;
}

@media (max-width: 576px) {
  .carousel-caption h5 p {
    font-size: .9rem !important;
  }

  .carousel-caption h1 {
    font-size: 1.2rem !important;
  }

  .carousel-caption .btn {
    font-size: .8rem !important;
    padding: .4rem 1rem !important;
  }
}