/* NevadaNotaryPros — single stylesheet, mobile-first */
:root {
  --blue-900: #0e2a4f;
  --blue-800: #123a6d;
  --blue-700: #164a8c;
  --blue-600: #1a5cad;
  --blue-500: #2270cc;
  --blue-100: #d7e6f7;
  --blue-050: #eef4fb;
  --ink: #1c2733;
  --ink-soft: #47586b;
  --line: #d9e2ec;
  --white: #ffffff;
  --green-600: #1e7e46;
  --green-050: #ebf7f0;
  --red-600: #b3261e;
  --red-050: #fdeceb;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-600); }
a:hover { color: var(--blue-800); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--blue-900); margin: 0 0 0.5em; }
h1 { font-size: 1.9rem; letter-spacing: -0.02em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
/* Used both for pure prose (blog post body, FAQ answers) and for whole page
   bodies that mix in tables, card grids and notices (service/info pages) —
   760px reads well for prose alone but visibly starves the wider content,
   and jumps too hard against the 1080px hero above it. 900px is the compromise. */
.narrow { max-width: 900px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue-900); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 20px; max-width: 1080px; margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center;
  font-weight: 800; font-size: 1.15rem; text-decoration: none;
  color: var(--blue-900); letter-spacing: -0.01em; white-space: nowrap;
}
.brand span { color: var(--blue-500); }
.brand-icon { width: 32px; height: 32px; flex: none; margin-right: 8px; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font: inherit; font-weight: 600; color: var(--blue-900); cursor: pointer;
}
.site-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--line);
  flex-direction: column; padding: 8px 20px 16px;
}
.site-nav.open { display: flex; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  padding: 10px 4px; border-bottom: 1px solid var(--blue-050);
}
.site-nav a:hover { color: var(--blue-600); }
.site-nav .nav-cta { border-bottom: none; margin-top: 10px; }

/* The nav CTA is a .btn inside .site-nav, and `.site-nav a` (0,1,1) outranks
   `.btn` (0,1,0) — without these it renders as dark unpadded text on blue.
   Matches `.site-nav a:hover` specificity, so it must stay after that rule. */
.site-nav a.nav-cta {
  color: var(--white);
  font-weight: 700;
  padding: 11px 20px;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.site-nav a.nav-cta:hover { color: var(--white); background: var(--blue-800); }

/* 1024px, not 880px: below this the brand, seven links and the CTA don't fit
   on one line and the CTA wraps. Keep the hamburger until there's real room. */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    gap: 20px; border: none; padding: 0; background: none;
  }
  .site-nav a { padding: 4px 0; border-bottom: 2px solid transparent; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--blue-500); color: var(--blue-700); }
  .site-nav .nav-cta { margin-top: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 8px; padding: 12px 22px; border: 2px solid transparent;
  text-align: center; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-800); color: var(--white); }
.btn-outline { border-color: var(--blue-600); color: var(--blue-700); background: var(--white); }
.btn-outline:hover { background: var(--blue-050); color: var(--blue-800); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--blue-050);
  border-bottom: 1px solid var(--blue-100);
  padding: 48px 0 40px;
}
.hero h1 { font-size: 2.05rem; max-width: 760px; }
.hero .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 660px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }

.hero-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.hero-copy { min-width: 0; }
.hero-media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--blue-100);
  box-shadow: 0 10px 30px rgba(18, 58, 109, 0.12);
}

@media (min-width: 880px) {
  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 44px; }
  .hero-grid.no-media { grid-template-columns: 1fr; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
  padding: 14px 0; margin-top: 18px;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 600; color: var(--blue-800);
}
.trust-item svg { flex: none; }

/* ---------- Sections & cards ---------- */
.section { padding: 44px 0; }
.section-alt { background: var(--blue-050); }
.section-head { max-width: 720px; margin-bottom: 26px; }
.section-head p { color: var(--ink-soft); }

.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid.two { grid-template-columns: 1fr; }
@media (min-width: 720px) { .card-grid.two { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column;
}
.card h3 { margin-top: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .card-cta { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: none; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue-050);
  display: flex; align-items: center; justify-content: center;
}

.pill {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 99px; margin-bottom: 8px;
}
.pill-statewide { background: var(--green-050); color: var(--green-600); }
.pill-vegas { background: var(--blue-100); color: var(--blue-800); }

/* ---------- Notices ---------- */
.notice {
  border-left: 4px solid var(--blue-500); background: var(--blue-050);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 20px 0;
  font-size: 0.97rem;
}
.notice strong { color: var(--blue-900); }
.notice-green { border-left-color: var(--green-600); background: var(--green-050); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table.pricing {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-size: 0.97rem;
}
table.pricing th, table.pricing td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.pricing thead th { background: var(--blue-800); color: var(--white); font-weight: 700; }
table.pricing tbody tr:last-child td { border-bottom: none; }
table.pricing tbody tr:nth-child(even) { background: var(--blue-050); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0; display: grid; gap: 18px; }
@media (min-width: 720px) { .steps.horizontal { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.steps h3 { margin-bottom: 4px; font-size: 1.05rem; }
.steps p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--white);
}
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--blue-900);
  padding: 16px 18px; list-style: none; position: relative; padding-right: 42px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--blue-500); font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 18px 16px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; max-width: 620px;
}
.form-row { margin-bottom: 16px; }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 520px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; color: var(--blue-900); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: var(--white);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: var(--blue-500);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.form-status { display: none; padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; }
.form-status.success { display: block; background: var(--green-050); color: var(--green-600); }
.form-status.error { display: block; background: var(--red-050); color: var(--red-600); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue-800); color: var(--white); padding: 48px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--blue-100); max-width: 620px; }
.cta-band .btn-primary { background: var(--white); color: var(--blue-800); }
.cta-band .btn-primary:hover { background: var(--blue-100); }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 20px; }
.post-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white);
}
.post-card { overflow: hidden; padding: 0; }
.post-card .post-card-body { padding: 24px; }
.post-card-media { display: block; }
.post-card-media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1200 / 630; object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.post-card h2 { font-size: 1.25rem; margin-bottom: 6px; }
.post-card h2 a { text-decoration: none; color: var(--blue-900); }
.post-card h2 a:hover { color: var(--blue-600); }
.post-meta { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 8px; }
.post-card p { color: var(--ink-soft); margin-bottom: 0; }

article.post { max-width: 720px; }
.post-featured {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1200 / 630; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--blue-100);
  margin: 0 0 28px;
}
article.post h2 { margin-top: 1.6em; }
article.post h3 { margin-top: 1.3em; }
article.post ul, article.post ol { padding-left: 24px; }
article.post li { margin-bottom: 6px; }
.post-footer-cta {
  border: 1px solid var(--blue-100); background: var(--blue-050);
  border-radius: var(--radius); padding: 22px; margin-top: 36px;
}
.post-footer-cta p { margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: var(--blue-100); margin-top: 56px; font-size: 0.93rem; }
.footer-grid {
  display: grid; gap: 28px; grid-template-columns: 1fr; padding: 44px 0 28px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.site-footer a { color: var(--blue-100); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 6px;
  padding: 5px 10px; font-size: 0.82rem; font-weight: 600; color: var(--white);
}
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 0 26px;
  font-size: 0.82rem; color: #9fb8d6;
}
.footer-legal p { margin-bottom: 6px; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-soft { color: var(--ink-soft); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.breadcrumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px; }
.breadcrumbs a { color: var(--ink-soft); }
