/* Página /contacto — mismo sistema visual que #cd-page (condordata-landing.css) */

#cd-page .cd-contact-main {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 48px;
  min-height: 72vh;
}

#cd-page .cd-contact-page {
  padding-top: 24px;
}

#cd-page .cd-contact-page .section-inner {
  max-width: 640px;
}

/* Anular gradientes globales de style.css en titulares del formulario */
#cd-page .cd-contact-page .section-h2 {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--text) !important;
  text-align: center;
}

#cd-page .cd-contact-page .section-tag {
  justify-content: center;
}

#cd-page .cd-contact-page .section-tag::before {
  display: none;
}

#cd-page .cd-contact-page .section-lead {
  text-align: center;
  max-width: none;
}

#cd-page .cd-contact-form {
  margin-top: 8px;
  padding: 28px 32px 32px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

#cd-page .cd-field {
  margin-bottom: 1.25rem;
}

#cd-page .cd-field:last-of-type {
  margin-bottom: 1.5rem;
}

#cd-page .cd-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

#cd-page .cd-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#cd-page .cd-input::placeholder {
  color: var(--text-muted);
}

#cd-page .cd-input:focus {
  outline: none;
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

#cd-page textarea.cd-input {
  resize: vertical;
  min-height: 140px;
}

#cd-page .cd-contact-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  margin-top: 4px;
}

#cd-page .cd-contact-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

#cd-page .cd-flashes {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: center;
}

#cd-page .cd-flashes li {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

#cd-page .cd-flashes li.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

#cd-page .cd-flashes li.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

@media (max-width: 600px) {
  #cd-page .cd-contact-form {
    padding: 22px 20px 26px;
  }
}
