/* ==========================================================================
   SSAE Property Management — site stylesheet
   Brand colors sampled directly from the supplied logo (navy + lime green).
   ========================================================================== */

:root {
  --brand-primary: #094964;      /* navy, sampled from logo buildings */
  --brand-primary-dark: #052F42;
  --brand-secondary: #8EC340;    /* lime green, sampled from logo mountain/wordmark */
  --brand-secondary-dark: #6FA02E;
  --brand-gradient: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);

  --ink: #1B2430;
  --ink-soft: #4B5768;
  --paper: #FFFFFF;
  --paper-tint: #F4F7FA;
  --border: #E3E8EE;
  --success: #1B8A5A;
  --shadow: 0 10px 30px rgba(9, 73, 100, 0.12);
  --shadow-sm: 0 4px 14px rgba(9, 73, 100, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: #fff;
  color: var(--brand-primary-dark);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-solid {
  background: var(--brand-secondary);
  color: var(--brand-primary-dark);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand img { height: 52px; width: auto; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
}
.brand small { display: block; font-weight: 500; font-size: .7rem; color: var(--ink-soft); letter-spacing: .05em; }

.main-nav ul { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.main-nav a:hover { background: var(--paper-tint); }
.main-nav a.active { color: var(--brand-primary); background: rgba(9,73,100,.08); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn {
  padding: 10px 20px;
  background: var(--brand-secondary);
  color: var(--brand-primary-dark);
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: all .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--brand-gradient);
  color: #fff;
  padding: 72px 0 64px;
}
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,.92); font-size: 1.1rem; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.25);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 44px;
}
.stat-strip .stat {
  background: rgba(255,255,255,.10);
  padding: 22px 18px;
  text-align: center;
}
.stat-strip .stat strong { display: block; font-size: 1.6rem; color: #fff; }
.stat-strip .stat span { font-size: .82rem; color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tint { background: var(--paper-tint); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(142,195,64,.16); color: var(--brand-secondary-dark);
  font-weight: 800; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}

/* ---------- Council / borough panel ---------- */
.council-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.council-panel .logo-frame {
  width: 96px; height: 96px;
  border-radius: 12px;
  background: var(--paper-tint);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  flex-shrink: 0;
}
.council-panel .logo-frame.dark { background: #16202B; }
.council-panel .logo-frame img { max-width: 100%; max-height: 100%; }

/* ---------- Logo strip (areas we cover) ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.logo-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  display: flex; align-items: center; justify-content: center;
  height: 44px;
  width: auto;
  transition: box-shadow .15s ease, transform .15s ease;
}
.logo-chip:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.logo-chip img { height: 26px; width: auto; max-width: none; object-fit: contain; }
.logo-chip.dark img { height: 20px; background: #1a1a1a; padding: 6px 8px; border-radius: 5px; }
.logo-chip.text-chip {
  font-size: .8rem; font-weight: 700; color: var(--brand-primary);
  text-align: center; line-height: 1.25; padding: 8px 10px;
}
.logo-chip.text-chip:hover { color: var(--brand-secondary-dark); }
.logo-strip-note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 18px; font-style: italic; }

.borough-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.borough-grid a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  background: #fff;
}
.borough-grid a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item h3 { margin-bottom: 8px; font-size: 1.05rem; }
.faq-item p { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .88rem; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.form-success {
  display: none;
  background: rgba(27,138,90,.1);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 20px;
}
.form-success.show { display: block; }

/* ---------- Contact details cards ---------- */
.contact-list .item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list .item:last-child { border-bottom: none; }
.contact-list .item .icon-badge { margin-bottom: 0; width: 44px; height: 44px; font-size: 1.05rem; flex-shrink: 0; }
.contact-list .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-primary); font-weight: 700; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #11151C;
  color: #C9D2DC;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .logo-chip-white {
  background: #fff; border-radius: 10px; padding: 6px 10px;
  display: flex; align-items: center;
}
.footer-brand img { height: 34px; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #C9D2DC; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: #8A93A0;
}
.footer-bottom a { color: #8A93A0; }
.footer-bottom a:hover { color: #fff; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Placeholder-token highlight (helps you spot what to fill in) ---------- */
.ph {
  background: #FFF3CD;
  color: #7A5B00;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .95em;
}

/* ---------- Draft notice (legal pages) ---------- */
.draft-notice {
  background: #FFF3CD;
  border: 1px solid #F0D48A;
  color: #7A5B00;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  font-size: .92rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .borough-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .council-panel { flex-direction: column; text-align: center; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .cta-banner { padding: 36px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav drawer ---------- */
.main-nav {
  transition: max-height .25s ease;
}
@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 76px 0 0 0;
    background: #fff;
    max-height: 0; overflow: hidden;
    display: block;
  }
  .main-nav.open { max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 20px 24px; gap: 4px; }
  .main-nav a { display: block; padding: 14px 16px; }
}
