/* Yuba Sutter Notary — styled to match Janae’s real estate brand */
:root {
  --dark: #282624;
  --dark-deep: #1c1b19;
  --orange: #F9602C;
  --orange-bright: #FF6A30;
  --cream: #F9F7F4;
  --paper: #F4F2EE;
  --gray: #7F7973;
  --on-dark: #F3F0ED;
  --body: #3A3734;
  --line: #E6E1DA;
  --white: #ffffff;
  /* aliases so existing class hooks keep working */
  --navy: var(--dark);
  --navy-deep: var(--dark-deep);
  --navy-mid: #3A3734;
  --gold: var(--orange);
  --gold-hover: var(--orange-bright);
  --gold-light: #FF8A5C;
  --gold-pale: var(--on-dark);
  --cream-dark: var(--paper);
  --ink: var(--body);
  --muted: var(--gray);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --shadow: 0 1px 0 rgba(40, 38, 36, 0.04);
  --shadow-lg: 0 18px 40px rgba(40, 38, 36, 0.14);
  --max: 1120px;
  --radius: 8px;
  --btn-radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-underline-offset: 0.18em; }
a:hover { color: var(--orange-bright); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.55rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--white); }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--dark-deep);
  color: var(--on-dark);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
}
.topbar a {
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 500;
}
.topbar a:hover { color: var(--orange-bright); }
.topbar-right { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }

/* Header / nav — matches the real estate / Home Help bar */
.site-header {
  background: var(--dark);
  color: var(--on-dark);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 88px;
  padding: 0.6rem 0;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--on-dark);
  min-width: 0;
}
.brand img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 50%;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-dark);
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(243, 240, 237, 0.28);
  border-radius: 4px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--on-dark);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav > ul > li { position: relative; }
.nav a, .nav .submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--on-dark);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.nav a:hover, .nav .submenu-toggle:hover,
.nav a[aria-current="page"] {
  color: var(--orange-bright);
}
.nav a[aria-current="page"] { font-weight: 600; }

.nav .submenu {
  display: none;
  position: absolute;
  top: calc(100% - 0.15rem);
  left: 0;
  min-width: 16.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  z-index: 20;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.nav .has-sub:hover > .submenu,
.nav .has-sub:focus-within > .submenu,
.nav .has-sub.open > .submenu {
  display: flex;
}
.nav .submenu a {
  display: block;
  padding: 0.55rem 0.75rem;
  width: 100%;
  border-radius: 4px;
  color: var(--dark);
}
.nav .submenu a:hover,
.nav .submenu a[aria-current="page"] {
  color: var(--orange);
  background: var(--cream);
}
.nav .submenu-toggle::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 0.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 12px 20px;
  border-radius: var(--btn-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-gold,
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-gold:hover, .btn-orange:hover {
  background: var(--orange-bright);
  border-color: var(--orange-bright);
  color: var(--white);
}
.btn-navy {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-navy:hover { background: #3a3734; color: var(--white); }
.btn-outline,
.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(243, 240, 237, 0.35);
}
.btn-outline:hover, .btn-ghost:hover {
  border-color: var(--orange);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }
.header-end {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.header-cta {
  margin-left: 0;
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--orange);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 64px 0 72px;
}
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.hero h1 { color: var(--on-dark); margin-bottom: 0.7rem; }
.hero h1 em {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}
.hero .lede {
  font-size: 1.12rem;
  color: #d9d4ce;
  max-width: 38rem;
  margin: 22px 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.5rem; }
.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.88rem;
  color: #d9d4ce;
}
.cred-row li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cred-row li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-photo {
  justify-self: end;
  position: relative;
  width: min(100%, 400px);
}
.hero-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 2 / 3;
  object-position: center 12%;
}
.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(40, 38, 36, 0.88);
  color: var(--white);
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  font-size: 0.88rem;
}
.hero-photo strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--dark);
  color: var(--on-dark);
  padding: 2.6rem 0 2.8rem;
  border-bottom: 3px solid var(--orange);
}
.page-hero h1 { color: var(--on-dark); max-width: 20ch; }
.page-hero .lede { color: #d9d4ce; max-width: 40rem; font-size: 1.08rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.85rem;
  color: #d9d4ce;
}
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--orange-bright); }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--orange);
}

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding: 2.4rem 0; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--dark); color: var(--on-dark); }
.bg-navy h2, .bg-navy h3 { color: var(--on-dark); }

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.section-head .kicker { color: var(--orange); }

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 0;
  border-top: 3px solid var(--orange);
  border-radius: 0 0 8px 8px;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.card h3 { margin: 0; font-size: 1.38rem; }
.card p { color: var(--gray); flex: 1; font-size: 0.95rem; }
.card a.more {
  font-weight: 600;
  text-decoration: none;
  color: var(--orange);
  font-size: 0.92rem;
  margin-top: 8px;
}
.card a.more:hover { color: var(--dark); }
.card-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--orange);
  margin-bottom: 0.15rem;
}

/* Cities */
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.cities li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.portrait-frame { position: relative; }
.portrait-frame img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 12%;
}

/* Credentials */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.badge-row img {
  width: 140px;
  height: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 0.35rem;
  border: 1px solid var(--line);
}
.checklist {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0.45rem 0;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.35rem;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* FAQ */
.faq { display: grid; gap: 0.7rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.1rem;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--dark);
}
.faq details p { margin-top: 0.6rem; color: var(--gray); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.nap dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-weight: 500;
  margin-top: 1rem;
}
.nap dt:first-child { margin-top: 0; }
.nap dd { margin: 0.2rem 0 0; }
.nap a { color: var(--dark); text-decoration: none; font-weight: 600; }
.nap a:hover { color: var(--orange); }


/* Footer */
.site-footer {
  background: var(--dark-deep);
  color: var(--on-dark);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h2 {
  color: var(--on-dark);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--mono);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--orange-bright); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
}
.legal {
  border-top: 1px solid rgba(243, 240, 237, 0.12);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: space-between;
  color: var(--gray);
  font-size: 0.82rem;
}
.legal a { color: var(--gray); }
.crosslink {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(243, 240, 237, 0.12);
  font-size: 0.88rem;
}

/* Sticky mobile call bar */
.call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 40;
  padding: 0.5rem 0.7rem;
  gap: 0.5rem;
  box-shadow: 0 -6px 20px rgba(40, 38, 36, 0.18);
}
.call-bar a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 0.4rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.65rem 0.4rem;
  border-radius: 4px;
  background: var(--orange);
}
.call-bar .call-bar-book {
  background: transparent;
  border: 2px solid rgba(243, 240, 237, 0.35);
}

.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.8rem; }
.prose h3 { margin-top: 1.3rem; }
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1.5rem;
  margin: 0 0 1.2rem;
  padding: 0 0 0 1.1rem;
}

.center { text-align: center; }
.cta-band .wrap { text-align: center; padding: 3.2rem 0; max-width: 40rem; }
.cta-band p { color: #d9d4ce; margin-bottom: 1.2rem; }
.cta-band h2 { margin-bottom: 0.5rem; }

@media (max-width: 900px) {
  .hero .wrap, .split, .contact-grid, .cards, .footer-grid, .two-col-list {
    grid-template-columns: 1fr;
  }
  .hero .wrap { padding: 44px 0 52px; gap: 2rem; }
  .hero-photo { justify-self: start; width: min(100%, 340px); }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; margin-left: 0; }
  .header-end { order: 2; margin-left: auto; }
  .header-cta-call { display: none; }
  .header-cta { padding: 8px 12px; font-size: 0.8rem; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 3px solid var(--orange);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 1.25rem 1.2rem;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    border-top: 0;
    padding: 0 0 0 0.6rem;
    min-width: 0;
    background: transparent;
  }
  .nav .has-sub:hover > .submenu,
  .nav .has-sub:focus-within > .submenu {
    display: none;
  }
  .nav .has-sub.open > .submenu,
  .nav .has-sub.open:hover > .submenu,
  .nav .has-sub.open:focus-within > .submenu {
    display: flex;
  }
  .nav .submenu a { color: var(--on-dark); }
  .nav .submenu a:hover { background: rgba(249, 96, 44, 0.12); color: var(--orange-bright); }
  .call-bar { display: flex; }
  body { padding-bottom: 4.2rem; }
  .brand img { width: 44px; height: 44px; }
  .site-header .wrap { min-height: 72px; }
}

@media (max-width: 560px) {
  .cards, .footer-grid { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .wrap { width: min(100% - 2rem, var(--max)); }
  .hero { }
  .section { padding: 52px 0; }
}

@media print {
  .topbar, .nav-toggle, .header-cta, .call-bar, .site-footer, .hero-actions, .btn { display: none !important; }
  .site-header { position: static; }
  body { background: #fff; color: #000; padding: 0; }
}
