/* =========================================================
   HOMES BY MADHU — Header & Footer
   Utility bar, primary navigation, mobile menu trigger, and
   site footer. Mobile nav collapse behavior lives in responsive.css.
   ========================================================= */

/* ── Top Bar ── */
.top-bar {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.8rem;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--white); }
.divider { opacity: 0.4; }
.top-bar-license { margin-left: auto; color: var(--gold-light); }

/* ── Navbar ── */
.site-header {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  min-height: 82px;
}
.brand { display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 5px; min-width: 132px; }
.brand-kicker { grid-column: 1 / -1; color: var(--gold); font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; line-height: 1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem; font-weight: 600;
  color: var(--white); line-height: 1;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.brand-sub { color: var(--gold); font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase; padding-bottom: 2px; }

.nav-links {
  display: flex; align-items: center; gap: 1px;
}
.nav-links li a {
  display: block; padding: 29px 9px 25px; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.035em; color: var(--white); text-transform: uppercase;
  border-bottom: 3px solid transparent; transition: all var(--transition);
}
.nav-links li a:hover, .nav-links li a.active { color: var(--red); border-bottom-color: var(--red); }
.nav-links .nav-cta {
  background: var(--red); color: var(--white) !important;
  padding: 11px 15px; margin-left: 8px; border-radius: 3px; border-bottom: 0;
}
.nav-links .nav-cta:hover, .nav-links .nav-cta.active { background: var(--red-dark) !important; }

.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.mobile-menu-btn span {
  width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: all var(--transition);
}

/* ── Footer ── */
.footer { background: var(--black); color: rgba(255,255,255,0.72); padding: 64px 0 0; border-top: 4px solid var(--red); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 48px;
}
.footer-name {
  display: block; font-family: var(--font-serif);
  font-size: 1.2rem; color: var(--white); margin-bottom: 4px;
}
.footer-kw { font-size: 0.75rem; color: var(--gold-light); letter-spacing: 0.04em; }
.footer-desc { font-size: 0.85rem; margin-top: 16px; line-height: 1.7; opacity: 0.75; }
.footer-col h2 {
  font-family: var(--font-sans); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold-light); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.87rem; opacity: 0.75; transition: opacity var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--white); }
.footer-contact { margin-top: 16px; font-size: 0.85rem; line-height: 1.9; opacity: 0.75; font-style: normal; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--gold-light); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 0.78rem; opacity: 0.55;
}
