/* Notary911 — site styles */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans.woff") format("woff");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Italic.woff") format("woff");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("/fonts/IBMPlexSerif-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("/fonts/IBMPlexSerif-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F3A;
  --navy-deep: #071422;
  --navy-mid: #163056;
  --red: #C8102E;
  --red-dark: #9E0C24;
  --red-soft: #FDECEE;
  --paper: #FFFFFF;
  --mist: #F3F5F8;
  --ink: #0B1F3A;
  --muted: #3A4A5C;
  --line: #D5DCE6;
  --shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
  --radius: 12px;
  --wrap: 1100px;
  --font-sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--red);
}

*, *::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(--font-sans);
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--red-dark); }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.1rem;
  z-index: 2000;
  font-weight: 650;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; top: 0; outline-color: #fff; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--red);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  margin-left: auto;
  margin-right: 1.15rem;
}
.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
  outline: none;
}

.header-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-shrink: 0;
}
.header-actions .btn {
  min-height: 48px;
  padding: 0.5rem 1.05rem;
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--mist); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 58px;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 1.15rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.btn:hover { transform: translateY(-1px); }
.btn svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
}

.btn-call {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-call:hover,
.btn-call:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-text {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-text:hover,
.btn-text:focus-visible {
  background: var(--navy);
  color: #fff;
}

.btn-text-on-navy {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-text-on-navy:hover,
.btn-text-on-navy:focus-visible {
  background: #fff;
  color: var(--navy);
}

.btn-lg {
  min-height: 66px;
  padding: 0.9rem 1.7rem;
  font-size: 1.25rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 80% at 90% 20%, rgba(200, 16, 46, 0.18), transparent 55%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 48%, var(--navy-mid) 100%);
  color: #fff;
  overflow: hidden;
  padding: 5rem 0 5.25rem;
}
.hero-911 {
  position: absolute;
  right: -3%;
  bottom: -18%;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(10rem, 32vw, 20rem);
  line-height: 0.75;
  color: var(--red);
  opacity: 0.13;
  pointer-events: none;
  letter-spacing: -0.05em;
  user-select: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38.5rem;
  border-left: 4px solid var(--red);
  padding-left: 1.6rem;
}
.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F3C4CA;
}
.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.2vw, 3.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero .lead {
  margin: 0 0 1.75rem;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #E8EEF5;
  max-width: 34rem;
}
.hero .phone-display {
  margin: 1.35rem 0 0;
  font-size: 1.15rem;
  color: #E8EEF5;
}
.hero .phone-display a {
  color: #fff;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
}
.hero .phone-display a:hover { color: #F3C4CA; }

.places {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  color: #E8EEF5;
  font-size: 1.05rem;
  font-weight: 550;
}
.places li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.places svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: #F3C4CA;
}

/* ---------- Sections ---------- */
.section { padding: 4.75rem 0; }
.section-mist { background: var(--mist); }
.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-head {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}
.section-head h2,
.cta-inner h2,
.area-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-navy h2,
.section-navy .section-head p { color: #fff; }
.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
}
.section-navy .lede,
.section-navy .section-head p { color: #E8EEF5; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* ---------- Services ---------- */
.service-groups {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.5rem;
  align-items: start;
}
.service-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.service-group h3 {
  margin: 0 0 1.05rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}
.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-size: 1.15rem;
  color: var(--ink);
}
.service-list svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 0.28rem;
}
.service-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* ---------- Service area ---------- */
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.towns li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  box-shadow: 0 2px 0 rgba(11, 31, 58, 0.04);
}
.towns li.town-more {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.area-intro {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.2rem;
}


/* ---------- Pricing ---------- */
.pricing-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.price-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.price-amount {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.price-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* ---------- What to bring ---------- */
.bring-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bring {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.bring h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.bring p {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 800px;
}
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.04);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.4rem 1.15rem 1.35rem;
  font-weight: 650;
  font-size: 1.2rem;
  color: var(--navy);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq summary:hover { color: var(--red-dark); }
.faq summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
  border-radius: var(--radius);
}
.faq .answer {
  margin: 0;
  padding: 0 1.35rem 1.3rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 42rem;
}

/* ---------- CTA band ---------- */
.cta {
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(200, 16, 46, 0.2), transparent 50%),
    var(--navy);
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 40rem; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta .lede {
  margin-bottom: 1.6rem;
  color: #E8EEF5;
}
.cta .btn-row { justify-content: center; }
.cta-phone {
  margin: 1.4rem 0 0;
  font-size: 1.15rem;
  color: #E8EEF5;
}
.cta-phone a {
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
}
.cta-phone a:hover { color: #F3C4CA; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #D5DCE6;
  padding: 3.25rem 0 2.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem 2rem;
  align-items: start;
}
.footer-brand .logo img { height: 44px; }
.footer-brand p {
  margin: 0.9rem 0 0;
  font-size: 1.05rem;
  max-width: 22rem;
  color: #C5CDD8;
}
.footer-brand .commission {
  margin: 0.75rem 0 0;
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #fff;
}
.footer-col h3 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a {
  color: #E8EEF5;
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-block;
  padding: 0.25rem 0;
}
.footer-col a:hover { color: #fff; border-bottom: 1px solid var(--red); }
.footer-legal {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1rem;
  color: #A8B3C2;
}
.footer-legal p { margin: 0 0 0.45rem; }
.footer-legal .disclaimer { max-width: 46rem; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- 404 ---------- */
.page-simple {
  min-height: 55vh;
  padding: 5rem 0;
  text-align: center;
}
.page-simple h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.8rem;
}
.page-simple p {
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.6rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    width: 100vw;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 0.4rem 1.25rem 1rem;
    border-bottom: 3px solid var(--navy);
    box-shadow: 0 16px 28px rgba(11, 31, 58, 0.12);
  }
  .nav.is-open { display: flex; }
  .nav a {
    font-size: 1.25rem;
    padding: 0.95rem 0.15rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: 0; }
  body.nav-open { overflow: hidden; }

  .steps,
  .bring-list,
  .pricing-list,
  .service-groups,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-actions { display: none; }
  body { font-size: 1.125rem; }
  .wrap { width: min(100% - 1.6rem, var(--wrap)); }
  .hero { padding: 3.25rem 0 3.5rem; }
  .hero .lead { font-size: 1.2rem; }
  .section { padding: 3.4rem 0; }
  .cta { padding: 3.4rem 0; }
  .btn-lg { min-height: 62px; font-size: 1.15rem; width: 100%; }
  .hero .btn-row .btn { width: 100%; }
  .cta .btn-row .btn { width: 100%; }
  .header-inner { min-height: 72px; }
  .logo img { height: 42px; }

  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 0.6rem;
    padding: 0.65rem 0.8rem calc(0.65rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 3px solid var(--navy);
    z-index: 180;
    box-shadow: 0 -8px 22px rgba(11, 31, 58, 0.12);
  }
  .mobile-bar .btn {
    flex: 1;
    min-height: 58px;
    font-size: 1.1rem;
    white-space: nowrap;
  }
  body { padding-bottom: 92px; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .bring-list { grid-template-columns: 1fr; }
  .pricing-list { grid-template-columns: 1fr; }
}
