/* Menu */
:root {
  --header-height: 3.5rem;

  --white-color: hsl(125, 95%, 47%);
  --black-color: hsl(0, 0%, 0%);

  --body-font: "Montserrat Alternates", sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;

  --font-regular: 400;
  --font-medium: 500;

  --z-fixed: 100;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

/* Estilos para el header y navegación */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--black-color);
  z-index: var(--z-fixed);
}

/* Contenedor del nav */
.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 60px;
  width: auto;
  filter: brightness(1.4);
}

/* Red social */
.nav__social {
  display: flex;
  column-gap: 1rem;
}

.nav__social-link {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.nav__social-link:hover {
  transform: translateY(-0.25rem);
}

/* Responsive: solo ajuste mínimo si lo necesitas */
@media (max-width: 480px) {
  .nav__container {
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    /* limita el ancho máximo */
    margin: 0 auto;
    /* centra horizontalmente */
    padding: 0 1rem;
    /* padding lateral para no pegarse al borde */
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav__logo {
    flex-shrink: 0;
  }

  .logo__img {
    height: 40px;
    width: auto;
    filter: brightness(1.2);
  }

  .nav__social {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .nav__social-link {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
  }

  .nav__social-link:hover {
    transform: translateY(-0.15rem);
  }
}


/* Pie de página */
.pie__pagina {
  width: 100%;
  background-color: #ffffff;
  padding: 15px 0;
  color: #000;
}

.pie__pagina .grupo-1 {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  padding: 20px;
}

.pie__pagina .grupo-1 .box {
  text-align: center;
}

.pie__pagina .grupo-1 .box figure img {
  width: 110px;
  height: auto;
}

.pie__pagina .grupo-1 .box h2 {
  color: #0b0e0b;
  font-size: 20px;
  margin-bottom: 10px;
}

.pie__pagina .grupo-1 .box p {
  color: #040504;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 2.5;
}

.pie__pagina .grupo-1 .red-social a {
  text-decoration: none;
  margin: 0 10px;
  color: #0a0a0a;
  font-size: 20px;
  width: 40px;
  height: 45px;
}

.pie__pagina .grupo-2 {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #2eec076d;
  padding-top: 10px;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {

  .row,
  .row.reverse {
    flex-direction: column !important;
    text-align: center;
  }

  .img__content img {
    width: 90%;
    margin-bottom: 20px;
  }

  .content {
    padding: 0 10px;
  }

  .pie__pagina .grupo-1 {
    grid-template-columns: 1fr;
  }

  .pie__pagina .grupo-1 .box {
    margin-bottom: 30px;
  }
}

/* Botón con imagen */
.img-boton img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.img-boton img:hover {
  transform: scale(1.1);
}



/* Contenedor principal */
body {
  font-family: "Poppins", sans-serif;
  background-color: #282828;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: cover;
  transition: background-position 0.2s ease-out;
  height: 100%;
  display: flex;
  flex-direction: column;

  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;

}

.seccion__info {
  background: linear-gradient(to bottom right, #0d0d0d, #1b1b1b);
  padding: 80px 20px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(7, 255, 28, 0.2);
  text-align: center;
  overflow: hidden;
}

.text__section {
  font-size: 2.8rem;
  font-weight: bold;
  color: #07ff1c;
  text-transform: uppercase;
  margin: 0 0 15px;
  text-shadow: 0 0 10px rgba(7, 255, 28, 0.5);
  animation: fadeInUp 0.8s ease-out;
}

.info__section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

.row.normal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
  background-color: #121212;
  border: 1px solid rgba(7, 255, 28, 0.15);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(7, 255, 28, 0.08);
}

.img__content {
  flex: 1 1 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img__content img {
  width: 100%;
  max-width: 250px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(7, 255, 28, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img__content img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(7, 255, 28, 0.4);
}

.info__content {
  flex: 2 1 400px;
  text-align: justify;
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.info__content p {
  margin-bottom: 18px;
}

.info__content strong {
  color: #07ff1c;
  font-weight: 600;
}

.mapa {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  animation: fadeInUp 1s ease-out;
}

.mapa iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(7, 255, 28, 0.2);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  outline: 2px solid rgba(7, 255, 28, 0.3);
  background-color: #000;
  /* fallback por si tarda en cargar */
}

.mapa iframe:hover {
  box-shadow: 0 0 50px rgba(7, 255, 28, 0.5);
  transform: scale(1.01);
  outline: 2px solid rgba(7, 255, 28, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .mapa {
    padding: 1.5rem 0.8rem;
  }

  .mapa iframe {
    height: 350px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(7, 255, 28, 0.15);
  }
}

@media (max-width: 480px) {
  .mapa {
    padding: 1rem 0.5rem;
  }

  .mapa iframe {
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(7, 255, 28, 0.1);
  }
}



/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo */
@media screen and (max-width: 768px) {
  .row.normal {
    flex-direction: column;
    padding: 20px;
  }

  .img__content,
  .info__content {
    flex: 1 1 100%;
  }

  .text__section {
    font-size: 2rem;
  }
}