/* shared.css — address-update.com design system */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Nunito+Sans:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:       #0B2D5E;
  --blue:       #1552A0;
  --sky:        #2E7FD8;
  --light-blue: #EBF3FC;
  --accent:     #D93025;
  --gold:       #F5A623;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-800:   #1E293B;
  --success:    #059669;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.14);
  --radius:     10px;
  --radius-lg:  18px;
  --max-w:      1140px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.site-nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo-icon { width: 38px; height: 38px; }
.nav-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: #fff; letter-spacing: -.01em; }
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: .88rem; font-weight: 600; padding: 8px 13px;
  border-radius: 6px; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 9px 20px !important; border-radius: 7px !important;
  font-weight: 700 !important; transition: background .2s !important;
}
.nav-cta:hover { background: #b72419 !important; }
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; color: #fff; font-size: 1.4rem; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); }
.footer-main { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 48px; }
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo-name { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.footer-brand .logo-name span { color: var(--gold); }
.footer-brand p { font-size: .85rem; line-height: 1.75; margin-bottom: 20px; max-width: 300px; }
.footer-contact-line { display: flex; align-items: center; gap: 8px; font-size: .83rem; margin-bottom: 8px; }
.footer-contact-line a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-contact-line a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: .85rem; color: rgba(255,255,255,.55); text-decoration: none; line-height: 2.1; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.footer-legal { font-size: .75rem; opacity: .45; }
.usps-disclaimer { font-size: .72rem; line-height: 1.7; opacity: .38; max-width: 900px; margin-top: 4px; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: .8rem; color: var(--gray-400); }
.breadcrumb-inner a { color: var(--blue); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { font-weight: 600; color: var(--gray-600); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #163d7a 55%, var(--blue) 100%);
  padding: 72px 0 68px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px; padding: 5px 14px; font-size: .78rem;
  color: rgba(255,255,255,.9); margin-bottom: 20px; letter-spacing: .04em; font-weight: 600;
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,4.5vw,3rem); color: #fff; line-height: 1.2; margin-bottom: 16px; position: relative; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto; position: relative; }

/* ── SECTION LABELS ── */
.section-eyebrow { font-size: .75rem; font-weight: 800; color: var(--blue); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.7rem,3.5vw,2.4rem); color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.section-sub { color: var(--gray-600); font-size: .97rem; max-width: 540px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 8px; font-family: var(--font-body); font-size: .95rem; font-weight: 700; text-decoration: none; cursor: pointer; border: none; transition: all .2s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(21,82,160,.35); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 18px rgba(217,48,37,.3); }
.btn-accent:hover { background: #b72419; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--gold); }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* ── STATUS BADGE ── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 99px; font-size: .75rem; font-weight: 700; }
.badge-blue { background: var(--light-blue); color: var(--blue); }
.badge-green { background: #DCFCE7; color: #166534; }
.badge-gold { background: #FEF3C7; color: #92400E; }

/* ── CARDS ── */
.card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; transition: all .25s; }
.card:hover { border-color: #a5c8f0; box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--light-blue); border-top: 1px solid #c7dff5; border-bottom: 1px solid #c7dff5; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; padding: 14px 0; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .83rem; font-weight: 600; color: var(--navy); }
.trust-icon { font-size: 1rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }
.fade-up-4 { animation-delay: .4s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
