/* =========================================
   PAGE: CONTACTO
   ========================================= */

.adv-contact-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1rem 6rem;
}

.adv-contact-container {
  width: 100%;
  max-width: 560px;
}

.adv-contact-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.adv-contact-title {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem 0;
  color: var(--text-main);
}

.adv-contact-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

.adv-contact-card {
  background: var(--bg-bento, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border-thin);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.adv-form__input--error {
  border-color: var(--color-red) !important;
}

.adv-form__error {
  font-size: 0.8rem;
  color: var(--color-red);
  min-height: 1em;
}

.adv-contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
}

.adv-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 57, 53, 0.25);
}

.adv-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.adv-contact-submit__icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.adv-contact-submit.is-loading .adv-contact-submit__icon {
  animation: adv-contact-spin 0.8s linear infinite;
}

@keyframes adv-contact-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.adv-contact-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

.adv-contact-legal a {
  color: var(--color-coral);
  text-decoration: underline;
}

.adv-contact-feedback {
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.adv-contact-feedback--success {
  color: var(--color-success, #108981);
}

.adv-contact-feedback--error {
  color: var(--color-red);
}

@media (max-width: 480px) {
  .adv-contact-card {
    padding: 1.75rem 1.25rem;
  }
}

.adv-solicitud-context {
  display: flex;
  justify-content: center;
  margin-bottom: -0.5rem;
}

.adv-solicitud-context__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 107, 67, 0.1);
  border: 1px solid rgba(255, 107, 67, 0.3);
  color: var(--color-coral);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}