/* Menu */
:root {
  --header-height: 3.5rem;

  --white-color: hsl(0, 0%, 100%);
  --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: linear-gradient(to bottom right, #000000, #1a1919);

  padding: 15px 0;
  color: #ffffff;
}

.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: #10dddd;
  font-size: 20px;
  margin-bottom: 10px;
}

.pie__pagina .grupo-1 .box p {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 2.5;
}

.pie__pagina .grupo-1 .red-social a {
  text-decoration: none;
  margin: 0 10px;
  color: #ffffff;
  font-size: 20px;
  width: 40px;
  height: 45px;
}

.pie__pagina .grupo-2 {
  text-align: center;
  margin-top: 20px;
  border-top: 10px solid #07e7e7f3;
  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(189, 3, 3, 0.575);
  display: block;
  margin: 0 auto;
}

.img-boton img:hover {
  transform: scale(1.1);
}



/* Contenedor principal */
body {
  font-family: "Poppins", sans-serif;
  background-color: #aa1010;
  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;
  min-height: 100%;
  background: #0d0d0d;
  overflow-x: hidden;
}

.seccion__info {
  background: linear-gradient(to bottom right, #000000, #1a1919);

  border-radius: 10px;
  box-shadow: 0 0 25px rgb(126, 3, 138);
  text-align: center;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 80px 0;
}

.text__section {
  font-size: 2.8rem;
  font-weight: bold;
  color: #6ce0db;
  text-transform: uppercase;
  margin: 0 0 15px;
  text-shadow: 0 0 25px rgba(7, 247, 255, 0.5);
  animation: fadeInUp 0.8s ease-out;
}

.info__section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.row.normal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
  background-color: #121212;
  border: 1px solid rgba(255, 152, 18, 0.918);
  border-radius: 20px;

 
  width: 100%;
  margin: 0;
  padding: 0px;
  border-radius: 0;
  border: none;
}

.img__content {
  flex: 1 1 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img__content img {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img__content img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(19, 226, 199, 0.76);
}

.info__content {
  flex: 2 1 400px;
  text-align: justify;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.7;
}

.info__content p {
  margin-bottom: 18px;
}

.info__content strong {
  color: hsl(180, 91%, 46%);
  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(19, 226, 199, 0.76);;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  outline: 2px solid rgba(25, 133, 115, 0.5);
  background-color: #fdd5d5;
}



@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(255, 156, 7, 0.986);
  }
}

@media (max-width: 480px) {
  .mapa {
    padding: 1rem 0.5rem;
  }

  .mapa iframe {
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 0 10px 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;
  }
}

