/* ═══════════════════════════════════════
   NS Notary LLC — Shared Stylesheet
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ─── TOKENS ─── */
:root {
  --bg:            #FFFFFF;
  --surface:       #FDF4F5;
  --surface-card:  #FFFFFF;
  --border:        #F0C8CE;
  --text-1:        #0D0D1A;
  --text-2:        #4A4A6A;
  --text-3:        #9191AE;
  --indigo:        #922B3E;
  --indigo-dark:   #7A1F2E;
  --indigo-mid:    #C4576A;
  --indigo-light:  #F9E8EB;
  --indigo-xlight: #FDF4F5;
  --green:         #10B981;
  --r:             8px;
  --r-lg:          16px;
  --shadow-sm:     0 1px 4px rgba(146,43,62,0.07);
  --shadow-md:     0 6px 28px rgba(146,43,62,0.13);
  --shadow-lg:     0 16px 48px rgba(146,43,62,0.16);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
*:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

/* ─── LAYOUT ─── */
.wrap, .container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.logo-dot { color: var(--indigo); }
.logo-badge {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-1); background: var(--indigo-xlight); }
.nav-links a.active { color: var(--indigo); font-weight: 600; }
.nav-cta a {
  background: var(--indigo) !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem !important;
  font-weight: 600 !important;
}
.nav-cta a:hover { background: var(--indigo-dark) !important; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.78rem 1.6rem;
  border-radius: var(--r);
  border: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.btn-primary:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: var(--indigo-light); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--indigo); border-color: #fff; }
.btn-white:hover { background: var(--indigo-light); }
.btn-sm { font-size: 0.82rem; padding: 0.55rem 1.1rem; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--indigo-xlight);
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.page-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 0.85rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 52ch;
  text-wrap: balance;
}

/* ─── SECTIONS ─── */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface); }
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}
.section-h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 0.85rem;
}
.section-lead {
  font-size: 1.02rem;
  color: var(--text-2);
  max-width: 52ch;
  line-height: 1.7;
  text-wrap: balance;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* ─── CARD GRID ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--indigo-mid); }
.card-icon {
  width: 44px; height: 44px;
  background: var(--indigo-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  margin-bottom: 1.1rem;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.card-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* ─── STEPS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3.5rem;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(16.66% + 22px);
  right: calc(16.66% + 22px);
  height: 2px;
  background: var(--border);
}
.step { text-align: center; }
.step-num {
  width: 44px; height: 44px;
  background: var(--indigo);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 1;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-desc { font-size: 0.875rem; color: var(--text-2); max-width: 22ch; margin: 0 auto; line-height: 1.6; }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--indigo);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.cta-band p {
  font-size: 1rem;
  opacity: 0.75;
  margin-bottom: 2rem;
  max-width: 44ch;
  margin-inline: auto;
}
.cta-band .btn-actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* ─── CONTACT FORM ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.cinfo-block { margin-bottom: 2rem; }
.cinfo-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.25rem;
}
.cinfo-val { font-size: 1rem; font-weight: 600; color: var(--text-1); }
.cinfo-val a { transition: color 0.2s; }
.cinfo-val a:hover { color: var(--indigo); }
.cinfo-sub { font-size: 0.82rem; color: var(--text-3); margin-top: 0.1rem; }
.form-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.2rem; }
.form-card .sub { font-size: 0.83rem; color: var(--text-3); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }
.field label { font-size: 0.76rem; font-weight: 600; color: var(--text-2); letter-spacing: 0.02em; }
.field input,
.field select,
.field textarea {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-1);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 0.65rem 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(146,43,62,0.12);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239191AE' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.form-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--green);
}
.form-success svg { margin: 0 auto 0.75rem; }
.form-success strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.3rem; }
.form-success p { font-size: 0.875rem; color: var(--text-2); }

/* ─── FAQ ─── */
.faq-list { margin-top: 2.5rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--indigo-mid); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-1);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--indigo-xlight); }
.faq-item.open .faq-q { background: var(--indigo-xlight); color: var(--indigo); }
.faq-chevron, .faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--text-3);
  transition: transform 0.25s;
}
.faq-item.open .faq-chevron,
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--indigo); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 1.5rem 1.25rem; }
.faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
  background: #0D0D1A;
  color: rgba(255,255,255,0.5);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.65rem;
}
.footer-logo span { color: var(--indigo-mid); }
.footer-tagline { font-size: 0.83rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--indigo-mid); }
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { font-size: 0.83rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--indigo-mid); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── CITY CHIPS ─── */
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.city-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
}
.city-chip svg { color: var(--indigo); flex-shrink: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .step { text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
  .step-num { flex-shrink: 0; margin: 0; }
  .step-desc { max-width: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .section { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 3rem 0 2.5rem; }
}

/* ─── MOBILE NAV OPEN ─── */
body.nav-open .nav-links {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem 1.25rem;
  gap: 0.15rem;
  box-shadow: var(--shadow-md);
}
body.nav-open .nav-links a { font-size: 0.9rem; padding: 0.65rem 0.85rem; }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
