/* =============================================
   ACE MOBILE NOTARY — Global Stylesheet
   Palette: Deep Navy, Gold Seal, Warm White, Slate
   Type: Cormorant Garamond (display) + Inter (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:       #1A2744;
  --navy-deep:  #111A33;
  --gold:       #B8962E;
  --gold-light: #D4AF50;
  --gold-pale:  #F5EDD8;
  --white:      #FAFAF8;
  --slate:      #5A6478;
  --slate-light:#8A93A6;
  --border:     #DDD8CC;
  --seal-size:  120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--navy-deep);
  font-size: 16px;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; }

p { color: var(--slate); line-height: 1.75; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-seal {
  width: 40px;
  height: 40px;
}

.nav-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.nav-brand-text span {
  display: block;
  font-size: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  text-decoration: none;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light); color: var(--navy-deep) !important; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184,150,46,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header p {
  max-width: 560px;
  margin-top: 0.75rem;
}

.section-header.centered {
  text-align: center;
}
.section-header.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ── DIVIDER ── */
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.centered .gold-rule {
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-brand-text {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ── SEAL SVG (signature element) ── */
.notary-seal {
  display: block;
}

/* ── CARD ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(26,39,68,0.1);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

/* ── FORM ── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--navy-deep);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,46,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  padding: 1rem 2rem;
  text-align: center;
}

.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

.trust-item svg {
  color: var(--gold-light);
  flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 3.5rem 1.25rem; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy-deep); padding: 1.5rem; gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .trust-bar-inner { gap: 1.25rem; }
}
