/* --------------------------------------------------------------------------
   2. Get in Touch Form Section
   -------------------------------------------------------------------------- */
.appointment-form-section {
  background-color: #f0f7fc;
  padding: clamp(50px, 5vw, 84px) 0;
}

.appointment-form-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(2, 32, 60, 0.05);
  border: 1px solid #e2e8f0;
  padding: clamp(36px, 4.2vw, 54px) clamp(24px, 4.5vw, 64px);
  max-width: 1040px;
  margin: 0 auto;
}

.form-header {
  margin-bottom: clamp(24px, 2.4vw, 32px);
}

.form-title {
  font-family: var(--font-heading, Montserrat, Arial, sans-serif);
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.form-title .form-accent {
  color: #0084ff;
}

.form-subtitle {
  font-family: var(--font-body, "Open Sans", Arial, sans-serif);
  font-size: clamp(13.5px, 0.95vw, 15px);
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.appointment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}

.appointment-form-group {
  display: flex;
  flex-direction: column;
}

.appointment-form-group label {
  font-family: var(--font-heading, Montserrat, Arial, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 7px;
}

.appointment-form-group label .req {
  color: #ef4444;
  font-weight: 700;
}
h2#appointment-form-title {font-size: 36px;}
h2#appointment-form-title span {font-size: 36px;}

.appointment-form-input,
.appointment-form-select,
.appointment-form-textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font-body, "Open Sans", Arial, sans-serif);
  font-size: 14px;
  color: #0f172a;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}

.appointment-form-input::placeholder,
.appointment-form-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.appointment-form-input:focus,
.appointment-form-select:focus,
.appointment-form-textarea:focus {
  background-color: #ffffff;
  border-color: #0084ff;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.15);
}

.appointment-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.appointment-form-select option {
  color: #0f172a;
  background: #ffffff;
}

.appointment-form-textarea {
  height: 88px;
  padding: 13px 16px;
  resize: vertical;
  min-height: 48px;
  max-height: 180px;
  line-height: 1.45;
}

.appointment-form-actions {
  grid-column: 1 / -1;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.appointment-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0084ff;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 28px;
  font-family: var(--font-heading, Montserrat, Arial, sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 132, 255, 0.25);
}

.appointment-submit-btn:hover {
  background-color: #0070db;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 132, 255, 0.35);
}

.appointment-submit-btn:active {
  transform: translateY(0);
}

.appointment-submit-btn span {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.appointment-submit-btn:hover span {
  transform: translateX(3px);
}

.appointment-form-status {
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.appointment-form-status.success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.appointment-form-status.error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Plugin helpers (not part of the original design) */
.appointment-form-section [hidden] { display: none !important; }
.gitf-hp { position: absolute !important; left: -9999px; height: 0; width: 0; overflow: hidden; }
