body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
}

/* Título */
#contacto h2 {
  font-size: 3rem;
  color: #003b6f;
  text-align: center;
  margin: 40px 0 50px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.5px;
  position: relative;
}

#contacto h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background-color: #0077b6;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Contenedor principal */
.contacto {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.contacto .container {
  max-width: 900px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 100%;
}

/* Contenido interior */
.contacto-contenido {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contacto .info {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contacto .info a {
  color: #0077b6;
  text-decoration: none;
}

.contacto .info a:hover {
  text-decoration: underline;
}

/* Foto */
.foto {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.foto img {
  width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 600px) {
  .contacto-contenido {
    flex-direction: column;
    text-align: center;
  }
}
