/* ═══════════════════════════════════════════════════
   The Portfolio Builders — additions on top of the
   shared base.css / components.css design system.
   ═══════════════════════════════════════════════════ */

/* smooth-scroll for all in-page anchors (hero CTA, nav links) */
html { scroll-behavior: smooth; }

/* ── HERO CTA: single "Search Properties Now" button ── */
.hero-searchbtn { margin: 1.6rem 0 0.4rem; padding: 1rem 1.9rem; font-size: 1.02rem; }
.hero-searchbtn svg { width: 18px; height: 18px; }

/* ── HERO SEARCH BAR (legacy — no longer used) ── */
.hero-search {
  display: flex; align-items: flex-end; gap: 0.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem; box-shadow: var(--shadow);
  margin: 1.6rem 0 1.4rem; max-width: 40rem;
}
.hs-field { display: flex; flex-direction: column; gap: 0.32rem; min-width: 0; }
.hs-field.hs-grow { flex: 1; }
.hs-field label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.hs-field select, .hs-field input {
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 9px; padding: 0.72rem 0.75rem;
  outline: none; transition: border-color 0.25s; width: 100%;
}
.hs-field select { min-width: 8.5rem; }
.hs-field select:focus, .hs-field input:focus { border-color: var(--accent); }
.hs-btn { white-space: nowrap; padding: 0.78rem 1.4rem; display: inline-flex;
  align-items: center; gap: 0.5rem; }
.hs-btn svg { width: 17px; height: 17px; }
@media (max-width: 600px) {
  .hero-search { flex-direction: column; align-items: stretch; }
  .hs-field select { min-width: 0; }
  .hs-btn { width: 100%; justify-content: center; }
}

/* ── SERVICES ── */
.services { padding: clamp(3.5rem, 7vw, 6rem) var(--pad); background: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.svc-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #eadfca; }
.svc-ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--navy);
  display: grid; place-items: center; margin-bottom: 1.15rem;
}
.svc-ico svg { width: 27px; height: 27px; color: var(--accent); }
.svc-card h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 0.5rem; }
.svc-card p { font-size: 0.92rem; color: var(--body); }
@media (max-width: 1060px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ── WHO WE HELP ── */
.audience { padding: clamp(3.5rem, 7vw, 6rem) var(--pad); background: var(--sky); }
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.aud-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
  border-top: 3px solid var(--accent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.aud-card h3 { font-size: 1.14rem; font-weight: 900; margin-bottom: 0.5rem; }
.aud-card p { font-size: 0.9rem; color: var(--body); }
@media (max-width: 1060px) { .aud-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } }

/* ── PROJECT MANAGEMENT (dark, developer-grade) ── */
.pm { padding: clamp(3.5rem, 7vw, 6rem) var(--pad);
  background: linear-gradient(165deg, var(--navy) 0%, #0a1f36 100%); }
.pm-inner { max-width: 72rem; margin: 0 auto; }
.pm .section-head { margin-bottom: 2.4rem; }
.pm-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 2.4rem; }
.pm-value { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem; border-top: 3px solid var(--accent); }
.pm-value h3 { color: #fff; font-size: 1.12rem; font-weight: 900; margin-bottom: 0.4rem; }
.pm-value p { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.pm-phases { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.2rem; counter-reset: none; }
.pm-phases li { display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
.pm-num { flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--navy);
  font-weight: 900; font-size: 0.98rem; }
.pm-phases h4 { color: #fff; font-size: 1.02rem; font-weight: 800; margin-bottom: 0.25rem; }
.pm-phases p { color: rgba(255,255,255,0.72); font-size: 0.88rem; line-height: 1.5; }
.pm-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; margin-top: 2.4rem; }
.pm-cta p { color: rgba(255,255,255,0.82); font-size: 1.08rem; font-weight: 600; }
@media (max-width: 860px) { .pm-values { grid-template-columns: 1fr; } .pm-phases { grid-template-columns: 1fr; } }

/* ── SUBURB TABLE: State → Suburb drill-down ── */
.suburb-table { min-width: 820px; }
.st-state { cursor: pointer; background: rgba(255,255,255,0.05); }
.st-state:hover { background: rgba(245,158,27,0.12); }
.st-state td { font-weight: 800; color: #fff; }
.st-name { display: flex; align-items: center; gap: 0.1rem; }
.st-caret { display: inline-block; color: var(--accent); margin-right: 0.55rem;
  transition: transform 0.22s var(--ease); font-size: 0.85rem; }
.st-state.open .st-caret { transform: rotate(90deg); }
.st-name em { color: var(--accent); font-style: normal; font-weight: 700;
  font-size: 0.7rem; letter-spacing: 0.1em; margin-left: 0.5rem; }
.st-sub { background: rgba(255,255,255,0.015); }
.st-sub td { color: rgba(255,255,255,0.82); font-weight: 500; }
.st-sub .st-subname { padding-left: 2.6rem; font-weight: 600; color: #fff; }
.st-sub:hover { background: rgba(245,158,27,0.08); }

/* ── FAQ ── */
.faq { padding: clamp(3.5rem, 7vw, 6rem) var(--pad); background: #fff; }
.faq-list { max-width: 52rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream);
  padding: 0 1.4rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0; font-weight: 700;
  font-size: 1.03rem; color: var(--navy); display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--accent-dark);
  line-height: 1; transition: transform 0.25s var(--ease); flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--body); font-size: 0.95rem; padding: 0 0 1.25rem; margin: 0; }
