/* ============================================================
   ALEXIS BRAN MOBILE NOTARY
   Editorial sage + cream theme
   Palette extracted from WINNER logo v3_A2
   ============================================================ */

:root {
  /* Core palette — sampled from /assets/logo.png */
  --cream:        #f7f1e5;
  --cream-dark:   #efe9dc;   /* slightly deeper variant for section bands */
  --cream-border: #e5e0d4;
  --sage:         #a3ad8c;
  --sage-dark:    #7f866d;
  --sage-light:   #c3c9b4;
  --sage-tint:    #eaeee2;
  --ink:          #343432;
  --ink-body:     #5c5c5a;
  --ink-mute:     #8a8a87;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 8px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--sage-dark); }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }

p { margin: 0 0 1em; }
em { font-style: italic; color: var(--sage-dark); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin: 0 0 1rem;
}

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-cream-dark { background: var(--cream-dark); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-lede { font-size: 1.125rem; color: var(--ink-body); margin-top: 0.75rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(127,134,109,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 229, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--cream-border); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--sage);
  line-height: 1;
  border: 1px solid var(--sage-light);
  border-radius: 50%;
  background: var(--cream);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-body);
  padding: 6px 0;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-cta {
  background: var(--sage);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 500;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--sage-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(56px, 7vw, 90px) 0 clamp(48px, 6vw, 80px);
  background: var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-copy .eyebrow { color: var(--sage-dark); }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-dark);
}
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.5rem;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-body);
}
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--sage-tint);
  color: var(--sage-dark);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-photo {
  position: relative;
  align-self: center;
}
.hero-photo img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -25px rgba(52,52,50,0.35);
  position: relative;
  z-index: 1;
  aspect-ratio: 1;
  object-fit: cover;
}
.hero-photo-frame {
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border: 1px solid var(--sage);
  border-radius: var(--radius-lg);
  z-index: 0;
}

/* ============================================================
   LOGO BAND
   ============================================================ */
.logo-band {
  padding: 28px 0;
  background: var(--cream);
  border-top: 1px solid var(--cream-border);
  border-bottom: 1px solid var(--cream-border);
}
.logo-band .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.band-line {
  flex: 1;
  height: 1px;
  background: var(--sage-light);
}
.band-dot {
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
}
.band-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  white-space: nowrap;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-light);
  box-shadow: 0 14px 30px -20px rgba(52,52,50,0.25);
}
.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.service-card.sage-card {
  background: var(--sage-tint);
  border-color: var(--sage-light);
}
.service-card.sage-card h3 { color: var(--sage-dark); }
.service-bullets {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
  font-size: 0.92rem;
}
.service-bullets li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--ink-body);
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
}
.services-foot {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-body);
}
.services-foot a { color: var(--sage-dark); border-bottom: 1px solid var(--sage-light); }
.services-foot a:hover { color: var(--ink); border-color: var(--sage-dark); }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.area-copy h2 { margin-bottom: 1rem; }
.area-after-hours { margin-top: 1.5rem; color: var(--ink); }
.area-cities {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.area-cities li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-border);
}
.area-cities .dot {
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}
.area-cities .muted {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-left: 4px;
  letter-spacing: 0.05em;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: process;
}
.process-steps li {
  text-align: center;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--sage-tint);
  color: var(--sage-dark);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 1px solid var(--sage-light);
}
.process-steps h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.process-steps p {
  font-size: 0.95rem;
  color: var(--ink-body);
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-inner { max-width: 820px; margin: 0 auto; }
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { font-size: 1.05rem; line-height: 1.7; }
.credentials {
  margin-top: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.credentials h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}
.credentials ul {
  list-style: none;
  font-size: 0.95rem;
}
.credentials li {
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-border);
  color: var(--ink-body);
}
.credentials li:last-child { border-bottom: none; }
.credentials strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   BOOK
   ============================================================ */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.book-card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s var(--ease);
  color: var(--ink);
}
.book-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-light);
  box-shadow: 0 14px 30px -20px rgba(52,52,50,0.25);
  color: var(--ink);
}
.book-card-primary {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}
.book-card-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
  box-shadow: 0 14px 30px -15px rgba(127,134,109,0.5);
}
.book-card-primary h3,
.book-card-primary p { color: #fff; }
.book-card-primary .book-eyebrow { color: rgba(255,255,255,0.75); }
.book-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}
.book-card h3 { margin-bottom: 0.5rem; }
.book-card p { font-size: 0.95rem; margin: 0; }
.book-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 1.5rem;
  transition: transform 0.25s var(--ease);
}
.book-card:hover .book-arrow { transform: translateX(4px); }
.book-head { margin-bottom: 2.5rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-copy h2 { margin-bottom: 1rem; }
.contact-direct {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.contact-direct a {
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage-light);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-tint);
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 28px;
}
.site-footer a {
  color: var(--cream);
  display: block;
  padding: 4px 0;
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--sage-light); }
.footer-inner { display: grid; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage-light);
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--cream);
  margin: 0;
}
.footer-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin: 4px 0 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.footer-cols h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1rem;
}
.verify-line {
  display: block;
  font-size: 0.82rem;
  color: var(--sage-light);
  padding: 4px 0;
}
.footer-bar {
  border-top: 1px solid #4a4a48;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--sage-light);
}
.footer-bar p { margin: 0; }
.footer-disclaimer {
  max-width: 540px;
  font-style: italic;
  opacity: 0.85;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .hero-inner,
  .area-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-photo-frame { display: none; }
  .area-cities { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .band-text { font-size: 0.68rem; letter-spacing: 0.15em; white-space: normal; text-align: center; }
  .logo-band .container { flex-direction: column; gap: 10px; }
  .band-line { display: none; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-border);
    padding: 16px var(--gutter) 24px;
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease);
    box-shadow: 0 10px 24px -16px rgba(52,52,50,0.25);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-border);
    text-align: center;
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav .nav-cta { margin-top: 12px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .brand-sub { display: none; }
  .footer-bar { flex-direction: column; }
}

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

:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 3px;
  border-radius: var(--radius);
}
