/* Valley Notary Services */
:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --gold: #d97706;
  --gold-deep: #b45309;
  --gold-soft: #fbbf24;
  --slate: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.12);
  --white: #ffffff;
  --max: 1120px;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.5rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.tap-target { min-height: 44px; min-width: 44px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  position: relative;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.brand img { height: clamp(2.35rem, 5.5vw, 2.85rem); width: auto; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 1px;
}
.nav-cta-desktop { display: none; }

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  background: rgba(248, 250, 252, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}
.nav-links.is-open { display: flex; }
.nav-links a {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
}
.nav-links a:last-child { border-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-soft); }

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-stage {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(88vh, 780px);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.78) 58%, rgba(15, 23, 42, 0.92) 100%),
    linear-gradient(120deg, rgba(217, 119, 6, 0.22), transparent 45%),
    url("/images/hero.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.12), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(15, 23, 42, 0.2), transparent 35%);
  pointer-events: none;
}
.hero-content {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  max-width: 42rem;
  animation: riseIn 700ms ease both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}
.hero-brand span { color: var(--gold-soft); }
.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 36ch;
  color: rgba(248, 250, 252, 0.95);
}
.hero-lead {
  margin: 0 0 1.75rem;
  color: rgba(248, 250, 252, 0.88);
  font-size: 1.05rem;
  max-width: 42ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.9);
}
.hero-contact a {
  border-bottom: 1px solid rgba(251, 191, 36, 0.55);
  padding-bottom: 1px;
}
.hero-contact a:hover { color: var(--gold-soft); }

section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-kicker {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.65rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.section-title-sm { font-size: 1.5rem; }
.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.trust {
  background: linear-gradient(180deg, #eef2f7 0%, var(--slate) 100%);
  border-block: 1px solid var(--line);
  padding: 1.5rem 0;
}
.trust-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.trust-item { font-weight: 600; color: var(--navy-soft); font-size: 0.98rem; }
.trust-item span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.services {
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.08), transparent 40%),
    var(--slate);
}
.services-head { margin-bottom: 2.5rem; }
.service-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.service {
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
  animation: fadeUp 700ms ease both;
}
.service:nth-child(2) { animation-delay: 80ms; }
.service:nth-child(3) { animation-delay: 160ms; }
.service:nth-child(4) { animation-delay: 240ms; }
.service h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.service p { margin: 0; color: var(--muted); }

.process { background: var(--white); border-block: 1px solid var(--line); }
.process-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.process-step { padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.process-num {
  display: block;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.process-step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}
.process-step p { margin: 0; color: var(--muted); }

.fees {
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 40%),
    var(--slate);
}
.fee-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.fee-card { padding-top: 1.35rem; border-top: 2px solid var(--navy); }
.fee-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}
.fee-card p { margin: 0; color: var(--muted); }
.fee-note {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  background: rgba(217, 119, 6, 0.08);
  border-left: 3px solid var(--gold);
  color: var(--navy-soft);
  font-size: 0.98rem;
}
.fee-note a {
  color: var(--gold-deep);
  font-weight: 700;
  border-bottom: 1px solid rgba(217, 119, 6, 0.35);
}

.area {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.area::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.28), transparent 68%);
  pointer-events: none;
}
.area .section-title { color: var(--white); }
.area .section-kicker { color: var(--gold-soft); }
.area .section-lead { color: rgba(248, 250, 252, 0.78); }
.area-grid { display: grid; gap: 2rem; margin-top: 2rem; }
.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.city-list li {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(248, 250, 252, 0.22);
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.92rem;
  font-weight: 500;
}
.hours { max-width: 28rem; }
.hours dl { margin: 1rem 0 0; display: grid; gap: 0.65rem; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(248, 250, 252, 0.14);
  padding-bottom: 0.55rem;
  font-size: 0.98rem;
}
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: rgba(248, 250, 252, 0.78); }

.faq { background: var(--white); border-block: 1px solid var(--line); }
.faq-list { margin-top: 2rem; max-width: 48rem; }
.faq-item { border-bottom: 1px solid var(--line); padding: 0.25rem 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--gold-deep);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 1rem; color: var(--muted); }

.book {
  background: linear-gradient(160deg, #fff7ed 0%, var(--slate) 45%, #eef2ff 100%);
}
.book-grid { display: grid; gap: 2rem; align-items: start; }
.book-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1rem; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}
.form-row { display: grid; gap: 1rem; }
.form-actions { margin-top: 0.5rem; }
.form-actions .btn { width: 100%; }
.form-note { margin: 0.85rem 0 0; font-size: 0.85rem; color: var(--muted); }
.book-aside .checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.book-aside .checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.book-aside .checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 1px;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.contact-links a {
  font-weight: 700;
  color: var(--gold-deep);
  border-bottom: 1px solid rgba(217, 119, 6, 0.35);
}

.site-footer {
  background: var(--navy);
  color: rgba(248, 250, 252, 0.78);
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand {
  display: block;
  width: min(11.5rem, 70vw);
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  background: #ececec;
  line-height: 0;
}
.footer-brand img { width: 100%; height: auto; }
.footer-disclaimer { max-width: 70ch; line-height: 1.55; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  border-top: 1px solid rgba(248, 250, 252, 0.14);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}
.footer-copy {
  flex: 1 1 100%;
  color: rgba(248, 250, 252, 0.62);
  line-height: 1.5;
}
.footer-meta a,
.footer-links a { color: var(--gold-soft); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--navy);
  border-top: 1px solid rgba(248, 250, 252, 0.14);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.25);
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  border-right: 1px solid rgba(248, 250, 252, 0.12);
}
.sticky-cta a:last-child {
  border-right: 0;
  background: var(--gold);
}
.sticky-cta a:hover { background: var(--navy-soft); }
.sticky-cta a:last-child:hover { background: var(--gold-deep); }

@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media,
  .hero-content,
  .service { animation: none !important; }
  .hero-media { transform: none !important; }
  .btn:hover { transform: none; }
}

@media (max-width: 419px) {
  .nav { gap: 0.65rem; }
  .brand img { height: 2.15rem; }
}

@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .nav-cta-desktop { display: inline-flex; }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.25rem;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav-links a {
    padding: 0;
    border: 0;
    color: var(--muted);
    font-weight: 500;
  }
  .nav-links a:hover { color: var(--navy); }
  .trust-row { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2rem; }
  .fee-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .area-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .book-grid { grid-template-columns: 1.15fr 0.85fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-actions .btn { width: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 980px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}
