/* =========================
   CONTÁCTANOS - ESTILOS BASE
========================= */
.container-ppl-contactanos {
  padding: 0 20px;
  background-color: #f4f6f9;
  color: #333;
  margin-top: 11rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.cont-info-contacto {
  max-width: 1200px;
  margin: 5rem auto 0 auto;
  padding: 2rem 0;
}

/* =========================
   TÍTULOS Y DESCRIPCIÓN
========================= */
.title-info-contacto {
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #002244;
  font-weight: 700;
}


.paragraph-info-contactanos {
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 3rem;
  color: #555;
  line-height: 1.8;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.icono-contacto{
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  width: 20px;         
  height: auto;
  vertical-align: middle;
  margin-right: 8px;  
}

/* =========================
   NUEVO ORDEN: COLUMNA
========================= */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* =========================
   FORMULARIO
========================= */
.form-contacto {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  position: relative;
  margin-bottom: 1.8rem;
}

.form-contacto input,
.form-contacto textarea {
  width: 100%;
  border: 1px solid #ccd6dd;
  border-radius: 6px;
  background-color: #fdfdfd;
  padding: 1.2rem 1rem 0.6rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-contacto textarea {
  min-height: 120px;
  resize: vertical;
}

.form-contacto label {
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  color: #888;
  font-size: 0.95rem;
  pointer-events: none;
  transition: 0.2s ease all;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
  border-color: #004080;
  outline: none;
  background-color: #fff;
}

.form-contacto input:focus + label,
.form-contacto input:not(:placeholder-shown) + label,
.form-contacto textarea:focus + label,
.form-contacto textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.8rem;
  background: #fff;
  padding: 0 5px;
  font-size: 0.75rem;
  color: #004080;
}

.form-contacto button {
  background-color: #002244;
  color: #fff;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.form-contacto button:hover {
  background-color: #004080;
}

/* =========================
   MAPA
========================= */
.mapa-contacto {
  width: 100%;
  max-width: 1900px;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =========================
   CORREOS
========================= */
.container-ppl-contactanos {
  padding: 2rem 1rem;
  font-family: 'Inter', sans-serif;
  background-color: #f4f9fc;
}

.cont-info-contacto {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.title-info-contacto {
  font-size: 2rem;
  font-weight: 700;
  color: #002244;
  margin-bottom: 1rem;
}

.paragraph-info-contactanos {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
}

.correos-contacto {
  background-color: #ffffff;
  border-left: 5px solid #0061a8;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.titulo-correos {
  font-size: 1.5rem;
  font-weight: 700;
  color: #002244;
  margin-bottom: 2rem;
  text-align: left;
}

.resaltado {
  color: #0061a8;
}

.item-correo {
  margin-bottom: 2rem;
  text-align: left;
}

.correo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.icono-contacto {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icono-contacto:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.title-corre-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #004080;
  margin: 0;
}

.correo-correo-cont {
  display: inline-block;
  color: #0061a8;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-word;
}

.correo-correo-cont:hover {
  color: #004080;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .correo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .title-corre-name {
    font-size: 1.1rem;
  }

  .icono-contacto {
    width: 32px;
    height: 32px;
  }
}

.item-correo {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.item-correo.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   IMAGEN DE FONDO
========================= */
.imagen-fondo-contacto {
  background-image: url("/assets/img/img-6.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  width: 100%;
  height: 400px;
  position: relative;
  filter: brightness(0.5);
}

.strg-contact-over{
  text-transform: uppercase;
}

.contenido-contacto-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 90%;
}

.titulo-contacto-overlay {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.descripcion-contacto-overlay {
  font-size: 1.4rem;
  line-height: 1.6;
}

/* =========================
   MEDIA QUERIES RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .cont-info-contacto {
    padding: 0 2rem;
  }

  .titulo-contacto-overlay {
    font-size: 2.4rem;
  }

  .descripcion-contacto-overlay {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .form-contacto,
  .mapa-contacto,
  .correos-contacto {
    width: 100%;
  }

  .container-ppl-contactanos{
    margin-top: 14rem;
  }

  .imagen-fondo-contacto {
    background-attachment: scroll;
    height: 300px;
  }

  .titulo-contacto-overlay {
    font-size: 2rem;
  }

  .descripcion-contacto-overlay {
    font-size: 1rem;
  }

  .correos-contacto {
    padding: 1.5rem;
  }

  .item-correo {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .title-info-contacto {
    font-size: 2rem;
  }

  .paragraph-info-contactanos {
    font-size: 1rem;
  }

  .titulo-contacto-overlay {
    font-size: 1.6rem;
  }

  .descripcion-contacto-overlay {
    font-size: 1rem;
  }

  .correos-contacto {
    padding: 1rem;
  }

  .titulo-correos {
    font-size: 1.2rem;
  }

  .item-correo {
    font-size: 0.9rem;
  }
}
