/* ================================
   CONTACT (scoped to #contact)
   ================================ */

#contact .section{ padding: clamp(56px, 6vw, 100px) 20px; color: var(--text-700); }
.container{ width:min(var(--container),100%); margin-inline:auto; }

/* ---------- HERO ---------- */
.ct-hero h1{
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight:900; letter-spacing:-.02em; margin:0 0 10px; color: var(--text-900);
}
.ct-hero .lead{ max-width: 70ch; line-height:1.75; }

/* ---------- INFO STRIP ---------- */
.ct-band{ padding: clamp(32px, 5vw, 60px) 0; }
.soft-lavender{ background: rgba(125,91,166,.06); }

.ct-info{
  display:grid; gap: clamp(14px, 2.2vw, 22px);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px){ .ct-info{ grid-template-columns: 1fr; } }

.info-card{
  --bg:#fff; --bd:#eee; --fg:#111;
  background:var(--bg); border:1px solid var(--bd); border-radius:18px;
  padding:20px; box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
.info-card h3{ margin:0 0 6px; font-size:18px; font-weight:900; color:var(--fg); }
.info-card p{ margin:0 0 6px; }
.info-card .muted{ color: var(--text-500); font-size: 13px; }
.info-card .link{ color: var(--brand-purple,#7D5BA6); font-weight:800; text-decoration:none; }
.info-card .link:hover{ text-decoration: underline; }

/* themed cards */
.ct-info .info-card:nth-child(1){
  --bg:linear-gradient(180deg,#ECFEFF 0%,#F0F9FF 100%);
  --bd:#93C5FD; --fg:#0E7490;
}
.ct-info .info-card:nth-child(2){
  --bg:linear-gradient(180deg,#F5F3FF 0%,#EEF2FF 100%);
  --bd:#C4B5FD; --fg:#4C1D95;
}
.ct-info .info-card:nth-child(3){
  --bg:linear-gradient(180deg,#F8FAFC 0%,#F1F5F9 100%);
  --bd:#CBD5E1; --fg:#0F172A;
}

/* ---------- FORM + SIDEBAR GRID ---------- */
.grid{
  display:grid; gap: clamp(18px, 2.6vw, 30px);
  grid-template-columns: 1.1fr .9fr; align-items:start;
}
@media (max-width: 980px){ .grid{ grid-template-columns: 1fr; } }

.left h2{ font-size: var(--h2); font-weight:900; margin:0 0 8px; color: var(--text-900); }
.blurb{ margin:0 0 14px; line-height:1.7; }

/* success notice */
.notice{
  border-radius:14px; padding:12px 14px; margin: 10px 0 16px;
  border:1px solid var(--border);
}
.notice.success{ background:#ECFDF5; border-color:#A7F3D0; color:#065F46; }

/* ---------- FORM ---------- */
form{ display:grid; gap:14px; }
.hp{ display:none; }

.field{ display:flex; flex-direction:column; gap:6px; }
label{ font-weight:800; color: var(--text-900); }

input, select, textarea{
  background: linear-gradient(180deg,#FFFFFF 0%,#FBFBFD 100%);
  color: var(--text-900);
  border:1px solid var(--border);
  border-radius:14px; padding:14px 12px;
  font: inherit; outline: none;
  box-shadow: inset 0 6px 16px rgba(0,0,0,.035);
}
input::placeholder, textarea::placeholder{ color:#A3A9B5; }
input:focus, select:focus, textarea:focus{
  border-color: var(--brand-purple,#7D5BA6);
  box-shadow: 0 0 0 3px rgba(125,91,166,.18);
}

.hint{ color: var(--text-500); }
.error{ color: var(--brand-red); min-height: 16px; }

.meta{ display:flex; align-items:center; justify-content:space-between; }
.counter{ color: var(--text-500); }

/* ---------- FORM WRAPPER ---------- */
.left{
  background: var(--bg-muted); /* light grey from theme */
  border:1px solid var(--border);
  border-radius:18px;
  padding: clamp(22px, 3.2vw, 32px);
  box-shadow: 0 18px 42px rgba(0,0,0,.05);
}

/* ---------- INPUTS & TEXTAREAS ---------- */
input, select, textarea{
  background: #fff;
  color: var(--text-900);
  border:1px solid #D1D5DB; /* darker than before */
  border-radius:14px;
  padding:14px 12px;
  font: inherit;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.04);
}

input:focus, select:focus, textarea:focus{
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(125,91,166,.18);
}


/* actions */
.actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 6px; }
.btn-primary{
  display:inline-block; padding:12px 18px; border-radius: var(--radius);
  background: var(--brand-purple,#7D5BA6);
  color:#fff !important; font-weight:800; text-decoration:none; border:0;
  box-shadow: 0 12px 26px rgba(125,91,166,.25);
}
.btn-primary:hover{ filter:brightness(1.05); cursor:pointer; }
.btn-ghost{
  display:inline-block; padding:12px 18px; border-radius: var(--radius);
  color: var(--brand-purple,#7D5BA6); border:2px solid var(--brand-purple,#7D5BA6);
  font-weight:800; text-decoration:none; background: transparent;
}

/* ---------- SIDEBAR ---------- */
.right{ align-self:start; }
.right .card{
  background:#fff; border:1px solid var(--border); border-radius:18px;
  padding:18px; box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
.right .card + .card{ margin-top: 14px; }
.right h3{ margin:0 0 6px; font-size:18px; font-weight:900; color: var(--text-900); }
.right ul{ margin: 8px 0 0 18px; line-height:1.7; }

/* ---------- CTA ---------- */
.ct-cta .cta-card{
  background:#fff; border:1px solid var(--border); border-radius:20px;
  padding: clamp(24px, 3.6vw, 36px); text-align:center;
  box-shadow: 0 26px 58px rgba(0,0,0,.12);
}
.ct-cta h2{ font-size: clamp(22px, 2.6vw, 28px); font-weight:900; color: var(--text-900); margin:0 0 6px; }
.ct-cta .lead{ color: var(--text-700); margin:0 0 14px; }
.ct-cta .cta-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.ct-cta .btn-primary{ background: var(--brand-purple,#7D5BA6); color:#fff !important; }
.ct-cta .btn-ghost{ color: var(--brand-purple,#7D5BA6); border:2px solid var(--brand-purple,#7D5BA6); }

/* reveal (optional) */
.reveal{ opacity:0; transform: translateY(10px); transition:.5s ease; }
.reveal.in{ opacity:1; transform:none; }
