/* ============================================================
   CONTACT — tabs + calendly
   ============================================================ */
.contact-section { background: var(--white); }

/* --- HEADER: flat single column, no grid --- */
.contact-header {
  margin-bottom: 3.5rem;
}

.contact-h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--charcoal);
}

.contact-sub {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  max-width: 580px;
  margin-top: 1rem;
}

/* --- CONTENT GRID: 40% left | 60% right --- */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* --- LEFT COLUMN --- */
.contact-perks-col {
  position: sticky;
  top: 5rem;
}

.perks-panel { display: none; }
.perks-panel.active { display: block; animation: fadeSlideUp 0.4s var(--ease-out-expo); }

/* --- TAB BAR: full-width flex in right column --- */
.tab-bar {
  display: flex;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 2rem;
  gap: 4px;
}
.tab-btn {
  flex: 1;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.01em;
  border: none;
}
.tab-btn svg { width: 14px; height: 14px; stroke-width: 2; flex-shrink: 0; }
.tab-btn.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 12px rgba(4,106,129,0.3);
}
.tab-btn:not(.active):hover { color: var(--teal); background: var(--teal-light); }

/* --- TAB PANELS --- */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeSlideUp 0.4s var(--ease-out-expo); }

/* --- PERKS --- */
.cal-perks { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2rem; }
.cal-perk { display: flex; align-items: flex-start; gap: 14px; }
.perk-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.perk-icon svg { width: 17px; height: 17px; stroke-width: 2; }
.perk-title { font-size: 14px; font-weight: 700; color: var(--charcoal); }
.perk-desc { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* --- INFO NOTE (cal perks) --- */
.cal-note {
  background: var(--teal-light);
  border: 1px solid rgba(4,106,129,0.15);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 13px;
  color: var(--teal-dark);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cal-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; stroke-width: 2; }

/* --- CALENDLY BOX --- */
.cal-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.cal-box-hdr {
  background: var(--teal);
  padding: 1.25rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal-box-hdr-left { display: flex; align-items: center; gap: 12px; }
.cal-logo-sq {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.15);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-logo-sq svg { width: 16px; height: 16px; color: #fff; stroke-width: 2; }
.cal-hdr-title { font-size: 14px; font-weight: 700; color: #fff; }
.cal-hdr-sub { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.cal-live {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 4px 11px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cal-body { padding: 0; }
.cal-body--widget { overflow: hidden; border-radius: 0 0 16px 16px; }
.cal-body--widget .calendly-inline-widget {
  width: 100% !important;
  min-width: 0 !important;
}

/* --- FORM --- */
.form-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem;
}
.form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 13px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; }
.form-label { font-size: 12px; font-weight: 700; color: var(--charcoal); letter-spacing: 0.02em; }
.form-input {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.form-select {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  width: 100%;
  appearance: none;
}
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.form-submit {
  width: 100%;
  background: var(--teal);
  color: #fff;
  border-radius: 8px;
  padding: 15px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  transition: all 0.2s;
  border: none;
}
.form-submit:hover { background: var(--teal-dark); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note { text-align: center; font-size: 11px; color: var(--muted); margin-top: 10px; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-error {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fff1f1;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  font-size: 13px;
  color: #dc2626;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.form-success-icon svg { width: 48px; height: 48px; color: var(--teal); stroke-width: 1.5; }
.form-success-title { font-size: 22px; font-weight: 800; color: var(--charcoal); }
.form-success-body { font-size: 14px; color: var(--muted); max-width: 380px; line-height: 1.7; }

/* --- PREFER-CALL CTA --- */
.prefer-call {
  background: var(--teal-light);
  border: 1px solid rgba(4,106,129,0.15);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.prefer-call-text { font-size: 13px; color: var(--teal-dark); }
.prefer-call-btn {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
  white-space: nowrap;
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .contact-header { margin-bottom: 2.5rem; }
  .contact-sub { max-width: 100%; }
  .contact-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-perks-col {
    position: static;
  }
}

@media (max-width: 600px) {
  .cal-body--widget .calendly-inline-widget { height: 480px !important; }
  .form-row2 { grid-template-columns: 1fr; }
  .tab-btn { padding: 9px 16px; font-size: 12px; }
  .prefer-call { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .tab-bar { margin-bottom: 1rem; }
}
