/* ========== ROOT & GLOBAL ========== */
:root {
  --bg-page: #0b1120;
  --bg-nav: #ffffff;
  --bg-card: #0b1120;
  --accent: #8b1a1a;
  --accent-soft: #fca5a5;
  --text-main: #0f172a;
  /* before: --text-muted: #6b7280; */
  --text-muted: #4b5563;  /* darker gray for stronger contrast */
  --text-light: #f9fafb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset for fixed header so anchors don't overshoot */
}

/* ========== /ROOT & GLOBAL ========== */


/* ========== GLOBAL ANCHOR OFFSET (MOBILE) ========== */
@media (max-width: 800px) {
  [id] {
    scroll-margin-top: 86px;
  }
}
/* ========== /GLOBAL ANCHOR OFFSET (MOBILE) ========== */


/* ========== BODY & GLOBAL BACKGROUND ========== */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  position: relative;
  z-index: 0;
  padding-top: 72px;  /* adjust 64–80px until content starts just below header */
}
/* ========== /BODY & GLOBAL BACKGROUND ========== */



/* ========== GLOBAL WATERMARK ========== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("images/brand/watermark.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 600px auto;
  opacity: 0.1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* main page container for most sections */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

/* inner wrapper for sections that should not span full width */
.section-inner,
.service-detail-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ========== /GLOBAL WATERMARK ========== */


/* ========== FAQ BLOCKS & DIVIDER ========== */
.faq-block p {
  margin: 0;
}

.faq-block .faq-question {
  margin-top: 10px;
  font-weight: 600;
}

.faq-block .faq-answer {
  margin-top: 3px;
  margin-left: 14px;
  color: var(--text-muted);
}

.section-divider {
  margin: 32px 0 20px;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.5);
}

/* FAQ page items */
.faq-item {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #111827;
}

.service-detail--gray .faq-item h3 {
  color: #111827;
}

.service-detail--white .faq-item h3 {
  color: #111827;
}

.service-detail--blue .faq-item h3 {
  color: #f9fafb;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: var(--text-muted);
}

.service-detail--blue .faq-item p {
  color: #e5e7eb;
}

/* ========== /FAQ BLOCKS & DIVIDER ========== */



/* ========== /ROOT & GLOBAL ========== */


/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.25);
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn--secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--flex {
  flex: 1 1 220px;
}

/* PILL BUTTONS (INTAKE) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.25);
}

/* Accent outline (used for “Add another document”) */
.btn-pill--secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: var(--accent);
}

/* Danger outline (used for “Remove last document”) */
.btn-pill--danger {
  background: #b91c1c;
  color: #ffffff;
  border-color: #b91c1c;
}
/* ========== /BUTTONS ========== */


/* ========== HEADER ========== */
.main-header {
  background: var(--bg-nav);
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
}

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;            /* shown only in mobile media query */
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle-icon {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  display: block;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-main);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.main-nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: nowrap;
}

/* Desktop nav refinements */
.main-nav > a,
.main-nav > .nav-item > .nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav > a:hover,
.main-nav > .nav-item > .nav-link:hover {
  background-color: #f9fafb;
  color: var(--accent);
}

/* Active/open dropdown label */
.main-nav .nav-item.open > .nav-link {
  position: relative;
  color: var(--accent);
  font-weight: 600;
}

.main-nav .nav-item.open > .nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.header-call {
  background: var(--accent);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.55);
}
/* ========== /HEADER ========== */


/* ========== HEADER DROPDOWNS (SERVICES, LOCATIONS) ========== */
.main-nav .nav-item.has-dropdown {
  position: relative;
  display: flex;          /* was inline-block */
  align-items: center;
}

.main-nav .nav-item .nav-link {
  display: inline-flex;
  align-items: center;
}

.main-nav .nav-item .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  padding: 0.5rem 0;
  display: none;
  z-index: 50;
}

.main-nav .nav-item.has-dropdown.open .nav-dropdown {
  display: block;
}

.main-nav .nav-dropdown a {
  display: block;
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
}

/* Mobile: stack dropdown content instead of using absolute positioning */
@media (max-width: 768px) {
  .main-nav .nav-item .nav-dropdown {
    position: static;
    box-shadow: none;
    background: transparent;
    padding-left: 1rem;
  }
}
/* ========== /HEADER DROPDOWNS (SERVICES, LOCATIONS) ========== */





/* ========== HERO ========== */
.hero {
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  color: #ffffff;
  background: #020617;
  width: 100%;
  max-width: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.9)),
    url("images/services/notary-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(1.1);
}

.hero-inner {
  position: relative;
  padding: 60px 28px 48px;
  text-align: center;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 6px;
}

.hero-title {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 15px;
  color: #e5e7eb;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta {
  font-size: 13px;
  color: #cbd5f5;
  margin-bottom: 18px;
}

/* Equalize hero button widths on desktop */
.hero-ctas {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
}

.hero-ctas .btn {
  flex: 1 1 auto;
  min-width: 220px;
}
/* ========== /HERO ========== */


/* ========== SERVICE CARDS ========== */
.service-card-row {
  margin-top: 0;
  padding: 24px 0 24px;
  background: #ffffff;
  color: var(--text-main);
}

/* Keep five notary cards in one row on larger screens */
.service-card-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 18px;
}

.service-card {
  background: #020617;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.7);
  text-align: center;
  color: var(--text-light);
  flex: 0 0 210px;
  max-width: 210px;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.service-card-link {
  display: block;
  height: 100%;
}

.service-card-image-wrapper {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 180px;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.1),
    rgba(2, 6, 23, 0.85)
  );
  pointer-events: none;
}

.service-card-title,
.service-card-text {
  position: relative;
  z-index: 1;
}

.service-card-title {
  margin-top: 10px;
  font-size: 18px;       /* was 16px */
  font-weight: 700;      /* was 600 */
  color: #ffffff;        /* ensure bright white */
  letter-spacing: 0.02em;
  text-transform: none;
}

.service-card-text {
  padding: 0 14px 16px;
  font-size: 13px;       /* slightly smaller to create contrast */
  color: #d1d5db;        /* slightly dimmer than title */
  line-height: 1.4;
}

/* Allow wrapping again on smaller viewports */
@media (max-width: 1100px) {
  .service-card-grid {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 0 1 260px;
    max-width: 260px;
  }

  .service-card-title {
    font-size: 19px;     /* a bit larger on wrapped cards */
  }

  .service-card-text {
    font-size: 14px;
  }
}
/* ========== /SERVICE CARDS ========== */



/* ========== BETWEEN SERVICES NOTE ========== */
.between-services-note {
  background: #ffffff;
  padding: 4px 24px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
/* ========== /BETWEEN SERVICES NOTE ========== */


/* ========== SERVICE DETAIL SECTIONS (INCL. APOSTILLE) ========== */
.service-detail {
  padding: 56px 24px 52px;
}

.service-detail--white {
  background: rgba(249, 250, 251, 0.9);
  color: var(--text-main);
}

/* Gray and blue sections: mask the global watermark */
.service-detail--gray,
.service-detail--blue {
  position: relative;
  overflow: hidden;
}

.service-detail--gray {
  background: #e9ebf0;
  color: #111827;
}

.service-detail--blue {
  background: #0b1120;
  color: #f9fafb;
}

/* Layer to cover the watermark in gray/blue bands */
.service-detail--gray::before,
.service-detail--blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: 0;
}

/* keep content above the mask */
.service-detail-inner {
  position: relative;
  z-index: 1;
}

.service-detail-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.service-detail--blue .service-detail-kicker {
  color: #fca5a5;
}

.service-detail h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.service-detail-lead {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 24px;
}

/* tighten spacing above the grid in the reviews section */
#reviews .service-detail-lead {
  margin-bottom: 8px;
}

/* align the two columns at the very top of the grid */
#reviews .service-detail-grid {
  align-items: flex-start;
}

.service-detail--blue .service-detail-lead {
  color: #e5e7eb;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
}

.service-detail h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.service-detail ul,
.service-detail ol {
  font-size: 14px;
  padding-left: 18px;
  line-height: 1.6;
}

.service-detail--blue ul,
.service-detail--blue ol {
  color: #e5e7eb;
}

.service-detail-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Apostille: text left, image top-right */
.apostille-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.apostille-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.apostille-right img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
}

/* Live Scan: tighter top grid + image */
.livescan-top-grid {
  max-width: 980px;
  margin: 0 auto;
}

.livescan-figure {
  margin: 18px 0 8px;
  text-align: right;
}

.livescan-figure img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15,23,42,0.35);
}
/* ========== /SERVICE DETAIL SECTIONS (INCL. APOSTILLE) ========== */



/* ========== NOTARY "CELL" LAYOUT ========== */
.notary-cells {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notary-cell {
  display: grid;
  grid-template-columns: minmax(0, 3fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.notary-cell-text {
  font-size: 14px;
  line-height: 1.5;
}

/* make notary titles look clearly clickable */
.notary-cell-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notary-cell-text a:hover {
  text-decoration: none;
  opacity: 0.85;
}

.notary-cell-action .btn {
  width: 100%;
  max-width: 230px;
  box-sizing: border-box;
}

/* ========== /NOTARY "CELL" LAYOUT ========== */



/* ========== CONTACT FORM (GLOBAL) ========== */
.contact-form {
  margin-top: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  position: relative;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 3px;
  color: #374151;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 64px;
}

/* grid + cards */
.contact-columns {
  align-items: flex-start;
  column-gap: 24px;
}

.contact-column-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 14px 16px 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.contact-card h3:first-child {
  margin-top: 0;
}

.contact-left-cta {
  margin-top: 18px;
}

.contact-call-card ul {
  margin-top: 4px;
}

/* slightly shorter message card so it lines up better */
.contact-card.contact-form-card {
  padding-top: 4px;
  padding-bottom: 4px;
}

/* slightly tighter section padding, optional */
#contact.service-detail {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Honeypot: invisible spam trap for contact form */
.hnpt {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* hide honeypot fields in all cases */
.contact-form .hnpt,
.contact-form .hnpt label,
.contact-form .hnpt input {
  display: none !important;
  visibility: hidden !important;
}

/* taller "How can we help?" box */
#message {
  min-height: 95px;
}

/* extra breathing room above the Send message button */
.contact-form button[type="submit"] {
  margin-top: 12px;
}
/* ========== /CONTACT FORM (GLOBAL) ========== */


/* ========== CONTACT & SCHEDULING BAND ========== */
.contact-scheduling {
  background: #f3f4f6;
  padding: 40px 0 40px;
  color: var(--text-main);
}

.contact-scheduling-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.contact-scheduling-header .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-scheduling-header h2 {
  font-size: 22px;
  margin: 6px 0 6px;
  color: var(--text-main);
}

.contact-scheduling-header .lead {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
}

/* two-column layout */
.contact-scheduling-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

/* stretch both columns to same height */
.contact-scheduling-grid {
  align-items: stretch;
}

/* cards reuse same colors as other white cards */
.contact-scheduling .contact-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 16px 18px 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  color: var(--text-main);
}

.contact-scheduling .contact-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text-main);
}

.contact-scheduling .contact-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

/* buttons in this section */
.contact-scheduling .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.contact-scheduling .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--accent);
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

/* right column form card – keep heading strong, labels muted */
.contact-card-form h3 {
  margin-bottom: 4px;
  color: var(--text-main);
}

.contact-scheduling .contact-form label {
  color: #374151;
}

/* extra breathing room between textarea and button – slightly tighter */
.contact-scheduling .contact-form textarea {
  margin-bottom: 4px;
}

.contact-scheduling .contact-form button[type="submit"] {
  margin-top: 4px;
}

/* tighten form card padding so all three cards line up vertically – a bit smaller */
.contact-scheduling .contact-card-form {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Mobile: stack columns */
@media (max-width: 800px) {
  .contact-scheduling-grid {
    grid-template-columns: 1fr;
  }
}
/* ========== /CONTACT & SCHEDULING BAND ========== */


/* ========== EXTRA BAND (BLUE) ========== */
.fixed-bg-section {
  position: relative;
  min-height: 420px;
  background: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.fixed-bg-section-inner {
  max-width: 700px;
  padding: 32px 20px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
}
/* ========== /EXTRA BAND (BLUE) ========== */


/* ========== CUSTOMER REVIEWS LAYOUT ========== */
/* Horizontal reviews band */
.reviews-horizontal {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  padding: 14px 14px 0;
  margin-bottom: 18px;
}

.reviews-horizontal-title {
  font-size: 15px;
  margin: 0 0 8px;
}

/* Wide, horizontal iframe area */
.reviews-horizontal-frame {
  width: 100%;
  height: 260px;
  overflow-y: auto;
  border-radius: 10px;
}

.reviews-horizontal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Text + buttons under widget */
.reviews-horizontal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.reviews-footer-text {
  max-width: 460px;
  font-size: 14px;
}

.reviews-footer-text h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .reviews-horizontal {
    padding: 12px 10px 0;
  }

  .reviews-horizontal-frame {
    height: 240px;
  }

  .reviews-horizontal-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-detail-cta .btn {
    flex: 1 1 auto;
  }
}
/* ========== /CUSTOMER REVIEWS LAYOUT ========== */


/* ========== RESPONSIVE: SMALL PHONES ========== */
@media (max-width: 640px) {
  /* Header + nav on small phones */
  .main-header {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta-block {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #f9fafb; /* slightly off-white so it pops */
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 16px 12px;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    z-index: 999;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  }

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

  /* Top-level items: clearer, spaced rows */
  .main-nav > a,
  .main-nav > .nav-item > .nav-link {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
  }

  .main-nav > a + a,
  .main-nav > .nav-item + .nav-item {
    border-top: 1px solid #f3f4f6;
  }

  .main-nav > a:hover,
  .main-nav > .nav-item > .nav-link:hover {
    background: #f9fafb;
  }

  /* Option 1: accent bar + color for open dropdown item */
  .main-nav > .nav-item.open > .nav-link {
    position: relative;
    color: var(--accent);
  }

  .main-nav > .nav-item.open > .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: var(--accent);
  }

  /* Dropdown lists (Services / Locations) */
  .main-nav .nav-item .nav-dropdown {
    margin-top: 4px;
    padding: 4px 0 6px 18px;
    border-left: 2px solid rgba(148, 163, 184, 0.6);
  }

  .main-nav .nav-item .nav-dropdown a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: var(--text-muted);
  }

  .main-nav .nav-item .nav-dropdown a:hover {
    color: var(--accent);
  }

  /* Existing mobile layout below */

  .header-call {
    width: 100%;
    justify-content: center;
  }

  .hero-inner {
    padding: 44px 18px 40px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-ctas .btn {
    flex: 1 1 auto;
    width: 100%;
    font-size: 13px;
    padding: 8px 14px;
  }

  .service-card {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    margin-inline: auto;
  }

  .service-detail-grid,
  .apostille-grid,
  .contact-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .notary-cell {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 10px 12px;
  }

  .notary-cell-action .btn {
    width: 100%;
    max-width: 100%;
  }

  .livescan-figure {
    text-align: center;
    margin-top: 16px;
  }

  .livescan-figure img {
    max-width: 100%;
    height: auto;
  }

  .page-shell {
    padding: 0 16px 24px;
  }

  .service-detail {
    padding: 32px 16px 32px;
  }
}
/* ========== /RESPONSIVE: SMALL PHONES ========== */



/* ========== INTAKE FORM STEPS ========== */
/* Step 1: About you – layout */
#step-1-about-you .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

#step-1-about-you .full-field {
  grid-column: 1 / -1;
}

#step-1-about-you .address-row {
  display: flex;
  gap: 12px;
}

#step-1-about-you .slim-field-left,
#step-1-about-you .slim-field-right {
  flex: 1;
}

/* Step 1 card container */
.intake-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 24px 24px 28px;
  max-width: 780px;
  margin: 16px auto 24px;
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.6),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  position: relative;
}

/* Step 1 typography */
#step-1-about-you .step-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

#step-1-about-you .service-detail-title {
  font-size: 20px;
  margin-bottom: 4px;
}

#step-1-about-you .service-detail-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* Ensure labels behave as blocks */
#step-1-about-you label {
  display: block;
}

/* Mobile: single column (Step 1) */
@media (max-width: 640px) {
  #step-1-about-you .form-grid {
    grid-template-columns: 1fr;
  }

  .intake-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 24px 24px 28px;
    max-width: 780px;
    margin: 16px auto 24px;
    box-shadow:
      0 22px 50px rgba(15, 23, 42, 0.6),
      0 0 0 1px rgba(15, 23, 42, 0.05);
  }
}

/* Make the intake band dark so the white card stands out */
#step-1-about-you .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

#step-1-about-you input,
#step-1-about-you select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

/* Give each field some vertical breathing room */
#step-1-about-you .full-field,
#step-1-about-you .address-row {
  margin-top: 4px;
}

#step-1-about-you .form-actions {
  margin-top: 16px;
  text-align: right;
}

#step-1-about-you .btn.btn-primary {
  background: #8b1a1a;
  color: #ffffff;
  border-color: #8b1a1a;
  box-shadow: 0 10px 24px rgba(139, 26, 26, 0.6);
}

#step-1-about-you .btn.btn-primary:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  box-shadow: 0 14px 30px rgba(185, 28, 28, 0.7);
}

/* Intake steps share the same background image/band */
#step-1-about-you.service-detail--white,
#step-2-documents.service-detail--white,
#step-3-review.service-detail--white {
  background-color: #020617;
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.75)),
    url("images/apostille-intake-form.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Step 2: Your documents – layout */
#step-2-documents .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

#step-2-documents .full-field {
  grid-column: 1 / -1;
}

/* Step 2 typography and fields (reuse Step 1 look) */
#step-2-documents .step-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

#step-2-documents .service-detail-title {
  font-size: 20px;
  margin-bottom: 4px;
}

#step-2-documents .service-detail-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

#step-2-documents .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

#step-2-documents input,
#step-2-documents select,
#step-2-documents textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  box-sizing: border-box;
}

#step-2-documents .full-field {
  margin-top: 4px;
}

/* Actions row (default: align buttons to the right) */
#step-2-documents .form-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Step 2 primary button: red with white text */
#step-2-documents .btn.btn-primary {
  background: #8b1a1a;
  color: #ffffff;
  border-color: #8b1a1a;
  box-shadow: 0 10px 24px rgba(139, 26, 26, 0.6);
}

#step-2-documents .btn.btn-primary:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  box-shadow: 0 14px 30px rgba(185, 28, 28, 0.7);
}

/* Step 2 toggle pills */
.toggle-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.toggle-pill--active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
/* ========== /INTAKE FORM STEPS ========== */

/* ========== BLOG SECTIONS ========== */

/* Page wrapper with subtle watermark */
.blog-page-wrap {
  position: relative;
  background: transparent;
}
.blog-page-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/brand/watermark.webp");
  background-repeat: no-repeat;
  background-position: center 120px;
  background-size: 500px auto;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

/* Blog listing container */
.blog-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  position: relative;
  z-index: 1;
}

/* Cards */
.blog-card {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  margin: 0;
}
.blog-card + .blog-card {
  margin-top: 24px;
}

/* Alternate backgrounds */
.blog-card--white {
  background: #ffffff;
  color: #0f172a;
}
.blog-card--gray {
  background: #e5e7eb;
  color: #0f172a;
}
.blog-card--blue {
  background: #0b1120;
  color: #f9fafb;
}

/* Card text styles */
.blog-card h2 {
  margin: 0 0 8px 0;
  font-size: 1.6rem;
}
.blog-card h2 a {
  text-decoration: none;
  color: inherit;
}
.blog-card h2 a:hover {
  color: var(--accent);
}
.blog-card .date {
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.blog-card--blue .date {
  color: #9ca3af;
}
.blog-card .excerpt {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 12px;
}
.blog-card .read-more {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}

/* Thumbnail image */
.blog-thumb {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
}

/* Full post container */
.blog-post-shell {
  max-width: 900px;
  margin: 40px auto 56px;
  padding: 32px 26px 40px;
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  position: relative;
  z-index: 1;
}
.blog-post-shell h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: #0f172a;
}
.blog-post-shell h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  color: #0f172a;
}
.blog-post-meta {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.blog-post-shell p {
  color: #111827;
  font-size: 1.03rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.blog-post-shell ul,
.blog-post-shell ol {
  color: #111827;
  margin-left: 20px;
  margin-bottom: 16px;
}
.blog-post-shell li {
  margin-bottom: 6px;
}
.blog-post-shell img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 20px 0;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
}
.blog-post-shell a {
  color: var(--accent);
}
.blog-back-link {
  display: inline-block;
  margin-top: 26px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

/* ========== /BLOG SECTIONS ========== */


/* ========== BLOG HORIZONTAL CARDS ========== */
.blog-card--horizontal {
  display: flex;
  align-items: stretch;
  gap: 24px;
}
.blog-card__image {
  flex: 0 0 33%;
  max-width: 33%;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}
.blog-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 700px) {
  .blog-card--horizontal {
    flex-direction: column;
  }
  .blog-card__image {
    flex: none;
    max-width: 100%;
    max-height: 220px;
  }
}
/* ========== /BLOG HORIZONTAL CARDS ========== */

/* ========== SITE FOOTER ========== */
.site-footer {
  position: relative;
  z-index: 2;
  background: #111827;
  color: #d1d5db;
  padding: 32px 24px 24px;
  margin-top: 0;
}
.site-footer a:hover {
  color: #fca5a5;
}
.site-footer .section-divider {
  border: none;
  border-top: 1px solid #374151;
  margin: 18px 0;
}
/* ========== /SITE FOOTER ========== */

/* ========== BLOG PAGE HERO ========== */
.blog-hero {
  position: relative;
  overflow: hidden;
  background: #020617;
  width: 100%;
  max-width: none;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.9)),
    url("images/services/notary-hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(1.1);
}
.blog-hero-inner {
  position: relative;
  padding: 56px 28px 48px;
  text-align: center;
}
.blog-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 10px;
  font-weight: 700;
  color: #fff;
}
.blog-hero p {
  font-size: 1.1rem;
  color: #e5e7eb;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .blog-hero-inner {
    padding: 44px 18px 40px;
  }
  .blog-hero h1 {
    font-size: 1.6rem;
  }
}
/* ========== /BLOG PAGE HERO ========== */
