/* AmaPay - contacto */

.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 6vw, 80px)) 0 clamp(56px, 6vw, 80px);
  background: var(--primary);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Gota del logo como recorte decorativo */
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  aspect-ratio: 1;
  right: -120px;
  top: -60px;
  border-radius: 50% 50% 50% 14% / 50% 50% 50% 14%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.page-hero .container {
  display: grid;
  gap: 18px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 16ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.channels {
  list-style: none;
  border-top: 1px solid var(--line);
}
.channel {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.channel i {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.channel h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-3);
}
.channel p,
.channel a {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.channel a:hover {
  color: var(--accent-strong);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.form-card h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.form-card > p {
  color: var(--text-3);
  font-size: 15px;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  align-content: start;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 14px;
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-size: 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(70, 118, 240, 0.2);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}
.field .hint {
  font-size: 13px;
  color: var(--text-3);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.form-actions .btn {
  min-width: 200px;
}
.form-note {
  font-size: 13px;
  color: var(--text-3);
}
.notice {
  display: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  margin-bottom: 20px;
}
.notice.show {
  display: block;
}
.notice.ok {
  background: #ecf6f0;
  color: var(--ok);
  border: 1px solid #cfe8da;
}
.notice.err {
  background: #fdf0ef;
  color: var(--danger);
  border: 1px solid #f6d3cf;
}

/* Preguntas frecuentes: todas visibles, en dos columnas */
.faq {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
}
.faq-item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.faq-item p {
  color: var(--text-2);
  font-size: 16px;
}

@media (max-width: 900px) {
  .contact-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-actions .btn {
    width: 100%;
  }
}
