.page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0px;
    background-image: url("images/fondo-nosotros.webp");
    flex-wrap: wrap;
    text-align: left;
}

.contact-section h2 {
    width: 100%;
    color: #e63946;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-left {
    flex: 1;
    text-align: center;
    margin-right: 20px;
}

.contact-photo {
    max-width: 60%;
    border-radius: 8px;
    margin-top: 3px;
}

.contact-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
    justify-items: start;
    padding-top: 50px;
}

.contact-method {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
    padding: 10px;
}

.contact-method img {
    width: 125px;
    height: 125px;
    margin-right: 10px;
}

.contact-method p {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.contact-method:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-method:hover p {
    color: #e63946;
}



/* UBICACIÓN */
.section-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
  
}

.text-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 30%;
}

.text-icon .icon {
  margin-bottom: 15px;
}

.text-icon img {
  width: 150px;
  height: 150px;
}

.text-icon p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.map iframe {
  border-radius: 50px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
}

/* Media Queries para versiones móviles y tabletas */
@media (max-width: 1024px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        background-size: cover;
    }

    .contact-left {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .contact-photo {
        max-width: 80%;
    }

    .contact-right {
        grid-template-columns:2, 1fr;
        gap: 20px;
        padding-top: 20px;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-method img {
        margin-bottom: 10px;
        margin-right: 0;
        width: 80px;
        height: 80px;
    }

    .contact-method p {
        font-size: 16px;
    }

    .section-container {
        flex-direction: column;
        text-align: center;
    }

    .text-icon {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .text-icon img {
        width: 100px;
        height: 100px;
    }

    .text-icon p {
        font-size: 14px;
    }

    .map iframe {
        width: 100%;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section h2 {
        font-size: 24px;
    }

    .contact-method img {
        width: 60px;
        height: 60px;
    }

    .contact-method p {
        font-size: 14px;
    }

    .text-icon img {
        width: 80px;
        height: 80px;
    }

    .text-icon p {
        font-size: 12px;
    }
}
/* form */
 /* (Mismos estilos del formulario centrado) */
    * { box-sizing: border-box; }
    .formulario {
      margin: 0; font-family: Arial, sans-serif;
      display: flex; justify-content: center; align-items: center;
      height: 100vh;
    }
    .form-container {
      background-color: #fff; padding: 30px; border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); width: 100%; max-width: 400px;
    }
    h2 { text-align: center; margin-bottom: 20px; }
    label { display: block; margin-top: 10px; font-weight: bold; }
    input, textarea {
      width: 100%; padding: 10px; margin-top: 5px;
      border: 1px solid #ccc; border-radius: 6px;
    }
    button {
      margin-top: 20px; width: 100%; padding: 12px;
      background-color: #007BFF; color: white;
      border: none; border-radius: 6px;
      font-size: 16px; cursor: pointer;
    }
    button:hover { background-color: #0056b3; }