/* ============================================================
   Cerenium Technologies — contact.css
   ============================================================ */

/* ─── CONTACT HERO ───────────────────────────────────────────── */
.contact-hero .page-hero-bg img {
  object-position: center 25%;
}

/* ─── CONTACT SECTION ────────────────────────────────────────── */
.contact-section { padding: 6rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ─── FORM ───────────────────────────────────────────────────── */
.contact-form-wrapper h2 { margin-bottom: 0.5rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.required { color: var(--gold-text); margin-left: 2px; } /* gold-text = 5.09:1 on white */

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder { color: var(--gray-placeholder); } /* #767676 = 4.54:1 on white — WCAG AA */

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.12);
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #DC2626;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6A85' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea { resize: vertical; min-height: 120px; }

.field-error {
  display: none;
  font-size: 0.78rem;
  color: #DC2626;
  font-weight: 500;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 3px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--gold);
}
.consent-label {
  align-items: flex-start;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.consent-label a {
  color: var(--gold-text);
  text-decoration: underline;
}
/* Submit */
.form-submit { display: flex; flex-direction: column; gap: 0.75rem; }

.btn-submit {
  align-self: flex-start;
  min-width: 180px;
  justify-content: center;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--gray-placeholder); /* #767676 = 4.54:1 on white — WCAG AA */
  line-height: 1.5;
  max-width: 440px;
}

/* Success */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem;
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  gap: 1rem;
}

.success-icon {
  width: 56px; height: 56px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.form-success h3 { color: var(--navy); font-size: 1.5rem; }
.form-success p  { color: var(--text-muted); }

/* ─── INFO PANEL ─────────────────────────────────────────────── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.contact-info-card h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text); /* gold-text = 4.79:1 on off-white — WCAG AA */
  margin-bottom: 1.5rem;
}

/* Steps */
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  counter-reset: none;
}

.contact-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-steps strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-steps p {
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Channels */
.contact-channels { }

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.channel-item:last-child { border-bottom: none; }

.channel-icon {
  width: 36px; height: 36px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.channel-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.channel-item a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.channel-item a:hover { color: var(--gold); }

.channel-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Oracle Badge */
.contact-oracle-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy-dark);
  border-radius: var(--radius-md);
}
.contact-oracle-badge img { height: 32px; flex-shrink: 0; }
.contact-oracle-badge p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.contact-faq { padding: 6rem 0; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  border-top: 3px solid var(--gold);
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.faq-item p { font-size: 0.9rem; line-height: 1.7; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .faq-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .form-row         { grid-template-columns: 1fr; }
  .checkbox-grid    { grid-template-columns: 1fr; }
}
