.btn-linea-azul {
  /* Estructura visual similar a w3-button */
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;

  /* Protección táctil */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* Efecto visual personalizado */
  position: relative;
  transition: color 0.3s ease;
}

.btn-linea-azul::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #2196f3; /* Azul institucional */
  transition: width 0.3s ease;
  pointer-events: none;
}

.btn-linea-azul:hover {
  color: #2196f3;
}

.btn-linea-azul:hover::after {
  width: 100%;
}

.azul {
  background-color: #0073e2 !important; /* Azul institucional */
  color: white !important;
}

.texto-azul {
  color: #0073e2 !important; /* Azul institucional */
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

body,
html {
  height: 100%;
  line-height: 1.5;
}

.w3-bar .w3-button {
  padding: 16px;
}

.w3-bar .btn-linea-azul {
  padding: 16px;
}

span.titulo-din {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: -0.5px;
  transform: scaleX(0.8);
  line-height: 1.2;
  /* solo tienes esta variante */
}

.titulo-card {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  text-align: center;
  letter-spacing: -0.5px;
  transform: scaleX(0.8);
  line-height: 1.2;
  color: #363636;
}

.titulo {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4em;
  color: #363636;
  letter-spacing: -0.5px;
  transform: scaleX(0.8);
  line-height: 1.2;
  /* más compacto verticalmente */
}

.titulo-prinicpal {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 42px;
  letter-spacing: 1px;
  line-height: 1.4em;
  letter-spacing: -0.5px;
  /* o -1px si quieres más compacto */
  transform: scaleX(0.9);
  /* 1.05 = 5% más ancho */
  color: #363636;
}

.parrafo-card {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  text-align: center;
  font-weight: 400;
  color: #363636;
}

.numero-grande {
  font-size: 4rem;
  /* Puedes ajustar a 5rem, 7rem, etc. según el diseño */
  font-weight: bold;
  color: white;
  /* O el color que contraste con el fondo */
  z-index: 2;
  position: relative;
}

.gris {
  background-color: rgba(56, 56, 56, 0.5);
}

/* Animación desde la izquierda */
.animar-izquierda {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.animar-izquierda.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animación desde la derecha */
.animar-derecha {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.animar-derecha.visible {
  opacity: 1;
  transform: translateX(0);
}

.quien-somos {
  text-align: right;
  letter-spacing: -0.5px;
  transform: scaleX(0.9);
  line-height: 1;
  font-size: 36px;
  font-weight: 300;
}

.quien-somos-p {
  font-family: "Inter", Arial, Helvetica, sans-serif;

  letter-spacing: -0.5px;
  transform: scaleX(0.9);
  line-height: 1.8;
  color: #363636;
}

swiper-container {
  width: 100%;
  height: 300px;
  margin: 20px auto;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.subir-boton {
  position: fixed;
  right: 1cm;
  /* distancia desde el borde derecho */
  bottom: 1cm;
  /* altura desde abajo, puedes ajustar */
  z-index: 999;
  /* para que esté por encima de otros elementos */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

/* Para pantallas de 768px o menos */
@media (max-width: 768px) {
  .animar-izquierda,
  .animar-derecha {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html,
  body {
    overflow-x: hidden;
    /* fuerza a cortar el exceso */
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* mantiene proporción sin recortar */
  }

  .titulo {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4em;
    color: #363636;
    letter-spacing: -0.5px;
    transform: scaleX(0.8);
    line-height: 1.2;
    /* más compacto verticalmente */
  }

  .titulo-prinicpal {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 32px;
    letter-spacing: 1px;
    line-height: 1.4em;
    letter-spacing: -0.5px;
    /* o -1px si quieres más compacto */
    transform: scaleX(0.9);
    /* 1.05 = 5% más ancho */
    color: #363636;
  }
}
