/* Contact Us page — Teamed */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal: #00A896; --teal-dark: #007A6E; --teal-light: #E6F7F5;
  --dark: #1A2B2A; --mid: #3D5250; --gray: #6B7B7A;
  --light: #F5F9F8; --border: #E2EEEC; --white: #ffffff;
}
body { font-family: 'DM Sans', sans-serif; color: var(--dark); background: var(--white); }

/* NAV styles moved to template-parts/nav/nav-public.php (shared partial) */

/* PAGE LAYOUT — two column */
.page-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
  margin-bottom: 80px;
}

/* LEFT — dark context panel */
.left-panel {
  background: linear-gradient(160deg, var(--dark) 0%, #1E3532 60%, #143330 100%);
  padding: 72px 56px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.left-panel::before {
  content: '';
  position: absolute; top: -20%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,168,150,.12) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.left-panel::after {
  content: '';
  position: absolute; bottom: -10%; left: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,168,150,.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.left-content { position: relative; z-index: 1; }
.left-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,168,150,.15); border: 1px solid rgba(0,168,150,.3);
  color: var(--teal); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 100px; margin-bottom: 28px;
}
.eyebrow-dot { width: 5px; height: 5px; background: var(--teal); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.5;transform:scale(.75);} }
.left-title { font-family: 'DM Serif Display', serif; font-size: 42px; color: white; line-height: 1.15; margin-bottom: 20px; }
.left-title em { color: var(--teal); font-style: italic; }
.left-sub { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 48px; }

/* Reason pills */
.reasons-label { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.reasons-grid { display: flex; flex-direction: column; gap: 8px; }
.reason-pill {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 14px 16px; cursor: pointer;
  transition: all .2s; text-align: left;
}
.reason-pill:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.reason-pill.active { background: rgba(0,168,150,.15); border-color: rgba(0,168,150,.4); }
.reason-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(255,255,255,.06); }
.reason-pill.active .reason-icon { background: rgba(0,168,150,.2); }
.reason-text { flex: 1; }
.reason-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); margin-bottom: 1px; }
.reason-pill.active .reason-title { color: white; }
.reason-sub { font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.4; }
.reason-pill.active .reason-sub { color: rgba(255,255,255,.55); }
.reason-arrow { color: rgba(255,255,255,.2); font-size: 14px; transition: color .2s; }
.reason-pill.active .reason-arrow { color: var(--teal); }

/* Bottom trust strip */
.left-footer { position: relative; z-index: 1; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); display: flex; gap: 40px; padding-left: 0; justify-content: flex-start; }
.left-stat-num { font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--teal); line-height: 1; margin-bottom: 3px; }
.left-footer .left-stat:first-child { padding-left: 32px; }
.left-stat-label { font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.4; }

/* RIGHT — form panel */
.right-panel { background: var(--light); padding: 72px 56px; display: flex; flex-direction: column; }
.form-header { margin-bottom: 36px; }
.form-context-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-light); border: 1px solid var(--border);
  color: var(--teal-dark); font-size: 11px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
  transition: all .3s;
}
.form-title { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--dark); line-height: 1.25; margin-bottom: 8px; transition: all .3s; }
.form-sub { font-size: 14px; color: var(--gray); line-height: 1.65; transition: all .3s; }

/* Form */
form { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--mid); letter-spacing: .03em; }
.field input, .field textarea, .field select {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--dark);
  outline: none; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,168,150,.1);
}
.field input::placeholder, .field textarea::placeholder { color: #B0C4C2; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field select { appearance: none; 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 1l5 5 5-5' stroke='%236B7B7A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.field-optional { display: flex; align-items: center; gap: 8px; }
.field-optional .optional-tag { font-size: 10px; color: var(--gray); font-weight: 400; }

.submit-row { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.btn-submit {
  background: var(--teal); color: white; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  padding: 14px 32px; border-radius: 8px; transition: background .2s, transform .15s;
  display: flex; align-items: center; gap: 8px;
}
.btn-submit:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.submit-note { font-size: 12px; color: var(--gray); line-height: 1.55; white-space: nowrap; }

/* Org field visibility */
.field-org { transition: opacity .2s; }
.field-org.hidden { opacity: 0; pointer-events: none; height: 0; margin: 0; gap: 0; overflow: hidden; }

/* Success state */
.success-state { display: none; flex-direction: column; align-items: center; justify-content: center; flex: 1; text-align: center; gap: 16px; }
.success-icon { width: 64px; height: 64px; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.success-title { font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--dark); }
.success-sub { font-size: 14px; color: var(--gray); line-height: 1.65; max-width: 320px; }

@keyframes fadeUp { from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);} }
.fade-in { animation: fadeUp .5s ease forwards; }

/* Schedule meeting modal */
.schedule-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
  padding: 20px;
}
.schedule-overlay.open { display: flex; }
.schedule-modal {
  background: var(--white); border-radius: 16px; max-width: 440px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,.25); overflow: hidden;
  animation: fadeUp .3s ease forwards;
}
.schedule-modal-top {
  background: linear-gradient(135deg, var(--dark) 0%, #1E3532 100%);
  padding: 28px 28px 24px; position: relative;
}
.schedule-modal-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,168,150,.2); border: 1px solid rgba(0,168,150,.3);
  color: var(--teal); font-size: 10px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.schedule-modal-title {
  font-family: 'DM Serif Display', serif; font-size: 22px; color: white;
  line-height: 1.2; margin-bottom: 8px;
}
.schedule-modal-sub { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }
.schedule-modal-body { padding: 24px 28px 28px; }
.schedule-modal-body p { font-size: 13.5px; color: var(--mid); line-height: 1.65; margin-bottom: 20px; }
.schedule-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-schedule {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: white; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  padding: 13px 24px; border-radius: 8px; cursor: pointer;
  text-decoration: none; transition: background .15s;
}
.btn-schedule:hover { background: var(--teal-dark); }
.btn-skip {
  background: none; border: none; font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--gray); cursor: pointer;
  padding: 4px; transition: color .15s; text-align: center;
}
.btn-skip:hover { color: var(--dark); }

/* ─── MOBILE ─────────────────────────────────────────
   The whole Contact page was missing a mobile breakpoint — the 2-col
   .page-wrap stayed side-by-side, the First/Last name row stayed
   side-by-side, and the inner padding (72×56px) crushed everything
   on phones. */
@media (max-width: 768px) {
  .page-wrap { grid-template-columns: 1fr; margin-bottom: 32px; min-height: auto; }
  .left-panel, .right-panel { padding: 40px 20px; }
  .left-title { font-size: 30px !important; }
  .form-row { grid-template-columns: 1fr; gap: 8px; }
  .form-title { font-size: 22px !important; }
}
