/* ===== AAA Landlord Services — Modern redesign =====
   Palette (from legacy public/css/style.css): orange gradient #F99B1F -> #F67D24,
   hover accent #f9b139, active-menu #EA7500, blue accent #385189, body gray #6D6D6D.
   --ink is a derived dark-navy (not a literal source hex) used for the new dark
   footer/hero bands the legacy site never had.
   Type: Barlow Condensed (display) · Source Sans 3 (body) · IBM Plex Mono (stats/mono)
*/
:root {
  --orange: #F67D24;
  --orange-light: #F99B1F;
  --orange-hover: #f9b139;
  --orange-active: #EA7500;
  --navy: #385189;
  --accent: #385189; /* per-site nav accent (aaalandlord = navy) */
  --ink: #1f2a44;
  --ink-2: #3a4a6b;
  --paper: #f6f5f3;
  --line: #e3e2df;
  --text: #5c5c5c;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(31, 42, 68, .10);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; }
h1 { font-size: clamp(36px, 5.2vw, 54px); font-weight: 700; letter-spacing: .3px; }
h2 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
h4 { color: var(--ink); font-size: 15px; text-transform: uppercase; letter-spacing: 1.2px; }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; z-index: 200; }
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 600; font-size: 16px; white-space: nowrap;
  border-radius: 8px; padding: 13px 26px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(246, 125, 36, .32); }
.btn-orange:hover { background: var(--orange-active); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-white { background: #fff; color: var(--orange-active); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-outline-white:hover { border-color: #fff; }

/* ===== Header ===== */
.site-header { position: relative; z-index: 100; }

/* Utility strip */
.topbar { background: var(--ink); color: #cfe0ee; }
.topbar-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 40px; flex-wrap: wrap;
}
.topbar-tag {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 2px;
  text-transform: uppercase; color: #8fb8d6;
}
.topbar-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #4fd08a; box-shadow: 0 0 0 3px rgba(79,208,138,.22);
}
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { color: #cfe0ee; font-weight: 600; font-size: 13px; }
.topbar-links a:hover { color: #fff; text-decoration: none; }
.topbar-phone { font-family: var(--mono); }

/* Main bar (sticky) */
.mainbar {
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .2s ease;
}
.mainbar.scrolled { box-shadow: 0 8px 26px rgba(22,50,74,.10); }
.header-row { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { margin-right: auto; display: flex; align-items: center; }
.brand img { display: block; height: 54px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 14px; }
#nav-menu { list-style: none; display: flex; align-items: center; gap: 2px; }
#nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); font-weight: 600; font-size: 15.5px;
  padding: 9px 14px; border-radius: 9px;
}
#nav-menu > li > a:hover { color: var(--accent); background: var(--paper); text-decoration: none; }
.caret { font-size: 10px; color: var(--accent); transition: transform .2s ease; }
#nav-menu > li.has-sub.open > a { color: var(--accent); background: var(--paper); }
#nav-menu > li.has-sub.open > a .caret { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 11px 22px; font-size: 15px; }
.nav-toggle { display: none; }

/* Dropdown — click-open, no dead gap */
.has-sub { position: relative; }
.has-sub .sub {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 266px;
  list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); flex-direction: column; gap: 0; padding: 9px;
}
.has-sub .sub::before {
  content: ""; position: absolute; top: -1px; left: 16px; right: 16px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--orange));
}
.has-sub.open .sub { display: flex; }
.sub li a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 15px; color: var(--ink); }
.sub li a:hover { background: var(--paper); color: var(--accent); text-decoration: none; }

/* Mobile drawer overlay — z-index below .site-header (100) so the drawer,
   which lives inside the header's stacking context, still paints on top */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(15,30,45,.5);
  opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 90;
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* Drawer close button (injected by JS; only shown inside the mobile drawer) */
.nav-close {
  display: none; position: absolute; top: 14px; right: 16px;
  width: 40px; height: 40px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--paper); color: var(--ink); font-size: 26px; line-height: 1;
}
.nav-close:hover { background: var(--line); }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 90%);
  padding: 58px 0 54px; color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.5vw, 46px); max-width: 900px; }
.page-hero .eyebrow { color: #ffcb92; margin-bottom: 8px; }
.page-hero .hero-lead { max-width: 720px; margin-top: 14px; font-size: 17.5px; color: #d9e0ec; }

/* ===== Content pages ===== */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 54px 22px 80px; }
.page-wrap p { margin-bottom: 20px; }
.page-wrap ul, .page-wrap ol { margin: 0 0 20px 26px; }
.page-wrap li { margin-bottom: 8px; }
.page-wrap strong { color: var(--ink); }
.page-title { color: var(--ink); margin: 10px 0 24px; }
.section-title { color: var(--ink); font-size: 26px; margin: 38px 0 16px; }
.lead-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin: 4px 0 30px; }

/* ===== HOME ===== */

/* Hero */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(246,125,36,.12), transparent 60%),
    linear-gradient(180deg, var(--paper), #fff);
  padding: 80px 0 66px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--navy); }
.hero .lead { font-size: 20px; margin: 22px 0 30px; max-width: 540px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.hero-note strong { color: var(--navy); }

/* Signature: CSS-drawn lease / rental-application document */
.doc-scene { display: flex; justify-content: center; position: relative; }
.lease-doc {
  width: 320px; background: #fff; border-radius: 10px;
  box-shadow: 0 24px 60px rgba(31,42,68,.22);
  transform: rotate(-3deg);
  border: 1px solid var(--line);
  position: relative;
  padding: 22px 24px 20px;
}
.lease-doc::before { /* clip binder */
  content: ""; display: block; width: 70px; height: 10px; border-radius: 5px;
  background: var(--paper); border: 1px solid var(--line);
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
}
.lease-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--paper); padding-bottom: 10px; margin-bottom: 14px; }
.lease-head .lease-title { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); }
.lease-head .lease-no { font-family: var(--mono); font-size: 11px; color: var(--navy); }
.lease-line { height: 9px; border-radius: 4px; background: var(--paper); margin-bottom: 10px; }
.lease-line.w-80 { width: 80%; }
.lease-line.w-60 { width: 60%; }
.lease-line.w-95 { width: 95%; }
.lease-checks { margin: 14px 0; }
.lease-check { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 12.5px; color: var(--ink-2); font-family: var(--mono); }
.lease-check .box { width: 14px; height: 14px; border: 2px solid var(--navy); border-radius: 3px; flex: none; position: relative; }
.lease-check .box.checked::after { content: "✓"; position: absolute; inset: -4px 0 0 1px; font-size: 12px; color: var(--orange); font-weight: 700; }
.lease-sig { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line); }
.lease-sig .sig-line { width: 62%; border-bottom: 1.5px solid var(--ink-2); height: 18px; }
.lease-sig .sig-label { font-family: var(--mono); font-size: 10px; color: var(--ink-2); margin-top: 4px; }
.lease-stamp {
  position: absolute; right: -14px; bottom: 34px;
  font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: 1.5px;
  color: var(--orange); border: 3px solid var(--orange); border-radius: 8px;
  padding: 6px 12px; transform: rotate(9deg); background: rgba(255,255,255,.9);
}

/* Stats band */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 34px 12px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat-num { font-family: var(--mono); font-size: 30px; color: #fff; }
.stat-label { font-size: 13.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #f3c896; margin-top: 4px; }

/* Section scaffolding */
.sec { padding: 84px 0; }
.sec-alt { background: var(--paper); }
.sec-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.sec-head p { margin-top: 12px; font-size: 18px; }

/* Services grid (home + services overview) */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); text-decoration: none; }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.service-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { margin-bottom: 8px; }
.service-body p { font-size: 15px; flex: 1; }
.service-more { color: var(--orange); font-weight: 600; font-size: 15px; margin-top: 14px; }

/* Why / company teaser band */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.why-list { list-style: none; margin: 26px 0 30px; }
.why-list li { padding-left: 34px; position: relative; margin-bottom: 13px; color: var(--ink-2); font-weight: 600; }
.why-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; line-height: 24px; text-align: center;
  border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px;
}
.ama-card {
  background: var(--ink); color: #dce4f0; border-radius: var(--radius);
  padding: 30px 32px; box-shadow: var(--shadow);
}
.ama-card h3 { color: #fff; margin-bottom: 12px; }
.ama-card p { font-size: 15.5px; }
.ama-card .ama-quote { font-style: italic; color: #f3c896; }

/* CTA strip */
.cta-strip { background: linear-gradient(120deg, var(--orange), var(--orange-active)); color: #fff; text-align: center; padding: 76px 0; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #fff3e6; font-size: 18px; margin: 14px auto 30px; max-width: 560px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Leadership ===== */
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 10px; }
.leader-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.leader-card .l-name { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--ink); }
.leader-card .l-role { font-family: var(--mono); font-size: 13px; color: var(--orange); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; display: block; }

/* ===== Services list (overview page) ===== */
.services-list { margin-top: 10px; }
.service-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.service-row:first-child { padding-top: 0; }
.service-row img { border-radius: var(--radius); box-shadow: var(--shadow); }
.service-row h3 { margin-bottom: 8px; }
.service-row a.service-link { font-weight: 600; color: var(--orange); }

/* ===== Contact ===== */
.contact-form { max-width: 620px; }
.contact-form label { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; margin: 16px 0 5px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--orange); outline: none; }
.contact-form textarea { min-height: 150px; }
.hp-field { display: none; }
.contact-form button { margin-top: 20px; }
.contact-info { display: flex; gap: 30px; flex-wrap: wrap; margin: 24px 0 40px; }
.contact-info .ci-item { font-size: 15.5px; }
.contact-info .ci-item strong { display: block; color: var(--ink); font-family: var(--mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #b9c3d6; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 62px 22px 50px; }
.f-col h4 { color: #fff; margin-bottom: 16px; }
.f-about img { margin-bottom: 14px; }
.f-about p { margin-bottom: 12px; }
.f-phone a { font-family: var(--mono); color: #fff; font-size: 19px; }
.f-fax { font-family: var(--mono); font-size: 14px; }
.f-mail { color: #ffcb92; }
.f-list { list-style: none; }
.f-list li { margin-bottom: 9px; }
.f-list a { color: #b9c3d6; }
.f-list a:hover { color: #fff; }
.f-social { display: flex; gap: 16px; margin-top: 18px; }
.f-social a { color: #ffcb92; font-weight: 600; font-size: 14px; }

.sub-footer { border-top: 1px solid rgba(255,255,255,.12); }
.sub-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; font-size: 13.5px; flex-wrap: wrap; }
.powered a { color: #ffcb92; }

/* ===== 404 ===== */
.notfound { text-align: center; padding: 110px 22px 130px; }
.notfound .code { font-family: var(--mono); font-size: 15px; color: var(--orange); letter-spacing: 3px; }
.notfound h1 { margin: 10px 0 14px; }
.notfound p { margin-bottom: 28px; }

/* ===== Responsive ===== */
@media (min-width: 981px) { .nav-overlay { display: none; } }

@media (max-width: 980px) {
  .topbar-tag { display: none; }
  .header-row { height: 64px; }
  .mainbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }

  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 42px; flex-direction: column; gap: 4px;
    background: var(--ink); color: #fff; border: 0; border-radius: 10px;
    cursor: pointer; order: 3;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }

  #nav-menu {
    display: none; position: fixed; top: 0; right: 0; bottom: 0;
    width: min(342px, 86vw); flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; box-shadow: -14px 0 44px rgba(22,50,74,.20);
    padding: 74px 16px 26px; overflow-y: auto; z-index: 120;
    transform: translateX(100%); transition: transform .26s ease;
  }
  #nav-menu.open { display: flex; transform: translateX(0); }
  .nav-close { display: block; }
  #nav-menu > li > a { font-size: 17px; padding: 14px 16px; border-radius: 10px; }
  .has-sub .sub {
    position: static; box-shadow: none; border: 0; padding: 2px 0 8px 16px;
    min-width: 0; border-radius: 0;
  }
  .has-sub .sub::before { display: none; }
  .nav-actions { order: 2; }
  .nav-actions .btn { padding: 9px 16px; }

  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .doc-scene { order: -1; }
  .lease-doc { width: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* S1 hero */
  .hero-grid > div:first-child { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  /* S3 why */
  .why-grid > div:first-child { text-align: center; }
  .why-list { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sec { padding: 60px 0; }
  .hero { padding: 54px 0 50px; }
  .contact-info { flex-direction: column; gap: 14px; }
  /* S2 buttons */
  .hero-btns, .cta-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn, .cta-btns .btn { width: 100%; text-align: center; }
  .why-grid .btn { white-space: normal; text-align: center; }
  /* S4 footer */
  .f-col { text-align: center; }
  .f-about > img, .f-brand-logo { display: block; margin-left: auto; margin-right: auto; }
  .f-verify { justify-content: center; }
  .f-social { justify-content: center; }
  .sub-row { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
}
