/* ===== MAIN GENERAL ===== */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

/* ===== HERO ===== */
.hero-box {
  margin-bottom: 50px;
}

.hero-box h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.hero-box .subtitulo {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #555;
}

.hero-box .hero-image {
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* ===== GRID CONTACTO ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-items: center;
  margin-bottom: 50px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 350px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.card i {
  margin-bottom: 10px;
  color: #1a73e8; /* azul institucional */
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #2c3e50;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

.card a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

/* ===== FORMULARIO DE CONTACTO ===== */
.contact-form {
  max-width: 700px;
  margin: 0 auto 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 5px rgba(26,115,232,0.3);
  outline: none;
}

.btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background: #0c5fd1;
  transform: translateY(-2px);
}
/* ===================== FONDO COMPLETO ===================== */
body {
  background-color: #f0f8ff; /* igual que admision */
}
