.intro {
  min-height: 100vh;
  padding-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(#5050503d, #c8e5fa7c), url(../img/IMG_6375.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position: 0% 10%;
  background-size: 100% 100%;
}

.intro-divider {
  position: absolute;
  top: 0; left: 50%;
  width: 3px; height: 100%;
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 2;
  padding: 60px 60px 60px 80px;
}

.intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .6s ease .1s forwards;
}

.intro-tag span {
  font-family: var(--fuente-1);
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-5);
  text-shadow: 3px 4px 5px rgb(0, 0, 0); 
}

.intro h1 {
  font-family: var(--fuente-1);
  font-weight: 900;
  font-size: clamp(52px, 5.5vw, 88px);
  line-height: 0.93;
  text-transform: uppercase;
  color: #1c7fff;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp .6s ease .25s forwards;
  
}

.intro h1 span{
    text-shadow: 3px 4px 10px rgba(0, 0, 0, 0.534); 
}

.intro h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--azul-3), var(--azul-6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  text-shadow: 6px 6px 13px #1e87ff91; 
}

.intro p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.75;
  max-width: 760px;
  margin: 24px 0 40px;
  opacity: 0;
  animation: fadeUp .6s ease .4s forwards;
  color: white;
  text-shadow: 3px 4px 10px rgba(0, 0, 0, 0.836); 
}

.intro-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .6s ease .55s forwards;
}

.btn-primary {
  background: linear-gradient(90deg, var(--azul-2), var(--azul-3));
  color: var(--blanco);
  padding: 14px 36px;
  font-family: var(--fuente-1);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: opacity .2s, transform .15s, box-shadow .2s;
  display: inline-block;
  box-shadow: 0 4px 18px #1a4dc24d;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px #1a4dc266;
}

.btn-outline {
  border: 2px solid var(--verde-neon);
  color: var(--azul-1);
  padding: 12px 36px;
  font-family: var(--fuente-1);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
  display: inline-block;
  background-color: var(--verde-neon);
}

.btn-outline:hover {
  background: var(--verde-neon-d);
  border: 2px solid var(--verde-neon-d);
  color: var(--blanco);
}

/*  CARRUSEL */
.intro-carousel {
  opacity: 0;
  animation: fadeIn .8s ease .4s forwards;
  z-index: 2;
}

/* El contenedor interno de las fotos del carrusel */
.intro-carousel .carousel {
  height: 260px !important; 
  border-radius: 12px;
  border-bottom: 2px solid var(--verde-neon);
  border-top: 2px solid var(--verde-neon);
  overflow: hidden;
  object-position: center !important;
}


/* CARRUSEL - POSICIÓN EN ORDENADORES (1080p, 2K, 4K...)*/
@media (min-width: 1024px) {
  .intro-carousel {
    position: absolute !important;
    margin: 0 !important; 
    width: 19vw !important; 
    height: 880px !important;
    max-width: none !important; 
    left: 30vw !important; 
    top: 71vh !important;  
    transform: rotate(-0.7deg) !important;
    object-position: center !important;
  }
}


.intro-carousel .carousel {
  height: 240px;
  border-radius: 12px;
  border-bottom: 2px solid var(--verde-neon);
  border-top: 2px solid var(--verde-neon);
  overflow: hidden;
}

.intro-carousel .carousel .carousel-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; 
  object-position: center !important;
  display: block;
}

.intro-carousel .carousel-inner,
.intro-carousel .carousel-item {
  height: 100% !important;
}


/* Anagrama */
.anagrama {
  position: absolute;
  right: 2%; 
  bottom: 2%;
  width: 25vw;
  max-width: 470px;
  min-width: 250px;
  height: auto;
  z-index: 2;
}
/* nosotros */
.nosotros {
  padding: 100px 0px;
  background: var(--blanco);
  position: relative;
  overflow: hidden;
}

.nosotros-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 72px;
  margin-bottom: 100px;
}

.nosotros-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.nosotros-tag-line {
  width: 36px; height: 2px;
  background: var(--rojo-neon);
}

.nosotros-tag span {
  font-family: var(--fuente-1);
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--azul-3);
}

.nosotros-header h2 {
  font-family: var(--fuente-1);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--azul-1);
  margin-bottom: 18px;
}

.nosotros-header h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--azul-2), var(--azul-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nosotros-header p {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.75;
  font-family: var(--fuente-1);
  color: var(--azul-3);
}

.nosotros-header p strong {
  color: var(--azul-1);
  font-weight: 800;
  text-transform: uppercase;
}


.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}

.nosotros-img {
  position: relative;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.nosotros-img-content {
  width: 700px;
  height: 500px;
  border-radius: 8px;
  object-fit: cover;
}

.nosotros-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--azul-2), var(--azul-4));
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-num {
  font-family: var(--fuente-1);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--verde-neon);
}

.badge-txt {
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffffb3;
  margin-top: 4px;
}

.nosotros-texto p {
  font-size: 18px;
}


.nosotros-texto p strong {
  color: var(--azul-1);
  font-weight: 600;
}

.nosotros-valores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.valor-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  margin-top: 20px;
}

.valor-icon {
  width: 42px; height: 42px;
  background: var(--gris-fondo);
  border: 1px solid var(--gris-borde);
  border-top: 2px solid var(--azul-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--azul-2);
}

.mapa {
  width: 100%;
  height: 450px;
  border: none;
  position: static;
  margin-bottom: -5px;
}
