/* =============================================================
   Harbor Gates Rentals — Design System v3 (Light Modern)
   Light, balanced, premium real estate aesthetic.
   Outfit font, mostly white/paper with one dark accent band.
   Mobile-stable: zero horizontal overflow, no 100vw tricks.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --hg-bg: #FAFBFD;
  --hg-bg-alt: #F2F5F9;
  --hg-bg-warm: #FFF9EE;
  --hg-white: #FFFFFF;
  --hg-line: #E6EAF0;
  --hg-line-soft: #F0F2F6;
  --hg-line-strong: #D8DEE6;
  --hg-navy: #0B3954;
  --hg-navy-deep: #08283D;
  --hg-navy-light: #1E5C7A;
  --hg-ink: #0F1B2D;
  --hg-ink-soft: #475569;
  --hg-ink-muted: #64748B;
  --hg-amber: #F5A623;
  --hg-amber-deep: #E68900;
  --hg-amber-soft: #FFC04D;
  --hg-amber-tint: #FFF1D6;
  --hg-coral: #FF8C66;
  --hg-sky: #5BA8D6;
  --hg-mint: #60D4A2;
  --hg-shadow-sm: 0 2px 8px rgba(15,27,45,0.04), 0 1px 2px rgba(15,27,45,0.04);
  --hg-shadow: 0 8px 24px -8px rgba(15,27,45,0.10), 0 2px 6px rgba(15,27,45,0.04);
  --hg-shadow-lg: 0 24px 48px -16px rgba(11,57,84,0.16), 0 4px 12px rgba(15,27,45,0.06);
  --hg-shadow-amber: 0 12px 28px -8px rgba(245,166,35,0.45), inset 0 1px 0 rgba(255,255,255,0.5);
  --hg-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hg-radius-xs: 6px;
  --hg-radius-sm: 10px;
  --hg-radius: 14px;
  --hg-radius-lg: 20px;
  --hg-radius-xl: 28px;
  --hg-radius-pill: 999px;
}

/* =============================================================
   GLOBAL RESETS — mobile-stable foundation
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--hg-bg) !important; color: var(--hg-ink); font-family: var(--hg-font); font-size: 16px; line-height: 1.55; margin: 0; padding: 0; min-height: 100vh; }
img, video, iframe, picture, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--hg-font); font-weight: 800; letter-spacing: -0.022em; color: var(--hg-ink); margin: 0; line-height: 1.12; }
p { color: var(--hg-ink-soft); margin: 0; }
a { color: var(--hg-navy); text-decoration: none; transition: color .15s; }
a:hover { color: var(--hg-amber-deep); }
ul, ol { margin: 0; padding: 0; }

/* Houzez chrome strip */
.bt-page-title, .breadcrumbs, .page-header, .houzez-page-title, .houzez-breadcrumb, header.entry-header > .entry-title, .page-title-wrap, .bt-page-title-wrap, footer[itemtype*="WPFooter"], .footer-wrap, .footer-widget-area, .copyrights, .copyrights-row { display: none !important; }
#wrapper, .container-fluid, .bt-content-wrap, .property-content-wrap, .single-property-wrap, .bt-page-content, .houzez-content, .archive-property, .blog-archive { background: transparent !important; padding: 0 !important; }

.hg-skip { position: absolute; left: -9999px; }
.hg-skip:focus { left: 16px; top: 16px; padding: 12px 18px; background: var(--hg-amber); color: var(--hg-ink); border-radius: var(--hg-radius-pill); z-index: 10001; font-weight: 700; }

#hg-main { display: block; width: 100%; max-width: 100%; }

/* =============================================================
   HEADER — white sticky with subtle elevation, real logo
   ============================================================= */
.hg-site-header { font-family: var(--hg-font); position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--hg-line); transition: box-shadow .25s ease; }
.hg-site-header.is-scrolled { box-shadow: var(--hg-shadow-sm); background: rgba(255,255,255,0.95); }

.hg-promo-strip { background: linear-gradient(90deg, var(--hg-amber-tint) 0%, #FFF7E2 50%, var(--hg-amber-tint) 100%); color: var(--hg-navy); padding: 8px 16px; border-bottom: 1px solid rgba(245,166,35,0.18); overflow: hidden; }
.hg-promo-strip__inner { max-width: 1380px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.hg-promo-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hg-promo-item svg { color: var(--hg-amber-deep); flex-shrink: 0; }

.hg-header-main { padding: 14px 20px; }
.hg-header-main__inner { max-width: 1380px; margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.hg-logo { flex-shrink: 0; display: inline-flex; align-items: center; text-decoration: none; }
.hg-logo img { height: 64px; width: auto; max-height: 64px; display: block; object-fit: contain; transition: transform .15s; }
.hg-logo:hover img { transform: scale(1.03); }

.hg-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.hg-nav-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.hg-nav-menu a { display: inline-block; padding: 10px 16px; color: var(--hg-ink-soft); font-size: 14.5px; font-weight: 500; border-radius: var(--hg-radius-pill); transition: all .15s; text-decoration: none; }
.hg-nav-menu a:hover, .hg-nav-menu .current-menu-item > a { color: var(--hg-navy); background: var(--hg-bg-alt); }

.hg-header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: linear-gradient(120deg, var(--hg-amber) 0%, var(--hg-amber-deep) 100%); color: var(--hg-white) !important; border-radius: var(--hg-radius); font-weight: 700; font-size: 14.5px; box-shadow: var(--hg-shadow-amber); transition: transform .2s, box-shadow .2s; flex-shrink: 0; }
.hg-header-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -8px rgba(245,166,35,0.55), inset 0 1px 0 rgba(255,255,255,0.5); color: var(--hg-white); }

.hg-menu-trigger { display: none; background: var(--hg-bg-alt); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-sm); padding: 9px 11px; color: var(--hg-navy); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.hg-menu-trigger span { display: block; width: 22px; height: 2px; background: var(--hg-navy); transition: transform .25s, opacity .25s; }
.hg-menu-trigger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hg-menu-trigger.is-open span:nth-child(2) { opacity: 0; }
.hg-menu-trigger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* (mobile-nav rewritten below) */

@media (max-width: 1023px) {
  .hg-nav { display: none; }
  .hg-menu-trigger { display: inline-flex; }
  .hg-header-cta { display: none; }
  .hg-promo-strip__inner { gap: 16px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; padding: 2px 0; }
  .hg-promo-strip__inner::-webkit-scrollbar { display: none; }
  .hg-promo-strip__inner { scrollbar-width: none; }
  .hg-header-main { padding: 12px 16px; }
  .hg-header-main__inner { gap: 12px; }
  .hg-logo img { height: 56px; max-height: 56px; }
}

/* =============================================================
   HERO — LIGHT premium with soft contained glows
   ============================================================= */
.hg-hero { position: relative; width: 100%; max-width: 100%; padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 32px) clamp(48px, 6vw, 80px); overflow: clip; background: linear-gradient(180deg, var(--hg-bg) 0%, var(--hg-white) 60%, var(--hg-bg) 100%); isolation: isolate; }
.hg-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(11,57,84,0.07) 1px, transparent 0); background-size: 28px 28px; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 80%); opacity: 0.7; z-index: 0; }
.hg-hero__glow { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; }
.hg-hero__glow--1 { top: -20%; left: -10%; width: min(60vw, 560px); height: min(60vw, 560px); background: radial-gradient(circle, rgba(245,166,35,0.18) 0%, transparent 65%); }
.hg-hero__glow--2 { bottom: -25%; right: -8%; width: min(55vw, 500px); height: min(55vw, 500px); background: radial-gradient(circle, rgba(91,168,214,0.16) 0%, transparent 65%); }
.hg-hero__glow--3 { top: 35%; right: 25%; width: min(40vw, 360px); height: min(40vw, 360px); background: radial-gradient(circle, rgba(255,140,102,0.10) 0%, transparent 70%); }

.hg-hero__inner { width: 100%; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(18px, 2.5vh, 28px); position: relative; z-index: 1; }

.hg-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-pill); box-shadow: var(--hg-shadow-sm); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hg-navy); max-width: 100%; }
.hg-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hg-amber); box-shadow: 0 0 0 4px rgba(245,166,35,0.18); animation: hg-pulse 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes hg-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.65; } }

.hg-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hg-amber-deep); margin: 0; }

.hg-hero__h1 { font-size: clamp(34px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.028em; line-height: 1.04; margin: 0; max-width: 18ch; color: var(--hg-navy); }
.hg-grad { background: linear-gradient(120deg, var(--hg-amber-deep) 0%, var(--hg-amber) 35%, var(--hg-coral) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; display: inline-block; }
.hg-grad-sky { background: linear-gradient(120deg, var(--hg-navy) 0%, var(--hg-sky) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; display: inline-block; }

.hg-hero__sub { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.65; font-weight: 400; color: var(--hg-ink-soft); max-width: 660px; margin: 0; }
.hg-hero__sub strong { color: var(--hg-navy); font-weight: 700; }

.hg-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; max-width: 100%; }

.hg-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: var(--hg-radius); font-weight: 700; font-size: 15.5px; letter-spacing: 0.005em; text-decoration: none !important; cursor: pointer; transition: transform .22s, box-shadow .22s, background .22s, color .22s; line-height: 1; border: 0; font-family: var(--hg-font); white-space: nowrap; }
.hg-btn--primary { background: linear-gradient(120deg, var(--hg-amber) 0%, var(--hg-amber-deep) 100%); color: var(--hg-white) !important; box-shadow: var(--hg-shadow-amber); }
.hg-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(245,166,35,0.55), inset 0 1px 0 rgba(255,255,255,0.5); color: var(--hg-white); }
.hg-btn--ghost { color: var(--hg-navy) !important; border: 1.5px solid var(--hg-line-strong); background: var(--hg-white); box-shadow: var(--hg-shadow-sm); }
.hg-btn--ghost:hover { background: var(--hg-navy); color: var(--hg-white) !important; border-color: var(--hg-navy); }
.hg-btn--dark { background: var(--hg-navy); color: var(--hg-white) !important; }
.hg-btn--dark:hover { background: var(--hg-navy-deep); }
.hg-btn--outline-dark { background: transparent; color: var(--hg-navy) !important; border: 1.5px solid var(--hg-navy); }
.hg-btn--outline-dark:hover { background: var(--hg-navy); color: var(--hg-white) !important; }
.hg-btn--white-on-dark { background: var(--hg-white); color: var(--hg-navy) !important; }
.hg-btn--white-on-dark:hover { background: var(--hg-bg); transform: translateY(-2px); }
.hg-btn-arrow::after { content: '→'; transition: transform .15s; }
.hg-btn-arrow:hover::after { transform: translateX(4px); }

/* =============================================================
   STATS — light glass card with rich gradient numbers
   ============================================================= */
.hg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 880px; margin-top: 16px; padding: 16px; border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); background: rgba(255,255,255,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--hg-shadow); }
.hg-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; min-width: 0; }
.hg-stat__num { font-size: clamp(22px, 3vw, 34px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; background: linear-gradient(120deg, var(--hg-amber-deep) 0%, var(--hg-amber) 50%, var(--hg-navy) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hg-stat__lbl { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hg-ink-muted); text-align: center; }

.hg-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--hg-ink-soft); }
.hg-trust__item { display: inline-flex; align-items: center; gap: 8px; }
.hg-trust__item::before { content: ''; display: inline-block; width: 14px; height: 14px; flex-shrink: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E68900' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: contain; }

/* =============================================================
   SECTIONS — alternating light + one dark accent band
   ============================================================= */
.hg-section { padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 32px); position: relative; width: 100%; max-width: 100%; overflow: clip; }
.hg-section--white { background: var(--hg-white); }
.hg-section--paper { background: var(--hg-bg-alt); }
.hg-section--soft { background: linear-gradient(180deg, var(--hg-white) 0%, var(--hg-bg) 100%); }
.hg-section--warm { background: linear-gradient(180deg, var(--hg-bg-warm) 0%, var(--hg-white) 100%); }
.hg-section--dark { background: linear-gradient(135deg, var(--hg-navy) 0%, var(--hg-navy-deep) 100%); color: var(--hg-white); position: relative; overflow: clip; }
.hg-section--dark::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0); background-size: 28px 28px; pointer-events: none; opacity: 0.5; }
.hg-section--dark > * { position: relative; z-index: 1; }
.hg-section--dark h1, .hg-section--dark h2, .hg-section--dark h3 { color: var(--hg-white); }
.hg-section--dark p { color: rgba(255,255,255,0.78); }

.hg-section__inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.hg-section__head { text-align: center; margin: 0 auto clamp(32px, 4vw, 56px); max-width: 760px; }
.hg-section__eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hg-amber-deep); margin-bottom: 12px; }
.hg-section--dark .hg-section__eyebrow { color: var(--hg-amber-soft); }
.hg-section__title { font-size: clamp(28px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; color: var(--hg-navy); }
.hg-section--dark .hg-section__title { color: var(--hg-white); }
.hg-section__lede { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; color: var(--hg-ink-soft); margin: 0; }
.hg-section--dark .hg-section__lede { color: rgba(255,255,255,0.8); }

/* =============================================================
   CITY CARDS
   ============================================================= */
.hg-cat-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.hg-cat-card { display: flex; flex-direction: column; align-items: center; padding: 24px 14px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); text-decoration: none; transition: transform .22s, box-shadow .22s, border-color .22s; text-align: center; min-width: 0; }
.hg-cat-card:hover { transform: translateY(-4px); border-color: var(--hg-amber); box-shadow: var(--hg-shadow); }
.hg-cat-card__icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--hg-amber-tint), #FFE3B2); display: inline-flex; align-items: center; justify-content: center; color: var(--hg-amber-deep); margin-bottom: 12px; flex-shrink: 0; }
.hg-cat-card__title { font-size: 14.5px; font-weight: 700; color: var(--hg-navy); margin: 0 0 4px; letter-spacing: -0.005em; }
.hg-cat-card__count { font-size: 11.5px; color: var(--hg-amber-deep); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* =============================================================
   LISTING CARDS — white, soft shadow on hover
   ============================================================= */
.hg-listing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.hg-listing { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); overflow: clip; transition: transform .22s, box-shadow .22s, border-color .22s; text-decoration: none; display: block; color: inherit; min-width: 0; }
.hg-listing:hover { transform: translateY(-4px); border-color: var(--hg-amber); box-shadow: var(--hg-shadow-lg); }
.hg-listing__photo { position: relative; aspect-ratio: 4/3; overflow: clip; background: var(--hg-bg-alt); }
.hg-listing__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.hg-listing:hover .hg-listing__photo img { transform: scale(1.06); }
.hg-listing__badge { position: absolute; top: 12px; left: 12px; background: var(--hg-amber); color: var(--hg-white); padding: 6px 12px; border-radius: var(--hg-radius-pill); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; box-shadow: 0 6px 14px -4px rgba(245,166,35,0.5); display: inline-flex; align-items: center; gap: 4px; }
.hg-listing__price { position: absolute; bottom: 12px; right: 12px; background: rgba(11,57,84,0.94); color: var(--hg-white); padding: 7px 13px; border-radius: var(--hg-radius); font-weight: 700; font-size: 14.5px; backdrop-filter: blur(10px); }
.hg-listing__body { padding: 20px; }
.hg-listing__title { font-size: 17px; font-weight: 700; color: var(--hg-navy); margin: 0 0 4px; letter-spacing: -0.005em; line-height: 1.3; }
.hg-listing__addr { font-size: 13.5px; color: var(--hg-ink-muted); margin: 0 0 12px; }
.hg-listing__meta { display: flex; gap: 14px; padding-top: 12px; border-top: 1px solid var(--hg-line-soft); font-size: 13px; color: var(--hg-ink-muted); flex-wrap: wrap; }
.hg-listing__meta strong { color: var(--hg-navy); font-weight: 700; }
.hg-listing__cta { padding: 12px 20px; background: var(--hg-bg); border-top: 1px solid var(--hg-line-soft); font-size: 13.5px; font-weight: 700; color: var(--hg-amber-deep); display: flex; justify-content: space-between; align-items: center; }
.hg-listing__cta::after { content: '→'; transition: transform .15s; }
.hg-listing:hover .hg-listing__cta::after { transform: translateX(4px); }

/* =============================================================
   FEATURE TILES — 4-up steps
   ============================================================= */
.hg-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hg-feature { padding: 28px 24px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); transition: all .22s; min-width: 0; }
.hg-feature:hover { border-color: var(--hg-amber); box-shadow: var(--hg-shadow); transform: translateY(-3px); }
.hg-feature__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white); font-weight: 800; font-size: 16px; margin-bottom: 14px; box-shadow: 0 6px 14px -4px rgba(245,166,35,0.4); }
.hg-feature__title { font-size: 18px; font-weight: 700; color: var(--hg-navy); margin: 0 0 8px; letter-spacing: -0.01em; }
.hg-feature__body { font-size: 14.5px; color: var(--hg-ink-soft); line-height: 1.6; margin: 0; }
.hg-section--dark .hg-feature { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); backdrop-filter: blur(10px); }
.hg-section--dark .hg-feature__title { color: var(--hg-white); }
.hg-section--dark .hg-feature__body { color: rgba(255,255,255,0.78); }

/* =============================================================
   PATH CARDS
   ============================================================= */
.hg-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hg-path { padding: 36px 28px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-xl); text-decoration: none; color: inherit; transition: all .26s; position: relative; overflow: clip; min-width: 0; }
.hg-path::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--hg-amber), var(--hg-amber-deep)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.hg-path:hover { border-color: var(--hg-amber); transform: translateY(-4px); box-shadow: var(--hg-shadow-lg); }
.hg-path:hover::before { transform: scaleX(1); }
.hg-path__lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hg-amber-deep); }
.hg-path__title { font-size: 24px; font-weight: 800; color: var(--hg-navy); margin: 12px 0 12px; letter-spacing: -0.02em; }
.hg-path__body { color: var(--hg-ink-soft); margin: 0 0 18px; line-height: 1.6; font-size: 14.5px; }
.hg-path__cta { color: var(--hg-amber-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.hg-path:hover .hg-path__cta { gap: 12px; }

/* =============================================================
   FAQ
   ============================================================= */
.hg-faq { max-width: 820px; margin: 0 auto; }
.hg-faq__item { border-bottom: 1px solid var(--hg-line); padding: 22px 0; }
.hg-faq__q { font-size: 17px; font-weight: 700; color: var(--hg-navy); margin: 0 0 8px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hg-faq__a { color: var(--hg-ink-soft); line-height: 1.7; font-size: 14.5px; margin: 0; }

/* =============================================================
   FOOTER — dark navy gradient, refined
   ============================================================= */
.hg-footer { color: var(--hg-white); font-family: var(--hg-font); background: linear-gradient(160deg, var(--hg-navy) 0%, var(--hg-navy-deep) 100%); padding: 0; margin: 0; position: relative; overflow: clip; }
.hg-footer::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0); background-size: 32px 32px; pointer-events: none; opacity: 0.55; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 0%, transparent 100%); mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 0%, transparent 100%); }
.hg-footer__inner { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.hg-footer__trust { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
.hg-footer__trust-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--hg-radius); transition: border-color .25s, background .25s; min-width: 0; }
.hg-footer__trust-item:hover { border-color: rgba(245,166,35,0.45); background: rgba(255,255,255,0.08); }
.hg-footer__trust-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(245,166,35,0.16); color: var(--hg-amber-soft); border: 1px solid rgba(245,166,35,0.35); }
.hg-footer__trust-text { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hg-white); line-height: 1.2; }
.hg-footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding: 48px 0 36px; }
.hg-footer__col-h { font-size: 17px; font-weight: 700; color: var(--hg-white); margin: 0 0 16px; position: relative; padding-bottom: 10px; }
.hg-footer__col-h::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--hg-amber); border-radius: 2px; }
.hg-footer__brand-logo { margin-bottom: 14px; display: inline-block; }
.hg-footer__brand-logo img { height: 80px; width: auto; max-height: 80px; filter: brightness(0) invert(1); opacity: 0.96; display: block; padding: 4px 0; }
.hg-footer__brand-logo:hover img { opacity: 1; }
.hg-footer__brand-blurb { color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.6; margin: 0 0 18px; max-width: 380px; }
.hg-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hg-footer__list a { color: rgba(255,255,255,0.78); font-size: 14px; transition: color .15s, padding .15s; }
.hg-footer__list a:hover { color: var(--hg-amber-soft); padding-left: 4px; }
.hg-footer__contact-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--hg-radius); text-decoration: none; color: var(--hg-white); transition: all .25s; margin-bottom: 10px; min-width: 0; }
.hg-footer__contact-row:hover { border-color: rgba(245,166,35,0.45); transform: translateX(2px); color: var(--hg-white); }
.hg-footer__contact-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(245,166,35,0.14); color: var(--hg-amber-soft); border: 1px solid rgba(245,166,35,0.32); }
.hg-footer__contact-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hg-amber-soft); margin: 0 0 2px; line-height: 1; display: block; }
.hg-footer__contact-value { font-size: 13.5px; font-weight: 500; color: var(--hg-white); margin: 0; line-height: 1.4; word-break: break-word; display: block; }
.hg-footer__cities { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.10); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 13px; }
.hg-footer__cities a { color: rgba(255,255,255,0.7); transition: color .15s; }
.hg-footer__cities a:hover { color: var(--hg-amber-soft); }
.hg-footer__bottom { padding: 22px 0 32px; border-top: 1px solid rgba(255,255,255,0.10); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.hg-footer__eho { display: inline-flex; align-items: center; gap: 7px; }

/* =============================================================
   FORMS
   ============================================================= */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], textarea, select { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-sm); color: var(--hg-ink); font-family: var(--hg-font); font-size: 15px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s; width: 100%; max-width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--hg-amber); box-shadow: 0 0 0 3px rgba(245,166,35,0.16); }
input::placeholder, textarea::placeholder { color: #94a3b8; }
label { color: var(--hg-navy); font-weight: 600; font-size: 13.5px; }

/* =============================================================
   PROPERTY PAGE
   ============================================================= */
.hg-property-hero { background: linear-gradient(135deg, var(--hg-navy) 0%, var(--hg-navy-deep) 100%); padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 32px) 0; position: relative; overflow: clip; color: var(--hg-white); }
.hg-property-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0); background-size: 28px 28px; opacity: 0.5; pointer-events: none; }
.hg-property-hero__inner { max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; width: 100%; }
.hg-property-hero__crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.62); margin-bottom: 18px; }
.hg-property-hero__crumbs a { color: rgba(255,255,255,0.86); }
.hg-property-hero__crumbs a:hover { color: var(--hg-amber-soft); }
.hg-property-hero__title { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; color: var(--hg-white); margin: 0 0 8px; letter-spacing: -0.02em; line-height: 1.15; }
.hg-property-hero__addr { color: rgba(255,255,255,0.78); font-size: 15px; margin: 0 0 22px; }
.hg-property-hero__meta { display: flex; gap: 24px; flex-wrap: wrap; padding: 16px 0 28px; border-top: 1px solid rgba(255,255,255,0.10); }
.hg-property-hero__meta-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hg-property-hero__meta-num { font-family: var(--hg-font); font-weight: 800; font-size: 21px; color: var(--hg-white); letter-spacing: -0.01em; }
.hg-property-hero__meta-num--price { color: var(--hg-amber-soft); }
.hg-property-hero__meta-lbl { font-size: 10.5px; color: rgba(255,255,255,0.58); letter-spacing: 0.12em; text-transform: uppercase; }

.hg-property-body { background: var(--hg-bg); padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 32px); }
.hg-property-body__inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.hg-card { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); padding: 24px; box-shadow: var(--hg-shadow-sm); }
.hg-property-cta-card h3 { font-size: 17px; font-weight: 700; color: var(--hg-navy); margin: 0 0 4px; }
.hg-property-cta-card p { font-size: 13.5px; color: var(--hg-ink-muted); margin: 0 0 16px; line-height: 1.5; }
.hg-property-cta-card .hg-btn { width: 100%; justify-content: center; margin-bottom: 8px; }
.hg-property-aside { position: sticky; top: 100px; min-width: 0; }
.hg-discount-banner { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(120deg, var(--hg-amber-tint), #FFF7E2); border: 1px solid rgba(245,166,35,0.35); border-radius: var(--hg-radius); color: var(--hg-amber-deep); font-weight: 600; margin-bottom: 22px; font-size: 14.5px; }

@media (max-width: 1023px) { .hg-property-body__inner { grid-template-columns: 1fr; } .hg-property-aside { position: static; } }

/* =============================================================
   RTE
   ============================================================= */
.hg-rte { color: var(--hg-ink); font-size: 16.5px; line-height: 1.75; }
.hg-rte h1, .hg-rte h2, .hg-rte h3, .hg-rte h4, .hg-rte h5 { color: var(--hg-navy); font-weight: 800; letter-spacing: -0.02em; margin: 1.6em 0 0.6em; line-height: 1.2; }
.hg-rte h1 { font-size: 32px; } .hg-rte h2 { font-size: 26px; } .hg-rte h3 { font-size: 21px; }
.hg-rte p { margin: 0 0 1.2em; color: var(--hg-ink-soft); }
.hg-rte a { color: var(--hg-amber-deep); text-decoration: underline; text-decoration-color: rgba(230,137,0,0.4); text-underline-offset: 3px; }
.hg-rte ul, .hg-rte ol { margin: 0 0 1.4em 1.4em; }
.hg-rte ul li::marker { color: var(--hg-amber-deep); }
.hg-rte blockquote { margin: 1.5em 0; padding: 22px 26px; background: var(--hg-bg-alt); border-left: 3px solid var(--hg-amber); border-radius: var(--hg-radius); font-style: italic; }
.hg-rte img { border-radius: var(--hg-radius); margin: 1em 0; }

/* =============================================================
   PAGINATION
   ============================================================= */
.pagination, .nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers, .nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; background: var(--hg-white); border: 1px solid var(--hg-line); color: var(--hg-navy); border-radius: var(--hg-radius-pill); text-decoration: none; font-weight: 600; transition: all .15s; }
.pagination .page-numbers.current { background: var(--hg-amber); color: var(--hg-white); border-color: var(--hg-amber); }
.pagination .page-numbers:hover:not(.current) { color: var(--hg-amber-deep); border-color: var(--hg-amber); }

/* =============================================================
   MOBILE STICKY BAR
   ============================================================= */
.hg-mobile-sticky { display: none; }
@media (max-width: 768px) {
  .hg-mobile-sticky { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: var(--hg-white); border-top: 1px solid var(--hg-line); padding: 10px 14px; gap: 10px; align-items: center; justify-content: space-between; z-index: 999; box-shadow: 0 -8px 22px -10px rgba(11,57,84,0.18); }
  .hg-mobile-sticky__price { color: var(--hg-amber-deep); font-weight: 800; font-size: 17px; }
}

/* =============================================================
   RESPONSIVE — the heart of mobile stability
   ============================================================= */
@media (max-width: 1023px) {
  .hg-cat-strip { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hg-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hg-paths { grid-template-columns: 1fr; }
  .hg-footer__main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hg-footer__trust { grid-template-columns: repeat(2, 1fr); }
  .hg-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hg-cat-strip { grid-template-columns: repeat(2, 1fr); }
  .hg-feature-grid { grid-template-columns: 1fr; }
  .hg-listing-grid { grid-template-columns: 1fr; gap: 18px; }
  .hg-stats { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 8px; }
  .hg-cta-row { flex-direction: column; width: 100%; max-width: 360px; }
  .hg-cta-row .hg-btn { width: 100%; justify-content: center; }
  .hg-section { padding: 56px 16px; }
  .hg-hero { padding: 56px 16px 48px; }
  .hg-footer__main { grid-template-columns: 1fr; gap: 32px; }
  .hg-footer__trust { grid-template-columns: 1fr; }
  .hg-footer__bottom { justify-content: center; text-align: center; }
  .hg-trust { gap: 12px; font-size: 12px; }
  .hg-mobile-nav { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .hg-cat-strip { grid-template-columns: 1fr 1fr; }
  .hg-section__head { margin-bottom: 32px; }
  .hg-footer__cities { gap: 6px 12px; font-size: 12px; }
}

/* =============================================================
   MOBILE NAV — polished slide-in drawer with backdrop + X close
   ============================================================= */
.hg-mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,27,45,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 200;
}
.hg-mobile-backdrop.is-open { opacity: 1; visibility: visible; }

.hg-mobile-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(86vw, 400px);
  max-width: 100%;
  background: var(--hg-white);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(0.32, 0.72, 0.24, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 16px 0 48px -12px rgba(15,27,45,0.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  visibility: hidden;
}
.hg-mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.hg-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--hg-line);
  position: sticky;
  top: 0;
  background: var(--hg-white);
  z-index: 1;
}
.hg-mobile-nav__brand img { height: 56px; width: auto; max-height: 56px; display: block; }

.hg-mobile-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hg-bg-alt);
  border: 1px solid var(--hg-line);
  color: var(--hg-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s, color .15s;
  flex-shrink: 0;
}
.hg-mobile-close:hover { background: var(--hg-amber); color: var(--hg-white); transform: rotate(90deg); }
.hg-mobile-close svg { width: 20px; height: 20px; }

.hg-mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  gap: 0;
}
.hg-mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  font-size: 17px;
  color: var(--hg-navy);
  font-weight: 600;
  border-radius: var(--hg-radius);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.hg-mobile-nav a:hover, .hg-mobile-nav a:focus-visible {
  background: var(--hg-bg-alt);
  color: var(--hg-amber-deep);
}
.hg-mobile-nav a::after {
  content: '›';
  color: var(--hg-ink-muted);
  font-size: 22px;
  line-height: 1;
  transition: transform .15s, color .15s;
}
.hg-mobile-nav a:hover::after { transform: translateX(3px); color: var(--hg-amber-deep); }

.hg-mobile-nav__divider {
  height: 1px;
  background: var(--hg-line);
  margin: 8px 12px;
  border: none;
}

.hg-mobile-nav__cta-wrap {
  margin-top: auto;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--hg-line);
  background: var(--hg-bg);
  position: sticky;
  bottom: 0;
}
.hg-mobile-nav__cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  padding: 16px 22px !important;
  background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)) !important;
  color: var(--hg-white) !important;
  border-radius: var(--hg-radius);
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  box-shadow: var(--hg-shadow-amber);
}
.hg-mobile-nav__cta::after { display: none !important; }
.hg-mobile-nav__cta:hover { color: var(--hg-white) !important; }
.hg-mobile-nav__contact {
  font-size: 13px;
  color: var(--hg-ink-muted);
  text-align: center;
  margin-top: 12px;
}
.hg-mobile-nav__contact a { color: var(--hg-amber-deep); font-weight: 600; }

body.hg-nav-open { overflow: hidden; touch-action: none; }

/* Hide hamburger — we expose menu via the trigger */
@media (max-width: 1023px) {
  .hg-mobile-nav { display: flex; }
}
@media (min-width: 1024px) {
  .hg-mobile-nav, .hg-mobile-backdrop { display: none !important; }
}

/* =============================================================
   MOBILE POLISH — spacing, button sizing, header consistency
   ============================================================= */
@media (max-width: 1023px) {
  .hg-promo-strip { padding: 7px 14px; }
  .hg-promo-strip__inner { font-size: 12.5px; gap: 14px; padding: 0 4px; }
  .hg-header-main { padding: 12px 16px; }
  .hg-header-main__inner { gap: 10px; }
  .hg-menu-trigger { padding: 10px 12px; width: 44px; height: 44px; }
  .hg-section { padding: clamp(48px, 7vw, 80px) 18px; }
  .hg-hero { padding: clamp(48px, 8vw, 80px) 18px clamp(40px, 6vw, 60px); }
  .hg-section__head { margin-bottom: 32px; }
  .hg-stats { padding: 14px; gap: 8px; }
  .hg-stat { padding: 8px 4px; }
  .hg-listing__body { padding: 18px; }
  .hg-listing__title { font-size: 16px; }
  .hg-feature { padding: 24px 20px; }
  .hg-path { padding: 28px 22px; }
  .hg-property-hero { padding: 24px 18px 0; }
  .hg-property-hero__meta { gap: 18px; padding: 14px 0 22px; }
  .hg-property-hero__meta-num { font-size: 18px; }
  .hg-property-body { padding: 28px 18px; }
  .hg-card { padding: 20px; }
  .hg-btn { padding: 14px 22px; font-size: 15px; }
  .hg-footer__inner { padding: 0 18px; }
  .hg-footer__brand-logo img { height: 70px; max-height: 70px; }
  .hg-footer__main { padding: 36px 0 28px; gap: 28px; }
  .hg-footer__cities { padding: 18px 0; gap: 6px 14px; font-size: 12.5px; }
  .hg-footer__bottom { padding: 18px 0 28px; font-size: 12px; gap: 10px; }
}
@media (max-width: 720px) {
  .hg-hero__h1 { font-size: clamp(30px, 8.5vw, 48px); }
  .hg-section__title { font-size: clamp(24px, 6vw, 36px); }
  .hg-section__lede { font-size: 15px; }
  .hg-stats { grid-template-columns: repeat(2, 1fr); }
  .hg-stat__num { font-size: clamp(22px, 6vw, 30px); }
  .hg-cta-row { gap: 10px; }
  .hg-listing-grid { gap: 16px; }
  .hg-feature-grid { gap: 14px; }
  .hg-paths { gap: 14px; }
  .hg-cat-strip { gap: 10px; }
  .hg-footer__brand-logo img { height: 64px; max-height: 64px; }
}
/* =============================================================
   PROPERTY FILTERS
   ============================================================= */
.hg-filters { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); padding: 24px; box-shadow: var(--hg-shadow-sm); }
.hg-filters__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.hg-filter { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hg-filter label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hg-ink-muted); }
.hg-filter input, .hg-filter select { padding: 11px 13px; font-size: 14.5px; }
.hg-filters__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hg-line); }
.hg-filters__actions .hg-btn { padding: 12px 22px; font-size: 14.5px; }

/* Listing agent badge */
.hg-listing__agent { display: flex; align-items: center; gap: 8px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--hg-line-soft); font-size: 12.5px; }
.hg-listing__agent-lbl { color: var(--hg-ink-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 11px; }
.hg-listing__agent-name { color: var(--hg-navy); font-weight: 700; }

/* Listing badges */
.hg-listing__badge { background: var(--hg-amber); color: var(--hg-white); padding: 5px 11px; border-radius: var(--hg-radius-pill); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; box-shadow: 0 4px 12px -3px rgba(245,166,35,0.5); display: inline-flex; align-items: center; gap: 4px; }
.hg-listing__badge--status { background: var(--hg-navy); top: 12px; left: 12px; }
.hg-listing__badge--offer { background: var(--hg-amber); top: 12px; left: auto; right: 12px; padding-right: 11px; }
.hg-listing__badge--offer ~ .hg-listing__price { display: none; }
.hg-listing__cta-actions { color: var(--hg-amber-deep); font-weight: 600; font-size: 12.5px; }

/* =============================================================
   PROPERTY PAGE — agent card always visible + modal CTAs
   ============================================================= */
.hg-agent-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); box-shadow: var(--hg-shadow-sm); margin-top: 18px; }
.hg-agent-card__avatar { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--hg-amber), var(--hg-amber-deep)); display: flex; align-items: center; justify-content: center; color: var(--hg-white); font-weight: 800; font-size: 20px; }
.hg-agent-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-agent-card__body { flex: 1; min-width: 0; }
.hg-agent-card__lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--hg-ink-muted); font-weight: 700; }
.hg-agent-card__name { font-weight: 800; color: var(--hg-navy); font-size: 17px; margin: 4px 0 6px; }
.hg-agent-card__contact { font-size: 13.5px; color: var(--hg-ink-soft); }
.hg-agent-card__contact a { color: var(--hg-amber-deep); font-weight: 600; word-break: break-all; }
.hg-agent-card__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; color: var(--hg-amber-deep); font-weight: 700; font-size: 13.5px; }

/* =============================================================
   PROPERTY MODAL (Contact Owner / Tour Request)
   ============================================================= */
.hg-modal { position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .25s; }
.hg-modal.is-open { opacity: 1; visibility: visible; }
.hg-modal__overlay { position: absolute; inset: 0; background: rgba(15,27,45,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hg-modal__dialog { position: relative; background: var(--hg-white); border-radius: var(--hg-radius-xl); max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 32px 64px -16px rgba(15,27,45,0.4); transform: translateY(20px); transition: transform .3s; }
.hg-modal.is-open .hg-modal__dialog { transform: translateY(0); }
.hg-modal__head { padding: 24px 24px 0; }
.hg-modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--hg-bg-alt); border: 1px solid var(--hg-line); color: var(--hg-navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; }
.hg-modal__close:hover { background: var(--hg-amber); color: var(--hg-white); transform: rotate(90deg); }
.hg-modal__title { font-size: 22px; font-weight: 800; color: var(--hg-navy); margin: 0 0 4px; letter-spacing: -0.015em; padding-right: 50px; }
.hg-modal__sub { font-size: 14px; color: var(--hg-ink-muted); margin: 0 0 18px; }
.hg-modal__sub strong { color: var(--hg-navy); }
.hg-modal__body { padding: 0 24px 24px; }
.hg-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.hg-modal__field { margin-bottom: 12px; }
.hg-modal__field label { display: block; margin-bottom: 5px; }
.hg-modal__msg { font-size: 13px; padding: 12px; border-radius: var(--hg-radius-sm); margin-bottom: 12px; display: none; }
.hg-modal__msg.is-error { display: block; background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.hg-modal__msg.is-success { display: block; background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.hg-modal__success { padding: 32px 24px; text-align: center; display: none; }
.hg-modal__success.is-show { display: block; }
.hg-modal__success-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white); display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
@media (max-width: 520px) { .hg-modal__row { grid-template-columns: 1fr; } }

body.hg-modal-open { overflow: hidden; }
/* =============================================================
   APPLICATION FORM (native, replaces MSF)
   ============================================================= */
.hg-apply-wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; transform: translateY(-32px); }
.hg-apply-form-card { padding: clamp(24px, 3vw, 36px); }
.hg-apply-locked { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--hg-amber-tint); border: 1px solid rgba(245,166,35,0.35); border-radius: var(--hg-radius); color: #704800; font-size: 13.5px; line-height: 1.5; margin-bottom: 24px; }
.hg-apply-locked svg { flex-shrink: 0; margin-top: 1px; }
.hg-apply-section-h { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hg-amber-deep); margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--hg-line-soft); }
.hg-apply-section-h:first-of-type { margin-top: 4px; }
.hg-apply-row { margin-bottom: 12px; }
.hg-apply-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hg-apply-field { min-width: 0; }
.hg-apply-field label { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 600; color: var(--hg-navy); }
.hg-apply-optional { color: var(--hg-ink-muted); font-weight: 400; font-size: 12px; margin-left: 4px; }
.hg-apply-consent { display: flex; gap: 10px; align-items: flex-start; padding: 14px; background: var(--hg-bg-alt); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); margin-top: 22px; font-size: 13.5px; color: var(--hg-ink-soft); line-height: 1.55; cursor: pointer; }
.hg-apply-consent input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--hg-amber); cursor: pointer; }

/* Apply property card — prominent featured image */
.hg-apply-aside { position: sticky; top: 100px; min-width: 0; }
.hg-apply-property-card { padding: 0 !important; overflow: hidden; }
.hg-apply-property-card__photo { position: relative; aspect-ratio: 16/10; background: var(--hg-bg-alt); }
.hg-apply-property-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-apply-property-card__price { position: absolute; bottom: 14px; right: 14px; background: rgba(11,57,84,0.95); color: var(--hg-white); padding: 8px 14px; border-radius: var(--hg-radius); font-weight: 800; font-size: 16px; backdrop-filter: blur(10px); }
.hg-apply-property-card__body { padding: 22px; }
.hg-apply-property-card__lbl { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hg-amber-deep); margin-bottom: 6px; }
.hg-apply-property-card__body h3 { font-size: 19px; font-weight: 800; color: var(--hg-navy); margin: 0 0 6px; line-height: 1.25; letter-spacing: -0.01em; }
.hg-apply-property-card__addr { font-size: 14px; color: var(--hg-ink-muted); margin: 0 0 14px; }
.hg-apply-property-card__meta { display: flex; gap: 14px; padding-top: 12px; border-top: 1px solid var(--hg-line-soft); font-size: 13px; color: var(--hg-ink-muted); }
.hg-apply-property-card__meta strong { color: var(--hg-navy); font-weight: 700; }
.hg-apply-property-card__id { margin-top: 12px; font-size: 11.5px; color: var(--hg-ink-muted); letter-spacing: 0.05em; font-family: ui-monospace, 'SF Mono', monospace; }
.hg-apply-property-card__link { display: inline-flex; align-items: center; margin-top: 14px; color: var(--hg-amber-deep); font-weight: 700; font-size: 13.5px; }
.hg-apply-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hg-apply-trust li { padding-left: 24px; position: relative; font-size: 13.5px; color: var(--hg-ink-soft); line-height: 1.5; }
.hg-apply-trust li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E68900' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); background-repeat: no-repeat; background-position: center; }

@media (max-width: 1023px) {
  .hg-apply-wrap { grid-template-columns: 1fr; gap: 22px; }
  .hg-apply-aside { position: static; order: -1; }
  .hg-apply-property-card__photo { aspect-ratio: 16/9; }
  .hg-apply-row--2 { grid-template-columns: 1fr; gap: 10px; }
}

/* =============================================================
   FLATPICKR CALENDAR — themed for Harbor Gates
   ============================================================= */
.flatpickr-calendar { font-family: var(--hg-font); border-radius: var(--hg-radius-lg); border: 1px solid var(--hg-line); box-shadow: var(--hg-shadow-lg); }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after { border-bottom-color: var(--hg-line); }
.flatpickr-months { background: var(--hg-bg-alt); border-radius: var(--hg-radius-lg) var(--hg-radius-lg) 0 0; padding: 8px 4px; }
.flatpickr-current-month { color: var(--hg-navy); font-weight: 700; }
.flatpickr-monthDropdown-months, .flatpickr-current-month input.cur-year { color: var(--hg-navy); font-weight: 700; }
.flatpickr-prev-month, .flatpickr-next-month { fill: var(--hg-navy); }
.flatpickr-prev-month:hover, .flatpickr-next-month:hover { fill: var(--hg-amber-deep); }
.flatpickr-weekdays, .flatpickr-weekday { color: var(--hg-ink-muted); font-weight: 700; }
.flatpickr-day { color: var(--hg-ink); border-radius: 8px; }
.flatpickr-day:hover { background: var(--hg-amber-tint); border-color: var(--hg-amber); color: var(--hg-amber-deep); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--hg-amber) !important; border-color: var(--hg-amber) !important; color: #fff !important; }
.flatpickr-day.today { border-color: var(--hg-amber-deep); }
.flatpickr-day.disabled, .flatpickr-day.flatpickr-disabled { color: rgba(15,27,45,0.18); }
/* =============================================================
   HEADER SEARCH BAR
   ============================================================= */
.hg-header-search { flex: 1; max-width: 460px; display: flex; align-items: stretch; background: var(--hg-white); border: 1.5px solid var(--hg-line); border-radius: var(--hg-radius-pill); transition: border-color .2s, box-shadow .2s; overflow: hidden; }
.hg-header-search:focus-within { border-color: var(--hg-amber); box-shadow: 0 0 0 3px rgba(245,166,35,0.15); }
.hg-header-search__icon { display: inline-flex; align-items: center; padding: 0 6px 0 16px; color: var(--hg-ink-muted); flex-shrink: 0; }
.hg-header-search input { flex: 1; border: 0 !important; background: transparent !important; padding: 11px 12px !important; font-size: 14.5px !important; color: var(--hg-ink) !important; outline: none !important; box-shadow: none !important; }
.hg-header-search input::placeholder { color: var(--hg-ink-muted); }
.hg-header-search button { background: var(--hg-navy); color: var(--hg-white); border: 0; padding: 0 18px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s; }
.hg-header-search button:hover { background: var(--hg-amber-deep); }
.hg-header-search-mobile-trigger { display: none; }
@media (max-width: 1199px) { .hg-header-search { max-width: 100%; } }
@media (max-width: 1023px) {
  .hg-header-search { display: none; }
  .hg-header-search-mobile-trigger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--hg-bg-alt); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-sm); color: var(--hg-navy); cursor: pointer; }
  .hg-header-search--mobile { display: none; padding: 12px 16px; background: var(--hg-bg-alt); border-bottom: 1px solid var(--hg-line); }
  .hg-header-search--mobile.is-open { display: flex; }
  .hg-header-search--mobile .hg-header-search { background: var(--hg-white); display: flex; }
}

/* =============================================================
   PROPERTY GALLERY CAROUSEL
   ============================================================= */
.hg-gallery { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); overflow: hidden; box-shadow: var(--hg-shadow-lg); }
.hg-gallery__main { position: relative; aspect-ratio: 16/10; background: var(--hg-bg-alt); overflow: hidden; }
.hg-gallery__slides { position: absolute; inset: 0; display: flex; transition: transform .4s cubic-bezier(0.32, 0.72, 0.24, 1); will-change: transform; }
.hg-gallery__slide { flex: 0 0 100%; height: 100%; position: relative; }
.hg-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 1px solid var(--hg-line); color: var(--hg-navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; z-index: 2; backdrop-filter: blur(8px); }
.hg-gallery__nav:hover { background: var(--hg-amber); color: var(--hg-white); border-color: var(--hg-amber); }
.hg-gallery__nav--prev { left: 14px; }
.hg-gallery__nav--next { right: 14px; }
.hg-gallery__nav[disabled] { opacity: 0.35; cursor: not-allowed; }
.hg-gallery__counter { position: absolute; bottom: 14px; left: 14px; background: rgba(11,57,84,0.9); color: var(--hg-white); padding: 6px 12px; border-radius: var(--hg-radius-pill); font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); z-index: 2; }
.hg-gallery__expand { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(11,57,84,0.85); color: var(--hg-white); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .15s; }
.hg-gallery__expand:hover { background: var(--hg-amber); }
.hg-gallery__thumbs { display: flex; gap: 6px; padding: 6px; background: var(--hg-bg-alt); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.hg-gallery__thumbs::-webkit-scrollbar { height: 6px; }
.hg-gallery__thumbs::-webkit-scrollbar-thumb { background: var(--hg-line-strong); border-radius: 3px; }
.hg-gallery__thumb { flex: 0 0 96px; aspect-ratio: 4/3; border: 2px solid transparent; border-radius: var(--hg-radius-sm); overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; padding: 0; background: var(--hg-white); }
.hg-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-gallery__thumb.is-active { border-color: var(--hg-amber); }
.hg-gallery__thumb:hover { border-color: var(--hg-amber); }
@media (max-width: 720px) {
  .hg-gallery__main { aspect-ratio: 4/3; }
  .hg-gallery__nav { width: 38px; height: 38px; }
  .hg-gallery__thumb { flex: 0 0 70px; }
}

/* Lightbox */
.hg-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(11,17,31,0.95); display: none; align-items: center; justify-content: center; padding: 24px; }
.hg-lightbox.is-open { display: flex; }
.hg-lightbox__img { max-width: 95vw; max-height: 90vh; object-fit: contain; border-radius: var(--hg-radius); }
.hg-lightbox__close, .hg-lightbox__nav { position: absolute; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: var(--hg-white); cursor: pointer; transition: background .15s; backdrop-filter: blur(8px); }
.hg-lightbox__close { top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hg-lightbox__close:hover, .hg-lightbox__nav:hover { background: var(--hg-amber); border-color: var(--hg-amber); }
.hg-lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hg-lightbox__nav--prev { left: 24px; }
.hg-lightbox__nav--next { right: 24px; }
.hg-lightbox__counter { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--hg-white); font-weight: 700; background: rgba(255,255,255,0.1); padding: 8px 18px; border-radius: var(--hg-radius-pill); }

/* Fix property hero status overflow on mobile */
.hg-property-hero__meta { row-gap: 18px; }
.hg-property-hero__meta-item { min-width: 0; flex: 0 1 auto; }
.hg-property-hero__meta-num { white-space: nowrap; }

/* =============================================================
   CONTACT PAGE
   ============================================================= */
.hg-contact-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.hg-contact-card { padding: 32px; }
.hg-contact-info-row { display: flex; gap: 14px; padding: 16px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); margin-bottom: 12px; transition: border-color .2s, transform .2s; text-decoration: none; }
.hg-contact-info-row:hover { border-color: var(--hg-amber); transform: translateX(2px); }
.hg-contact-info-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--hg-amber-tint); color: var(--hg-amber-deep); flex-shrink: 0; }
.hg-contact-info-row strong { display: block; font-weight: 700; color: var(--hg-navy); font-size: 15px; }
.hg-contact-info-row span { display: block; color: var(--hg-ink-muted); font-size: 13.5px; margin-top: 2px; word-break: break-word; }
@media (max-width: 1023px) { .hg-contact-grid { grid-template-columns: 1fr; gap: 24px; } }
/* =============================================================
   PROPERTY HERO + GALLERY — fixed overlap, status pill
   ============================================================= */
.hg-property-hero { padding-bottom: 24px; }
.hg-property-gallery-wrap { background: var(--hg-bg); padding: 0 clamp(20px, 4vw, 32px); margin-top: -28px; position: relative; z-index: 2; }
.hg-property-gallery-inner { max-width: 1320px; margin: 0 auto; }
.hg-property-gallery-wrap .hg-gallery { box-shadow: 0 22px 44px -16px rgba(11,57,84,0.22); }
.hg-status-pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--hg-amber); color: var(--hg-white); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.hg-status-pill--alt { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); color: var(--hg-white); }
.hg-property-hero__addr-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.86); font-size: 15px; margin: 4px 0 22px; transition: color .15s; text-decoration: none; word-break: break-word; }
.hg-property-hero__addr-link:hover { color: var(--hg-amber-soft); }
.hg-property-hero__addr-link svg { color: var(--hg-amber); flex-shrink: 0; }

/* Quick facts row */
.hg-property-quickfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; padding: 22px 0; margin-bottom: 24px; border-top: 1px solid var(--hg-line-soft); border-bottom: 1px solid var(--hg-line-soft); }
.hg-qf-lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hg-ink-muted); margin-bottom: 4px; }
.hg-qf-val { color: var(--hg-navy); font-weight: 700; font-size: 14.5px; }

/* Description sub-sections */
.hg-property-section { margin-bottom: 36px; }
.hg-property-section__h { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--hg-navy); margin: 0 0 16px; letter-spacing: -0.015em; padding-bottom: 10px; border-bottom: 2px solid var(--hg-line-soft); position: relative; }
.hg-property-section__h::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 48px; height: 2px; background: var(--hg-amber); }
.hg-property-section__p { color: var(--hg-ink-soft); line-height: 1.7; font-size: 15.5px; margin: 0 0 18px; }

/* Amenities grid */
.hg-amen-group { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hg-amber-deep); margin: 18px 0 10px; }
.hg-amen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 14px; }
.hg-amen-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); transition: border-color .2s, transform .2s; }
.hg-amen-item:hover { border-color: var(--hg-amber); transform: translateY(-1px); }
.hg-amen-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--hg-amber-tint); color: var(--hg-amber-deep); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hg-amen-label { font-size: 14px; font-weight: 600; color: var(--hg-navy); }
.hg-property-maps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* =============================================================
   LANDLORD PROFILE PAGE (single-houzez_agent.php)
   ============================================================= */
.hg-agent-hero { background: linear-gradient(135deg, var(--hg-navy) 0%, var(--hg-navy-deep) 100%); padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 32px) clamp(56px, 7vw, 96px); color: var(--hg-white); position: relative; overflow: clip; }
.hg-agent-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0); background-size: 32px 32px; opacity: 0.5; pointer-events: none; }
.hg-agent-hero__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; position: relative; z-index: 1; }
.hg-agent-hero__avatar { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--hg-amber), var(--hg-amber-deep)); border: 4px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: var(--hg-white); font-weight: 800; font-size: 46px; overflow: hidden; flex-shrink: 0; }
.hg-agent-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hg-agent-hero__info h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--hg-white); margin: 0 0 8px; letter-spacing: -0.02em; }
.hg-agent-hero__role { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hg-amber-soft); margin: 0 0 6px; }
.hg-agent-hero__rating { display: flex; align-items: center; gap: 8px; margin: 8px 0 14px; color: rgba(255,255,255,0.86); font-size: 13.5px; }
.hg-agent-hero__quick { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,0.78); }
.hg-agent-hero__quick strong { display: block; font-size: 22px; font-weight: 800; color: var(--hg-white); letter-spacing: -0.01em; line-height: 1.1; }
.hg-agent-hero__cta { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
@media (max-width: 900px) { .hg-agent-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 16px; } .hg-agent-hero__avatar { margin: 0 auto; } .hg-agent-hero__quick { justify-content: center; } .hg-agent-hero__cta { flex-direction: row; justify-content: center; flex-wrap: wrap; } }

/* Agent body sections */
.hg-agent-body { background: var(--hg-bg); padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 32px); }
.hg-agent-body__inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; }
.hg-agent-bio { padding: 28px; }
.hg-agent-bio h2 { font-size: 22px; color: var(--hg-navy); font-weight: 800; margin: 0 0 14px; letter-spacing: -0.015em; }
.hg-agent-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; padding: 18px 0 0; }
.hg-agent-meta { padding: 14px 16px; background: var(--hg-bg); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); }
.hg-agent-meta__lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hg-ink-muted); }
.hg-agent-meta__val { color: var(--hg-navy); font-weight: 700; margin-top: 4px; font-size: 14px; word-break: break-word; }

/* Reviews */
.hg-reviews-wrap { padding: clamp(32px, 4vw, 64px) clamp(20px, 4vw, 32px); }
.hg-reviews-wrap__inner { max-width: 1180px; margin: 0 auto; }
.hg-reviews-summary { display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: var(--hg-amber-tint); border: 1px solid rgba(245,166,35,0.3); border-radius: var(--hg-radius-lg); margin-bottom: 28px; flex-wrap: wrap; }
.hg-reviews-summary__num { font-size: 48px; font-weight: 800; color: var(--hg-amber-deep); line-height: 1; }
.hg-reviews-summary__count { color: var(--hg-navy); font-weight: 600; font-size: 14px; }
.hg-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.hg-review-card { padding: 24px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); transition: transform .2s, box-shadow .2s; }
.hg-review-card:hover { transform: translateY(-2px); box-shadow: var(--hg-shadow); }
.hg-review-card__quote { color: var(--hg-ink); font-size: 15.5px; line-height: 1.65; margin: 0 0 16px; font-style: italic; }
.hg-review-card__by { font-weight: 700; color: var(--hg-navy); font-size: 14px; }
.hg-review-card__meta { font-size: 12.5px; color: var(--hg-ink-muted); margin-top: 2px; }
.hg-reviews-empty { padding: 36px; background: var(--hg-bg-alt); border: 1px dashed var(--hg-line-strong); border-radius: var(--hg-radius); text-align: center; color: var(--hg-ink-muted); font-size: 14.5px; }

/* Review submit form */
.hg-review-form { padding: 28px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); margin-top: 28px; }
.hg-stars-input { display: inline-flex; gap: 4px; padding: 10px 0; }
.hg-stars-input input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.hg-stars-input label { cursor: pointer; color: var(--hg-line-strong); transition: color .15s; }
.hg-stars-input label:hover, .hg-stars-input label:hover ~ label, .hg-stars-input label.is-active, .hg-stars-input label.is-active ~ label { color: var(--hg-amber); }
/* =============================================================
   CITY TILES (homepage)
   ============================================================= */
.hg-cities-rich { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hg-city-tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); text-decoration: none; transition: transform .22s, box-shadow .22s, border-color .22s; min-width: 0; }
.hg-city-tile:hover { transform: translateY(-4px); border-color: var(--hg-amber); box-shadow: var(--hg-shadow); }
.hg-city-tile__head { display: flex; flex-direction: column; gap: 2px; }
.hg-city-tile__lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hg-amber-deep); }
.hg-city-tile__name { font-size: 22px; font-weight: 800; color: var(--hg-navy); margin: 0; letter-spacing: -0.015em; }
.hg-city-tile__tag { font-size: 14px; font-weight: 600; color: var(--hg-navy-light); margin: 0; }
.hg-city-tile__blurb { font-size: 13.5px; line-height: 1.55; color: var(--hg-ink-muted); margin: 0; }
.hg-city-tile__hoods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hg-city-tile__hoods span { padding: 4px 10px; background: var(--hg-bg-alt); color: var(--hg-navy); font-size: 11.5px; font-weight: 600; border-radius: 999px; }
.hg-city-tile__hoods-more { background: var(--hg-amber-tint) !important; color: var(--hg-amber-deep) !important; }
.hg-city-tile__cta { margin-top: auto; color: var(--hg-amber-deep); font-weight: 700; font-size: 13.5px; padding-top: 8px; border-top: 1px solid var(--hg-line-soft); }
@media (max-width: 1023px) { .hg-cities-rich { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hg-cities-rich { grid-template-columns: 1fr; } }

/* =============================================================
   CITY HERO (taxonomy archive)
   ============================================================= */
.hg-city-hero { background: linear-gradient(135deg, var(--hg-navy) 0%, var(--hg-navy-deep) 100%); color: var(--hg-white); padding: clamp(56px,7vw,100px) clamp(20px,4vw,32px) clamp(48px,6vw,80px); position: relative; overflow: clip; }
.hg-city-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0); background-size: 32px 32px; opacity: 0.5; }
.hg-city-hero__inner { max-width: 980px; margin: 0 auto; position: relative; z-index: 1; }
.hg-city-hero__h1 { font-size: clamp(32px,5vw,52px); font-weight: 800; color: var(--hg-white); margin: 8px 0 12px; letter-spacing: -0.025em; line-height: 1.1; }
.hg-city-hero__tag { font-size: clamp(16px,1.6vw,19px); font-weight: 600; color: var(--hg-amber-soft); margin: 0 0 16px; }
.hg-city-hero__blurb { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,0.82); margin: 0 0 14px; max-width: 720px; }
.hg-city-hero__why { font-size: 14px; color: rgba(255,255,255,0.72); margin: 0 0 22px; padding: 12px 16px; background: rgba(255,255,255,0.06); border-left: 3px solid var(--hg-amber); border-radius: 0 var(--hg-radius) var(--hg-radius) 0; max-width: 720px; }
.hg-city-hero__hoods { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hg-city-hero__hoods-lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-right: 4px; }
.hg-city-hero__hood { padding: 6px 12px; background: rgba(255,255,255,0.08); color: var(--hg-white); font-size: 13px; font-weight: 600; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); }

.hg-city-otherlinks { margin-top: 56px; padding: 28px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); }
.hg-city-otherlinks h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hg-amber-deep); margin: 0 0 14px; }
.hg-city-otherlinks__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 8px; }
.hg-city-otherlinks__grid a { color: var(--hg-navy); font-weight: 600; padding: 10px 14px; background: var(--hg-bg-alt); border-radius: var(--hg-radius); text-decoration: none; transition: background .15s, color .15s; }
.hg-city-otherlinks__grid a:hover { background: var(--hg-amber-tint); color: var(--hg-amber-deep); }

/* =============================================================
   APPLY-CART DRAWER (Phase 11)
   ============================================================= */
.hg-cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 420px); max-width: 100%; background: var(--hg-white); z-index: 220; transform: translateX(100%); transition: transform .32s cubic-bezier(0.32, 0.72, 0.24, 1); display: flex; flex-direction: column; box-shadow: -16px 0 48px -12px rgba(15,27,45,0.18); overflow-y: auto; -webkit-overflow-scrolling: touch; visibility: hidden; }
.hg-cart-drawer.is-open { transform: translateX(0); visibility: visible; }
.hg-cart-backdrop { position: fixed; inset: 0; background: rgba(15,27,45,0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 219; }
.hg-cart-backdrop.is-open { opacity: 1; visibility: visible; }
.hg-cart-drawer__head { padding: 18px 20px; border-bottom: 1px solid var(--hg-line); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--hg-white); z-index: 1; }
.hg-cart-drawer__title { font-size: 16px; font-weight: 800; color: var(--hg-navy); margin: 0; }
.hg-cart-drawer__close { width: 36px; height: 36px; border-radius: 50%; background: var(--hg-bg-alt); border: 1px solid var(--hg-line); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--hg-navy); transition: background .15s, transform .15s; }
.hg-cart-drawer__close:hover { background: var(--hg-amber); color: var(--hg-white); transform: rotate(90deg); }
.hg-cart-drawer__body { padding: 20px; flex: 1; }
.hg-cart-item { padding: 14px; background: var(--hg-bg-alt); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); }
.hg-cart-item__photo { aspect-ratio: 16/10; background: var(--hg-bg); border-radius: var(--hg-radius-sm); overflow: hidden; margin-bottom: 12px; }
.hg-cart-item__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-cart-item__title { font-size: 16px; font-weight: 800; color: var(--hg-navy); margin: 0 0 4px; line-height: 1.3; }
.hg-cart-item__addr { font-size: 13px; color: var(--hg-ink-muted); margin: 0 0 10px; }
.hg-cart-item__meta { display: flex; gap: 10px; font-size: 12.5px; color: var(--hg-ink-muted); padding-top: 10px; border-top: 1px solid var(--hg-line); }
.hg-cart-item__price { color: var(--hg-amber-deep); font-weight: 800; font-size: 17px; }
.hg-cart-drawer__foot { padding: 16px 20px 22px; border-top: 1px solid var(--hg-line); position: sticky; bottom: 0; background: var(--hg-white); }
.hg-cart-drawer__steps { display: flex; gap: 6px; font-size: 11px; color: var(--hg-ink-muted); margin-bottom: 12px; padding: 10px; background: var(--hg-amber-tint); border-radius: var(--hg-radius); }
.hg-cart-drawer__steps strong { color: var(--hg-amber-deep); font-weight: 700; }
.hg-cart-drawer__cta { width: 100%; padding: 16px 22px; background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white) !important; border-radius: var(--hg-radius); font-weight: 800; font-size: 15px; text-align: center; text-decoration: none !important; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--hg-shadow-amber); }
.hg-cart-drawer__cta:hover { transform: translateY(-1px); }

/* =============================================================
   LEASE PRINT VIEW
   ============================================================= */
.hg-lease-print { max-width: 760px; margin: 40px auto; padding: 48px; background: #fff; color: #111; font-family: var(--hg-font); }
.hg-lease-print h1 { font-size: 28px; color: #0B3954; margin: 0 0 6px; }
.hg-lease-print h2 { font-size: 18px; color: #0B3954; margin: 28px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #ddd; }
.hg-lease-print table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.hg-lease-print td { padding: 6px 8px; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.hg-lease-print .hg-lease-sig { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; padding-top: 24px; border-top: 2px solid #0B3954; }
.hg-lease-print .hg-lease-sig img { max-width: 220px; height: 60px; object-fit: contain; }
.hg-lease-print .hg-lease-sig-line { border-top: 1px solid #999; padding-top: 6px; margin-top: 60px; font-size: 11px; color: #666; }
@media print { body * { visibility: hidden; } .hg-lease-print, .hg-lease-print * { visibility: visible; } .hg-lease-print { position: absolute; left: 0; top: 0; padding: 24px; } .hg-site-header, .hg-footer, .hg-mobile-sticky { display: none !important; } }
/* Hero with photo backdrop */
.hg-hero--with-photo .hg-hero__photo-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0.18; pointer-events: none; z-index: 0; }
.hg-hero--with-photo .hg-hero__photo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,251,253,0.65) 0%, rgba(250,251,253,0.92) 100%); pointer-events: none; z-index: 0; }
.hg-hero--with-photo .hg-hero__inner { z-index: 2; }

/* How-it-works section accent photo */
.hg-section--with-photo { position: relative; }
.hg-howit-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 38%; background-size: cover; background-position: center; opacity: 0.18; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); pointer-events: none; }
@media (max-width: 1023px) { .hg-howit-photo { display: none; } }

/* Path card photos (Tenants / Landlords / Investors) */
.hg-path { padding-top: 0 !important; overflow: hidden; }
.hg-path__photo { aspect-ratio: 16/9; background-size: cover; background-position: center; margin: -1px -28px 22px -28px; border-bottom: 1px solid var(--hg-line); }