/* ================= DOCU SERVICES NZ — shared styles ================= */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --black: #0a0a0a;
  --black-soft: #161616;
  --white: #ffffff;
  --silver: #c7c9cc;
  --silver-light: #f0f0f1;
  --text: #1c1c1c;
  --text-light: #5b5b5b;
  --accent: #146443;
  --accent-dark: #0d4a30;
  --bg-light: #f7f7f7;
  --border: #e2e2e2;
}

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

body {
  font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- TOP DISCLAIMER BAR ---- */
.top-bar {
  background: var(--black-soft);
  padding: 9px 20px;
  text-align: center;
}
.top-bar p {
  color: rgba(255,255,255,0.78);
  font-size: 11.5px;
  max-width: 980px;
  margin: 0 auto;
  line-height: 1.5;
}
.top-bar strong { color: var(--silver); }

/* ---- HEADER ---- */
.site-header {
  background: var(--black);
  padding: 0 24px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo img { height: 46px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 28px; list-style: none; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 10px 2px;
  display: inline-block;
  transition: color 0.2s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--silver); }

.dropdown { position: relative; }
.main-nav .dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--black-soft);
  min-width: 210px;
  border: 1px solid #2a2a2a;
  border-top: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 50;
  list-style: none;
  padding: 6px 0;
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
}
.dropdown-menu li a:hover { background: rgba(255,255,255,0.06); color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; }

.mobile-toggle { display: none; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #1f1f1f 60%, var(--black-soft) 100%);
  padding: 70px 24px;
  text-align: center;
  position: relative;
}
.hero.hero-home {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.82) 0%, rgba(20,20,20,0.74) 55%, rgba(22,22,22,0.86) 100%),
    url('/background_nz.jpg') center center / cover no-repeat;
}
.hero.hero-img {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.84) 0%, rgba(20,20,20,0.76) 55%, rgba(22,22,22,0.88) 100%),
    url('/hero-img.jpg') center center / cover no-repeat;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--silver);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.hero p.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(20,100,67,0.35);
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

/* ---- SCOPE / WHAT WE DO-DON'T DO ---- */
.scope-section { background: var(--white); padding: 60px 24px; }
.scope-inner { max-width: 980px; margin: 0 auto; }
.scope-lead {
  text-align: center;
  color: var(--text-light);
  font-size: 15.5px;
  max-width: 680px;
  margin: 0 auto 32px auto;
}
.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.scope-card { border-radius: 12px; padding: 28px; border: 1px solid var(--border); }
.scope-card.si { background: #f2f8f5; border-color: #c7e3d4; }
.scope-card.no { background: #fbf3f3; border-color: #e8caca; }
.scope-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 14px; }
.scope-card.si h3 { color: var(--accent-dark); }
.scope-card.no h3 { color: #9a2f2f; }
.scope-card ul { list-style: none; }
.scope-card li { font-size: 14.5px; margin-bottom: 10px; padding-left: 26px; position: relative; line-height: 1.55; }
.scope-card.si li::before { content: '✅'; position: absolute; left: 0; }
.scope-card.no li::before { content: '❌'; position: absolute; left: 0; }

/* ---- SECTION GENERIC ---- */
.section { padding: 60px 24px; }
.section.bg-light { background: var(--bg-light); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 42px; }
.section-tag {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header h2 { font-size: 30px; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ---- SERVICE CARDS ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px;
  transition: all 0.2s ease;
}
.service-card:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.08); transform: translateY(-3px); border-color: #cfcfcf; }
.service-card .icon { font-size: 30px; margin-bottom: 14px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--black); }
.service-card p { font-size: 14.5px; color: var(--text-light); margin-bottom: 16px; }
.service-card .price-tag { font-weight: 800; color: var(--accent-dark); font-size: 15px; margin-bottom: 14px; display: block; }
.service-card a.card-link { font-size: 14px; font-weight: 700; color: var(--black); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ---- PROCESS STEPS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.step-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 26px 22px; }
.step-num {
  width: 38px; height: 38px;
  background: var(--black);
  color: var(--white);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-light); }

/* ---- PRICING TABLE ---- */
.pricing-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  max-width: 640px;
  margin: 0 auto;
}
.pricing-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row.total { font-weight: 800; font-size: 17px; color: var(--black); padding-top: 16px; }
.pricing-row span.label { color: var(--text-light); }
.pricing-row span.value { font-weight: 700; color: var(--text); }
.pricing-note { font-size: 13px; color: var(--text-light); margin-top: 16px; line-height: 1.6; }

table.fees-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; }
table.fees-table thead th {
  background: var(--black); color: var(--white);
  padding: 14px 16px; font-size: 13.5px; text-align: left; font-weight: 700;
}
table.fees-table tbody td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
table.fees-table tbody tr:nth-child(even) { background: var(--bg-light); }
table.fees-table tbody tr:last-child td { border-bottom: none; }

/* ---- COMPARISON TABLE ---- */
.comparison-table-wrap { overflow-x: auto; max-width: 900px; margin: 0 auto; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
table.comparison-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
table.comparison-table thead th {
  padding: 16px 18px; font-size: 14px; text-align: left; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
}
table.comparison-table thead th.col-us {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}
table.comparison-table tbody td {
  padding: 15px 18px; font-size: 14.5px; color: var(--text);
  border-bottom: 1px solid var(--border); vertical-align: top;
}
table.comparison-table tbody tr:nth-child(even) { background: var(--bg-light); }
table.comparison-table tbody tr:last-child td { border-bottom: none; }
table.comparison-table tbody td:first-child { font-weight: 700; color: var(--black); width: 26%; }
table.comparison-table tbody td.col-us { background: #f2f8f5; color: var(--accent-dark); font-weight: 600; }

/* ---- INFO BOX / DISCLAIMER BOX ---- */
.info-box {
  background: #f2f8f5;
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 22px 0;
  font-size: 14.5px;
  color: var(--text);
}
.info-box strong { color: var(--accent-dark); }

/* ---- FAQ ---- */
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 16px 20px;
}
.faq-list summary {
  font-weight: 700; font-size: 15px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::after { content: '+'; font-size: 20px; color: var(--accent); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list p, .faq-answer { font-size: 14.5px; color: var(--text-light); margin-top: 12px; line-height: 1.65; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--black);
  padding: 56px 24px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 27px; margin-bottom: 14px; font-weight: 800; }
.cta-banner p { color: rgba(255,255,255,0.72); font-size: 15.5px; margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---- LEGAL PAGES ---- */
.legal-container { max-width: 820px; margin: 0 auto; padding: 56px 24px; }
.legal-container h1 { font-size: 28px; color: var(--black); margin-bottom: 8px; }
.legal-container .updated { color: var(--text-light); font-size: 13px; margin-bottom: 32px; }
.legal-section { margin-bottom: 26px; }
.legal-section h2 { font-size: 18px; color: var(--black); margin-bottom: 10px; }
.legal-section p { font-size: 14.5px; color: var(--text); margin-bottom: 10px; }
.legal-section ul { margin: 10px 0 10px 22px; }
.legal-section li { font-size: 14.5px; margin-bottom: 7px; color: var(--text); }

/* ---- PRE-FOOTER DISCLAIMER ---- */
.pre-footer-disclaimer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 20px;
  text-align: center;
}
.pre-footer-disclaimer p {
  color: var(--text-light); font-size: 13px; max-width: 920px; margin: 0 auto; line-height: 1.6;
}

/* ---- FOOTER ---- */
.site-footer { background: var(--black); padding: 56px 24px 32px; color: rgba(255,255,255,0.78); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 38px; margin-bottom: 36px; }
.footer-col h3 { color: var(--silver); font-size: 16px; margin-bottom: 14px; font-weight: 700; }
.footer-col p { font-size: 13.5px; line-height: 1.7; margin-bottom: 9px; color: rgba(255,255,255,0.72); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a.flink { font-size: 13.5px; color: rgba(255,255,255,0.72); }
.footer-col a.flink:hover { color: var(--silver); }
.footer-separator { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 10px 0 24px; }
.footer-copyright { text-align: center; color: rgba(255,255,255,0.42); font-size: 12.5px; margin-top: 6px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .header-inner { position: relative; }
  .main-nav ul.primary-links { display: none; }
  .main-nav ul.primary-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black-soft);
    padding: 6px 24px 18px;
    gap: 0;
    box-shadow: 0 14px 30px rgba(0,0,0,0.4);
    z-index: 90;
  }
  .main-nav ul.primary-links.open > li > a {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav ul.primary-links.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 6px 14px;
  }
  .main-nav ul.primary-links.open .dropdown-menu li a { padding: 10px 0; }
  .mobile-toggle {
    display: block; background: none; border: none; color: var(--white);
    font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 6px;
  }
  .hero { padding: 50px 20px; }
  .hero h1 { font-size: 30px; }
}
@media (min-width: 901px) { .mobile-toggle { display: none; } }
@media (max-width: 700px) {
  .scope-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 25px; }
}
