/* ========================================
   SECCIÓN CONTACTO
======================================== */

.section-contacto {
  width: 100%;

  padding:
    4rem
    var(--page-padding-mobile);

  background-color: var(--color1);

  text-align: center;
}


/* ========================================
   CONTENEDOR GENERAL
======================================== */

.container-info-contacto {
  width: 100%;
  max-width: var(--max-width);

  margin: 0 auto;

  display: flex;
  flex-direction: column;

  gap: 3rem;
}


/* ========================================
   BLOQUE DE TEXTO
======================================== */

.container-texto-contacto {
  width: 100%;
}


/* ========================================
   TÍTULOS
======================================== */

.section-contacto h5 {
  margin-bottom: 1rem;

  color: var(--color4);

  font-size: 0.9rem;
  font-weight: 700;

  text-align: center;
}


.section-contacto h1 {
  max-width: 330px;

  margin: 0 auto 2rem;

  color: var(--color5);

  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.05;

  text-align: center;
}


/* ========================================
   DATOS DE CONTACTO
======================================== */

.contacto {
  width: 100%;
  max-width: 520px;

  margin: 0 auto 2rem;

  display: flex;
  flex-direction: column;

  gap: 1rem;
}


.contacto-item {
  display: flex;
  align-items: center;

  gap: 0.9rem;

  text-align: left;
}


.contacto-item .icono {
  flex: 0 0 auto;

  width: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color4);
}


.contacto-item img {
  width: 24px;
  height: 24px;

  object-fit: contain;
}


.contacto-item .texto {
  color: var(--color5);

  font-size: 0.95rem;
  line-height: 1.5;
}


.contacto-item .texto a {
  color: inherit;

  transition: color 0.2s ease;
}


.contacto-item .texto a:hover {
  color: var(--color4);
}


/* ========================================
   BOTÓN
======================================== */

.container-button-contacto {
  display: flex;
  justify-content: center;
}


.btn-contacto-1 {
  width: 100%;
  max-width: 250px;
  min-height: 48px;

  padding: 0.8rem 1.4rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: var(--color4);

  border-radius: 6px;

  color: var(--color8);

  font-size: 0.9rem;
  font-weight: 700;

  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}


.btn-contacto-1:hover {
  background-color: var(--color10);
  transform: translateY(-2px);
}


/* ========================================
   MAPA
======================================== */

.container-mapa-contacto {
  width: 100%;

  display: flex;
  justify-content: center;
}


.container-mapa-contacto iframe {
  width: 100%;
  max-width: 600px;
  height: 360px;

  border: none;

  border-radius: 10px;

  display: block;
}


/* ========================================
   TABLET
======================================== */

@media screen and (min-width: 768px) {

  .section-contacto {
    padding:
      5rem
      var(--page-padding-tablet);
  }


  .container-info-contacto {
    gap: 4rem;
  }


  .section-contacto h5 {
    font-size: 1rem;
  }


  .section-contacto h1 {
    max-width: 600px;

    font-size: 2.8rem;
  }


  .contacto {
    max-width: 600px;
  }


  .contacto-item .texto {
    font-size: 1.05rem;
  }


  .container-mapa-contacto iframe {
    max-width: 700px;
    height: 420px;
  }

}


/* ========================================
   DESKTOP
======================================== */

@media screen and (min-width: 1024px) {

  .section-contacto {
    min-height: calc(100svh - var(--header-desktop));

    padding:
      5rem
      var(--page-padding-desktop);

    display: flex;
    align-items: center;
  }


  .container-info-contacto {
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    gap: clamp(4rem, 7vw, 7rem);
  }


  .container-texto-contacto {
    flex: 1;

    max-width: 520px;
  }


  .section-contacto h5 {
    margin-bottom: 1.4rem;

    text-align: left;
  }


  .section-contacto h1 {
    max-width: 100%;

    margin: 0 0 2rem;

    font-size: clamp(2.8rem, 3.6vw, 3.6rem);

    text-align: left;
  }


  .contacto {
    max-width: 100%;

    margin: 0 0 2rem;
  }


  .container-button-contacto {
    justify-content: flex-start;
  }


  .container-mapa-contacto {
    flex: 1;

    justify-content: flex-end;
  }


  .container-mapa-contacto iframe {
    max-width: 600px;
    height: 430px;
  }

}