/* =============================================================
   contact.css — Contact page
   Lives in assets/css/. Requires base.css + nav-footer.css.
   ============================================================= */

/* ── Hero ─────────────────────────────────────────────────────── */
.ct-hero {
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 4rem);
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
  background: var(--slate);
}
.ct-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ct-blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
}
.ct-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,143,113,0.18) 0%, transparent 65%);
  top: -150px; right: -120px;
  animation: morphBlob 14s ease-in-out infinite alternate;
}
.ct-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(74,144,196,0.13) 0%, transparent 65%);
  bottom: -100px; left: -80px;
  animation: morphBlob 10s 2s ease-in-out infinite alternate-reverse;
}
.ct-blob-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(232,93,122,0.1) 0%, transparent 65%);
  top: 30%; left: 35%;
}

.ct-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ct-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.07;
  color: var(--white);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}
.ct-h1 em { font-style: italic; color: var(--warm); }

.ct-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
}

/* Quick contact cards row */
.ct-quick-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.ct-quick-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.ct-quick-card:not(.ct-quick-card--nolink):hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.ct-quick-card--nolink { cursor: default; }
.ct-quick-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ct-quick-icon svg { width: 18px; height: 18px; }
.ct-quick-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.2rem;
}
.ct-quick-value {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

/* ── Main layout ──────────────────────────────────────────────── */
.ct-main {
  padding: 5rem 0 6rem;
  background: var(--off-white);
}
.ct-main-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* ── Form ─────────────────────────────────────────────────────── */
.ct-form-wrap {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid rgba(107,143,113,0.1);
  padding: 2.75rem;
  box-shadow: 0 4px 24px rgba(44,62,53,0.05);
}
.ct-form-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(107,143,113,0.1);
}
.ct-form-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.ct-form-header p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ct-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-mid);
  letter-spacing: 0.02em;
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-body);
  background: var(--off-white);
  border: 1.5px solid rgba(107,143,113,0.18);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,143,113,0.12);
  background: var(--white);
}
.ct-field select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%237A9183' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.ct-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

/* Radio group */
.ct-radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}
.ct-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--text-body);
  user-select: none;
}
.ct-radio input[type="radio"] { display: none; }
.ct-radio-mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(107,143,113,0.3);
  background: var(--off-white);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}
.ct-radio input[type="radio"]:checked + .ct-radio-mark {
  border-color: var(--sage);
  background: var(--sage);
  box-shadow: inset 0 0 0 3px var(--white);
}
.ct-radio:hover .ct-radio-mark { border-color: var(--sage); }

/* File upload */
.ct-field--file label { display: flex; flex-direction: column; gap: 0.2rem; }
.ct-field-hint {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}
.ct-field--file input[type="file"] {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* Submit */
.ct-submit {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--warm);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-btn);
  margin-top: 0.5rem;
}
.ct-submit:hover {
  background: #b56a3a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,123,75,0.4);
}
.ct-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ct-privacy {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.25rem;
}
.ct-privacy a {
  color: var(--sage);
  text-decoration: none;
}
.ct-privacy a:hover { text-decoration: underline; }

/* ── Sidebar ──────────────────────────────────────────────────── */
.ct-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ct-sidebar-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid rgba(107,143,113,0.1);
  padding: 1.75rem;
}
.ct-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 1rem;
}
.ct-sidebar-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Info rows */
.ct-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.ct-info-row:last-child { margin-bottom: 0; }
.ct-info-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ct-info-icon svg { width: 16px; height: 16px; }
.ct-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.ct-info-value {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.45;
}
.ct-info-link {
  text-decoration: none;
  color: var(--slate);
  transition: color 0.2s;
  word-break: break-all;
}
.ct-info-link:hover { color: var(--sage); }

/* Service area pills */
.ct-area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ct-area-pills span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate-mid);
  background: var(--off-white);
  border: 1px solid rgba(107,143,113,0.15);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
}

/* Social links */
.ct-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ct-social-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.87rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--white);
}
.ct-social-link:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.ct-social-ig  { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ct-social-fb  { background: #1877F2; }
.ct-social-li  { background: #0077B5; }

/* NDIS badge card */
.ct-ndis-badge {
  background: var(--sage-pale);
  border: 1px solid rgba(107,143,113,0.15);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
  text-align: center;
}
.ct-ndis-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.ct-ndis-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  opacity: 0.6;
  display: block;
}
.ct-ndis-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--sage-dark);
  margin-bottom: 0.3rem;
}
.ct-ndis-sub {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CTA (shared) ─────────────────────────────────────────────── */
.cta-sec {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--warm) 0%, #a85e30 100%);
  position: relative; overflow: hidden;
}
.cta-sec::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.cta-inner .sec-h    { color: var(--white); }
.cta-inner .sec-h em { color: rgba(255,255,255,0.75); }
.cta-inner > p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.8); max-width: 46ch; line-height: 1.7; }
.cta-dots { display: flex; align-items: center; gap: 8px; }
.cta-dot  { width: 10px; height: 10px; border-radius: 50%; opacity: 0.75; }
.cta-acts { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-cw {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  color: var(--warm); background: var(--white); border: none; cursor: pointer;
  padding: 0.9rem 2.2rem; border-radius: 50px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.btn-cw:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.btn-co {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  color: var(--white); background: transparent;
  border: 2px solid rgba(255,255,255,0.45); cursor: pointer;
  padding: 0.88rem 2rem; border-radius: 50px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-co:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ct-quick-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .ct-main-inner { grid-template-columns: 1fr; }
  .ct-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .ct-ndis-badge { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ct-form-wrap { padding: 1.75rem; }
  .ct-form-row  { grid-template-columns: 1fr; }
  .ct-quick-cards { grid-template-columns: 1fr 1fr; }
  .ct-sidebar { grid-template-columns: 1fr; }
  .ct-radio-group { flex-direction: column; gap: 0.65rem; }
  .cta-acts { flex-direction: column; }
  .ct-submit { align-self: stretch; justify-content: center; }
}
@media (max-width: 420px) {
  .ct-quick-cards { grid-template-columns: 1fr; }
}