/* Beginner edit note:
   Change the colors in :root to update the site theme. */
:root {
  --ink: #102033;
  --muted: #1f2f42;
  --line: #cbd8ea;
  --paper: #ffffff;
  --soft: #eef5fb;
  --brand: #1d4f91;
  --brand-dark: #143866;
  --accent: #5c8fd6;
  --shadow: 0 16px 40px rgba(16, 56, 102, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Garamond, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 700;
}

.logo strong,
.logo small {
  display: block;
  line-height: 1.15;
}

.logo small {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.14;
}

h1 {
  margin-bottom: 18px;
  font-size: 1.35rem;
  max-width: 680px;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.hero-text {
  max-width: 700px;
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--brand-dark);
  background: #eef5ff;
  border-color: #bfd4ef;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: #e0ecfb;
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-panel {
  min-height: 240px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(23, 35, 49, 0.25), rgba(23, 35, 49, 0.25)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Crect width='900' height='600' fill='%23dce8f6'/%3E%3Cpath d='M0 430 C150 380 265 420 420 375 C600 323 700 360 900 300 L900 600 L0 600 Z' fill='%23b7cbe6'/%3E%3Crect x='170' y='135' width='500' height='330' rx='18' fill='%23ffffff'/%3E%3Crect x='205' y='175' width='230' height='18' rx='9' fill='%231d4f91'/%3E%3Crect x='205' y='220' width='390' height='12' rx='6' fill='%23788ba6'/%3E%3Crect x='205' y='250' width='340' height='12' rx='6' fill='%23c1d0e3'/%3E%3Crect x='205' y='280' width='370' height='12' rx='6' fill='%23c1d0e3'/%3E%3Cpath d='M555 360 c45 -20 80 22 125 0 v54 c-45 22 -80 -20 -125 0 Z' fill='%235c8fd6'/%3E%3Ccircle cx='630' cy='365' r='54' fill='%23c7daf4' opacity='0.82'/%3E%3Cpath d='M632 327 l10 28 30 2 -24 18 8 30 -25 -17 -26 17 8 -30 -24 -18 31 -2 Z' fill='%235c8fd6'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.stamp-graphic {
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 6px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(29, 79, 145, 0.88);
  transform: rotate(-8deg);
  box-shadow: 0 10px 24px rgba(23, 35, 49, 0.22);
}

.stamp-graphic span {
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 24px;
  list-style: none;
}

.quick-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.quick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 190px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card p {
  margin-bottom: 0;
}

.notice {
  margin-top: 24px;
  padding: 18px;
  background: #7f1d1d;
  border: 1px solid #5f1414;
  border-left: 5px solid #b91c1c;
  border-radius: var(--radius);
  color: #ffffff;
}

.notice p,
.notice strong {
  color: #ffffff;
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: start;
}

.area-box,
.contact-list {
  padding: 26px;
  background: #143866;
  border-radius: var(--radius);
}

.area-box h3,
.area-box p,
.contact-list a,
.contact-list p {
  color: #ffffff;
}

.area-box p,
.contact-list p {
  margin-bottom: 0;
}

.appointments {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - 1120px) / 2));
  padding-left: max(16px, calc((100% - 1120px) / 2));
  background: var(--soft);
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cdd7df;
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(29, 79, 145, 0.22);
  border-color: var(--brand);
}

.full-width {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list a,
.contact-list p {
  display: grid;
  gap: 4px;
  margin: 0;
  text-decoration: none;
}

.contact-list span {
  color: #b6ccef;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    max-width: 100%;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100% - 28px, 1120px);
    padding: 48px 0;
  }

  .hero {
    gap: 28px;
    padding-bottom: 28px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 160px;
  }

  .stamp-graphic {
    width: 116px;
    height: 116px;
  }

  .quick-list {
    display: none;
  }

  #services {
    padding-top: 36px;
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 750px;
  margin: 24px auto 0;
  align-items: center;
}

.photo-grid img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .photo-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .photo-grid img {
    max-height: 280px;
  }
}
.notary-intro {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: center;
}

.profile-photo {
  order: -1;
  width: 360px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .notary-intro {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    order: 0;
    width: 100%;
    max-width: 320px;
  }
}
.hours-list {
  display: grid;
  gap: 8px;
}

.hours-list span {
  color: #b6ccef;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hours-list ul {
  margin: 0;
  padding-left: 20px;
  color: #ffffff;
}

.hours-list li {
  margin-bottom: 8px;
}
