/* ============================================================
   LandlordVoucher.com — Global Styles
   Brand colors: Navy #14558F, Teal #0FA8A8, Gold #F4B728
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #14558F;
  --navy-dark: #0B3B63;
  --navy-deep: #071F38;
  --navy-light: #1E6BAA;
  --teal: #0FA8A8;
  --teal-dark: #0A7979;
  --gold: #F4B728;
  --gold-light: #F9D466;
  --coral: #E85A4F;
  --success: #2E8B57;
  --warn: #D97706;
  --danger: #CD0D0D;
  --bg: #FAFBFC;
  --bg-alt: #F3F6FA;
  --card: #FFFFFF;
  --text: #1A2332;
  --text-muted: #5B6777;
  --text-soft: #8898A8;
  --border: #E3E8EF;
  --border-light: #EEF2F7;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(16,32,64,0.04), 0 1px 3px rgba(16,32,64,0.06);
  --shadow: 0 4px 12px rgba(16,32,64,0.06), 0 2px 4px rgba(16,32,64,0.04);
  --shadow-lg: 0 20px 40px rgba(16,32,64,0.08), 0 6px 12px rgba(16,32,64,0.06);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-top: 160px;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; color: var(--text); margin-top: 0; }
h1 { font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 1.05rem; line-height: 1.3; }

p { margin: 0 0 1rem; }
small { color: var(--text-muted); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 1.75rem; } h2 { font-size: 1.4rem; }
  .section { padding: 48px 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.18s ease; text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: #1A2332; }
.btn-gold:hover { background: var(--gold-light); text-decoration: none; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--bg-alt); text-decoration: none; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* Kicker / Badges */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,168,168,0.1); color: var(--teal-dark);
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.02em;
}
.kicker.gold { background: rgba(244,183,40,0.15); color: #8B6A12; }
.kicker.navy { background: rgba(20,85,143,0.08); color: var(--navy); }
.badge {
  display: inline-block; padding: 2px 10px; font-size: 0.78rem;
  font-weight: 600; border-radius: 999px; background: var(--bg-alt); color: var(--text-muted);
}
.badge.high, .badge.open { background: rgba(46,139,87,0.12); color: var(--success); }
.badge.medium { background: rgba(217,118,6,0.12); color: var(--warn); }
.badge.low, .badge.closed { background: rgba(205,13,13,0.1); color: var(--danger); }
.badge.unknown { background: var(--bg-alt); color: var(--text-muted); }
.badge.teal { background: rgba(15,168,168,0.12); color: var(--teal-dark); }

/* Cards */
.card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px;
  transition: all 0.18s ease;
}
.card-hoverable:hover { border-color: var(--navy-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-flat { box-shadow: none; }
.card-highlight { background: linear-gradient(135deg, #FFFBF0 0%, #FFF7E0 100%); border-color: var(--gold); }

/* ══════════════════════════════════════════
   HEADER — centered layout, full logo
   ══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 0;
}
.nav-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.nav-logo-row a { display: block; line-height: 0; }
.nav-tabs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-bottom: 10px;
}
.nav-tabs-row a {
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-tabs-row a:hover, .nav-tabs-row a.active { color: #fff; background: rgba(255,255,255,0.07); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--navy-deep) !important;
  font-weight: 700 !important;
  padding: 7px 20px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* Nav (legacy - kept for any inline styles) */
.site-nav {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px);
  display: none;
}
.nav-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: -0.01em; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo img { height: 32px; }
.nav-logo .brand-accent { color: var(--teal); }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm); color: var(--text);
  font-size: 0.92rem; font-weight: 500; transition: all 0.14s;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--navy); text-decoration: none; }
.nav-links a.active { background: rgba(20,85,143,0.08); color: var(--navy); font-weight: 600; }
.nav-cta-legacy { margin-left: 12px; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; gap: 0; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-mobile-toggle { display: block; }
}

/* ══════════════════════════════════════════
   FOOTER — Model C style, lighter gradient
   ══════════════════════════════════════════ */
.footer {
  background: linear-gradient(165deg, #0D3B66 0%, var(--navy-deep) 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  padding: 56px 32px 24px;
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 300px; }
.footer-col h4 {
  color: rgba(255,255,255,0.8);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 13px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 12px; }
.footer-bottom-links a:hover { color: var(--teal); }

/* Legacy footer styles */
.site-footer { background: var(--navy-dark); color: #cdd5e0; padding: 64px 0 32px; margin-top: 64px; display: none; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cdd5e0; font-size: 0.92rem; transition: color 0.14s; }
.site-footer a:hover { color: #fff; text-decoration: none; }

/* Forms */
.search-bar {
  display: flex; gap: 8px; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow-sm);
  transition: border-color 0.18s;
}
.search-bar:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,85,143,0.15); }
.search-bar input, .search-bar select {
  flex: 1; border: none; outline: none; padding: 12px 14px;
  font-size: 0.98rem; background: transparent; color: var(--text);
}
.search-bar input::placeholder { color: var(--text-soft); }
.search-bar button { flex: 0 0 auto; }

/* Stats/KPI */
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: left;
}
.stat-card .stat-value {
  font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em;
  line-height: 1; margin-bottom: 8px;
}
.stat-card .stat-label { font-size: 0.92rem; color: var(--text-muted); font-weight: 500; }
.stat-card .stat-sub { font-size: 0.82rem; color: var(--text-soft); margin-top: 4px; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.data-table th {
  text-align: left; padding: 12px 14px; background: var(--bg-alt);
  font-weight: 600; color: var(--text-muted); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}
.data-table td { padding: 14px; border-bottom: 1px solid var(--border-light); }
.data-table tr:hover td { background: var(--bg-alt); }
.data-table .num { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.hero h1 { font-size: 2.8rem; margin-bottom: 16px; }
.hero .subhead { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 32px; line-height: 1.5; text-align: center; }
.hero.center { text-align: center; }
.hero-home { padding-top: 140px !important; }
.page-header { padding-top: 140px !important; }
@media (max-width: 700px) { .hero h1 { font-size: 2rem; } .hero .subhead { font-size: 1.02rem; } }

/* Alert */
.alert { padding: 14px 18px; border-radius: var(--radius); background: rgba(15,168,168,0.08); border-left: 4px solid var(--teal); margin: 16px 0; font-size: 0.94rem; }
.alert.gold { background: rgba(244,183,40,0.1); border-left-color: var(--gold); }
.alert.warn { background: rgba(217,118,6,0.08); border-left-color: var(--warn); }

/* Dashboard preview card (on home) */
.dash-preview {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-lg); max-width: 540px; margin: 0 auto;
}
.dash-preview .dash-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
}
.dash-preview .dash-row:last-child { border-bottom: none; }
.dash-preview .dash-label { font-size: 0.88rem; color: var(--text-muted); }
.dash-preview .dash-value { font-size: 1rem; font-weight: 700; color: var(--text); }
.dash-preview .dash-change { color: var(--success); font-size: 0.8rem; font-weight: 600; margin-left: 6px; }

/* Reference citation */
.cite { font-size: 0.82rem; color: var(--text-soft); font-style: italic; margin-top: 8px; }
.cite a { color: var(--text-muted); }

/* Page header (banner style) */
.page-header { padding: 56px 0 32px; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 12px; }
.page-header .subhead { color: var(--text-muted); font-size: 1.08rem; max-width: 680px; }

/* Breadcrumb */
.crumbs { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 16px; }
.crumbs a { color: var(--text-muted); }
.crumbs .sep { margin: 0 8px; color: var(--text-soft); }

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; } .gap-2 { gap: 12px; } .gap-3 { gap: 18px; } .gap-4 { gap: 24px; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }

/* ══════════════════════════════════════════
   AD ZONE — Horizontal banner (single)
   ══════════════════════════════════════════ */
.ad-zone {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.ad-zone-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.ad-zone-tag {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-soft);
}
.ad-zone-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ad-zone-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ad-zone-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.ad-zone-text p { font-size: 13px; color: var(--text-muted); }
.ad-zone-btn {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
}
.ad-zone-btn:hover { background: #0F4A7D; }

/* ══════════════════════════════════════════
   NATIVE AD PAIR — Model B style (two horizontal)
   ══════════════════════════════════════════ */
.native-ad-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.native-ad {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}
.native-ad:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.native-ad-badge {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-soft);
  background: var(--bg-alt);
  padding: 3px 8px;
  border-radius: 4px;
}
.native-ad-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.native-ad-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.native-ad-text p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.native-ad-text a {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.native-ad-text a:hover { color: var(--teal); }

/* ══════════════════════════════════════════
   CONTENT + SIDEBAR (ad flanked layout)
   ══════════════════════════════════════════ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}

/* Sidebar Ad */
.sidebar-ad {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 180px;
}
.ad-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.ad-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.ad-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ad-card:last-child { margin-bottom: 0; }
.ad-card-img {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.ad-card-body { padding: 14px; }
.ad-card-body h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.ad-card-body p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.ad-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
}

/* Ad placement (legacy) */
.ad-slot {
  background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f4f4f4 10px, #f4f4f4 20px);
  border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text-soft);
  font-size: 0.82rem; padding: 24px; text-align: center; margin: 24px 0;
}
.ad-slot::before { content: "AD · "; font-weight: 700; letter-spacing: 0.05em; }
.ad-sidebar { width: 300px; height: 250px; }
.ad-banner { height: 90px; }
