/* ── contacto.css ── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 6px rgba(11, 31, 58, 0.07);
}

.contact-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 14px;
}

/* ── MAP ── */
.map-section {
  width: 100%;
  margin: 2rem auto;
}

.map-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.map-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
}

.map-header p {
  color: var(--text-soft);
  margin-top: 6px;
  font-size: 14px;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ── FORM ── */
.contact-form-wrap {
  width: 100%;
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.contact-form {
  width: 100%;
  max-width: 860px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 1px 6px rgba(11,31,58,.07);
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sky);
}

.contact-form button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 13px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #c1121f;
}

/* ══════════════════════════════════
   RESPONSIVE — TABLET  ≤ 900px
══════════════════════════════════ */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ══════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 640px
══════════════════════════════════ */
@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .map-container iframe {
    height: 280px;
  }

  .contact-form {
    padding: 18px 16px;
    max-width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* evita zoom en iOS */
  }


  
}
