/* ==========================================================================
   La Manne du Ciel — contact.css
   Estilos EXCLUSIVOS de la página de contacto (contact.html).
   Depende de base.css (variables, botones, layout, cabecera, pie).
   ========================================================================== */

/* Cabecera de la página (banda navy).
   El padding-top incluye la altura de la cabecera fija para que el título
   quede por debajo y el logo se lea sobre el fondo oscuro. */
.subpage-header {
  background: var(--navy);
  padding: calc(var(--header-h) + clamp(28px, 5vw, 40px)) 24px
    clamp(48px, 8vw, 80px);
}
.subpage-header__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.15;
  max-width: 640px;
}
.subpage-header__title em {
  font-style: italic;
  color: var(--gold);
}
.subpage-header__lead {
  font-size: var(--fs-body);
  color: var(--text-body-on-dark);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 16px;
}

.page-body {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) 24px;
}

/* Rejilla contacto (info + formulario) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(36px, 5vw, 60px);
  align-items: start;
}
.contact-info__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  gap: 14px;
}
.contact-item__icon {
  font-size: 1.2rem;
  margin-top: 1px;
}
.contact-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-item__value {
  font-size: var(--fs-body-sm);
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--sand);
}
.contact-item__value--plain {
  color: var(--text-body-on-light);
  line-height: 1.55;
  border-bottom: none;
  white-space: pre-line;
}
.contact-note {
  margin-top: 32px;
  padding: 20px;
  background: var(--sand-light);
  border-radius: var(--radius-md);
}
.contact-note__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-note__text {
  font-size: var(--fs-body-sm);
  color: var(--text-body-on-light);
  line-height: 1.6;
}

/* Formulario */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-form);
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 86, 0.15);
}
.form-input::placeholder {
  color: var(--muted);
}
textarea.form-input {
  resize: vertical;
  min-height: 110px;
}
.form-block {
  margin-bottom: 24px;
}
.form__actions {
  text-align: center;
}
.form__disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}
/* Campo trampa anti-spam (honeypot): oculto para humanos */
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form__error {
  font-size: 0.85rem;
  color: #b3261e;
  margin-top: 12px;
  line-height: 1.5;
}
.form__error a {
  color: #b3261e;
  font-weight: 600;
}
.form-success {
  text-align: center;
  padding: 60px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
}
.form-success__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.form-success__title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.form-success__text {
  font-size: var(--fs-body);
  color: var(--text-body-on-light);
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 400px;
}

/* Responsive */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
