/* ============================================================
   NZAR — NEW ZEALAND ASSET RECOVERY — Professional Stylesheet
   Design: trust-first, premium, NZ business credibility
   ============================================================ */

:root {
  /* Government-style palette (IRD / Companies Office inspired) */
  --navy: #003057;
  --navy-dark: #001f3d;
  --teal: #008a8d;
  --teal-bright: #00a3a1;
  --gold: #00a3a1;
  --gold-light: #33bdba;
  --slate: #42576b;
  --light: #f1f5f9;
  --white: #ffffff;
  --border: #dce4ec;
  --shadow: 0 10px 30px rgba(0, 48, 87, 0.12);
  --shadow-sm: 0 3px 12px rgba(0, 48, 87, 0.08);
  --radius: 10px;
  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: #24313c;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--light); }

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

.lead { font-size: 1.15rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
/* Centered command-header: logo top-center, nav beneath */
.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 24px 14px;
}
.brand-center { display: flex; justify-content: center; }
.brand-logo-lg {
  height: 92px;
  width: auto;
  border-radius: 6px;
}
.nav-center { justify-content: center; gap: 30px; }
.nav-center .nav-toggle { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  height: 52px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
  color: var(--navy-dark);
  font-family: var(--font-head);
}
.brand-text { color: var(--white); font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.brand-text span { color: var(--gold-light); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #cfdbe6; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { padding: 9px 20px !important; background: var(--gold); color: var(--navy-dark) !important; border-radius: 6px; font-weight: 700 !important; }
.nav-cta:hover { background: var(--gold-light); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #005e63 100%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,163,161,0.16) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero .lead { color: #b9c9d6; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 24px; margin-top: 48px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; color: #cfdbe6; font-size: 0.9rem; }
.hero-badge svg { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; }

/* Hero stat card */
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(4px);
}
.hero-card .big { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--gold-light); display: block; }
.hero-card .sub { color: #b9c9d6; font-size: 0.95rem; }
.hero-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 20px 0; }
.hero-card ul { list-style: none; }
.hero-card li { color: #d5e0e9; padding: 6px 0; font-size: 0.95rem; display: flex; gap: 10px; align-items: flex-start; }
.hero-card li::before { content: '✓'; color: var(--gold-light); font-weight: 700; }

/* ---------- Command center hero (3-column) ---------- */
.cmd-grid {
  display: grid;
  grid-template-columns: 240px 1fr 300px;
  gap: 36px;
  align-items: start;
}
.cmd-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.cmd-side-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.cmd-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d5e0e9;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 9px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cmd-link svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }
.cmd-link:hover { background: rgba(255,255,255,0.09); color: var(--gold-light); transform: translateX(3px); }
.cmd-link-cta {
  margin-top: 10px;
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-weight: 700;
  justify-content: center;
}
.cmd-link-cta:hover { background: var(--gold-light); transform: none; }
.cmd-center h1 { color: var(--white); margin-bottom: 16px; }
.cmd-center h1 em { color: var(--gold-light); font-style: normal; }
.cmd-center .lead { color: #b9c9d6; margin-bottom: 16px; }
.cmd-desc { color: #cfdbe6; font-size: 0.98rem; line-height: 1.7; margin-bottom: 14px; }
.cmd-desc strong { color: var(--white); }
.cmd-right {
  display: flex;
  flex-direction: column;
}
.quick-search-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 24px 22px;
  backdrop-filter: blur(4px);
}
.qs-hint { color: #b9c9d6; font-size: 0.9rem; margin: 4px 0 16px; }
.quick-search-card input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.quick-search-card input::placeholder { color: #8fa3b3; }
.quick-search-card input:focus { outline: none; border-color: var(--teal); }
.qs-btn { width: 100%; justify-content: center; }
.qs-note { color: #8fa3b3; font-size: 0.8rem; line-height: 1.55; margin: 14px 0 0; }

/* ---------- Two directions section ---------- */
.two-ways { background: var(--white); }
.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.text-link:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-strip .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--slate); font-weight: 500; }
.trust-item svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* ---------- Partner strip (search partners) ---------- */
.partner-strip { background: var(--light); padding: 60px 0; border-bottom: 1px solid var(--border); }
.partner-strip-head { text-align: center; margin-bottom: 36px; }
.partner-strip-head p { color: var(--slate); max-width: 640px; margin: 0 auto; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.partner-link {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partner-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.partner-img {
  width: 140px; height: 140px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.25s ease;
}
.partner-link:hover .partner-img { transform: scale(1.05); }
.partner-cap { font-weight: 700; color: var(--navy); font-size: 0.95rem; text-align: center; }

@media (max-width: 960px) {
  .partner-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-img { width: 180px; height: 180px; }
}

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; color: var(--teal); }
.card p { color: var(--slate); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 800;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 0.92rem; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--gold-light); display: block; }
.stat-label { color: #b9c9d6; font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonial { border-left: 4px solid var(--gold); }
.testimonial p { font-style: italic; color: var(--slate); }
.testimonial cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; color: var(--navy); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { font-weight: 700; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; }
.faq-a { display: none; padding-top: 12px; color: var(--slate); }
.faq-item.open .faq-a { display: block; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--teal); font-weight: 400; }
.faq-item.open .faq-q::after { content: '−'; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy-dark); }
.cta-band p { font-size: 1.1rem; color: rgba(10,30,48,0.85); max-width: 700px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #aebfcd; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.site-footer a { color: #aebfcd; text-decoration: none; display: block; padding: 4px 0; font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 70px 0;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #b9c9d6; max-width: 720px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,127,142,0.12);
}
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.contact-info-item h4 { font-size: 1rem; }
.contact-info-item p { color: var(--slate); font-size: 0.93rem; margin: 0; }

/* ---------- Privacy / legal pages ---------- */
.legal h2 { margin-top: 40px; font-size: 1.5rem; }
.legal ul { margin: 0 0 1.2rem 24px; color: var(--slate); }
.legal li { margin-bottom: 8px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th { background: var(--navy); color: var(--white); text-align: left; padding: 12px 16px; font-weight: 600; }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
tr:nth-child(even) td { background: var(--light); }

/* ---------- Alert / notice ---------- */
.notice {
  background: #fdf6e3;
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 20px 0;
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cmd-grid { grid-template-columns: 220px 1fr; gap: 28px; }
  .cmd-right { grid-column: 1 / -1; }
  .quick-search-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: end; }
  .quick-search-card .cmd-side-title { grid-column: 1 / -1; margin-bottom: 0; }
  .quick-search-card .qs-hint { display: none; }
  .quick-search-card input { margin-bottom: 0; }
  .qs-note { grid-column: 1 / -1; margin: 6px 0 0; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .brand-logo { height: 44px; }
  .brand-logo-lg { height: 64px; }
  .header-center { padding: 14px 16px 12px; position: relative; }
  .nav-center .nav-toggle { position: absolute; right: 14px; top: 30px; transform: none; }
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .cmd-grid { grid-template-columns: 1fr; gap: 24px; }
  .cmd-right { grid-column: auto; }
  .quick-search-card { display: block; }
  .quick-search-card .qs-hint { display: block; margin: 4px 0 14px; }
  .quick-search-card input { margin-bottom: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
}
