/* ============================================================
   NotaryLA — Main Stylesheet
   NOTARYLOSANGELES.COM
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1B3A5C;
  --navy-dark: #122840;
  --navy-light: #2A5280;
  --gold: #E8A838;
  --gold-light: #F2C46C;
  --gold-dark: #C8882A;
  --success: #2D8A4E;
  --success-light: #E8F5ED;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-50: #F5F6F8;
  --gray-100: #EBEDF0;
  --gray-200: #D1D5DB;
  --gray-300: #9CA3AF;
  --gray-400: #6B7280;
  --gray-500: #4B5563;
  --gray-600: #374151;
  --gray-700: #1F2937;
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A5A;
  --text-muted: #7A7A8A;
  --shadow-sm: 0 1px 2px rgba(27, 58, 92, 0.06);
  --shadow-md: 0 4px 12px rgba(27, 58, 92, 0.08);
  --shadow-lg: 0 8px 30px rgba(27, 58, 92, 0.12);
  --shadow-xl: 0 16px 48px rgba(27, 58, 92, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-stack: 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Arial, sans-serif;
  --container-max: 1200px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 2px 8px rgba(232, 168, 56, 0.3);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(232, 168, 56, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo-prefix {
  color: var(--navy);
}

.nav-logo-suffix {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.85rem;
  padding: 10px 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 138, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(232, 168, 56, 0.15);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(232, 168, 56, 0.2);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* --- Search Bar --- */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: var(--shadow-xl);
  max-width: 700px;
  margin: 0 auto 24px;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  min-width: 0;
}

.search-field-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gray-300);
}

.search-field select {
  width: 100%;
  font-size: 0.93rem;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.search-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.search-btn {
  flex-shrink: 0;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gray-200), var(--gold));
  opacity: 0.4;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--gray-100);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.step-number-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================================
   FEATURED NOTARIES
   ============================================================ */
.featured-notaries {
  padding: 80px 0;
  background: var(--off-white);
}

.notary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.notary-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.notary-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

.notary-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.notary-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.notary-avatar-1 { background: linear-gradient(135deg, #1B3A5C, #2A5280); }
.notary-avatar-2 { background: linear-gradient(135deg, #2D8A4E, #3AA862); }
.notary-avatar-3 { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }
.notary-avatar-4 { background: linear-gradient(135deg, #E8A838, #F2C46C); }
.notary-avatar-5 { background: linear-gradient(135deg, #EC4899, #F472B6); }
.notary-avatar-6 { background: linear-gradient(135deg, #0EA5E9, #38BDF8); }

.notary-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.notary-language {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-light);
  background: rgba(27, 58, 92, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.notary-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.notary-stars {
  display: flex;
  gap: 2px;
}

.notary-stars svg {
  width: 15px;
  height: 15px;
}

.star-filled {
  color: var(--gold);
}

.star-empty {
  color: var(--gray-200);
}

.notary-rating-score {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.notary-rating-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.notary-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.notary-specialty-tag {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--gray-50);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--gray-100);
}

.notary-areas {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
  flex-grow: 1;
}

.notary-areas strong {
  font-weight: 600;
  color: var(--text-secondary);
}

.notary-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.notary-view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}

.notary-view-link:hover {
  color: var(--gold-dark);
  gap: 10px;
}

.notary-view-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.notary-view-link:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas {
  padding: 80px 0;
  background: var(--white);
}

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

.area-card {
  position: relative;
  padding: 22px 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  cursor: pointer;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.area-card:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.area-card:hover::before {
  opacity: 1;
}

.area-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.area-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
  padding: 80px 0;
  background: var(--off-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.blog-card-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}

.blog-img-1 {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.blog-img-2 {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--success) 100%);
}

.blog-img-3 {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.blog-read-more:hover {
  color: var(--gold-dark);
  gap: 10px;
}

.blog-read-more svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.cta-feature svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-700);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-property {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
}

/* ============================================================
   LEGACY BLOG STYLES (for blog subpages)
   ============================================================ */

/* Navigation (legacy blog pages) */
.site-nav {
  background: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

/* Page hero (legacy blog pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto;
}

/* Blog index (legacy) */
.blog-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-card-title a { color: var(--navy); }
.blog-card-title a:hover { color: var(--gold); }

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.6;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-100);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.read-more {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more:hover { color: var(--navy); }

/* Article styles (legacy) */
.article-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.article-meta .author { font-weight: 600; color: var(--navy); }

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-light);
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.article-content ul, .article-content ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-content a {
  color: var(--gold-dark);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.article-content a:hover {
  border-bottom-color: var(--gold-dark);
}

/* CTA box (legacy) */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 2.5rem;
}

.cta-box h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.cta-box p { opacity: 0.9; margin-bottom: 1.25rem; }

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.cta-btn:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-1px);
}

/* Legacy footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-light); }

/* Category filter */
.category-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--white);
  border: 2px solid var(--gray-100);
  color: var(--text-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--gray-400); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .notary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-50);
    width: 100%;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 8px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-box {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 6px;
  }

  .search-field {
    width: 100%;
    padding: 14px 16px;
  }

  .search-divider {
    width: 100%;
    height: 1px;
  }

  .search-btn {
    width: 100%;
    padding: 14px;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps-grid::before {
    display: none;
  }

  /* Notaries */
  .notary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Areas */
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* CTA */
  .cta-content h2 {
    font-size: 1.7rem;
  }

  .cta-features {
    gap: 16px;
    flex-direction: column;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Legacy nav responsive */
  .site-nav .nav-inner {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  .site-nav .nav-links {
    position: static;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }

  .page-hero h1 { font-size: 1.75rem; }
  .article-container { padding: 1.5rem 1rem 3rem; }
  .article-content h2 { font-size: 1.3rem; }
}

/* Small mobile */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .notary-card {
    padding: 22px;
  }
}
