/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --navy:#0a192f;
  --navy-light:#172a45;
  --blue:#0068b7;
  --aqua:#00a3e0;
  --orange:#ff6b22;
  --yellow:#ffc72c;
  --green:#10b981;
  --bg:#f8fafc;
  --surface:#fff;
  --border:rgba(15,23,42,.08);
  --text-main:#334155;
  --text-heading:#0f172a;
  --text-muted:#64748b;
  --radius-lg:18px;
  --radius-md:13px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.05);
  --shadow-md:0 12px 32px rgba(10,25,47,.08);
  --max-width:1240px;
}

/* =========================================================
   GLOBAL BASE
   ========================================================= */
* {
  box-sizing:border-box
}

html {
  min-height:100%;
  scroll-behavior:smooth;
  background:#dfeef4
}

body {
  position:relative;
  isolation:isolate;
  min-height:100vh;
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  background:transparent!important;
  color:var(--text-main);
  line-height:1.65
}

/*
  Permanent sitewide Florida background layer.
  This sits independently behind every page so page specific stylesheets
  cannot replace or hide the body background declaration.
*/
body::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background-image:url('/images/florida-property-seekers-background.png');
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat
}

/* Light readability veil over the photograph. */
body::after {
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:rgba(248,250,252,.28)
}

/* Keep full page wrappers transparent while individual cards stay white. */
body > main,
main.page,
main.resource-page {
  background-color:transparent!important;
  background-image:none!important
}

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

/* =========================================================
   HEADER AND NAVIGATION
   ========================================================= */
.site-header {
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  box-shadow:var(--shadow-sm)
}

.header-brand-row {
  background:rgba(255,255,255,.97)
}

.header-brand-inner,
.header-nav-inner {
  max-width:var(--max-width);
  margin:0 auto;
  padding-left:24px;
  padding-right:24px
}

.header-brand-inner {
  min-height:72px;
  padding-top:12px;
  padding-bottom:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:var(--navy);
  font-size:20px;
  font-weight:850;
  letter-spacing:-.5px
}

.brand-mark {
  flex:0 0 auto;
  padding:6px 12px;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:1px;
  border-radius:8px
}

.brand-name {
  white-space:nowrap
}

.dotcom {
  color:var(--orange)
}

.header-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap
}

.header-share-button,
.header-group-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:850;
  line-height:1.1;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease
}

.header-share-button {
  border:1px solid rgba(24,119,242,.22);
  background:#eef5ff;
  color:#0b57b7
}

.header-share-button span {
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#1877f2;
  color:#fff;
  font-size:15px;
  font-weight:900;
  line-height:1
}

.header-group-button {
  background:linear-gradient(135deg,var(--blue),#005699);
  color:#fff;
  box-shadow:0 4px 14px rgba(0,104,183,.23)
}

.header-share-button:hover,
.header-group-button:hover {
  transform:translateY(-1px)
}

.header-share-button:hover {
  background:#e1efff;
  box-shadow:0 6px 16px rgba(24,119,242,.14)
}

.header-group-button:hover {
  box-shadow:0 7px 18px rgba(0,104,183,.28)
}

.header-nav-row {
  border-top:1px solid rgba(15,23,42,.06);
  background:linear-gradient(90deg,rgba(10,25,47,.03),rgba(0,104,183,.04),rgba(0,163,224,.03))
}

.header-nav-inner {
  padding-top:8px;
  padding-bottom:8px
}

.nav-links {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-wrap:wrap
}

.nav-links a {
  padding:8px 11px;
  color:var(--text-heading);
  font-size:13.5px;
  font-weight:750;
  border-radius:999px;
  transition:background .18s ease,color .18s ease
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background:rgba(0,104,183,.09);
  color:var(--blue)
}

/* =========================================================
   ANNOUNCEMENT STRIP
   ========================================================= */
.announcement-strip {
  background:linear-gradient(90deg,var(--navy),#123a68,var(--blue));
  color:#eaf6ff;
  font-size:13px;
  font-weight:750
}

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

.announcement-inner strong {
  color:var(--yellow);
  font-size:11px;
  letter-spacing:1.1px;
  text-transform:uppercase
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  margin-top:48px;
  background:linear-gradient(135deg,var(--navy),#0d2b4e);
  color:#dce8f5
}

.footer-inner {
  max-width:var(--max-width);
  margin:0 auto;
  padding:26px 24px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:28px;
  font-size:13px
}

.footer-identity {
  display:grid;
  gap:7px
}

.site-credit {
  color:#aec4d8
}

.site-credit a {
  color:#fff;
  font-weight:750
}

.footer-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px 15px
}

.footer-links a:hover {
  color:var(--yellow)
}

/* =========================================================
   RESOURCE AND ARTICLE PAGES
   ========================================================= */
.resource-page {
  max-width:1120px;
  margin:36px auto 0;
  padding:0 24px
}

.resource-hero {
  padding:44px;
  border:1px solid var(--border);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(0,104,183,.08),rgba(0,163,224,.05),rgba(255,199,44,.08)),#fff;
  box-shadow:var(--shadow-md)
}

.resource-hero .eyebrow,
.section-kicker,
.article-category,
.resource-card-kicker {
  display:block;
  color:var(--orange);
  font-size:11px;
  font-weight:900;
  letter-spacing:1.4px;
  text-transform:uppercase;
  margin-bottom:8px
}

.resource-hero h1 {
  margin:0 0 14px;
  color:var(--navy);
  font-size:clamp(32px,5vw,54px);
  line-height:1.05;
  letter-spacing:-1.4px
}

.resource-hero p {
  max-width:820px;
  margin:0;
  color:var(--text-main);
  font-size:17px
}

.resource-section {
  margin-top:24px;
  padding:30px;
  border:1px solid var(--border);
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 24px rgba(10,25,47,.05)
}

.resource-section h2 {
  margin:0 0 12px;
  color:var(--navy);
  font-size:28px;
  line-height:1.15
}

.resource-section h3 {
  color:var(--navy);
  font-size:21px;
  line-height:1.25
}

.resource-section p {
  margin:0 0 14px
}

.resource-section ul,
.resource-section ol {
  padding-left:22px
}

.resource-section li {
  margin:7px 0
}

/* =========================================================
   BUTTONS
   ========================================================= */
.button-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 17px;
  border:1px solid rgba(0,104,183,.2);
  border-radius:10px;
  background:#fff;
  color:var(--navy);
  font-weight:800
}

.btn.primary {
  background:linear-gradient(135deg,var(--blue),#005699);
  color:#fff;
  border-color:transparent
}

.btn.orange {
  background:linear-gradient(135deg,var(--orange),#e64e0e);
  color:#fff;
  border-color:transparent
}

/* =========================================================
   CARD GRIDS
   ========================================================= */
.article-card-grid,
.resource-card-grid,
.landing-card-grid,
.category-card-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px
}

.article-card,
.resource-card,
.landing-card,
.category-card {
  display:block;
  padding:22px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 20px rgba(10,25,47,.05);
  transition:transform .2s ease,box-shadow .2s ease
}

.article-card:hover,
.resource-card:hover,
.landing-card:hover,
.category-card:hover {
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(10,25,47,.1)
}

.article-card h3,
.resource-card h3,
.landing-card h3,
.category-card h3 {
  margin:4px 0 10px;
  color:var(--navy);
  font-size:20px;
  line-height:1.2
}

.article-card p,
.resource-card p,
.landing-card p,
.category-card p {
  margin:0 0 14px;
  color:var(--text-main)
}

.article-card-meta {
  font-size:12px;
  color:var(--text-muted);
  margin-bottom:8px
}

.text-link {
  color:var(--blue);
  font-weight:800
}

/* =========================================================
   ARTICLE LAYOUT
   ========================================================= */
.article-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:start
}

.article-body section {
  padding:0 0 24px;
  margin-bottom:24px;
  border-bottom:1px solid var(--border)
}

.article-body section:last-child {
  border-bottom:0
}

.article-sidebar {
  position:sticky;
  top:145px
}

/* =========================================================
   SOURCES AND CHECKLISTS
   ========================================================= */
.source-list {
  display:grid;
  gap:9px
}

.source-list a {
  display:block;
  padding:11px 13px;
  border:1px solid var(--border);
  border-radius:10px;
  color:var(--blue);
  font-weight:700;
  background:#f8fbff
}

.checklist {
  display:grid;
  gap:12px;
  counter-reset:step
}

.checklist li {
  list-style:none;
  padding:15px 16px 15px 54px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  position:relative
}

.checklist li:before {
  counter-increment:step;
  content:counter(step);
  position:absolute;
  left:14px;
  top:13px;
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--navy);
  color:#fff;
  font-weight:900
}

/* =========================================================
   VENDOR DIRECTORY COMPONENTS
   ========================================================= */
.vendor-category-box {
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  margin-bottom:14px
}

.vendor-category-label {
  padding:11px 15px;
  background:linear-gradient(90deg,var(--navy),#123a68);
  color:#fff;
  font-size:13px;
  font-weight:850
}

.vendor-row-list {
  display:grid
}

.vendor-row {
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr auto;
  gap:16px;
  align-items:center;
  padding:14px 16px;
  border-top:1px solid var(--border);
  background:#fff
}

.vendor-row:first-child {
  border-top:0
}

.vendor-row:hover {
  background:#f7fbff
}

.vendor-row strong {
  color:var(--navy)
}

.vendor-row span {
  font-size:13px;
  color:var(--text-main)
}

.vendor-row .vendor-service {
  color:var(--blue);
  font-weight:750
}

.vendor-row .vendor-phone {
  white-space:nowrap;
  font-weight:750
}

.vendor-row-available {
  background:#fffaf1
}

/* =========================================================
   NOTICES AND SUPPORTING UI
   ========================================================= */
.notice {
  padding:15px 17px;
  border-left:4px solid var(--orange);
  border-radius:10px;
  background:#fff7ed
}

.empty-state {
  padding:22px;
  border:1px dashed rgba(0,104,183,.35);
  border-radius:14px;
  background:#f7fbff
}

.meta-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  color:var(--text-muted);
  font-size:13px;
  margin-top:18px
}

.breadcrumbs {
  margin-bottom:14px;
  color:var(--text-muted);
  font-size:13px
}

.breadcrumbs a {
  color:var(--blue)
}

/* =========================================================
   RESPONSIVE: TABLET
   ========================================================= */
@media(max-width:1000px) {
  .header-brand-inner {
    align-items:flex-start;
    flex-direction:column;
    gap:12px
  }

  .header-actions {
    width:100%;
    justify-content:flex-start
  }

  .nav-links {
    justify-content:flex-start
  }

  .article-card-grid,
  .resource-card-grid,
  .landing-card-grid,
  .category-card-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .article-layout {
    grid-template-columns:1fr
  }

  .article-sidebar {
    position:static
  }

  .vendor-row {
    grid-template-columns:1fr 1fr
  }
}

/* =========================================================
   RESPONSIVE: MOBILE
   ========================================================= */
@media(max-width:680px) {
  body {
    background-attachment:scroll;
    background-position:center top;
    background-size:auto 100vh
  }

  .header-brand-inner,
  .header-nav-inner,
  .announcement-inner,
  .footer-inner,
  .resource-page {
    padding-left:15px;
    padding-right:15px
  }

  .site-header {
    position:relative
  }

  .header-brand-inner {
    min-height:auto;
    padding-top:12px;
    padding-bottom:12px
  }

  .brand {
    font-size:17px
  }

  .brand-mark {
    padding:5px 10px;
    font-size:12px
  }

  .brand-name {
    white-space:normal;
    line-height:1.15
  }

  .header-actions {
    display:grid;
    grid-template-columns:1fr;
    width:100%
  }

  .header-share-button,
  .header-group-button {
    width:100%;
    min-height:44px;
    padding:11px 14px
  }

  .header-nav-inner {
    padding-top:10px;
    padding-bottom:10px
  }

  .nav-links {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    width:100%
  }

  .nav-links a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 9px;
    border:1px solid rgba(15,23,42,.06);
    background:rgba(255,255,255,.72);
    font-size:12px;
    text-align:center;
    border-radius:10px
  }

  .announcement-inner {
    align-items:flex-start;
    flex-direction:column;
    gap:3px
  }

  .resource-hero {
    padding:28px 22px
  }

  .resource-section {
    padding:22px 18px
  }

  .article-card-grid,
  .resource-card-grid,
  .landing-card-grid,
  .category-card-grid {
    grid-template-columns:1fr
  }

  .footer-inner {
    flex-direction:column
  }

  .footer-links {
    justify-content:flex-start
  }

  .vendor-row {
    grid-template-columns:1fr;
    gap:4px
  }
}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */
@media(max-width:420px) {
  .nav-links {
    grid-template-columns:1fr
  }

  .resource-hero h1 {
    font-size:32px
  }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  body::before {
    position:absolute
  }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .site-header,
  .announcement-strip,
  .site-footer,
  .article-sidebar,
  .button-row {
    display:none!important
  }

  .resource-page {
    max-width:none;
    margin:0;
    padding:0
  }

  .resource-section,
  .resource-hero {
    box-shadow:none
  }
}