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

:root {
  --navy: #0a1f44;
  --navy-soft: #112a57;
  --blue: #0a3161;
  --red: #b31942;
  --red-dark: #8f1235;
  --white: #ffffff;
  --silver: #c9d3e3;
  --text: #1a2233;
  --text-light: #566074;
  --bg-light: #f4f6fa;
  --border: #e0e5ee;
}

* { 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: #060f24; padding: 5px 16px; text-align: center; }
.top-bar p { color: rgba(255,255,255,.72); font-size: 10px; max-width: 980px; margin: 0 auto; line-height: 1.4; }
.top-bar strong { color: var(--silver); }

/* ---- HEADER ---- */
.site-header { background: var(--navy); padding: 0 24px; border-bottom: 3px solid var(--red); position: relative; z-index: 60; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo img { height: 50px; width: auto; }
.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,.9); font-size: 14.5px; font-weight: 600; letter-spacing: .2px; padding: 10px 2px; display: inline-block; transition: color .2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: var(--silver); }
.dropdown-menu { display: block; position: absolute; top: 100%; left: 0; background: var(--navy-soft); min-width: 230px; border: 1px solid #1c3b73; border-top: 2px solid var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .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,.85); }
.dropdown-menu li a:hover { background: rgba(255,255,255,.07); color: #fff; }
.dropdown-menu li.soon span { display: block; padding: 11px 18px; font-size: 13px; color: rgba(255,255,255,.5); }
.nav-cta { background: var(--red); color: #fff !important; padding: 10px 20px !important; border-radius: 6px; font-weight: 700 !important; }
.nav-cta:hover { background: var(--red-dark) !important; color: #fff !important; }
.mobile-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, rgba(10,31,68,.82) 0%, rgba(10,31,68,.64) 55%, rgba(6,15,36,.84) 100%), url('/background_usa.jpg') center center / cover no-repeat;
  padding: 90px 24px 84px; text-align: center; position: relative;
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22); 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: #fff; font-size: 40px; font-weight: 800; line-height: 1.22; margin-bottom: 18px; letter-spacing: -.3px; }
.hero p.hero-sub { color: rgba(255,255,255,.82); font-size: 16.5px; line-height: 1.7; margin: 0 auto 30px; max-width: 660px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-pills span { font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 50px; padding: 6px 15px; }
.hero.hero-sm { padding: 64px 24px 58px; }
.hero.hero-sm h1 { font-size: 34px; }
.btn { display: inline-block; background: var(--red); color: #fff; padding: 14px 30px; border-radius: 7px; font-size: 15px; font-weight: 700; letter-spacing: .2px; transition: all .2s ease; box-shadow: 0 6px 18px rgba(179,25,66,.35); border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; box-shadow: none; padding: 12.5px 28px; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-navy { background: var(--navy); box-shadow: 0 6px 18px rgba(10,31,68,.3); }
.btn-navy:hover { background: var(--navy-soft); }

/* ---- SCOPE ---- */
.scope-section { background: #fff; 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: 700px; margin: 0 auto 32px; }
.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: #f1f5fb; border-color: #c9d7ee; }
.scope-card.no { background: #fbf3f4; border-color: #e8cbd1; }
.scope-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 14px; }
.scope-card.si h3 { color: var(--blue); }
.scope-card.no h3 { color: #9a1f3d; }
.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; }

/* ---- SECTIONS ---- */
.section { padding: 64px 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(--navy); color: #fff; 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(--navy); margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 16px; max-width: 640px; margin: 0 auto; }

/* ---- CARDS ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 30px 26px; transition: all .2s ease; display: flex; flex-direction: column; }
.service-card:hover { box-shadow: 0 14px 36px rgba(10,31,68,.1); transform: translateY(-3px); border-color: #c5cfe0; }
.service-card.is-soon { background: var(--bg-light); }
.service-card.is-soon:hover { transform: none; box-shadow: none; border-color: var(--border); }
.service-card .icon { font-size: 30px; margin-bottom: 14px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.service-card p { font-size: 14.5px; color: var(--text-light); margin-bottom: 16px; }
.service-card .status { font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; display: block; color: #1d7a45; }
.service-card .status.soon { color: #7a8396; }
.service-card a.card-link { margin-top: auto; align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--red); padding-bottom: 2px; }

/* ---- STEPS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 26px 22px; }
.step-num { width: 38px; height: 38px; background: var(--navy); color: #fff; 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; color: var(--navy); }
.step-card p { font-size: 14px; color: var(--text-light); }

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

/* ---- LIVE AVAILABILITY BOX ---- */
.live-box { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--red); border-radius: 14px; padding: 38px 36px; box-shadow: 0 14px 36px rgba(10,31,68,.08); text-align: center; }
.live-box h2 { font-size: 26px; color: var(--navy); font-weight: 800; margin-bottom: 10px; }
.live-box p { color: var(--text-light); max-width: 600px; margin: 0 auto 22px; }
.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; text-align: left; max-width: 620px; margin: 0 auto 28px; }
.check-list li { font-size: 14.5px; padding-left: 26px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { background: #fff; 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; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 20px; color: var(--red); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list p { font-size: 14.5px; color: var(--text-light); margin-top: 12px; line-height: 1.65; }

/* ---- CTA ---- */
.cta-banner { background: var(--navy); padding: 56px 24px; text-align: center; border-top: 3px solid var(--red); }
.cta-banner h2 { color: #fff; font-size: 27px; margin-bottom: 14px; font-weight: 800; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: 15.5px; margin: 0 auto 26px; max-width: 580px; }

/* ---- CONTACT ---- */
.contact-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 34px; }
.contact-card h2 { color: var(--navy); font-size: 22px; margin-bottom: 10px; }
.contact-card p { color: var(--text-light); margin-bottom: 14px; }
.contact-card a.mail { color: var(--red); font-weight: 700; border-bottom: 2px solid var(--red); }

/* ---- PRE-FOOTER / FOOTER ---- */
.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; }
.site-footer { background: var(--navy); padding: 56px 24px 32px; color: rgba(255,255,255,.8); }
.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,.72); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,.72); }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-separator { border: none; border-top: 1px solid rgba(255,255,255,.14); margin: 10px 0 24px; }
.footer-disclaimer { font-size: 13px; color: rgba(255,255,255,.6); max-width: 920px; margin: 0 auto 14px; text-align: center; line-height: 1.6; }
.footer-copyright { text-align: center; color: rgba(255,255,255,.45); font-size: 12.5px; }

/* ---- LIVE FLOW SHELL (dmv-live.php) ---- */
.live-top { background: var(--navy); border-bottom: 3px solid var(--red); display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.live-top img { height: 46px; width: auto; }
.live-top a.live-back { color: #fff; font: 600 14px 'Fira Sans', Arial, sans-serif; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 9px 16px; }
.live-top a.live-back:hover { background: rgba(255,255,255,.1); }
.live-note { background: #fff8e5; border-bottom: 1px solid #f0dfa8; color: #5b4a12; font: 13px/1.5 'Fira Sans', Arial, sans-serif; padding: 9px 20px; text-align: center; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .mobile-toggle { display: block; }
  .main-nav { gap: 14px; }
  .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(--navy-soft); padding: 6px 24px 18px; gap: 0; box-shadow: 0 14px 30px rgba(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,.1); }
  .main-nav ul.primary-links.open .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 12px; }
  .nav-cta { display: none; }
  .hero { padding: 62px 20px 58px; }
  .hero h1 { font-size: 31px; }
  .hero.hero-sm h1 { font-size: 28px; }
  .scope-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .live-box { padding: 28px 22px; }
  .section { padding: 48px 20px; }
}

/* ---- FUNNEL (virginia-start) ---- */
.fsteps{list-style:none;display:flex;margin:0 0 22px;padding:0}
.fsteps li{flex:1;display:flex;align-items:center;gap:12px;padding:15px 22px;background:#d7dbe3;color:rgba(0,0,0,.5);font-weight:700;font-size:14.5px;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%,18px 50%);margin-right:-1px}
.fsteps li:first-child{clip-path:polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%)}
.fsteps li:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,18px 50%);margin-right:0}
.fsteps li span{width:28px;height:28px;border-radius:50%;border:2px solid rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0}
.fsteps li.active{background:var(--red);color:#fff}.fsteps li.active span{background:#fff;border-color:#fff;color:var(--red)}
.fsteps li.done{background:var(--navy-soft);color:#fff}.fsteps li.done span{background:#fff;border-color:#fff;color:var(--navy-soft)}
.form-card{background:#fff;border:1px solid var(--border);border-top:4px solid var(--red);border-radius:12px;padding:30px 30px 26px;box-shadow:0 10px 30px rgba(10,31,68,.07)}
.form-card h2{font-size:22px;color:var(--navy);font-weight:800;margin-bottom:6px}
.form-lead{color:var(--text-light);font-size:14.5px;margin-bottom:20px}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{margin-bottom:16px}
.field label{display:block;font-size:14px;font-weight:600;color:var(--navy);margin-bottom:6px}
.field input,.field select{width:100%;height:48px;border:1px solid #cdd3de;border-radius:8px;padding:0 14px;font:inherit;font-size:15px;color:var(--text);background:#fff;outline:none;transition:border-color .2s,box-shadow .2s}
.field input:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(10,49,97,.12)}
.field input.ro{background:#f4f4f4;color:#555}
.check{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--text-light);margin:4px 0 12px;line-height:1.55}
.check input{margin-top:3px;width:17px;height:17px;accent-color:var(--red);flex-shrink:0}
.check a{color:var(--navy);text-decoration:underline}
.ferr{color:#b00020;font-size:14px;font-weight:600;min-height:20px;margin-bottom:8px}
.fbtns{display:grid;grid-template-columns:130px 1fr;gap:12px}
.micro-note{text-align:center;color:var(--text-light);font-size:13.5px;margin-top:14px}
@media(max-width:640px){.frow{grid-template-columns:1fr;gap:0}.fsteps{flex-direction:column}.fsteps li{clip-path:none!important;margin-right:0;border-bottom:1px solid rgba(0,0,0,.08)}.form-card{padding:22px 18px}.fbtns{grid-template-columns:1fr}}

/* ---- live availability chips ---- */
.hint{font-size:13px;color:var(--text-light);margin-top:6px}
.live-dot{color:#1d7a45;font-size:12px;font-weight:700;margin-left:6px}
.avail-msg{font-size:14px;color:var(--text-light);margin-bottom:10px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.chip{border:1px solid #cdd3de;background:#fff;color:var(--navy);border-radius:8px;padding:9px 13px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s}
.chip:hover{border-color:var(--blue)}
.chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.chips.times .chip.on{background:var(--red);border-color:var(--red)}
.picked{font-weight:700;color:#1d7a45;font-size:14.5px;min-height:20px}

/* ---- sticky "Get Started" bar (mobile) ---- */
.sticky-cta{display:none}
@media(max-width:900px){
  .sticky-cta{display:block;position:fixed;left:0;right:0;bottom:0;z-index:80;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(10,31,68,.97);border-top:3px solid var(--red);box-shadow:0 -6px 20px rgba(0,0,0,.25)}
  .sticky-cta a{display:block;text-align:center;background:var(--red);color:#fff;font-weight:700;font-size:16px;letter-spacing:.2px;padding:14px;border-radius:8px;box-shadow:0 4px 14px rgba(179,25,66,.4)}
  body.has-sticky{padding-bottom:80px}
}

@media (max-width: 600px) { .top-bar { padding: 4px 12px; } .top-bar p { font-size: 9px; line-height: 1.35; } }

/* ---- legal pages ---- */
.legal h1{font-size:32px;font-weight:800;color:var(--navy);margin-bottom:6px}
.legal .updated{color:var(--text-light);font-size:13.5px;margin-bottom:22px}
.legal p{margin-bottom:12px;color:var(--text)}
.legal-sec{margin:26px 0 0}
.legal-sec h2{font-size:19px;font-weight:700;color:var(--navy);margin-bottom:8px}
.legal ul{margin:8px 0 12px 22px}
.legal li{margin-bottom:7px;color:var(--text)}
.legal a{color:var(--red);text-decoration:underline}
