/* ============================================================
   MySpace Realty — Main Stylesheet
   Fonts: Playfair Display (display) + DM Sans (body)
   Premium, editorial real estate aesthetic
   ============================================================ */

/* Fonts loaded via HTML head */

/* ── CSS Variables ── */
:root {
  /* Brand Colors */
  --red:       #C8102E;
  --red-d:     #A00D24;
  --red-light: #FFF0F2;
  --red-mid:   #F5C2CA;
  --navy:      #0D1B3E;
  --navy-mid:  #1A3060;
  --navy-light:#EDF0F8;
  --gold:      #C9A84C;
  --gold-light:#FBF5E6;

  /* Neutrals */
  --white:     #FFFFFF;
  --off-white: #FAFAF8;
  --gray-50:   #F7F6F4;
  --gray-100:  #EFEDE9;
  --gray-200:  #E0DDD8;
  --gray-300:  #C8C4BC;
  --gray-400:  #9B9690;
  --gray-500:  #726E68;
  --gray-600:  #504C47;
  --gray-700:  #353230;
  --gray-900:  #1A1815;

  /* Functional */
  --green:     #1A7A4E;
  --green-light:#E8F5EE;
  --amber:     #B45309;
  --amber-light:#FEF3C7;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;
  --font-mono:    'Montserrat', system-ui, sans-serif;

  /* Spacing */
  --nav-h:     72px;
  --max-w:     1320px;
  --section-y: 96px;

  /* Radii */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(13,27,62,.06);
  --shadow-md:  0 4px 20px rgba(13,27,62,.09);
  --shadow-lg:  0 12px 48px rgba(13,27,62,.12);
  --shadow-xl:  0 24px 80px rgba(13,27,62,.16);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea { font-family: var(--font-body); }

/* ── Utilities ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.wrap-sm { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-y) 0; }
.section-sm { padding: 64px 0; }
.bg-off { background: var(--off-white); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); }
.bg-gray { background: var(--gray-50); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Section Headers ── */
.section-overline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.section-title em { font-style: italic; color: var(--red); }
.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 560px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.section-head-center { text-align: center; margin-bottom: 52px; }
.section-head-center .section-subtitle { margin: 14px auto 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(200,16,46,.28);
}
.btn-primary:hover {
  background: var(--red-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,16,46,.38);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
}
.btn-outline-dark {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.btn-outline-dark:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn-ghost {
  padding: 0;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
}
.btn-ghost:hover { gap: 12px; }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(201,168,76,.3);
}
.btn-gold:hover {
  background: #B8963E;
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ── Navigation ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow .3s;
}
#main-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
  cursor: pointer;
}
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all .2s;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--gray-50); color: var(--gray-900); }
.nav-link .arr { font-size: 9px; opacity: .5; transition: transform .2s; }
.nav-link[aria-expanded="true"] .arr { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-cta {
  padding: 10px 22px;
  background: var(--red);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s var(--ease-out);
  letter-spacing: .01em;
}
.nav-cta:hover { background: var(--red-d); transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  display: block;
  transition: all .3s;
}

/* ── Dropdown Menus ── */
.dd-wrapper {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xl);
  z-index: 800;
  display: none;
}
.dd-wrapper.open {
  display: block;
  animation: ddSlide .2s var(--ease-out);
}
@keyframes ddSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dd-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 32px 24px;
  display: grid;
  gap: 48px;
}
.dd-4 { grid-template-columns: 1fr 1fr 1fr 240px; }
.dd-3 { grid-template-columns: 1fr 1fr 1fr; }
.dd-col h5 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.dd-col a, .dd-col .dd-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--gray-600);
  transition: color .15s;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.dd-col a:hover, .dd-col .dd-btn:hover { color: var(--red); }
.dd-col .dd-sep { height: 1px; background: var(--gray-100); margin: 8px 0; }
.dd-card-col {
  background: linear-gradient(150deg, var(--navy) 0%, #1a3060 60%, #2d1448 100%);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  color: #fff;
}
.dd-card-col .dc-icon { font-size: 32px; margin-bottom: 12px; }
.dd-card-col h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.dd-card-col p { font-size: 13px; opacity: .6; line-height: 1.6; margin-bottom: 20px; }
.dd-card-col .dc-btn {
  display: block;
  padding: 10px 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.dd-card-col .dc-btn:hover { background: rgba(255,255,255,.22); }
.dd-quick-row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 32px 22px;
  border-top: 1px solid var(--gray-50);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dd-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
}
.dd-chip:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.dd-overlay { position: fixed; inset: 0; z-index: 700; display: none; }
.dd-overlay.open { display: block; }

/* ── Mobile Nav ── */
#mobile-nav {
  position: fixed;
  top: 0; right: -300px;
  bottom: 0;
  width: 280px;
  background: var(--white);
  z-index: 1000;
  overflow-y: auto;
  transition: right .3s var(--ease-out);
  padding: 24px 20px;
  box-shadow: -8px 0 48px rgba(0,0,0,.15);
}
#mobile-nav.open { right: 0; }
.mob-close {
  float: right;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  border: none;
  color: var(--gray-600);
}
.mob-links { margin-top: 60px; display: flex; flex-direction: column; gap: 2px; }
.mob-links a, .mob-links button {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: background .15s;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.mob-links a:hover, .mob-links button:hover { background: var(--gray-50); }
.mob-sep { height: 1px; background: var(--gray-100); margin: 8px 0; }
#mob-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
  display: none;
}
#mob-overlay.open { display: block; }

/* ── Page Layout ── */
.page { display: none; min-height: 100vh; padding-top: var(--nav-h); }
.page.active { display: block; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all .3s var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.card-pad { padding: 28px; }

/* ── Tags / Pills ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}
.tag-red    { background: var(--red-light);   color: var(--red); }
.tag-navy   { background: var(--navy-light);  color: var(--navy); }
.tag-gold   { background: var(--gold-light);  color: #7A5C1A; }
.tag-green  { background: var(--green-light); color: var(--green); }
.tag-gray   { background: var(--gray-100);    color: var(--gray-600); }

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.grid-auto-lg { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }

/* ── Divider ── */
.divider { height: 1px; background: var(--gray-100); margin: 0; }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  background: var(--gold);
  color: #fff;
  letter-spacing: .03em;
}

/* ── Stat Block ── */
.stat-block { text-align: center; }
.stat-n {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--white);
  display: block;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-l {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-500);
}
.form-control {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.form-control:focus { border-color: var(--red); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ── Toast ── */
#toast {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  transform: translateX(140%);
  transition: transform .35s var(--ease-out);
  max-width: 320px;
  border-left: 3px solid var(--gold);
}
#toast.show { transform: translateX(0); }

/* ── Cookie Banner ── */
#cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9900;
  background: var(--navy);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
#cookie-bar.hidden { display: none; }
.cookie-text {
  flex: 1;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  min-width: 220px;
  line-height: 1.6;
}
.cookie-text a { color: var(--gold); text-decoration: underline; cursor: pointer; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all .2s;
}
.cookie-accept { background: var(--red); color: #fff; }
.cookie-accept:hover { background: var(--red-d); }
.cookie-decline { background: rgba(255,255,255,.1); color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.15); }
.cookie-decline:hover { background: rgba(255,255,255,.18); }

/* ── Modals ── */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(13,27,62,.5);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 44px;
  position: relative;
  animation: modalIn .25s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--gray-600);
  cursor: pointer;
  border: none;
  transition: background .15s;
}
.modal-close:hover { background: var(--gray-200); }
.modal-box h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.modal-box .modal-date { font-size: 12px; color: var(--gray-400); margin-bottom: 24px; font-family: var(--font-mono); }
.modal-box h3 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin: 20px 0 8px; }
.modal-box p, .modal-box li { font-size: 14px; color: var(--gray-600); line-height: 1.75; margin-bottom: 6px; }
.modal-box ul { padding-left: 16px; list-style: disc; }

/* ── Scroll Animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* ── Footer ── */
#site-footer {
  background: #ffffff;
  color: rgba(0,0,0,.6);
  padding: 72px 0 0;
  border-top: 1px solid #e8e8e8;
}
.footer-cta-bar {
  background: var(--red);
  margin-bottom: 40px;
  padding: 20px 32px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta-bar p { font-size: 15px; font-weight: 600; color: #fff; }
/* City Selector in Footer */
.footer-city-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: #f7f7f7;
  border-radius: 12px;
  flex-wrap: wrap;
}
.footer-city-label { font-size: 13px; font-weight: 600; color: #444; }
.footer-city-btns { display: flex; gap: 10px; }
.footer-city-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  transition: all .2s;
}
.footer-city-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.footer-city-btn:hover:not(.active) { border-color: var(--navy); color: var(--navy); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}
.footer-brand img { height: 40px; width: auto; object-fit: contain; margin-bottom: 12px; filter: none; }
.footer-tagline { font-size: 11px; font-style: italic; color: rgba(0,0,0,.4); margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.75; max-width: 260px; color: rgba(0,0,0,.6); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(0,0,0,.4);
  margin-bottom: 18px;
}
.footer-col a, .footer-col button {
  display: block;
  font-size: 13px;
  color: rgba(0,0,0,.55);
  padding: 5px 0;
  transition: color .15s;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.footer-col a:hover, .footer-col button:hover { color: var(--navy); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: rgba(0,0,0,.55);
  transition: all .2s;
  text-decoration: none;
}
.social-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: rgba(0,0,0,.5); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal button {
  font-size: 12px;
  color: rgba(0,0,0,.4);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.footer-legal button:hover { color: var(--navy); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dd-4 { grid-template-columns: 1fr 1fr 1fr; }
  .dd-card-col { display: none; }
}
@media (max-width: 900px) {
  :root { --section-y: 64px; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .wrap, .wrap-sm { padding: 0 20px; }
  .dd-4 { grid-template-columns: 1fr 1fr; }
  .dd-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --section-y: 52px; --nav-h: 62px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .modal-box { padding: 28px 24px; }
  .cookie-text { min-width: 100%; }
  .cookie-btns { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ── City Selector Dropdown ─────────────────────────────── */
.city-picker-btn { display: flex; align-items: center; gap: 6px; }
.city-flag { font-size: 16px; }

.dd-city-wrapper {
  min-width: 280px !important;
  max-width: 320px !important;
  left: 50%;
  transform: translateX(-50%);
}

.city-dd-inner { padding: 8px 0; }

.city-dd-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 8px 20px 12px;
  font-family: var(--font-body);
}

.city-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--gray-100);
  font-family: var(--font-body);
}
.city-option:last-child { border-bottom: none; }
.city-option:hover { background: var(--gray-50); }
.city-option.active { background: var(--navy-light); }
.city-option.active strong { color: var(--navy); }

.city-option-icon { font-size: 24px; flex-shrink: 0; }
.city-option-text { flex: 1; text-align: left; }
.city-option-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--gray-800); }
.city-option-text span { font-size: 12px; color: var(--gray-400); }

.city-check { color: var(--navy); font-weight: 700; font-size: 16px; }

/* Mobile city row */
.mob-city-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4px;
}
.mob-city-label { font-size: 12px; color: rgba(255,255,255,0.5); font-family: var(--font-body); flex-shrink:0; }
.mob-city-btn {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.7) !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-family: var(--font-body) !important;
  cursor: pointer;
  transition: all 0.2s;
}
.mob-city-btn.active {
  background: var(--navy-light) !important;
  border-color: var(--navy) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}
.mob-social-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  padding: 10px 0 !important;
  font-size: 14px !important;
  font-family: var(--font-body) !important;
  transition: color 0.2s;
}
.mob-social-link:hover { color: #fff !important; }

/* ── Resume Upload Box ────────────────────────────────────── */
.resume-upload-box {
  border: 2px dashed var(--gray-300);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--gray-50);
  font-family: var(--font-body);
}
.resume-upload-box:hover, .resume-upload-box.drag-over {
  border-color: var(--navy);
  background: var(--navy-light);
}
.resume-upload-icon { font-size: 32px; margin-bottom: 10px; }
.resume-upload-text { font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.resume-upload-hint { font-size: 12px; color: var(--gray-400); }

/* Social link with SVG */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.social-link:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* Contact LinkedIn/IG icon update */
.ig-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
