/* ============================================================
   contacto.css
   ============================================================ */

/* ===== HERO ===== */
.contact-hero {
  background: var(--paper);
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--line, #E5E3DF);
}

.contact-crumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  gap: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--magenta, #C2185B);
}
.contact-crumb li + li::before { content: " / "; white-space: pre; }
.contact-crumb a { color: var(--magenta, #C2185B); text-decoration: none; }
.contact-crumb a:hover { text-decoration: underline; }

.contact-hero-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 12px;
}
.contact-hero-title em { font-style: italic; color: var(--cyan); }

.contact-hero-lead {
  font-size: 17px;
  color: var(--slate, #596078);
  margin: 0;
}


/* ===== SECCIÓN PRINCIPAL ===== */
.contact-main { padding: 64px 0 80px; }


/* ===== CARD DEL FORMULARIO ===== */
.contact-form-card {
  background: #fff;
  border: 1.5px solid var(--line, #E5E3DF);
  border-radius: 20px;
  padding: 40px 36px;
}

.contact-form-intro {
  font-size: 15px;
  color: var(--slate, #596078);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line, #E5E3DF);
}


/* ===== CAMPOS ===== */
.cf-field {
  margin-top: 12px;
}
.cf-field input,
.cf-field textarea,
.cf-field select {
  width: 100%;
  background: var(--paper, #FAF8F4);
  border: 1.5px solid var(--line, #E5E3DF);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink, #1A1A2E);
  font-family: var(--sans, 'Inter', sans-serif);
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  -webkit-appearance: none;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--mute, #9097B0); }

.cf-field input:focus,
.cf-field textarea:focus,
.cf-field select:focus {
  outline: none;
  border-color: var(--cyan, #1E9FD6);
  box-shadow: 0 0 0 3px rgba(30,159,214,.12);
  background: #fff;
}

/* Flecha custom para selects */
.cf-select { position: relative; }
.cf-select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--slate, #596078);
  pointer-events: none;
}
.cf-select select { padding-right: 36px; cursor: pointer; }
.cf-select select option[value=""] { color: var(--mute, #9097B0); }

.cf-field textarea { resize: vertical; min-height: 110px; }

/* reCAPTCHA */
.cf-captcha {
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Botón submit */
.cf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  background: var(--navy, #1A2A6B);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--sans, 'Inter', sans-serif);
  padding: 16px 28px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background .18s, transform .15s;
}
.cf-submit svg { width: 18px; height: 18px; }
.cf-submit:hover {
  background: #0f1a50;
  transform: translateY(-2px);
}
.cf-submit:active { transform: translateY(0); }


/* ===== DATOS DE CONTACTO ===== */
.contact-info {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--paper, #FAF8F4);
  border: 1.5px solid var(--line, #E5E3DF);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy, #1A2A6B);
}

.contact-info-item h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy, #1A2A6B);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 14.5px;
  color: var(--slate, #596078);
  line-height: 1.55;
  margin: 0;
}
.contact-info-item a {
  color: var(--cyan, #1E9FD6);
  font-weight: 600;
}
.contact-info-item a:hover { text-decoration: underline; }

/* Mapa */
.contact-map-link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--line, #E5E3DF);
  margin-top: 4px;
  transition: box-shadow .2s;
}
.contact-map-link:hover { box-shadow: 0 4px 20px rgba(26,42,107,.12); }
.contact-map-img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-map-placeholder {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--paper, #FAF8F4);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #1A2A6B);
}
.contact-map-placeholder svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan, #1E9FD6);
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .contact-info { position: static; }
}

@media (max-width: 575px) {
  .contact-hero { padding: 36px 0 32px; }
  .contact-form-card { padding: 28px 20px; }
  .contact-main { padding: 40px 0 60px; }
}
