/* public/css/main.css — Lease-A-Dock Design System */

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

:root {
  /* "Working Waterfront" palette (design council 2026-08-01) — harbor-ink navy
     like weathered pilings, channel-marker green as the ONLY action color,
     chartbook brass for wayfinding text, nun-buoy red rationed to urgency,
     oyster-shell concrete neutrals. All pairings verified WCAG AA. */
  --navy:       #172A33;
  --navy-mid:   #2E4A57;
  --teal:       #2F6D66;
  --teal-light: #3D8078;
  --teal-dark:  #23504B;
  --gold:       #806222;
  --gold-light: #E7D9A8;
  --coral:      #B0392C;
  --sand:       #F3EDE2;
  --sand-dark:  #E2D8C6;
  --white:      #FFFFFF;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-300:   #D1D5DB;
  --gray-400:   #9CA3AF;
  --gray-500:   #6B7280;
  --gray-600:   #6B7280;
  --gray-700:   #374151;
  --gray-800:   #374151;
  --danger:     #B0392C;
  --success:    #2F6D66;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Public Sans', system-ui, sans-serif;

  --radius:    4px;
  --radius-sm: 3px;
  --shadow:    0 1px 3px rgba(23,42,51,0.08);
  --shadow-lg: 0 10px 30px rgba(23,42,51,0.14);
  --transition: all 0.2s ease;
  --navbar-height: 120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── NAVBAR ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: 120px;
  display: flex; align-items: center;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo {
  display: flex; align-items: center;
}
.navbar-logo-img {
  height: 90px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.navbar-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-link {
  color: rgba(255,255,255,0.8);
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-btn {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
}
.nav-btn:hover { background: var(--teal-light) !important; }
.nav-btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
}
.nav-btn-outline:hover { border-color: var(--white) !important; }

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(165deg, rgba(10,22,40,0.82) 0%, rgba(10,34,64,0.72) 50%, rgba(13,100,130,0.65) 100%),
    url('/images/background-waterfront.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 120px 24px 120px;
  margin-bottom: 0;
}
.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");
}
.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  overflow: hidden;
  line-height: 0;
}
.hero-waves svg {
  display: block;
  width: 100%; height: 100%;
  position: absolute;
  bottom: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.4);
  color: var(--gold); padding: 6px 16px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: none;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; margin-bottom: 20px;
}
.hero h1 em { color: var(--teal-light); font-style: normal; }
.hero p {
  color: rgba(255,255,255,0.75); font-size: 1.15rem;
  max-width: 520px; margin: 0 auto 40px;
}
.hero-sub-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* ── SEARCH BAR ─────────────────────────────────────────────────────── */
.search-bar {
  background: var(--white);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 640px; margin: 0 auto;
}
.search-bar input {
  flex: 1; border: none; outline: none;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--gray-800);
}
.search-bar input::placeholder { color: var(--gray-400); }
.search-bar select {
  border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--gray-600);
  padding: 0 8px; border-left: 1px solid var(--gray-200);
}
.btn-search {
  background: var(--teal);
  color: var(--white); border: none;
  padding: 0 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  height: 40px;
  display: inline-flex;
  align-items: center;
}
.btn-search:hover { background: var(--teal-light); transform: translateY(-1px); }

/* ── SECTIONS ───────────────────────────────────────────────────────── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy); margin-bottom: 12px;
}
.section-header p { color: var(--gray-600); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; display: block;
}

/* ── HOW IT WORKS ───────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card {
  text-align: left; padding: 28px 26px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gray-300); }
.step-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(13,148,136,0.10);
  color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 0 16px;
}
.step-icon svg { width: 24px; height: 24px; }
.step-num {
  display: block;
  font-size: 0.78rem; font-weight: 600;
  color: var(--gray-400); margin-bottom: 6px;
}
.step-card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 8px; }
.step-card p  { font-size: 0.92rem; color: var(--gray-600); line-height: 1.6; }

/* Inline feature icons (line-art, inherit color) */
.feature-ico { display: block; width: 24px; height: 24px; color: var(--teal); margin-bottom: 10px; }
.feature-ico svg { width: 100%; height: 100%; }

/* ── LISTING CARDS ──────────────────────────────────────────────────── */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.listing-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: var(--transition); border: 1px solid var(--gray-200);
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-card-img {
  height: 200px; background: var(--gray-100);
  position: relative; overflow: hidden;
}
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.listing-card:hover .listing-card-img img { transform: scale(1.04); }
.listing-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--white);
  font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.listing-card-body { padding: 20px; }
.listing-card-loc { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 4px; }
.listing-card-title { font-weight: 600; font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.listing-card-meta { display: flex; gap: 12px; font-size: 0.82rem; color: var(--gray-600); margin-bottom: 12px; }
.listing-card-footer { display: flex; align-items: center; justify-content: space-between; }
.listing-card-price { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.listing-card-price span { font-size: 0.8rem; font-weight: 400; color: var(--gray-400); }
.listing-card-rating { font-size: 0.85rem; color: var(--gold); display: flex; align-items: center; gap: 4px; }
.listing-card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0d3b5e 0%, #0d9488 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

/* ── STATS BAR ──────────────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 24px;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; text-align: center; }
.stat-item h3 {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--gold); margin-bottom: 4px;
}
.stat-item p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ── CTA SECTION ────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, #0a8a80 100%);
  padding: 80px 24px; text-align: center; color: var(--white);
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px;
}
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px;
  font-size: 0.95rem; font-weight: 600;
  border: none; transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.35); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline { background: #f0fdfa; color: var(--navy); border: 2px solid var(--teal); }
.btn-outline:hover { background: #ccfbf1; border-color: var(--teal-dark); color: var(--teal-dark); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; border-radius: var(--radius-sm); }
.btn-danger { background: var(--danger); color: var(--white); }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 24px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--white); margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.87rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  max-width: 1200px; margin: 24px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}

/* ── FORMS ──────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1px solid #CBD5E1; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--gray-800);
  background: #FFFFFF; transition: border-color 0.2s, background 0.2s; outline: none;
}
.form-control:focus { border-color: var(--teal); background: var(--white); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── ALERTS ─────────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 0.9rem; margin-bottom: 16px;
}
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #14532d; border: 1px solid #bbf7d0; }

/* ── MODAL ──────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.5); align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg); position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 1.2rem;
  color: var(--gray-400); cursor: pointer;
}
.modal-close:hover { color: var(--gray-800); }
.modal h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); margin-bottom: 8px; }
.modal p  { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 24px; }

/* ── LOADING ────────────────────────────────────────────────────────── */
.spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── STAR RATING ────────────────────────────────────────────────────── */
.stars { color: var(--gold); letter-spacing: 2px; }

/* ── UTILITIES ──────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .gap-2 { gap: 16px; } .items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }

/* ── BRAND ACCENT RULE ──────────────────────────────────────────── */
.brand-rule {
  border: none;
  border-top: 2px solid var(--gold);
  width: 48px;
  margin: 0 0 20px 0;
  opacity: 0.85;
}
.brand-rule-center {
  margin: 0 auto 20px;
}

/* ── SECTION EYEBROW (brand-consistent) ────────────────────────── */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
/* Hamburger button — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-links {
    display: none;
    position: absolute;
    top: var(--navbar-height);
    left: 0; right: 0;
    background: rgba(10,22,40,0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 4px;
  }
  .navbar-links.open { display: flex; }
  .navbar-links .nav-link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: block;
  }
  .navbar-links .nav-btn,
  .navbar-links .nav-btn-outline {
    text-align: center;
    border-radius: var(--radius-sm) !important;
    padding: 12px 16px !important;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .search-bar { border-radius: var(--radius); flex-wrap: wrap; }
  .search-bar select { border-left: none; border-top: 1px solid var(--gray-200); width: 100%; padding: 8px 0; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.hero + .section, .hero + section { margin-top: 0; }

/* ── SITE BANNER ──────────────────────────────────────────────────────────── */
#site-banner {
  width: 100%;
  position: relative;
  z-index: 99;
  margin-top: 120px; /* clear fixed navbar */
  animation: bannerSlideDown 0.4s ease;
}
@keyframes bannerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
#site-banner.banner-gold {
  background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #d97706 100%);
  border-bottom: 2px solid rgba(245,158,11,0.5);
}
#site-banner.banner-teal {
  background: linear-gradient(135deg, var(--navy) 0%, #0a3d3a 100%);
  border-bottom: 2px solid rgba(13,148,136,0.5);
}
#site-banner.banner-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid, #1a2e4a) 100%);
  border-bottom: 2px solid rgba(255,255,255,0.15);
}
#site-banner.banner-red {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
  border-bottom: 2px solid rgba(239,68,68,0.5);
}
.site-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}
.site-banner-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.site-banner-headline {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
  white-space: normal;
  line-height: 1.3;
}
.site-banner-body {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.4;
  display: block;
  white-space: normal;
}
.site-banner-cta {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition, 0.2s);
  flex-shrink: 0;
  text-decoration: none;
}
.site-banner-cta:hover {
  background: rgba(255,255,255,0.3);
  border-color: #fff;
}
.site-banner-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.15s;
  margin-left: 8px;
}
.site-banner-dismiss:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ── HURRICANE EMERGENCY BANNER ────────────────────────────────────────── */
#site-banner.banner-hurricane {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 40%, #b91c1c 100%);
  border-bottom: 3px solid #ef4444;
  min-height: 200px;
  max-height: 220px;
  overflow: hidden;
  position: relative;
}

#site-banner.banner-hurricane .site-banner-inner {
  align-items: flex-start;
  padding: 0;
  max-width: 100%;
  height: 100%;
}

.hurricane-banner-scroll {
  width: 100%;
  height: 200px;
  overflow-y: auto;
  padding: 16px 24px 16px 20px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.hurricane-banner-scroll::-webkit-scrollbar {
  width: 6px;
}

.hurricane-banner-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.hurricane-banner-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.hurricane-banner-stripe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #ef4444;
  animation: hurricanePulse 1.5s ease-in-out infinite;
}

@keyframes hurricanePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hurricane-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hurricane-banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  animation: hurricanePulse 1.5s ease-in-out infinite;
}

.hurricane-banner-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.hurricane-banner-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hurricane-banner-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hurricane-banner-nws-headline {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 6px;
  line-height: 1.4;
}

.hurricane-banner-nws-body {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin-bottom: 6px;
}

.hurricane-banner-nws-instruction {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 8px;
  margin-top: 6px;
}

.hurricane-banner-scroll-hint {
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 0;
  height: 28px;
  background: linear-gradient(transparent, rgba(153,27,27,0.9));
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}

@media (max-width: 768px) {
  #site-banner.banner-hurricane {
    min-height: 220px;
    max-height: 240px;
  }
  .hurricane-banner-scroll {
    height: 220px;
    padding: 14px 16px;
  }
  .hurricane-banner-title { font-size: 0.95rem; }
  .hurricane-banner-nws-body { font-size: 0.8rem; }
}
/* ── END HURRICANE EMERGENCY BANNER ──────────────────────────────────── */
@media (max-width: 768px) {
  .site-banner-inner {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-banner-cta { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .site-banner-headline { font-size: 0.95rem; }
  .site-banner-body { display: none; }
}

/* ── SEO CONTENT SECTION ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #seo-content-section [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  #seo-content-section {
    padding: 48px 16px !important;
  }
  #seo-content-section > div > div:last-child {
    padding: 28px 20px !important;
  }
}

/* PayPal payout option — hidden until configured. Remove to re-enable. */
#payout-paypal-fields { display: none !important; }

/* ── REVIEWS ────────────────────────────────────────────────────────── */
.star-rating-input .star-btn { user-select: none; line-height: 1; }
.star-rating { color: var(--gold); letter-spacing: 2px; }

/* ── SMS VERIFICATION BANNER ─────────────────────────────────────────── */
.sms-banner { background: var(--teal); color: #fff; padding: 10px 20px; border-radius: 6px; margin-bottom: 16px; }
.sms-banner-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sms-banner-link { color: #fff; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.sms-banner-dismiss { margin-left: auto; background: none; border: none; color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }

/* ═══════════════════════════════════════════════════════════════════════
   WORKING WATERFRONT REDESIGN (design council, 2026-08-01)
   Overrides below deliberately win the cascade over the base rules above.
   Register: signage screwed to a piling on a Florida ICW dock — squared
   placards, stencil labels, channel-marker color logic, chartbook details.
   ═══════════════════════════════════════════════════════════════════════ */

/* — no decorative wallpaper: the plus-sign pattern is gone — */
.hero::before { background: none; }

/* — asymmetric hero: left-set headline against open water — */
.hero { text-align: left; }
.hero-content { max-width: 1100px; width: 100%; margin: 0 auto; }
.hero h1 { max-width: 18ch; font-weight: 600; letter-spacing: 0.01em; }
.hero h1 em { color: var(--gold-light); }
.hero p, .hero-sub-tagline { margin-left: 0; margin-right: auto; }
.hero-badge {
  background: none; border: 1px solid rgba(231,217,168,0.45);
  color: var(--gold-light); border-radius: 2px;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.82rem; font-weight: 600;
}
.search-bar { margin: 0; border-radius: 4px; }
.btn-search { border-radius: 3px; }

/* — squared workboat buttons: flat fill, stencil label, no glow, no lift — */
.btn, .nav-btn, .btn-search {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  border-radius: 2px !important;
}
.btn { font-size: 1.05rem; padding: 12px 26px; }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-primary:hover {
  background: var(--teal-dark);
  transform: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  text-decoration: underline; text-underline-offset: 3px;
}
.btn-dark:hover { transform: none; text-decoration: underline; text-underline-offset: 3px; }
.btn-search:hover { background: var(--teal-dark); transform: none; }
.btn-outline { background: var(--white); border-width: 1px; }
.btn-outline:hover { background: var(--sand); }

/* — placard cards: sign screwed to a piling — */
.listing-card, .step-card {
  border-radius: 2px;
  border: 1px solid var(--sand-dark);
  box-shadow: 4px 4px 0 var(--sand-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.listing-card:hover, .step-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--sand-dark);
  border-color: var(--gray-300);
}
.listing-card:hover .listing-card-img img { transform: none; }
.listing-card-img img { filter: saturate(0.85); }
.listing-card-badge { border-radius: 2px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.listing-card-img-placeholder { background: linear-gradient(135deg, var(--navy-mid) 0%, var(--teal-dark) 100%); }
.listing-card-rating { color: var(--gold); }

/* — stencil eyebrows over a double rule (replaces decorative icons) — */
.section-label, .eyebrow {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.14em;
  border-top: 3px double var(--sand-dark);
  padding-top: 8px;
  display: inline-block;
}
.brand-rule { border-top: 2px solid var(--gold); opacity: 1; }

/* — display type: condensed, upright, regulatory-plain — */
h1, h2, h3, .section-header h2, .modal h2 { letter-spacing: 0.01em; }
.section-header h2 { font-weight: 600; }

/* — soundings divider under section headers: a chart depth line — */
.section-header::after {
  content: '';
  display: block;
  width: 140px; height: 2px;
  margin: 20px auto 0;
  background: repeating-linear-gradient(90deg, var(--sand-dark) 0 12px, transparent 12px 20px);
}

/* — step cards read as numbered placards — */
.step-icon { border-radius: 2px; background: var(--sand); color: var(--teal-dark); }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase;
}

/* — stats bar: brass numerals on harbor ink — */
.stats-bar { background: var(--navy); border-top: 1px solid rgba(231,217,168,0.25); border-bottom: 1px solid rgba(231,217,168,0.25); }
.stat-item h3 { color: var(--gold-light); font-weight: 600; }

/* — CTA band: flat harbor ink, not a teal gradient — */
.cta-section { background: var(--navy-mid); }
.cta-section h2 { font-weight: 600; }

/* — channel-marker accents: left borders carry meaning — */
.alert { border-radius: 2px; border-left-width: 6px; }
.alert-error   { border-left-color: var(--coral); }
.alert-success { border-left-color: var(--teal); }

/* — chart-margin footer: double hairline + home-waters coordinates — */
footer { position: relative; border-top: 1px solid var(--gold-light); }
footer::before {
  content: '';
  position: absolute; top: 4px; left: 0; right: 0; height: 1px;
  background: var(--gold-light); opacity: 0.5;
}
.footer-bottom { position: relative; }
.footer-bottom::after {
  content: '26°42′N 80°02′W — Intracoastal Waterway, Florida';
  display: block; width: 100%;
  font-variant: small-caps; letter-spacing: 0.1em;
  font-size: 0.78rem; color: var(--gold-light); opacity: 0.75;
  font-feature-settings: 'tnum';
  margin-top: 6px;
}
.footer-brand h3 span { color: var(--gold-light); }
.footer-col a:hover { color: var(--gold-light); }

/* — forms & modals: squared, quiet — */
.form-control { border-radius: 3px; }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,109,102,0.15); }
.modal { border-radius: 3px; border-top: 3px solid var(--gold); }
.badge { border-radius: 2px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; }
.spinner { border-top-color: var(--teal); }

/* — harbor-ink chrome (replaces hardcoded old-navy rgba) — */
.navbar { background: rgba(23,42,51,0.97); }
.hero {
  background:
    linear-gradient(165deg, rgba(23,42,51,0.85) 0%, rgba(46,74,87,0.70) 55%, rgba(35,80,75,0.60) 100%),
    url('/images/background-waterfront.jpg') center/cover no-repeat;
}
.nav-btn:hover { background: var(--teal-dark) !important; }

/* — promo ribbon: slim, flat, rationed channel-marker palette — */
#site-banner.banner-gold  { background: var(--navy-mid); border-bottom: 2px solid var(--gold-light); }
#site-banner.banner-teal  { background: var(--teal-dark); border-bottom: 2px solid var(--gold-light); }
#site-banner.banner-navy  { background: var(--navy-mid); border-bottom: 2px solid rgba(255,255,255,0.15); }
#site-banner.banner-red   { background: var(--coral); border-bottom: 2px solid rgba(255,255,255,0.25); }
.site-banner-inner { padding: 12px 24px; }
.site-banner-headline { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.site-banner-cta { border-radius: 2px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; }

/* — silver chrome logo (owner-supplied 2026-08-01): render as-is, no white filter — */
.navbar-logo-img { filter: none; height: 89px; }
