/* ══════════════════════════════
   CONTACTO -- sección final de la home (fondo fucsia, .cta-section).
   Mobile-first: intro arriba, tarjeta blanca con el form abajo.
   tablet.css: dos columnas dentro del form.
   laptop.css: intro a la izquierda, tarjeta a la derecha.
   El padding horizontal lo sigue poniendo la regla global
   "section { padding }" de cada breakpoint, así los bordes quedan
   alineados con el nav. Acá solo se ajusta el vertical.
══════════════════════════════ */

.cta-section.contact-section {
  text-align: left;
  padding-top: 64px;
  padding-bottom: 64px;
}
.contact-wrap { display: flex; flex-direction: column; gap: 2.5rem; }

/* ── Intro (columna izquierda) ── */
.contact-eyebrow { color: rgba(255,255,255,0.75); }
.contact-eyebrow::before { background: var(--white); }
.contact-section h2 { font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.05; }
.contact-section .cta-sub { margin: 1rem 0 2rem; max-width: 34ch; }

.contact-links {
  list-style: none; margin: 0; padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: grid; gap: 0.8rem;
}
.contact-links li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-links span {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.contact-links a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Tarjeta del form ── */
.contact-panel {
  width: 100%;
  max-width: 800px;
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(60,0,25,0.25);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.contact-field { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-field label { font-size: 0.78rem; font-weight: 600; color: var(--ink-mid); }
.contact-asterisk { color: var(--fuchsia); }
.contact-optional { font-weight: 400; color: var(--ink-dim); }

.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: inherit; font-size: 0.92rem; color: var(--ink);
  background-color: var(--off);
  border: 1px solid var(--border-md);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  width: 100%;
}
.contact-field input,
.contact-field select { height: 42px; }
.contact-field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23444' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}
.contact-field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.contact-field textarea::placeholder { color: var(--ink-dim); }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--fuchsia);
  box-shadow: 0 0 0 3px var(--fuchsia-pale);
}

/* Honeypot: fuera de pantalla, no display:none (algunos bots lo detectan) */
.contact-hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.contact-submit {
  display: block; width: 100%;
  font-family: inherit; font-size: 0.92rem; font-weight: 500;
  color: var(--white); background: var(--fuchsia);
  border: none; border-radius: var(--r);
  padding: 0.85rem 1.5rem; cursor: pointer;
  transition: background .15s, transform .12s;
}
.contact-submit:hover { background: var(--fuchsia-dark); transform: translateY(-1px); }
.contact-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.contact-status { margin: 0.8rem 0 0; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.contact-status:empty { display: none; }
.contact-status.is-error { color: var(--fuchsia-dark); }

.contact-privacy { margin: 0.7rem 0 0; font-size: 0.75rem; color: var(--ink-dim); }

/* Enviado: se oculta el form y queda solo el mensaje dentro de la tarjeta */
.contact-form.is-sent .contact-grid,
.contact-form.is-sent .contact-submit,
.contact-form.is-sent .contact-privacy { display: none; }
.contact-form.is-sent .contact-status { margin: 0; font-size: 1.05rem; text-align: center; padding: 2rem 0; }
