/* ==========================================================================
   Scottsdale Notary Pros — Global Stylesheet
   ========================================================================== */

:root {
  /* Brand palette */
  --navy: #1B3A5C;
  --navy-dark: #0f2338;
  --navy-light: #2a5280;
  --gold: #C9A96E;
  --gold-dark: #b3935a;
  --white: #ffffff;
  --cream: #F5F0EB;
  --text-dark: #1a1a1a;
  --text-muted: #64748b;
  --border: #e2e8f0;

  /* Type */
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Layout */
  --max: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(27, 58, 92, 0.06);
  --shadow: 0 4px 20px rgba(27, 58, 92, 0.08);
  --shadow-lg: 0 12px 40px rgba(27, 58, 92, 0.12);
}

/* --------------------------------------------------------------- Reset --- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s ease; }

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
}

ul { margin: 0; padding: 0; list-style: none; }

/* ------------------------------------------------------------ Utilities --- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 24px; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.section-navy h1,
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-gold { background: var(--gold); }

.inner { max-width: var(--max); margin: 0 auto; }
.inner-narrow { max-width: 900px; margin: 0 auto; }

.text-center { text-align: center; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-navy .section-sub { color: rgba(255, 255, 255, 0.82); }

/* -------------------------------------------------------------- Buttons --- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn:hover { transform: scale(1.02); }

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

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-lg { font-size: 17px; padding: 17px 40px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.text-link {
  display: inline-block;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}
.text-link:hover { color: var(--gold); }

/* ------------------------------------------------------------------ Nav --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-brand img {
  height: 48px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.nav-brand span {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

.nav-links a:hover { color: var(--gold); }

.nav-links a.active {
  color: var(--gold);
  font-weight: 600;
}

.nav-cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: scale(1.02);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 320;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span { background: var(--white); }
.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); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-overlay a {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  padding: 14px 24px;
}

.nav-overlay a:hover,
.nav-overlay a.active { color: var(--gold); }

.nav-overlay .nav-overlay-cta {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  padding: 14px 36px;
  margin-top: 24px;
}

.nav-overlay .nav-overlay-cta:hover { background: var(--white); color: var(--navy); }

body.nav-open { overflow: hidden; }

/* While the overlay is open, lift the header above it and let the navy show
   through, so the logo and the close (X) button stay visible and tappable.
   Without this the header's own stacking context (z-index 200) traps the
   toggle beneath the overlay. */
body.nav-open .nav {
  z-index: 310;
  background: transparent;
  border-bottom-color: transparent;
}

body.nav-open .nav-brand span { color: var(--white); }

/* ----------------------------------------------------------------- Hero --- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px;
  background-image: url('images/hero-notary-signing.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 92, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero h1 {
  font-size: 58px;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.12;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.badge {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50px;
  padding: 8px 20px;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero-img {
  background-image: url('images/services-hero-desk.jpg');
}

.page-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 92, 0.75);
}

/* Diagonal line pattern hero (pricing) */
.page-hero-lines::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(201, 169, 110, 0.14) 0,
    rgba(201, 169, 110, 0.14) 1px,
    transparent 1px,
    transparent 14px
  );
}

/* Dot grid hero (contact) */
.page-hero-dots {
  min-height: 400px;
}

.page-hero-dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 169, 110, 0.28) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 18px;
  color: var(--gold);
  margin: 0;
}

/* ------------------------------------------------------------ Trust bar --- */

.trust-bar {
  background: var(--navy);
  padding: 26px 24px;
}

.trust-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 16px 32px;
}

.trust-bar-item {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold);
  text-align: center;
}

/* ---------------------------------------------------------------- Cards --- */

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card h3 { font-size: 21px; margin-bottom: 12px; }

.card p { color: var(--text-muted); font-size: 15px; margin: 0; }

.card-top-gold { border-top: 4px solid var(--gold); }
.card-top-gold-thin { border-top: 3px solid var(--gold); }

/* Gold CSS icon (services preview) */
.card-icon {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: rgba(201, 169, 110, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--gold);
  border-radius: 3px;
}

/* Document: page outline with two gold text rules */
.card-icon.icon-doc::after {
  width: 16px;
  height: 21px;
  border-radius: 2px;
  background:
    linear-gradient(var(--gold), var(--gold)) no-repeat 50% 35% / 8px 2px,
    linear-gradient(var(--gold), var(--gold)) no-repeat 50% 60% / 8px 2px;
}

/* House: solid gold roof triangle sitting on an outlined body */
.card-icon.icon-home::after {
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom: 9px solid var(--gold);
  border-radius: 0;
  transform: translateY(-8px);
}

.card-icon.icon-home::before {
  content: '';
  position: absolute;
  bottom: 13px;
  left: 50%;
  width: 14px;
  height: 10px;
  margin-left: -9.5px;
  border: 2.5px solid var(--gold);
  border-top: 0;
  border-radius: 0 0 2px 2px;
}

/* Briefcase: case outline with a handle above it */
.card-icon.icon-brief::after {
  width: 24px;
  height: 17px;
  border-radius: 2px;
  position: relative;
  top: 3px;
}

.card-icon.icon-brief::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  width: 10px;
  height: 5px;
  margin-left: -5px;
  border: 2.5px solid var(--gold);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.feature-icon {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 18px;
}

/* ------------------------------------------------------- How it works --- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.steps::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 16%;
  right: 16%;
  border-top: 2px dashed var(--gold);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.step-num {
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--cream);
}

.section-white .step-num,
.section-navy .step-num { border-color: var(--white); }
.section-navy .step-num { background: var(--gold); color: var(--navy); }

.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ----------------------------------------------------- Service sections --- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: var(--max);
  margin: 0 auto;
}

.split img {
  width: 100%;
  height: 480px;
  box-shadow: var(--shadow);
}

.split h2 { font-size: 34px; margin-bottom: 18px; }

.split p { color: var(--text-muted); margin-bottom: 28px; }

.split-media-right .split-media { order: 2; }

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

.doc-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.doc-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------- Service area --- */

.area-note {
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  max-width: 620px;
  margin: 24px auto 0;
}

.area-list {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  margin: 0 auto;
}

/* ---------------------------------------------------------------- Table --- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 24px;
}

.price-table thead th:last-child { text-align: right; }

.price-table tbody tr:nth-child(odd) { background: var(--cream); }
.price-table tbody tr:nth-child(even) { background: var(--white); }

.price-table td {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dark);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* Three-column fee table: fee in the middle column, notes on the right */
.price-table-3 thead th:last-child { text-align: left; }

.price-table-3 td:nth-child(2) {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.price-table-3 td:last-child {
  text-align: left;
  font-weight: 400;
  color: var(--text-muted);
  white-space: normal;
}

.table-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin: 14px 0 0;
}

.table-title { font-size: 26px; margin-bottom: 20px; }

.table-block { margin-bottom: 56px; }
.table-block:last-child { margin-bottom: 0; }

/* Example callout */
.example-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

/* Keep the callout visible when it sits on a cream section */
.section-cream .example-box { background: var(--white); }

/* ------------------------------------------------------ Numbered cards --- */

.reminder-list { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }

.reminder {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.reminder-num {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
  flex-shrink: 0;
}

.reminder p { color: var(--text-dark); font-size: 15px; margin: 0; }

/* --------------------------------------------------------------- Forms --- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.form-card h2 { font-size: 30px; margin-bottom: 8px; }
.form-card > p { color: var(--text-muted); margin-bottom: 32px; }

.field { margin-bottom: 20px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-row .field { margin-bottom: 0; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.req { color: var(--gold); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

::placeholder { color: #9aa6b8; }

.form-submit {
  width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-submit:hover { background: var(--navy-light); transform: scale(1.02); }

.form-footnote {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 16px 0 0;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  padding: 56px 32px;
}

.form-success.show { display: block; }

.success-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
}

.success-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 13px;
  border-left: 4px solid var(--white);
  border-bottom: 4px solid var(--white);
  transform: translate(-50%, -65%) rotate(-45deg);
}

.form-success h2 { font-size: 30px; margin-bottom: 12px; }
.form-success p { color: var(--text-muted); max-width: 420px; margin: 0 auto; }

/* ------------------------------------------------------------ Info card --- */

.info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.info-card h2 { color: var(--white); font-size: 27px; margin-bottom: 28px; }

.info-steps { display: grid; gap: 24px; }

.info-step { display: flex; gap: 16px; align-items: flex-start; }

.info-step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-step h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-step p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.info-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 32px 0;
}

.info-contact { display: grid; gap: 16px; }

.info-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--white);
}

.info-contact-item a { color: var(--white); font-weight: 500; }
.info-contact-item a:hover { color: var(--gold); }
.info-contact-item .ic { font-size: 17px; width: 22px; flex-shrink: 0; }
.info-contact-item.gold { color: var(--gold); font-weight: 600; }

/* ------------------------------------------------------- Trust strip --- */

.trust-strip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}

.trust-strip-card .ic {
  font-size: 26px;
  display: block;
  margin-bottom: 12px;
}

.trust-strip-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* ------------------------------------------------------------ Payments --- */

.pay-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.pay-card .ic { font-size: 28px; display: block; margin-bottom: 14px; }

.pay-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pay-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------- What to bring --- */

.bring-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.bring-card .ic { font-size: 34px; display: block; margin-bottom: 16px; }
.bring-card h3 { color: var(--navy); font-size: 20px; margin-bottom: 10px; }
.bring-card p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* -------------------------------------------------------------- Footer --- */

.footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  color: var(--white);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.footer-brand span {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer-tag { color: var(--gold); font-size: 14px; margin: 0 0 6px; }

.footer-loc { color: rgba(255, 255, 255, 0.65); font-size: 14px; margin: 0; }

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { display: grid; gap: 11px; }

.footer-col a { color: var(--white); font-size: 15px; }
.footer-col a:hover { color: var(--gold); }

.footer-col li { color: var(--white); font-size: 15px; }

.footer-avail { color: var(--gold); font-style: italic; font-size: 14px; }

.footer-bottom {
  background: var(--navy-dark);
  text-align: center;
  padding: 18px 24px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin: 0;
}

/* --------------------------------------------------------- Back to top --- */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 180;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-light); transform: scale(1.06); }

/* ------------------------------------------------------------ Fade in --- */

/* Gated on .js so content stays visible if scripts fail or are disabled. */
.js .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .pay-card:hover, .to-top:hover { transform: none; }
}

/* ========================================================== Responsive === */

@media (max-width: 1024px) {
  .section-title { font-size: 34px; }
  .hero h1 { font-size: 46px; }
  .page-hero h1 { font-size: 40px; }
  .split { gap: 40px; }
  .split img { height: 400px; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 24px; }
  .nav-brand span { font-size: 17px; }
  .steps-4 { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps-4::before { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* Five nav links + CTA need more room, so the hamburger takes over at 960px. */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 20px; }
  .container, .nav-inner { padding: 0 20px; }
  .nav-inner { padding: 10px 20px; }

  .section-title { font-size: 29px; }
  .section-sub { font-size: 16px; margin-bottom: 36px; }

  .hero { min-height: auto; padding: 90px 20px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .page-hero { min-height: 320px; padding: 64px 20px; }
  .page-hero-dots { min-height: 300px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero-sub { font-size: 16px; }

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

  .grid, .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; gap: 20px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }

  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-media-right .split-media { order: 0; }
  .split img { height: 280px; }
  .split h2 { font-size: 27px; }

  .card { padding: 26px; }
  .info-card { padding: 30px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  /* 16px minimum stops iOS Safari auto-zooming when a field takes focus. */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea { font-size: 16px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 40px; }

  .table-title { font-size: 22px; }

  /* Let the two-column fee tables wrap to fit the phone rather than
     forcing a sideways scroll. */
  .price-table { font-size: 14px; min-width: 0; }
  .price-table thead th,
  .price-table td { padding: 13px 14px; }
  .price-table td:last-child { white-space: normal; }
  .price-table td:first-child { padding-right: 8px; }

  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

  .nav-overlay a { font-size: 25px; }
}

@media (max-width: 420px) {
  .nav-brand span { font-size: 15px; }
  .nav-brand img { height: 40px; }
  .hero h1 { font-size: 29px; }
}

/* ----------------------------------------------------------- Form error --- */

.form-error {
  display: none;
  background: #fdf3f3;
  border: 1px solid #f0d4d4;
  border-left: 4px solid #b4463f;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #7d2f2a;
}

.form-error.show { display: block; }

.form-error a { color: #7d2f2a; font-weight: 700; text-decoration: underline; }

/* ============================================= Loan signing additions === */

/* NNA badge — always shown on a white plate, never stretched or cropped. */
.nna-badge {
  display: inline-block;
  background: var(--white);
  border-radius: 12px;
  padding: 10px;
  line-height: 0;
}

.nna-badge a { display: inline-block; line-height: 0; }

.nna-badge img,
.footer-nna img {
  max-width: none;
  border-radius: 0;
  object-fit: contain;
}

.nna-badge-hero { margin-top: 32px; }

.nna-badge-lg {
  padding: 22px 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.nna-badge-lg p {
  margin: 14px 0 0;
  line-height: 1.4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  max-width: 140px;
}

/* Footer badge (90x90) above the copyright bar */
.footer-nna {
  display: flex;
  justify-content: center;
  padding: 0 24px 32px;
}

.footer-nna a {
  display: inline-block;
  background: var(--white);
  border-radius: 10px;
  padding: 8px;
  line-height: 0;
}

.footer-nna img { width: 90px; height: 90px; }

/* Clickable card (home services preview) */
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.card-link:hover .card-more { color: var(--gold); }

/* Title / escrow section on the home page */
.section-navy + .section-navy { border-top: 1px solid rgba(201, 169, 110, 0.3); }

.pro-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.pro-copy .section-sub { margin-left: 0; margin-bottom: 32px; }
.pro-copy .btn-row { justify-content: flex-start; }

/* Shared text helpers */
.lead-muted {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.doc-list-2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  margin-bottom: 36px;
}

.td-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

/* Loan signings: intro + credentials card */
.lsa-intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: center;
}

.lsa-intro .lead-muted { margin-bottom: 0; }

.cred-card {
  background: var(--cream);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
}

.cred-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.cred-card h3 { font-size: 20px; margin: 18px 0 6px; }
.cred-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Four-step process */
.steps-4 { grid-template-columns: repeat(4, 1fr); max-width: var(--max); }
.steps-4::before { left: 12%; right: 12%; }

/* Contact: booking column */
.booking-col { display: grid; gap: 48px; }

.calendly-inline-widget {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.booking-note {
  margin: 20px 0 0;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text-dark);
}

.question-card {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.question-card h2 { font-size: 26px; }

/* Contact trust strip badge card */
.trust-strip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.trust-strip-nna .nna-badge { padding: 0; margin-bottom: 12px; }

@media (max-width: 860px) {
  .pro-split,
  .lsa-intro { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .pro-copy .section-sub { margin-left: auto; margin-right: auto; }
  .pro-copy .btn-row { justify-content: center; }
  .lsa-intro .cred-card { max-width: 380px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .doc-list-2col { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .question-card h2 { font-size: 24px; }
}

.pro-split .nna-badge-lg { justify-self: center; }
