/* ═══════════════════════════════════════════
   Chanlify Landing — contact.css
   ═══════════════════════════════════════════ */

/* ─── HERO ─── */
.contact-hero {
  padding: 136px 40px 48px;
  text-align: center;
}
.contact-hero-inner {
  max-width: 560px;
  margin: 0 auto;
}
.contact-hero .section-label {
  justify-content: center;
}
.contact-hero .section-label::before { display: none; }
.contact-hero .section-desc {
  margin: 0 auto;
}

/* ─── LAYOUT ─── */
.contact-section {
  padding: 0 40px 100px;
}
.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* ─── INFO SIDEBAR ─── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
a.info-value:hover {
  color: var(--accent);
}

/* ─── FORM WRAPPER ─── */
.contact-form-wrap {
  min-width: 0;
}
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

/* ─── FORM FIELDS ─── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.req {
  color: var(--accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* intl-tel-input overrides */
.iti {
  width: 100%;
}
.iti__tel-input {
  width: 100%;
  padding: 11px 14px 11px 52px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.iti__tel-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
}

/* ─── SUBMIT BUTTON ─── */
.contact-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── ERROR MESSAGE ─── */
.contact-form-error {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 9px;
  font-size: 13.5px;
  color: #dc2626;
  line-height: 1.5;
}

/* ─── SUCCESS STATE ─── */
.contact-success {
  display: none;
  text-align: center;
  padding: 64px 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(16,185,129,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.contact-success h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.contact-success p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ─── RECAPTCHA NOTICE ─── */
.recaptcha-notice {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.5;
  opacity: 0.7;
}
.recaptcha-notice a {
  color: var(--muted);
  text-decoration: underline;
}
.recaptcha-notice a:hover {
  color: var(--text-2);
}

/* Hide reCAPTCHA badge — disclosed in footer text */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .contact-hero { padding: 100px 24px 36px; }
  .contact-section { padding: 0 24px 72px; }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-info {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .info-card {
    flex: 1;
    min-width: 200px;
  }
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
  .contact-info {
    flex-direction: column;
  }
  .info-card {
    min-width: auto;
  }
}
