/* Contacto page - same design system as styles.css */

.contact-section {
  padding-block: clamp(64px, 9vw, 120px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-intro h1 {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.contact-intro h1 span {
  position: relative;
  display: inline;
  box-decoration-break: clone;
  background: linear-gradient(transparent 64%, var(--acid) 64%);
  -webkit-box-decoration-break: clone;
}

.contact-lede {
  max-width: 560px;
  margin-bottom: 30px;
  color: #343a36;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.contact-notes {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.contact-notes li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-notes li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.contact-form-wrap .reveal {
  width: 100%;
}

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-hard);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.22);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a918a;
}

.form-field select {
  appearance: none;
  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 1l5 5 5-5' fill='none' stroke='%23101412' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.contact-form .button {
  width: 100%;
  margin-top: 8px;
}

.form-errors {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 2px solid var(--orange);
  background: rgba(255, 107, 53, 0.08);
  list-style: none;
}

.form-errors li {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-errors li:last-child {
  margin-bottom: 0;
}

.form-status {
  padding: clamp(24px, 4vw, 40px);
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-hard);
}

.form-status p:first-child {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-status p {
  color: #343a36;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form .button,
  .form-field input,
  .form-field select,
  .form-field textarea {
    transition: none;
  }
}
