/* ============================================================
   AMIR REHMANI REAL ESTATE — MAIN STYLESHEET
   ============================================================ */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #1B3A6B;
  --primary-dark:   #102240;
  --primary-light:  #2a5298;
  --secondary:      #C9A84C;
  --secondary-dark: #a8893c;
  --secondary-lt:   #e0c06a;
  --dark:           #0D1B2A;
  --text:           #2C3E50;
  --text-lt:        #6B7280;
  --light:          #F8F9FA;
  --white:          #FFFFFF;
  --border:         #E5E7EB;
  --success:        #10B981;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --r:  8px;
  --rl: 16px;
  --rx: 24px;
  --t:  all .3s ease;
  --fh: 'Playfair Display', Georgia, serif;
  --fb: 'Poppins', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: var(--t); }
ul   { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 { font-family: var(--fh); font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; color: var(--text-lt); line-height: 1.8; }

/* ===== LAYOUT ===== */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px;  margin: 0 auto; padding: 0 24px; }
.section      { padding: 80px 0; }
.section-sm   { padding: 50px 0; }
.section-dark  { background: var(--primary); }
.section-light { background: var(--light); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.gold-line      { width: 60px; height: 3px; background: var(--secondary); margin: 14px auto; }
.gold-line-left { width: 60px; height: 3px; background: var(--secondary); margin: 14px 0; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  transition: var(--t);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.12); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo a { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name    { font-family: var(--fh); font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.logo-tagline { font-size: .62rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

.nav-menu { display: flex; align-items: center; }
.nav-menu > ul { display: flex; align-items: center; gap: 2px; }
.nav-menu > ul > li { position: relative; }
.nav-menu > ul > li > a {
  display: block; padding: 8px 13px;
  font-size: .87rem; font-weight: 500; color: var(--text);
  border-radius: 6px; white-space: nowrap;
}
.nav-menu > ul > li > a:hover { color: var(--primary); background: var(--light); }

.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: var(--t); z-index: 200;
  border-top: 3px solid var(--secondary);
}
.dropdown-menu li a { display: block; padding: 8px 14px; font-size: .84rem; border-radius: 5px; color: var(--text); }
.dropdown-menu li a:hover { background: var(--light); color: var(--primary); }

.btn-nav-cta {
  display: inline-block; padding: 9px 22px;
  background: var(--secondary); color: var(--white) !important;
  border-radius: 50px; font-weight: 600; font-size: .87rem;
}
.btn-nav-cta:hover { background: var(--secondary-dark) !important; transform: translateY(-1px); }

.menu-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--primary); }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  display: flex; align-items: center; padding-top: 74px;
  position: relative; overflow: hidden;
}
.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='%23ffffff' fill-opacity='0.025'%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/svg%3E");
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px; background: var(--white);
  clip-path: ellipse(55% 80px at 50% 80px);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
}
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.5);
  color: var(--secondary-lt); padding: 6px 18px; border-radius: 50px;
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.hero-text h1      { color: var(--white); margin-bottom: 18px; }
.hero-text h1 span { color: var(--secondary-lt); }
.hero-text > p     { color: rgba(255,255,255,.85); font-size: 1.12rem; margin-bottom: 28px; }
.hero-cta          { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats        { display: flex; gap: 28px; }
.hero-stat .number { font-family: var(--fh); font-size: 2rem; font-weight: 700; color: var(--secondary-lt); line-height: 1; }
.hero-stat .label  { font-size: .78rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* hero form card */
.hero-form-card { background: var(--white); border-radius: var(--rx); padding: 38px; box-shadow: var(--shadow-xl); }
.hero-form-card h3  { font-size: 1.25rem; margin-bottom: 5px; color: var(--primary); }
.hero-form-card > p { font-size: .84rem; color: var(--text-lt); margin-bottom: 18px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: var(--t); border: 2px solid transparent;
  font-family: var(--fb); white-space: nowrap;
}
.btn-primary      { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-primary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,.35); }
.btn-white         { background: var(--white); color: var(--primary); }
.btn-white:hover   { background: var(--light); transform: translateY(-2px); }
.btn-outline       { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-dark          { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-dark:hover    { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(27,58,107,.3); }
.btn-lg   { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 15px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: .88rem; color: var(--text); font-family: var(--fb);
  transition: var(--t); background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,58,107,.1); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: .75rem; color: var(--text-lt); margin-top: 8px; }
.form-success { text-align: center; padding: 30px; display: none; }
.form-success i { font-size: 3rem; color: var(--success); margin-bottom: 12px; }
.form-success h4 { color: var(--primary); margin-bottom: 8px; }

/* ===== CARDS ===== */
.card {
  background: var(--white); border-radius: var(--rl); padding: 30px;
  box-shadow: var(--shadow); transition: var(--t); border: 1px solid var(--border);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--r); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.4rem; margin-bottom: 18px;
}
.card-icon.gold { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }

/* ===== STATS ===== */
.stats-section { background: var(--primary); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat-number { font-family: var(--fh); font-size: 2.8rem; font-weight: 700; color: var(--secondary-lt); line-height: 1; display: block; }
.stat-label  { color: rgba(255,255,255,.8); font-size: .88rem; margin-top: 7px; font-weight: 500; }

/* ===== CITY CARDS ===== */
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px,1fr)); gap: 14px; }
.city-card {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--rl);
  padding: 22px; text-align: center; cursor: pointer; transition: var(--t);
  display: block; color: inherit;
}
.city-card:hover { border-color: var(--secondary); background: var(--light); transform: translateY(-3px); box-shadow: var(--shadow); }
.city-card i  { font-size: 1.8rem; color: var(--secondary); margin-bottom: 8px; }
.city-card h4 { font-size: .95rem; margin-bottom: 4px; color: var(--primary); }
.city-card p  { font-size: .78rem; margin: 0; }

/* ===== STEPS ===== */
.steps-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 30px; }
.step-item   { text-align: center; }
.step-number {
  width: 58px; height: 58px; background: var(--secondary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 1.4rem; font-weight: 700; color: var(--white);
  margin: 0 auto 18px;
}
.step-item h4 { margin-bottom: 8px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 22px; }
.testimonial-card {
  background: var(--white); border-radius: var(--rl); padding: 28px;
  box-shadow: var(--shadow); border-left: 4px solid var(--secondary);
}
.stars    { color: var(--secondary); margin-bottom: 14px; font-size: 1rem; }
.t-text   { font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--fh); font-size: 1.1rem; font-weight: 700;
  flex-shrink: 0;
}
.t-name     { font-weight: 600; color: var(--primary); font-size: .95rem; }
.t-location { font-size: .78rem; color: var(--text-lt); }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)); padding: 70px 0; text-align: center; }
.cta-banner h2   { color: var(--white); margin-bottom: 14px; }
.cta-banner p    { color: rgba(255,255,255,.9); font-size: 1.08rem; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-dark:hover { background: var(--primary-dark); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 130px 0 80px; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 60px; background: var(--white);
  clip-path: ellipse(55% 60px at 50% 60px);
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero > .container > p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 7px; margin-bottom: 18px; font-size: .83rem; color: rgba(255,255,255,.65); }
.breadcrumb a    { color: var(--secondary-lt); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ===== LEAD FORM SECTION ===== */
.lead-section { background: var(--light); padding: 80px 0; }
.lead-wrap { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.lead-card {
  background: var(--white); border-radius: var(--rx); padding: 38px;
  box-shadow: var(--shadow-lg); position: sticky; top: 90px;
}
.lead-card h3   { font-size: 1.2rem; margin-bottom: 4px; color: var(--primary); }
.lead-card > p  { font-size: .84rem; margin-bottom: 22px; color: var(--text-lt); }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 17px 22px;
  background: var(--white); border: none; cursor: pointer;
  font-family: var(--fb); font-size: .95rem; font-weight: 600; color: var(--primary);
  display: flex; justify-content: space-between; align-items: center; transition: var(--t);
}
.faq-q:hover { background: var(--light); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-a.open { max-height: 400px; padding: 0 22px 17px; }

/* ===== MARKET STATS ===== */
.market-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mstat {
  background: var(--white); border-radius: var(--rl); padding: 22px;
  text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--secondary);
}
.mstat .val   { font-size: 1.7rem; font-family: var(--fh); font-weight: 700; color: var(--primary); display: block; }
.mstat .label { font-size: .78rem; color: var(--text-lt); margin-top: 4px; }

/* ===== SPLIT LAYOUT ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img {
  border-radius: var(--rx); height: 400px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.25); font-size: 5rem;
}

/* ===== FEATURES LIST ===== */
.feat-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border); color: var(--text);
}
.feat-list li:last-child { border-bottom: none; }
.feat-list li i { color: var(--secondary); margin-top: 2px; flex-shrink: 0; }

/* ===== NEIGHBORHOOD CARDS ===== */
.nh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 18px; }
.nh-card { background: var(--white); border-radius: var(--rl); padding: 22px; text-align: center; box-shadow: var(--shadow); transition: var(--t); }
.nh-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.nh-card h4 { color: var(--primary); margin-bottom: 6px; font-size: 1rem; }
.nh-card p  { font-size: .82rem; margin: 0; }

/* ===== MORTGAGE CALC ===== */
.calc-result { background: var(--primary); border-radius: var(--rl); padding: 28px; text-align: center; margin-top: 18px; color: var(--white); }
.calc-result .payment { font-size: 2.4rem; font-family: var(--fh); font-weight: 700; color: var(--secondary-lt); }
.calc-result .p-label { font-size: .88rem; opacity: .8; margin-bottom: 18px; }
.calc-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.calc-details span { display: block; font-size: .72rem; opacity: .7; margin-bottom: 2px; }
input[type="range"] { width: 100%; height: 5px; border-radius: 3px; background: var(--border); outline: none; border: none; padding: 0; margin: 10px 0; cursor: pointer; -webkit-appearance: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--secondary); cursor: pointer; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer .logo-name    { color: var(--white); font-size: 1.45rem; }
.footer .logo-tagline { color: var(--secondary); }
.footer-brand p { color: rgba(255,255,255,.6); margin: 18px 0 22px; font-size: .87rem; }
.footer-social  { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-size: .85rem; transition: var(--t);
}
.footer-social a:hover { background: var(--secondary); }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; font-family: var(--fb); font-weight: 600; position: relative; padding-bottom: 9px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--secondary); }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .84rem; }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 4px; }
.fc-contact-item { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.fc-contact-item i { color: var(--secondary); width: 18px; margin-top: 3px; flex-shrink: 0; }
.fc-contact-item span,
.fc-contact-item a { color: rgba(255,255,255,.7); font-size: .84rem; line-height: 1.5; }
.fc-contact-item a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .78rem; margin: 0; }
.footer-btm-links { display: flex; gap: 18px; }
.footer-btm-links a { color: rgba(255,255,255,.4); font-size: .78rem; }
.footer-btm-links a:hover { color: var(--secondary); }

/* ===== NOTICE ===== */
.notice { background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3); border-radius: var(--r); padding: 14px 18px; font-size: .84rem; color: var(--text); margin-bottom: 18px; }
.notice i { color: var(--secondary); margin-right: 7px; }

/* ===== BENEFIT CARDS (dark bg) ===== */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; }
.benefit-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: var(--rl); padding: 24px; color: var(--white); }
.benefit-card i  { font-size: 1.9rem; color: var(--secondary-lt); margin-bottom: 14px; }
.benefit-card h4 { color: var(--white); margin-bottom: 8px; }
.benefit-card p  { color: rgba(255,255,255,.7); font-size: .84rem; margin: 0; }

/* ===== MISC ===== */
.precon-badge { display: inline-block; background: var(--secondary); color: var(--white); padding: 4px 12px; border-radius: 50px; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.tag-list     { display: flex; flex-wrap: wrap; gap: 8px; }
.tag          { background: var(--light); border: 1px solid var(--border); padding: 5px 14px; border-radius: 50px; font-size: .8rem; color: var(--text); }
.highlight-box { background: linear-gradient(135deg, rgba(27,58,107,.05), rgba(201,168,76,.08)); border: 1px solid rgba(201,168,76,.25); border-radius: var(--rl); padding: 28px; }

/* ===== ANIMATE IN ===== */
.ani { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.ani.show { opacity: 1; transform: translateY(0); }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gold   { color: var(--secondary); }
.text-white  { color: var(--white) !important; }
.text-primary{ color: var(--primary); }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mb-0  { margin-bottom: 0 !important; }
.fw-700{ font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; max-width: 680px; }
  .hero-inner .hero-form-card { display: none; }
  .hero { min-height: 80vh; text-align: center; }
  .hero-cta, .hero-stats { justify-content: center; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .lead-wrap { grid-template-columns: 1fr; }
  .lead-card { position: static; order: -1; }
}
@media (max-width: 768px) {
  .section { padding: 55px 0; }
  h1 { font-size: 1.9rem; } h2 { font-size: 1.6rem; }
  .nav-menu {
    display: none; position: fixed; top: 74px; left: 0; right: 0;
    background: var(--white); padding: 18px; box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-menu.active { display: flex; }
  .nav-menu > ul { flex-direction: column; gap: 0; }
  .nav-menu > ul > li > a { padding: 11px 15px; }
  .has-dropdown .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; border-left: 3px solid var(--secondary); padding: 4px 0 4px 14px; margin: 4px 0; display: none; }
  .has-dropdown.open .dropdown-menu { display: block; }
  .menu-toggle { display: block; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .market-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-img { height: 220px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .calc-details { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2,1fr); }
  .hero-badge { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero { padding-top: 74px; }
}
