/*
 * ARISTOM Contact Form — CSS
 * Place at: /wp-content/themes/porto-child/css/aristom-contact-form.css
 */

.acf-wrap {
  --acf-peach:  #FFD6BA;
  --acf-mint:   #9EE7C8;
  --acf-brand:  #A02138;
  --acf-ink:    #1E2A44;
  --acf-cream:  #FFF8EE;
  --acf-line:   rgba(30,42,68,.08);
  --acf-coral:  #FF8A65;
  font-family: 'Nunito', sans-serif;
  color: var(--acf-ink);
}

/* ── Form card ──────────────────────────────────────────── */
.acf-form-card {
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  border: 1px solid var(--acf-line);
  box-shadow: 0 14px 40px rgba(30,42,68,.06);
  position: relative;
  overflow: hidden;
  max-width: 780px;
}

.acf-form-card::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--acf-peach);
  opacity: .25;
  pointer-events: none;
}

.acf-form-card::after {
  content: '';
  position: absolute;
  bottom: -90px; right: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--acf-mint);
  opacity: .25;
  pointer-events: none;
}

.acf-form-inner {
  position: relative;
  z-index: 1;
}

/* Eyebrow pill */
.acf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--acf-line);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  color: var(--acf-brand);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

/* Heading */
.acf-form-card h2 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--acf-ink);
}
.acf-form-card h2 em {
  font-style: italic;
  color: var(--acf-brand);
}

.acf-lead {
  color: #475473;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Topic pills */
.acf-topic-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.acf-pill {
  background: var(--acf-cream);
  border: 1px solid var(--acf-line);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--acf-ink);
  cursor: pointer;
  transition: all .15s;
  line-height: 1;
}
.acf-pill:hover  { border-color: var(--acf-brand); }
.acf-pill.active { background: var(--acf-brand); color: #fff; border-color: var(--acf-brand); }

/* Form rows */
.acf-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.acf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.acf-field.acf-full { grid-column: 1 / -1; }

.acf-field label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #596680;
}
.acf-field label .req { color: var(--acf-brand); }

.acf-field input,
.acf-field textarea {
  background: var(--acf-cream);
  border: 1px solid var(--acf-line);
  padding: 14px 16px;
  border-radius: 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--acf-ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  box-sizing: border-box;
}
.acf-field input:focus,
.acf-field textarea:focus {
  border-color: var(--acf-brand);
  box-shadow: 0 0 0 3px rgba(160,33,56,.12);
  background: #fff;
}
.acf-field textarea {
  resize: vertical;
  min-height: 130px;
}

/* Consent */
.acf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
  font-size: 13px;
  color: #596680;
  line-height: 1.5;
  cursor: pointer;
}
.acf-consent input[type="checkbox"] {
  accent-color: var(--acf-brand);
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  padding: 0;
}
.acf-consent a {
  color: var(--acf-brand);
  font-weight: 700;
  text-decoration: underline;
}

/* Status */
.acf-status {
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.acf-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.acf-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Submit row */
.acf-submit-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.acf-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  border: none;
  background: var(--acf-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(160,33,56,.28);
  transition: transform .15s, opacity .15s;
  line-height: 1;
}
.acf-btn-primary:hover    { transform: translateY(-2px); }
.acf-btn-primary:disabled { opacity: .65; cursor: not-allowed; }

.acf-reply-note {
  font-size: 12px;
  color: #778;
  font-weight: 700;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .acf-form-card  { padding: 22px; }
  .acf-form-card h2 { font-size: 26px; }
  .acf-form-row   { grid-template-columns: 1fr; }
  .acf-submit-row { flex-direction: column; align-items: flex-start; }
}
