:root{
  --page-bg:#f7fafc;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --shadow: 0 18px 50px rgba(16,24,40,.10);
  --gold:#c9a24b;
  --gold-2:#b18e3f;
  --ring: rgba(201,162,75,.35);
}

/* Light-themed appointment UI (form.html) */
.appointment-shell{
  background: radial-gradient(1200px 500px at 15% 0%, rgba(201,162,75,.18), transparent 55%),
              radial-gradient(800px 350px at 90% 10%, rgba(180,142,63,.12), transparent 55%),
              #ffffff;
}

.talk-section.appointment-light{
  background: linear-gradient(#ffffff, #fbfcfe);
  padding: 72px 0;
}



.appointment-card{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(229,231,235,.9);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.appointment-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 26px;
  align-items: start;
}

.appointment-left{
  padding: 10px 8px;
}

.appointment-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: 'Poppins', sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  color:#8a6a1f;
  margin-bottom:14px;
}

.appointment-kicker::before{
  content:'';
  width:10px;
  height:10px;
  border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201,162,75,.15);
}

.appointment-left h2{
  font-family: "Amiri", serif;
  font-size: 38px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
}

.appointment-left p{
  font-family:'Poppins',sans-serif;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14.5px;
  margin-bottom: 16px;
}

.appointment-pills{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.appointment-pill{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,75,.25);
  background: rgba(201,162,75,.08);
  color: #6b4f15;
  font-family: 'Poppins',sans-serif;
  font-size: 12.5px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.appointment-pill i{color: var(--gold-2)}

/* Form */
.appointment-form{
  padding: 16px;
  background-color: var(--card);
}

.appointment-form .form-heading{
  margin-bottom: 14px;
}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.appointment-form input,
.appointment-form textarea{
  width:100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  font-family:'Poppins',sans-serif;
  font-size: 14px;
}

/* Center the form container */
.appointment-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Make sure the actual form doesn't stretch too wide */
.appointment-form form {
  width: 100%;
  max-width: 520px;
}

/* =========================
   BACKGROUND (WHITE THEME)
========================= */
.appointment-shell,
.talk-section.appointment-light {
  background: #ffffff;
}

/* =========================
   CENTER FORM CONTAINER
========================= */
.appointment-form {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
}

/* Form wrapper width control */
.appointment-form form {
  width: 100%;
  max-width: 650px;
}

/* =========================
   FORM INPUTS
========================= */
.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: var(--text);
}

/* Placeholder */
.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
  color: #9ca3af;
}

/* =========================
   ROW SPACING
========================= */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

/* =========================
   TEXTAREA
========================= */
textarea {
  min-height: 140px;
  resize: none;
}

/* =========================
   BUTTON
========================= */
.appt-submit {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background: var(--accent-color);
  color: #ffffff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.appt-submit:hover {
  opacity: 0.9;
}

/* =========================
   HELPER TEXT
========================= */
.appt-helper {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .appointment-form form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  /* Center heading text */
  .form-heading {
    text-align: center !important;
    width: 100%;
  }

  /* If there is a decorative line or pseudo-element above it */
  .form-heading::before,
  .form-heading::after {
    left: 50%;
    transform: translateX(-50%);
    height: 0.45rem;
  }

  /* Ensure container doesn't shift it */
  .form-wrapper {
    text-align: center;
  }

}

.form-heading::before,
  .form-heading::after {
    left: 50%;
    transform: translateX(-50%);
    height: 0.45rem;
  }

  .form-heading {
    text-align: center !important;
    width: 100%;
  }