/* ═══════════════════════════════════════════════════════════════
   MAPLE LIFE REALTY — NAV SYSTEM v1.0
   Dark navy + gold. Hamburger-only on ALL screen sizes.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

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

/* ── UTILITY BAR ─────────────────────────────────────────── */
.ml-utility {
  background: #f5f5f5;
  color: #555;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 36px;
  position: relative;
  z-index: 1000;
}
.ml-utility a { color: #555; text-decoration: none; }
.ml-utility a:hover { color: #cc1122; }
.ml-utility-left  { display: flex; align-items: center; gap: 20px; }
.ml-utility-right { display: flex; align-items: center; gap: 20px; }
.ml-utility-sep   { color: #ccc; }

/* ── MAIN NAV BAR ────────────────────────────────────────── */
.ml-nav {
  background: #ffffff;
  border-bottom: 2px solid #cc1122;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow .2s, background .2s;
}
.ml-nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.ml-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 76px;
  gap: 0;
}

/* ── LOGO ────────────────────────────────────────────────── */
.ml-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  gap: 2px;
  flex-shrink: 0;
  z-index: 2;
}
.ml-logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  letter-spacing: .02em;
  line-height: 1;
}
.ml-logo-main em {
  font-style: italic;
  font-weight: 400;
  color: #cc1122;
}
.ml-logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  color: #999;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ── RIGHT SIDE: phone + quote + hamburger ───────────────── */
.ml-nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 2;
}
.ml-nav-phone {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .15s;
}
.ml-nav-phone:hover { color: #cc1122; }

.ml-btn-cta {
  background: #cc1122;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.ml-btn-cta:hover { background: #aa0011; }

/* ── HAMBURGER — visible on ALL screen sizes ─────────────── */
.ml-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 1.5px solid rgba(204,17,34,.3);
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
  padding: 0;
}
.ml-hamburger:hover {
  border-color: #cc1122;
  background: rgba(204,17,34,.07);
}
.ml-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #cc1122;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.ml-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ml-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ml-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   SLIDE-DOWN DRAWER MENU
   max-height animation only — NO display:none
   ══════════════════════════════════════════════════════════ */
.ml-drawer {
  background: #ffffff;
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 2px solid #c9a84c;
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.4,0,.2,1);
}
.ml-drawer.open {
  max-height: 90vh;
  overflow-y: auto;
}

/* Drawer inner layout — 2-column on desktop, 1-col on mobile */
.ml-drawer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 280px;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px;
}

.ml-drawer-col { padding: 0 32px 0 0; }
.ml-drawer-col:first-child { padding-left: 0; }

.ml-drawer-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #cc1122;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(204,17,34,.15);
}
.ml-drawer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ml-drawer-col ul li {
  margin-bottom: 2px;
}
.ml-drawer-col ul li a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  padding: 9px 0;
  border-bottom: 1px solid #f0f0f0;
  letter-spacing: .02em;
  transition: color .12s, padding-left .12s;
}
.ml-drawer-col ul li a:hover {
  color: #cc1122;
  padding-left: 6px;
}
.ml-drawer-col ul li a strong {
  font-weight: 600;
  color: #111;
}

/* Drawer promo panel */
.ml-drawer-promo {
  background: #fff5f5;
  border: 1px solid rgba(204,17,34,.15);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ml-drawer-promo img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.ml-drawer-promo-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #cc1122;
}
.ml-drawer-promo-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
}
.ml-drawer-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #cc1122;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 18px;
  text-decoration: none;
  transition: background .15s;
  width: fit-content;
}
.ml-drawer-promo-btn:hover { background: #aa0011; }

/* Drawer bottom bar */
.ml-drawer-bottom {
  border-top: 1px solid #eee;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ml-drawer-bottom a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #888;
  text-decoration: none;
  letter-spacing: .06em;
  transition: color .12s;
}
.ml-drawer-bottom a:hover { color: #cc1122; }
.ml-drawer-cta {
  background: #cc1122;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  letter-spacing: .14em !important;
  text-transform: uppercase;
}
.ml-drawer-cta:hover { background: #aa0011; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ml-drawer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px; }
  .ml-drawer-promo { display: none; }
  .ml-nav-phone { display: none; }
  .ml-nav-inner { padding: 0 24px; }
  .ml-utility   { padding: 0 24px; font-size: 10px; }
  .ml-drawer-bottom { padding: 16px 24px; }
}

@media (max-width: 640px) {
  .ml-drawer-inner { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; }
  .ml-btn-cta      { display: none; }
  .ml-utility-left { display: none; }
  .ml-utility      { justify-content: center; }
  .ml-nav-inner    { padding: 0 20px; }
  .ml-drawer-bottom { padding: 16px 20px; gap: 10px; }
}
