/* =============================================================
   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: 72px; width: auto; max-height: 72px; 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; }
  /* The strip scrolls on narrow screens. Without a fade the last item just
     stops mid-word at the edge and reads as broken text rather than as
     something you can swipe. */
  .hg-promo-strip { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
                            mask-image: linear-gradient(90deg, #000 88%, transparent 100%); }
  .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: 64px; max-height: 64px; }
}

/* =============================================================
   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: 96px; width: auto; max-height: 96px; 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: 64px; width: auto; max-height: 64px; 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: 80px; max-height: 80px; }
  .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: 72px; max-height: 72px; }
}
/* =============================================================
   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-FIX 2026-05-12 — keep price visible when offer badge is present */
.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(2, minmax(0, 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); }
/* =============================================================
   CITY TILES — with photo headers
   ============================================================= */
.hg-city-tile { padding: 0 !important; overflow: hidden; }
.hg-city-tile__photo { aspect-ratio: 16/9; background-size: cover; background-position: center; border-bottom: 1px solid var(--hg-line-soft); transition: transform .4s; }
.hg-city-tile:hover .hg-city-tile__photo { transform: scale(1.04); }
.hg-city-tile__head, .hg-city-tile__tag, .hg-city-tile__blurb, .hg-city-tile__hoods, .hg-city-tile__cta { padding-left: 24px; padding-right: 24px; }
.hg-city-tile__head { padding-top: 20px; }
.hg-city-tile__cta { padding-bottom: 22px; }

/* City archive hero with photo */
.hg-city-hero--with-photo { padding: clamp(96px, 12vw, 160px) clamp(20px, 4vw, 32px) clamp(48px, 6vw, 80px); }
.hg-city-hero__photo { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: 0.42; pointer-events: none; z-index: 0; }
.hg-city-hero--with-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,57,84,0.25) 0%, rgba(11,57,84,0.85) 75%, rgba(8,40,61,1) 100%); pointer-events: none; z-index: 1; }
.hg-city-hero--with-photo .hg-city-hero__inner { position: relative; z-index: 2; }
/* =============================================================
   PHASE 16 — sticky bar overlap fix + multi-step app flow + About readability
   ============================================================= */
body.hg-modal-open .hg-mobile-sticky,
body.hg-nav-open .hg-mobile-sticky { display: none !important; }

/* Multi-step application flow */
.hg-app-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.hg-app-step-pill { flex: 1; padding: 12px 14px; border-radius: var(--hg-radius); background: var(--hg-bg-alt); border: 1px solid var(--hg-line); text-align: center; transition: all .2s; min-width: 0; }
.hg-app-step-pill.is-active { background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); border-color: var(--hg-amber-deep); }
.hg-app-step-pill.is-done { background: rgba(245,166,35,0.12); border-color: rgba(245,166,35,0.4); }
.hg-app-step-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--hg-line); color: var(--hg-ink-muted); font-weight: 800; font-size: 13px; margin-right: 8px; }
.hg-app-step-pill.is-active .hg-app-step-num { background: var(--hg-white); color: var(--hg-amber-deep); }
.hg-app-step-pill.is-done .hg-app-step-num { background: var(--hg-amber); color: var(--hg-white); }
.hg-app-step-pill.is-active .hg-app-step-lbl { color: var(--hg-white); }
.hg-app-step-pill.is-done .hg-app-step-lbl { color: var(--hg-amber-deep); }
.hg-app-step-lbl { font-size: 12px; font-weight: 700; color: var(--hg-ink-muted); letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 720px) { .hg-app-step-pill { padding: 10px 6px; } .hg-app-step-num { width: 22px; height: 22px; font-size: 11px; margin-right: 4px; } .hg-app-step-lbl { font-size: 10px; } }

.hg-app-step { display: none; animation: hg-fade-in .2s ease-out; }
.hg-app-step.is-active { display: block; }
@keyframes hg-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hg-app-step__h { font-size: 22px; font-weight: 800; color: var(--hg-navy); margin: 0 0 6px; letter-spacing: -0.015em; }
.hg-app-step__sub { color: var(--hg-ink-muted); font-size: 14.5px; margin: 0 0 22px; }
.hg-app-nav { display: flex; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hg-line); }
.hg-app-nav__back { background: transparent; border: 1.5px solid var(--hg-line-strong); color: var(--hg-navy); padding: 14px 22px; border-radius: var(--hg-radius); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.hg-app-nav__back:hover { background: var(--hg-bg-alt); border-color: var(--hg-navy); }
.hg-app-nav__next { flex: 1; background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white); border: 0; padding: 16px 22px; border-radius: var(--hg-radius); font-weight: 800; font-size: 15.5px; cursor: pointer; box-shadow: var(--hg-shadow-amber); }
.hg-app-nav__next:hover { transform: translateY(-1px); }

/* Big top property card on application (replaces sidebar emphasis) */
.hg-applying-for { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 14px; background: var(--hg-amber-tint); border: 1px solid rgba(245,166,35,0.35); border-radius: var(--hg-radius-lg); margin-bottom: 24px; }
.hg-applying-for__photo { aspect-ratio: 4/3; border-radius: var(--hg-radius); overflow: hidden; background: var(--hg-bg); }
.hg-applying-for__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-applying-for__lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hg-amber-deep); }
.hg-applying-for__title { font-size: 18px; font-weight: 800; color: var(--hg-navy); margin: 4px 0 6px; line-height: 1.3; letter-spacing: -0.01em; }
.hg-applying-for__addr { font-size: 14px; color: var(--hg-ink-soft); margin: 0 0 10px; }
.hg-applying-for__chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.hg-applying-for__chips span { padding: 4px 10px; background: rgba(255,255,255,0.7); border-radius: 999px; color: var(--hg-navy); font-weight: 600; }
.hg-applying-for__price { color: var(--hg-amber-deep); font-weight: 800; font-size: 17px; padding: 4px 10px !important; background: var(--hg-white) !important; }
.hg-applying-for__id { font-size: 11px; color: var(--hg-ink-muted); font-family: ui-monospace, 'SF Mono', monospace; margin-top: 8px; letter-spacing: 0.04em; }
@media (max-width: 720px) { .hg-applying-for { grid-template-columns: 1fr; } .hg-applying-for__photo { aspect-ratio: 16/9; } }

/* Review step — read-only summary blocks */
.hg-app-review-block { padding: 18px 20px; background: var(--hg-bg); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); margin-bottom: 14px; }
.hg-app-review-block__h { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hg-amber-deep); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--hg-line-soft); }
.hg-app-review-row { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 5px 0; font-size: 14px; }
.hg-app-review-row__lbl { color: var(--hg-ink-muted); font-weight: 600; }
.hg-app-review-row__val { color: var(--hg-navy); font-weight: 600; word-break: break-word; }
.hg-app-review-row__val--empty { color: var(--hg-ink-muted); font-style: italic; font-weight: 400; }

/* Listed-by below submit — pulls focus to the form first */
.hg-app-listed-by { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hg-line); }
.hg-app-listed-by__h { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hg-ink-muted); margin: 0 0 10px; }

/* About Us page readability fix — force tenant/landlord cards to light bg + dark text */
.page-id-44478 .hg-rte div[style*="background:#08415c"],
.page-id-44478 .hg-rte div[style*="background:#0B3954"],
.page-id-44478 .hg-rte div[style*="background-color:#08415c"],
.page-id-44478 .hg-rte div[style*="background:rgba(8,65,92"],
.page-id-44478 .hg-rte [class*="audience-card"],
.page-id-44478 .hg-rte [class*="path"]:not(p):not(span):not(li),
.page-id-44478 .hg-rte [style*="color:#fff"]:not(.hg-btn--primary):not(.hg-btn--dark),
.page-id-44478 .hg-rte [style*="color:#FFFFFF"]:not(.hg-btn--primary):not(.hg-btn--dark),
.page-id-44478 .hg-rte [style*="color:white"]:not(.hg-btn--primary):not(.hg-btn--dark) {
    background: var(--hg-white) !important;
    color: var(--hg-ink) !important;
    border: 1px solid var(--hg-line) !important;
    box-shadow: var(--hg-shadow-sm) !important;
}
.page-id-44478 .hg-rte * { color: var(--hg-ink-soft); }
.page-id-44478 .hg-rte h1, .page-id-44478 .hg-rte h2, .page-id-44478 .hg-rte h3, .page-id-44478 .hg-rte h4, .page-id-44478 .hg-rte h5 { color: var(--hg-navy) !important; }
.page-id-44478 .hg-rte strong, .page-id-44478 .hg-rte b { color: var(--hg-navy); }
.page-id-44478 .hg-rte a { color: var(--hg-amber-deep); }
/* =============================================================
   PHASE 17 — single-property restructure: tabs, actions, listed-by
   ============================================================= */
.hg-property-body-single { max-width: 1180px; margin: 0 auto; }

/* Horizontal tabs */
.hg-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hg-line); margin-bottom: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hg-tabs::-webkit-scrollbar { display: none; }
.hg-tab { background: transparent; border: 0; padding: 14px 20px; font-family: var(--hg-font); font-size: 15px; font-weight: 600; color: var(--hg-ink-muted); cursor: pointer; position: relative; white-space: nowrap; transition: color .15s; flex-shrink: 0; }
.hg-tab::after { content: ''; position: absolute; bottom: -1px; left: 16px; right: 16px; height: 3px; background: var(--hg-amber); border-radius: 2px 2px 0 0; transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.hg-tab:hover { color: var(--hg-navy); }
.hg-tab.is-active { color: var(--hg-navy); font-weight: 800; }
.hg-tab.is-active::after { transform: scaleX(1); }

.hg-tab-panels { margin-bottom: 36px; }
.hg-tab-panel { display: none; animation: hg-fade-in .25s ease-out; }
.hg-tab-panel.is-active { display: block; }

/* Action group — 3 CTAs */
.hg-action-group { margin: 36px 0; }
.hg-action-group__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hg-action-card { display: flex; align-items: center; gap: 14px; padding: 18px 18px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); text-decoration: none; transition: all .22s; cursor: pointer; font-family: var(--hg-font); text-align: left; min-width: 0; }
.hg-action-card:hover { transform: translateY(-3px); border-color: var(--hg-amber); box-shadow: var(--hg-shadow); }
.hg-action-card--primary { background: linear-gradient(120deg, var(--hg-amber) 0%, var(--hg-amber-deep) 100%); border-color: var(--hg-amber-deep); color: var(--hg-white); box-shadow: var(--hg-shadow-amber); }
.hg-action-card--primary:hover { transform: translateY(-3px); border-color: var(--hg-amber-deep); }
.hg-action-card__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--hg-amber-tint); color: var(--hg-amber-deep); display: inline-flex; align-items: center; justify-content: center; }
.hg-action-card--primary .hg-action-card__icon { background: rgba(255,255,255,0.2); color: var(--hg-white); }
.hg-action-card__body { flex: 1; min-width: 0; }
.hg-action-card__body strong { display: block; font-weight: 800; color: var(--hg-navy); font-size: 15px; line-height: 1.3; letter-spacing: -0.01em; }
.hg-action-card__body span { display: block; font-size: 12.5px; color: var(--hg-ink-muted); margin-top: 2px; line-height: 1.4; }
.hg-action-card--primary .hg-action-card__body strong, .hg-action-card--primary .hg-action-card__body span { color: var(--hg-white); }
.hg-action-card--primary .hg-action-card__body span { color: rgba(255,255,255,0.9); }
.hg-action-card__arrow { color: var(--hg-amber-deep); font-weight: 800; font-size: 18px; flex-shrink: 0; transition: transform .15s; }
.hg-action-card--primary .hg-action-card__arrow { color: var(--hg-white); }
.hg-action-card:hover .hg-action-card__arrow { transform: translateX(4px); }
@media (max-width: 900px) { .hg-action-group__row { grid-template-columns: 1fr; } }

/* Listed-by compact landlord identity card */

/* 3-col grid lock for listings */
.hg-listing-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) { .hg-listing-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .hg-listing-grid--3 { grid-template-columns: 1fr; } }

/* Strict 3-col on /property/ archive */
.post-type-archive-property .hg-listing-grid, .tax-property_city .hg-listing-grid, .tax-property_state .hg-listing-grid, .tax-property_type .hg-listing-grid, .tax-property_status .hg-listing-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1023px) { .post-type-archive-property .hg-listing-grid, .tax-property_city .hg-listing-grid, .tax-property_state .hg-listing-grid, .tax-property_type .hg-listing-grid, .tax-property_status .hg-listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .post-type-archive-property .hg-listing-grid, .tax-property_city .hg-listing-grid, .tax-property_state .hg-listing-grid, .tax-property_type .hg-listing-grid, .tax-property_status .hg-listing-grid { grid-template-columns: 1fr; } }
/* =============================================================
   PHASE 18 — application form restructure
   ============================================================= */
.hg-app-hero { padding: clamp(36px,4vw,60px) clamp(20px,4vw,32px) clamp(22px,3vw,36px); background: linear-gradient(180deg, var(--hg-bg) 0%, var(--hg-white) 100%); border-bottom: 1px solid var(--hg-line-soft); position: relative; overflow: clip; }
.hg-app-hero__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.hg-app-hero__inner h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: var(--hg-navy); margin: 12px 0 0; letter-spacing: -0.02em; line-height: 1.15; }

.hg-app-section { background: var(--hg-bg); padding: 24px clamp(16px,4vw,32px) 64px; }
.hg-app-shell { max-width: 880px; margin: 0 auto; }

/* Compact sticky property strip */
.hg-app-strip { position: sticky; top: 80px; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); box-shadow: var(--hg-shadow-sm); margin-bottom: 16px; }
.hg-app-strip__photo { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--hg-bg-alt); }
.hg-app-strip__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-app-strip__body { flex: 1; min-width: 0; }
.hg-app-strip__lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hg-amber-deep); }
.hg-app-strip__addr { font-size: 14.5px; font-weight: 800; color: var(--hg-navy); margin: 2px 0 4px; line-height: 1.25; letter-spacing: -0.01em; word-break: break-word; }
.hg-app-strip__meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--hg-ink-muted); align-items: center; }
.hg-app-strip__meta span { padding: 2px 8px; background: var(--hg-bg-alt); border-radius: 999px; font-weight: 600; }
.hg-app-strip__price { background: var(--hg-amber-tint) !important; color: var(--hg-amber-deep) !important; }
.hg-app-strip__id { background: transparent !important; color: var(--hg-ink-muted) !important; font-family: ui-monospace, monospace; padding: 0 !important; font-size: 11px !important; }
@media (max-width: 480px) { .hg-app-strip__addr { font-size: 13px; } .hg-app-strip { padding: 8px 10px; gap: 10px; } .hg-app-strip__photo { flex: 0 0 50px; width: 50px; height: 50px; } }

/* File upload UI */
.hg-uploads { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 18px; }
.hg-upload { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--hg-bg); border: 1.5px dashed var(--hg-line-strong); border-radius: var(--hg-radius); cursor: pointer; transition: all .2s; position: relative; }
.hg-upload:hover { border-color: var(--hg-amber); background: var(--hg-amber-tint); }
.hg-upload.is-filled { border-style: solid; border-color: var(--hg-amber-deep); background: rgba(245,166,35,0.08); }
.hg-upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hg-upload__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--hg-amber-tint); color: var(--hg-amber-deep); display: inline-flex; align-items: center; justify-content: center; }
.hg-upload.is-filled .hg-upload__icon { background: var(--hg-amber-deep); color: var(--hg-white); }
.hg-upload__lbl { flex: 1; min-width: 0; }
.hg-upload__lbl strong { display: block; font-weight: 700; color: var(--hg-navy); font-size: 14px; }
.hg-upload__lbl small { display: block; font-size: 12px; color: var(--hg-ink-muted); margin-top: 2px; }
.hg-upload__list { font-size: 12.5px; color: var(--hg-amber-deep); font-weight: 600; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hg-upload__list:empty { display: none; }
@media (max-width: 600px) { .hg-upload__list { display: block; max-width: 100%; flex-basis: 100%; margin-top: 4px; white-space: normal; } }
/* =============================================================
   LISTED BY — compact, premium, Zillow-style identity card
   ============================================================= */
.hg-listed-by__card { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); box-shadow: var(--hg-shadow-sm); }
.hg-listed-by__avatar { width: 76px; height: 76px; 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: 28px; flex-shrink: 0; }
.hg-listed-by__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hg-listed-by__body { min-width: 0; }
.hg-listed-by__role { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hg-amber-deep); margin-bottom: 4px; }
.hg-listed-by__name { font-size: 19px; font-weight: 800; color: var(--hg-navy); margin: 0 0 4px; letter-spacing: -0.015em; }
.hg-listed-by__email { font-size: 13.5px; color: var(--hg-amber-deep); font-weight: 600; word-break: break-all; }
.hg-listed-by__actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 720px) {
    .hg-listed-by__card { grid-template-columns: 64px 1fr; row-gap: 14px; padding: 16px 18px; }
    .hg-listed-by__avatar { width: 64px; height: 64px; font-size: 24px; }
    .hg-listed-by__actions { grid-column: 1 / -1; flex-direction: row; }
    .hg-listed-by__actions .hg-btn { flex: 1; justify-content: center; }
}
/* =============================================================
   STICKY BAR with landlord identity (Phase 19)
   ============================================================= */
@media (max-width: 768px) {
  .hg-mobile-sticky { padding: 8px 12px; gap: 8px; }
  .hg-mobile-sticky__price-block { min-width: 0; flex-shrink: 0; }
  .hg-mobile-sticky__price { color: var(--hg-amber-deep); font-weight: 800; font-size: 16px; line-height: 1.1; }
  .hg-mobile-sticky__sub { font-size: 11.5px; color: var(--hg-ink-muted); }
  .hg-mobile-sticky__landlord { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 4px 8px; background: var(--hg-bg-alt); border: 1px solid var(--hg-line); border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s; max-width: 130px; }
  .hg-mobile-sticky__landlord:hover, .hg-mobile-sticky__landlord:focus-visible { background: var(--hg-amber-tint); border-color: var(--hg-amber); outline: none; }
  .hg-mobile-sticky__avatar { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--hg-amber), var(--hg-amber-deep)); display: inline-flex; align-items: center; justify-content: center; }
  .hg-mobile-sticky__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hg-mobile-sticky__avatar-fb { color: var(--hg-white); font-weight: 800; font-size: 12px; }
  .hg-mobile-sticky__landlord-name { font-size: 12.5px; font-weight: 700; color: var(--hg-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hg-mobile-sticky__cta { padding: 11px 18px !important; font-size: 14px !important; flex-shrink: 0; }
  @media (max-width: 380px) {
    .hg-mobile-sticky__landlord-name { display: none; }
    .hg-mobile-sticky__landlord { padding: 4px; max-width: 36px; }
  }
}

/* Landlord quick-profile modal */
.hg-ll-modal { padding: 28px 28px 24px; text-align: center; }
.hg-ll-modal__avatar { width: 88px; height: 88px; margin: 0 auto 14px; 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: 34px; }
.hg-ll-modal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hg-ll-modal__role { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hg-amber-deep); }
.hg-ll-modal__name { font-size: 22px; font-weight: 800; color: var(--hg-navy); margin: 4px 0 10px; letter-spacing: -0.015em; }
.hg-ll-modal__bio { font-size: 14px; color: var(--hg-ink-soft); line-height: 1.6; margin: 0 0 12px; }
.hg-ll-modal__email { display: inline-block; font-size: 13.5px; color: var(--hg-amber-deep); font-weight: 600; margin-bottom: 18px; }
.hg-ll-modal__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
/* =============================================================
   PHASE 20 — dynamic special/discount engine
   ============================================================= */
.hg-status-pill--special { background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white); display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 4px 14px -3px rgba(245,166,35,0.5); }

.hg-overview-sub-h { font-size: 15px; font-weight: 800; color: var(--hg-navy); margin: 22px 0 10px; letter-spacing: -0.01em; }

.hg-special-card { padding: 24px 26px; background: linear-gradient(135deg, rgba(245,166,35,0.10), rgba(255,140,102,0.05)); border: 1.5px solid rgba(245,166,35,0.4); border-radius: var(--hg-radius-lg); position: relative; overflow: hidden; }
.hg-special-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(245,166,35,0.18), transparent 70%); pointer-events: none; }
.hg-special-card__head { position: relative; z-index: 1; margin-bottom: 12px; }
.hg-special-card__pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--hg-amber-deep); color: var(--hg-white); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.hg-special-card__h { font-size: 22px; font-weight: 800; color: var(--hg-navy); margin: 0 0 6px; line-height: 1.25; letter-spacing: -0.015em; }
.hg-special-card__urgency { font-size: 13.5px; color: var(--hg-amber-deep); margin: 0; font-weight: 600; }
.hg-special-card__note { font-size: 15px; color: var(--hg-ink-soft); line-height: 1.65; margin: 0 0 18px; position: relative; z-index: 1; }
.hg-special-card__note strong { color: var(--hg-navy); }
.hg-special-card__cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; position: relative; z-index: 1; }
.hg-special-card__details { list-style: none; padding: 14px 18px; margin: 0; background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 16px; position: relative; z-index: 1; }
.hg-special-card__details li { display: flex; flex-direction: column; gap: 2px; }
.hg-special-card__details span { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hg-ink-muted); }
.hg-special-card__details strong { font-size: 15px; font-weight: 800; color: var(--hg-navy); letter-spacing: -0.01em; }

/* Listing card special badge — stronger emphasis */
.hg-listing__badge--offer { background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)) !important; color: var(--hg-white) !important; box-shadow: 0 6px 16px -4px rgba(245,166,35,0.55); display: inline-flex; align-items: center; gap: 4px; }
/* =============================================================
   PHASE 21 — application payment radios + lease signing page
   ============================================================= */
.hg-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.hg-pay { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--hg-bg); border: 1.5px solid var(--hg-line); border-radius: var(--hg-radius); cursor: pointer; transition: all .2s; position: relative; }
.hg-pay:hover { border-color: var(--hg-amber); background: var(--hg-amber-tint); }
.hg-pay input[type=radio] { position: absolute; opacity: 0; }
.hg-pay input[type=radio]:checked ~ .hg-pay__icon { background: var(--hg-amber-deep); color: var(--hg-white); }
.hg-pay:has(input[type=radio]:checked) { border-color: var(--hg-amber-deep); background: rgba(245,166,35,0.08); }
.hg-pay__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--hg-amber-tint); color: var(--hg-amber-deep); display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.hg-pay__lbl { flex: 1; min-width: 0; }
.hg-pay__lbl strong { display: block; font-weight: 700; color: var(--hg-navy); font-size: 14px; }
.hg-pay__lbl small { display: block; font-size: 12px; color: var(--hg-ink-muted); margin-top: 2px; }
@media (max-width: 600px) { .hg-pay-grid { grid-template-columns: 1fr; } }

/* Lease signing page */
.hg-lease-select { width: 100%; padding: 14px 16px; font-size: 16px; border: 1.5px solid var(--hg-line-strong); border-radius: var(--hg-radius); background: var(--hg-white); color: var(--hg-navy); font-weight: 600; font-family: var(--hg-font); }
.hg-lease-select:focus { border-color: var(--hg-amber); outline: none; }
.hg-lease-doc { margin-top: 18px; }
.hg-lease-card { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--hg-shadow-sm); }
.hg-lease-block { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--hg-line-soft); }
.hg-lease-block:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.hg-lease-block--special { background: linear-gradient(120deg, rgba(245,166,35,0.10), rgba(255,140,102,0.05)); border: 1.5px solid rgba(245,166,35,0.4); border-radius: var(--hg-radius); padding: 18px 22px; }
.hg-lease-block h3 { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--hg-amber-deep); margin: 0 0 14px; }
.hg-lease-tbl { width: 100%; border-collapse: collapse; }
.hg-lease-tbl td { padding: 8px 0; border-bottom: 1px solid var(--hg-line-soft); font-size: 14px; vertical-align: top; }
.hg-lease-tbl td:first-child { color: var(--hg-ink-muted); font-weight: 600; width: 40%; padding-right: 16px; }
.hg-lease-tbl tr:last-child td { border-bottom: 0; }
.hg-lease-p { font-size: 14.5px; color: var(--hg-ink-soft); line-height: 1.6; margin: 0 0 12px; }
.hg-lease-p:last-child { margin-bottom: 0; }
.hg-lease-p strong { color: var(--hg-navy); }
/* Sign Lease nav links */
.hg-nav-menu__sign { color: var(--hg-amber-deep) !important; font-weight: 700 !important; }
.hg-nav-menu__sign:hover { background: var(--hg-amber-tint) !important; color: var(--hg-amber-deep) !important; }
.hg-mobile-nav__sign { display: block; padding: 14px 16px; margin-top: 6px; text-align: center; background: var(--hg-amber-tint); border: 1px solid rgba(245,166,35,0.4); border-radius: var(--hg-radius); color: var(--hg-amber-deep) !important; font-weight: 700; text-decoration: none; }
.hg-mobile-nav__sign:hover { background: rgba(245,166,35,0.18); }
/* =============================================================
   LEASE SIGNING PICKER — state → city → visual property cards
   ============================================================= */
.hg-lease-picker { padding: clamp(20px, 3vw, 32px); }
.hg-lease-step { display: flex; gap: 16px; align-items: flex-start; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--hg-line-soft); }
.hg-lease-step:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.hg-lease-step__num { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white); font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px -3px rgba(245,166,35,0.45); }
.hg-lease-step__h { font-size: 16px; font-weight: 800; color: var(--hg-navy); margin: 6px 0 12px; letter-spacing: -0.01em; }

.hg-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hg-pill { padding: 10px 18px; background: var(--hg-bg-alt); border: 1.5px solid var(--hg-line); border-radius: 999px; color: var(--hg-navy); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; font-family: var(--hg-font); }
.hg-pill:hover { border-color: var(--hg-amber); background: var(--hg-amber-tint); }
.hg-pill.is-active { background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white); border-color: var(--hg-amber-deep); box-shadow: 0 4px 14px -3px rgba(245,166,35,0.55); }

.hg-lease-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.hg-lease-card { padding: 0; background: var(--hg-white); border: 1.5px solid var(--hg-line); border-radius: var(--hg-radius-lg); cursor: pointer; transition: all .22s; overflow: hidden; text-align: left; font-family: var(--hg-font); display: flex; flex-direction: column; }
.hg-lease-card:hover { border-color: var(--hg-amber); transform: translateY(-3px); box-shadow: var(--hg-shadow); }
.hg-lease-card.is-active { border-color: var(--hg-amber-deep); border-width: 2px; box-shadow: 0 16px 32px -10px rgba(245,166,35,0.35); }
.hg-lease-card.is-active .hg-lease-card__cta { background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white); }
.hg-lease-card__photo { aspect-ratio: 16/10; overflow: hidden; background: var(--hg-bg-alt); }
.hg-lease-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-lease-card__body { padding: 14px 16px 0; }
.hg-lease-card__addr { font-size: 15px; font-weight: 800; color: var(--hg-navy); margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.3; }
.hg-lease-card__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--hg-ink-muted); }
.hg-lease-card__meta span { padding: 3px 9px; background: var(--hg-bg-alt); border-radius: 999px; font-weight: 600; }
.hg-lease-card__price { background: var(--hg-amber-tint) !important; color: var(--hg-amber-deep) !important; }
.hg-lease-card__cta { padding: 12px 16px; background: var(--hg-bg); border-top: 1px solid var(--hg-line-soft); font-size: 13px; font-weight: 700; color: var(--hg-amber-deep); transition: all .2s; margin-top: 14px; }

.hg-lease-empty { padding: 32px; text-align: center; background: var(--hg-bg-alt); border: 1px dashed var(--hg-line-strong); border-radius: var(--hg-radius); color: var(--hg-ink-muted); font-size: 14px; }

.hg-lease-card-doc { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); padding: clamp(20px,3vw,32px); box-shadow: var(--hg-shadow-sm); }

@media (max-width: 600px) { .hg-lease-step { flex-direction: column; gap: 10px; } .hg-lease-step__num { width: 32px; height: 32px; font-size: 14px; } }
/* =============================================================
   LEASE DOCUMENT — expanded structure matching reference
   ============================================================= */
.hg-lease-doc-body { background: var(--hg-white); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--hg-shadow-sm); margin-top: 8px; }
.hg-lease-doc-head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--hg-navy); margin-bottom: 18px; }
.hg-lease-doc-head img { height: 56px; width: auto; }
.hg-lease-doc-head h3 { font-size: 18px; font-weight: 800; color: var(--hg-navy); margin: 0; letter-spacing: -0.01em; }
.hg-lease-doc-head p { font-size: 13px; color: var(--hg-ink-muted); margin: 4px 0 0; font-style: italic; }
.hg-lease-h4 { font-size: 14.5px; color: var(--hg-navy); margin: 22px 0 8px; font-weight: 800; letter-spacing: -0.005em; }
.hg-lease-list { padding-left: 20px; margin: 8px 0 12px; }
.hg-lease-list li { font-size: 14.5px; line-height: 1.7; color: var(--hg-ink); margin-bottom: 4px; }

/* Signature grid on the signing page */
.hg-lease-sigrow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.hg-lease-sigbox { padding: 16px; background: var(--hg-bg); border: 1px solid var(--hg-line); border-radius: var(--hg-radius); }
.hg-lease-sigbox__lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hg-navy); font-weight: 800; margin-bottom: 10px; }
.hg-lease-sig-cursive { font-family: 'Dancing Script', cursive; font-size: 28px; color: var(--hg-navy); line-height: 1.1; padding: 12px 0 8px; }
.hg-lease-sigbox__rule { border-top: 1px solid var(--hg-line-strong); margin-top: 4px; }
.hg-lease-sigbox__name { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--hg-navy); }
.hg-lease-sigbox__date { font-size: 11px; color: var(--hg-ink-muted); margin-top: 2px; }
@media (max-width: 720px) { .hg-lease-sigrow { grid-template-columns: 1fr; } }
/* Lease picker search bar */
.hg-lease-search { display: flex; align-items: center; gap: 0; background: var(--hg-white); border: 1.5px solid var(--hg-line-strong); border-radius: 999px; padding: 4px 6px 4px 16px; margin: 6px 0 14px; transition: border-color .15s, box-shadow .15s; flex-wrap: wrap; }
.hg-lease-search:focus-within { border-color: var(--hg-amber); box-shadow: 0 0 0 3px rgba(245,166,35,0.15); }
.hg-lease-search__icon { display: inline-flex; align-items: center; color: var(--hg-ink-muted); flex-shrink: 0; padding-right: 8px; }
.hg-lease-search input[type=search] { flex: 1; min-width: 160px; border: 0 !important; background: transparent !important; padding: 11px 0 !important; font-size: 14.5px !important; color: var(--hg-navy) !important; outline: none !important; box-shadow: none !important; font-family: var(--hg-font); }
.hg-lease-search input[type=search]::placeholder { color: var(--hg-ink-muted); }
.hg-lease-search__clear { width: 28px; height: 28px; border-radius: 50%; background: var(--hg-bg-alt); border: 0; color: var(--hg-navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s; }
.hg-lease-search__clear:hover { background: var(--hg-amber); color: var(--hg-white); }
.hg-lease-search__count { font-size: 12px; font-weight: 600; color: var(--hg-ink-muted); padding: 0 12px; flex-shrink: 0; letter-spacing: 0.02em; }
@media (max-width: 600px) { .hg-lease-search__count { width: 100%; padding: 4px 0 6px 12px; order: 3; } }
/* ==========================================================
   PHASE 19 — Header + lease signing rebuild
   ========================================================== */

/* Header actions group: Sign Lease + Apply Now beside each other */
.hg-header-actions { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.hg-header-actions .hg-header-cta { padding: 11px 20px; font-size: 14px; }
.hg-header-cta--ghost { background: transparent !important; color: var(--hg-navy) !important; border: 1.5px solid var(--hg-navy); box-shadow: none !important; }
.hg-header-cta--ghost:hover { background: var(--hg-navy) !important; color: var(--hg-white) !important; }
.hg-header-cta--primary { /* uses default amber gradient from existing rule */ }
@media (max-width: 1023px) {
  /* On mobile keep BOTH Sign Lease + Apply Now side-by-side, just smaller */
  .hg-header-cta { display: inline-flex !important; padding: 9px 14px !important; font-size: 13px !important; }
  .hg-header-cta--ghost { padding: 9px 12px !important; }
  .hg-header-actions { gap: 6px; }
}
@media (max-width: 480px) {
  .hg-header-cta--ghost { display: none !important; } /* on tiny phones, show only Apply + hamburger; Sign Lease lives in drawer */
  .hg-header-cta--primary { padding: 9px 12px !important; }
}

/* Mobile drawer dual CTAs at top */
.hg-mobile-nav__cta-row { display: flex; gap: 10px; padding: 16px 20px 6px; }
.hg-mnav-cta { display: flex; flex: 1; align-items: center; justify-content: center; padding: 14px 12px; border-radius: var(--hg-radius); font-weight: 700; font-size: 15px; text-decoration: none; transition: all .15s; }
.hg-mnav-cta--primary { background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)); color: var(--hg-white) !important; box-shadow: var(--hg-shadow-amber); }
.hg-mnav-cta--ghost { background: transparent; color: var(--hg-navy) !important; border: 1.5px solid var(--hg-navy); }
.hg-mnav-cta--ghost:hover { background: var(--hg-navy); color: var(--hg-white) !important; }
.hg-mnav-cta::after { display: none !important; }
.hg-mobile-nav__search { margin: 12px 20px 4px; display: flex; align-items: stretch; background: var(--hg-bg-alt); border: 1px solid var(--hg-line); border-radius: var(--hg-radius-pill); overflow: hidden; }
.hg-mobile-nav__search .hg-mnav-search__icon { padding: 0 10px 0 14px; display: inline-flex; align-items: center; color: var(--hg-ink-muted); }
.hg-mobile-nav__search input { flex: 1; border: 0; background: transparent; padding: 12px 4px; font-size: 14.5px; color: var(--hg-ink); outline: none; }
.hg-mobile-nav__foot { margin-top: auto; padding: 16px 20px 24px; border-top: 1px solid var(--hg-line); background: var(--hg-bg); }

/* Branded checkbox icon (replaces ev/emojis everywhere in lease) */
.hg-cb { display: inline-block; width: 14px; height: 14px; border: 1.5px solid var(--hg-amber); border-radius: 3px; background: var(--hg-amber-tint); vertical-align: -2px; margin-right: 4px; position: relative; flex-shrink: 0; }
.hg-cb--checked::after { content: ''; position: absolute; left: 2px; top: -1px; width: 5px; height: 9px; border: solid var(--hg-amber-deep); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.hg-lock-icon { color: var(--hg-ink-muted); vertical-align: -1px; margin-right: 4px; flex-shrink: 0; }

/* ===== LEASE CONTEXT CARD (Step 4) ===== */
.hg-context-card { border: 1px solid var(--hg-line); border-radius: 14px; background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%); padding: 22px 22px 4px; margin-bottom: 22px; }
.hg-context-head { display: flex; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--hg-line); margin-bottom: 18px; }
.hg-context-photo { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; flex-shrink: 0; box-shadow: var(--hg-shadow-sm); }
.hg-context-eyebrow { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hg-ink-muted); margin-bottom: 6px; }
.hg-context-title { font-size: 22px; font-weight: 800; color: var(--hg-navy); margin: 0 0 8px; line-height: 1.25; }
.hg-context-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--hg-ink-soft); }
.hg-context-meta span { display: inline-flex; align-items: center; gap: 4px; }
.hg-context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; padding-bottom: 16px; }
.hg-context-block h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hg-amber-deep); margin: 0 0 8px; font-weight: 800; }
.hg-context-block--rent { grid-column: 1 / -1; background: var(--hg-amber-tint); border: 1px solid rgba(245,166,35,0.25); padding: 14px 18px; border-radius: 10px; }
.hg-context-tbl { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.hg-context-tbl td { padding: 4px 0; font-size: 13.5px; color: var(--hg-ink); vertical-align: top; }
.hg-context-tbl td:first-child { color: var(--hg-ink-muted); width: 42%; padding-right: 12px; }
.hg-context-promo { background: linear-gradient(120deg, var(--hg-amber-tint) 0%, #FFF7E2 100%); border-left: 4px solid var(--hg-amber); padding: 14px 18px; border-radius: 0 10px 10px 0; margin-bottom: 18px; }
.hg-context-promo__head { font-weight: 700; color: var(--hg-amber-deep); font-size: 14.5px; margin-bottom: 6px; display: flex; align-items: center; }
.hg-context-promo p { font-size: 14px; color: var(--hg-ink); margin: 0; line-height: 1.55; }

/* Pricing-line color coding */
.hg-pl-base td:last-child { color: var(--hg-ink-soft); }
.hg-pl-discount td:last-child { color: var(--hg-amber-deep); font-weight: 700; }
.hg-pl-final td:last-child { color: var(--hg-navy); font-weight: 800; font-size: 16px; }
.hg-pl-due td:last-child { color: var(--hg-navy); font-weight: 700; }
.hg-pl-free td:last-child { color: var(--hg-amber-deep); font-weight: 800; letter-spacing: 0.04em; }
.hg-pl-deposit td:last-child { color: var(--hg-ink); }

/* Section divider (between context and tenant form) */
.hg-lease-section-divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 18px; }
.hg-lease-section-divider::before, .hg-lease-section-divider::after { content: ''; flex: 1; height: 1px; background: var(--hg-line); }
.hg-lease-section-divider span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hg-ink-muted); font-weight: 700; }

/* Pre-filled banner */
.hg-prefilled-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: linear-gradient(120deg, var(--hg-amber-tint) 0%, #FFF7E2 100%); border: 1px solid rgba(245,166,35,0.25); border-radius: 10px; margin-bottom: 18px; font-size: 14px; color: var(--hg-ink); }

/* Acknowledgment line in step 4 */
.hg-lease-ack-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--hg-ink-muted); margin: 18px 0 8px; }

/* Multi-step pills (lease) reuse hg-app-step-pill but with disabled state */
.hg-lease-progress { gap: 6px !important; flex-wrap: wrap; }
.hg-lease-progress .hg-app-step-pill { cursor: pointer; }
.hg-lease-progress .hg-app-step-pill.is-disabled { opacity: 0.45; pointer-events: none; }
.hg-lease-progress .hg-app-step-pill.is-done .hg-app-step-num { background: #10B981; }

/* Step-panel transitions */
.hg-lease-step-panel { display: none; animation: hgFadeIn .25s ease; }
.hg-lease-step-panel.is-active { display: block; }
@keyframes hgFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Field highlight when jumped to from clickable placeholder */
.hg-apply-field { transition: background .25s, box-shadow .25s; border-radius: 10px; padding: 6px; margin: -6px; }
.hg-apply-field.is-flash { background: var(--hg-amber-tint); box-shadow: 0 0 0 3px rgba(245,166,35,0.18); }

/* ===== LEASE DOC CARD (Step 6) ===== */
.hg-lease-doc-card { border: 1px solid var(--hg-line); border-radius: 14px; padding: 36px clamp(20px, 4vw, 40px); background: #fff; }
.hg-lease-doc-head { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 2px solid var(--hg-navy); margin-bottom: 22px; }
.hg-lease-doc-head img { height: 56px; width: auto; }
.hg-lease-doc-head h3 { margin: 0; font-size: 20px; color: var(--hg-navy); font-weight: 800; }
.hg-lease-doc-head p { margin: 4px 0 0; font-size: 13px; color: var(--hg-ink-muted); }
.hg-lease-h4 { font-size: 16px; font-weight: 800; color: var(--hg-navy); margin: 22px 0 8px; letter-spacing: -0.01em; }
.hg-lease-p { font-size: 15px; line-height: 1.7; color: var(--hg-ink); margin: 0 0 12px; }
.hg-lease-p.hg-lease-fine { font-size: 13.5px; color: var(--hg-ink-muted); }
.hg-lease-addr { font-size: 16px; font-weight: 700; color: var(--hg-navy); margin: 0 0 12px; padding: 10px 14px; background: var(--hg-bg-alt); border-radius: 8px; }
.hg-lease-ul { padding-left: 22px; margin: 6px 0 14px; }
.hg-lease-ul li { font-size: 14.5px; line-height: 1.7; color: var(--hg-ink); }
.hg-rent-final { color: var(--hg-amber-deep); font-size: 17px; }

/* Clickable placeholders inside lease body */
.hg-lp { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; background: var(--hg-amber-tint); color: var(--hg-amber-deep); border: 1px dashed var(--hg-amber); border-radius: 6px; font-size: 0.95em; font-weight: 600; font-family: inherit; cursor: pointer; transition: all .15s; line-height: 1.3; vertical-align: baseline; }
.hg-lp:hover { background: var(--hg-amber); color: var(--hg-white); border-style: solid; transform: translateY(-1px); }
.hg-lp:focus-visible { outline: 2px solid var(--hg-amber); outline-offset: 2px; }
.hg-lp-filled { background: rgba(16, 185, 129, 0.08); color: #065F46; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* Tenant signature canvas */
#hg-tsig { width: 100%; max-width: 100%; background: #fff; border: 1.5px dashed var(--hg-line); border-radius: 10px; cursor: crosshair; display: block; touch-action: none; }
.hg-lease-sig-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--hg-navy); }
.hg-lease-sig__lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hg-navy); font-weight: 800; margin-bottom: 8px; }
.hg-lease-sig__cursive { font-family: 'Dancing Script', cursive; font-size: 30px; color: var(--hg-navy); padding: 8px 0; line-height: 1; }
.hg-lease-sig__img { max-width: 240px; max-height: 70px; object-fit: contain; display: block; background: #fff; padding: 4px; border-radius: 6px; }
.hg-lease-sig__rule { border-top: 1px solid #999; margin-top: 6px; }
.hg-lease-sig__name { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--hg-ink); }
.hg-lease-sig__biz { font-size: 13px; color: var(--hg-ink-soft); margin-top: 2px; }
.hg-lease-sig__date { font-size: 12px; color: var(--hg-ink-muted); margin-top: 2px; }
.hg-lease-sig__btnrow { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.hg-lease-sig__btnrow .hg-btn { font-size: 12px; padding: 7px 14px; }

/* ===== REVIEW (Step 5) ===== */
.hg-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.hg-review-block { border: 1px solid var(--hg-line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.hg-review-block h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hg-amber-deep); margin: 0 0 10px; font-weight: 800; }
.hg-review-block--rent { grid-column: 1 / -1; background: var(--hg-amber-tint); border-color: rgba(245,166,35,0.25); }
.hg-review-tbl { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.hg-review-tbl td { padding: 4px 0; font-size: 13.5px; color: var(--hg-ink); vertical-align: top; }
.hg-review-tbl td:first-child { color: var(--hg-ink-muted); width: 40%; padding-right: 12px; }
.hg-review-promo { font-size: 13px; line-height: 1.6; color: var(--hg-ink); padding: 10px 12px !important; background: rgba(255,255,255,0.7); border-radius: 8px; margin-top: 8px; }

/* Form message states */
.hg-form-msg { padding: 12px 14px; border-radius: 10px; margin-top: 14px; font-size: 13.5px; }
.hg-form-msg--error { background: #FEE2E2; color: #991B1B; }
.hg-form-msg--ok { background: #D1FAE5; color: #065F46; }

/* Strike + amber rent emphasis */
.hg-strike { text-decoration: line-through; color: var(--hg-ink-muted); }
.hg-amber { color: var(--hg-amber-deep); font-weight: 700; }
.hg-rent-final { color: var(--hg-navy); }

/* Mobile responsive: collapse review + context grids */
@media (max-width: 768px) {
  .hg-context-grid, .hg-review-grid, .hg-lease-sig-row { grid-template-columns: 1fr; }
  .hg-context-photo { width: 80px; height: 80px; }
  .hg-context-title { font-size: 18px; }
  .hg-lease-doc-card { padding: 22px 16px; }
  .hg-lease-doc-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hg-lease-doc-head img { height: 44px; }
}
/* ==========================================================
   PHASE 20 — Approval gate UI + tenant dashboard polish
   ========================================================== */
.hg-not-approved { padding: 24px 28px; background: linear-gradient(120deg, #FEE2E2, #FEF2F2); border: 1px solid #FCA5A5; border-radius: 14px; margin-bottom: 22px; }
.hg-not-approved h3 { color: #991B1B; font-size: 18px; margin: 0 0 8px; font-weight: 800; }
.hg-not-approved p { color: #7F1D1D; font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; }
.hg-not-approved__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hg-not-approved__cta .hg-btn { font-size: 13.5px; padding: 11px 18px; }

/* WP login form on /tenant-login/ */
.hg-app-section .login-username, .hg-app-section .login-password { margin-bottom: 12px; }
.hg-app-section .login-username label, .hg-app-section .login-password label { display: block; font-weight: 600; color: var(--hg-navy); margin-bottom: 4px; font-size: 13.5px; }
.hg-app-section .login-username input, .hg-app-section .login-password input { width: 100% !important; padding: 11px 14px !important; border: 1.5px solid var(--hg-line) !important; border-radius: var(--hg-radius) !important; font-size: 14.5px !important; background: var(--hg-white) !important; color: var(--hg-ink) !important; }
.hg-app-section .login-username input:focus, .hg-app-section .login-password input:focus { border-color: var(--hg-amber) !important; box-shadow: 0 0 0 3px rgba(245,166,35,0.15) !important; outline: none !important; }
.hg-app-section .login-submit input[type=submit] { display: block; width: 100%; padding: 14px 22px !important; background: linear-gradient(120deg, var(--hg-amber), var(--hg-amber-deep)) !important; color: var(--hg-white) !important; border: 0 !important; border-radius: var(--hg-radius) !important; font-weight: 700 !important; font-size: 15px !important; cursor: pointer; box-shadow: var(--hg-shadow-amber); margin-top: 6px; }
.hg-app-section .login-remember { font-size: 13px; color: var(--hg-ink-muted); margin: 8px 0 14px; }

/* === Phase 24-prep: Landlord profile — verified badge + listings pagination === */
.hg-verified-badge{display:inline-flex;align-items:center;gap:7px;margin:6px 0 10px;padding:6px 12px;border-radius:999px;background:rgba(245,166,35,0.12);color:#B6770F;border:1px solid rgba(245,166,35,0.4);font-size:12.5px;font-weight:700;letter-spacing:0.02em;line-height:1;}
.hg-verified-badge svg{flex:0 0 auto;color:#E68900;}
.hg-agent-hero--dark .hg-verified-badge,.hg-agent-hero .hg-verified-badge{background:rgba(245,166,35,0.18);color:#FFD089;border-color:rgba(245,166,35,0.55);}
.hg-agent-hero--dark .hg-verified-badge svg,.hg-agent-hero .hg-verified-badge svg{color:#F5A623;}
@media (max-width: 720px){.hg-verified-badge{font-size:11.5px;padding:5px 10px;}}
.hg-agent-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:32px;padding-top:8px;}
.hg-agent-pagination__pages{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0;}
.hg-agent-pagination__nav,.hg-agent-pagination__page{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 14px;border-radius:10px;border:1px solid #D9DFE7;background:#fff;color:#0B3954;font-size:13.5px;font-weight:600;text-decoration:none;line-height:1;transition:background 0.15s,border-color 0.15s,color 0.15s;}
.hg-agent-pagination__nav:hover,.hg-agent-pagination__page:hover{border-color:#0B3954;color:#0B3954;background:#F2F5F9;}
.hg-agent-pagination__page.is-active{background:#0B3954;color:#fff;border-color:#0B3954;}
.hg-agent-pagination__nav.is-disabled{opacity:0.4;cursor:not-allowed;background:#F2F5F9;}
@media (max-width:720px){.hg-agent-pagination__nav,.hg-agent-pagination__page{min-width:36px;height:36px;padding:0 11px;font-size:13px;}}
.hg-reviews-disclosure{font-size:12.5px;color:var(--hg-ink-muted);margin:18px 0 0;text-align:center;font-style:italic;}

/* === Header search bar (desktop) === */
.hg-header-search{display:none;}
@media (min-width: 1024px){
  .hg-header-search{display:flex;align-items:center;gap:8px;flex:0 1 260px;max-width:280px;height:40px;padding:0 12px;background:#F2F5F9;border:1px solid #E6EAF0;border-radius:999px;transition:border-color 0.15s, background 0.15s;}
  .hg-header-search:focus-within{background:#fff;border-color:#0B3954;box-shadow:0 0 0 3px rgba(11,57,84,0.08);}
  .hg-header-search__icon{color:#64748B;flex:0 0 auto;display:inline-flex;}
  .hg-header-search input[type=search]{flex:1;min-width:0;border:0;background:transparent;font-size:13.5px;color:#0B3954;outline:none;padding:0;font-family:inherit;}
  .hg-header-search input[type=search]::placeholder{color:#94A3B8;}
}
@media (min-width: 1024px) and (max-width: 1180px){.hg-header-search{flex:0 1 200px;}}

/* === Phase 24: header account link + mobile drawer account section === */
.hg-header-account{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid rgba(11,57,84,0.18);border-radius:999px;background:#fff;color:#0B3954;font-weight:700;font-size:14px;text-decoration:none;line-height:1;transition:all 0.18s ease;margin-right:6px;}.hg-header-account:hover{background:#FAFBFD;border-color:#0B3954;transform:translateY(-1px);}.hg-header-account svg{flex:0 0 auto;}.hg-header-account span{display:inline-block;}@media (max-width: 1024px){.hg-header-account span{display:none;}.hg-header-account{padding:8px 10px;}}@media (max-width: 480px){.hg-header-account{display:none;}}.hg-mobile-nav__account{display:flex;flex-direction:column;gap:8px;padding:12px 16px 0;border-top:1px solid rgba(11,57,84,0.08);margin-top:14px;}.hg-mnav-account-link{display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:10px;background:#FAFBFD;border:1px solid #E6EAF0;color:#0B3954;font-weight:700;font-size:15px;text-decoration:none;transition:background 0.15s ease;}.hg-mnav-account-link:hover{background:#E5F2F6;}.hg-mnav-account-link--muted{background:transparent;border-color:rgba(11,57,84,0.12);color:#475569;font-weight:600;}.hg-mnav-account-link svg{flex:0 0 auto;color:#0B3954;}

/* === agent-filter (Phase 24 city + keyword search) === */ v2 (compact 2026-05-10)
.hg-agent-hero .hg-agent-hero__service-area, .hg-agent-hero__service-area { color: #FFFFFF !important; opacity: 0.92; font-size: 14px; margin: 4px 0 10px; font-weight: 500; letter-spacing: 0.01em; }
.hg-agent-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0; margin: 0 0 18px; background: transparent; border: 0; }
.hg-agent-filter__field { display: block; min-width: 0; flex: 0 0 auto; position: relative; }
.hg-agent-filter__field--flex { flex: 1 1 160px; }
.hg-agent-filter label { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hg-agent-filter select, .hg-agent-filter input[type='text'] { width: 100%; height: 38px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--hg-ink, #1f2937); background: #fff; border: 1px solid var(--hg-line, #E2E8F0); border-radius: 8px; box-shadow: 0 1px 1px rgba(15,23,42,0.03); transition: border-color .15s, box-shadow .15s; }
.hg-agent-filter select { min-width: 150px; padding-right: 30px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 6 11 1'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
.hg-agent-filter select:focus, .hg-agent-filter input[type='text']:focus { outline: none; border-color: var(--hg-amber, #F5A623); box-shadow: 0 0 0 2px rgba(245,166,35,0.18); }
.hg-agent-filter__clear { color: var(--hg-amber-deep, #E68900); font-weight: 700; font-size: 13px; text-decoration: none; padding: 4px 8px; border-radius: 6px; align-self: center; }
.hg-agent-filter__clear:hover { background: rgba(245,166,35,0.10); text-decoration: underline; }
.hg-agent-filter__hint { display: block; font-size: 13px; font-weight: 500; color: var(--hg-ink-muted, #475569); margin-top: 4px; letter-spacing: 0; text-transform: none; }
.hg-agent-filter__empty { grid-column: 1/-1; padding: 24px; text-align: center; color: var(--hg-ink-muted, #475569); background: #fff; border: 1px dashed var(--hg-line-strong, #CBD5E1); border-radius: 10px; }
@media (max-width: 520px) { .hg-agent-filter { gap: 6px; margin: 0 0 14px; } .hg-agent-filter select, .hg-agent-filter input[type='text'] { height: 36px; font-size: 13px; padding: 0 10px; } .hg-agent-filter select { min-width: 0; padding-right: 26px; background-position: right 9px center; } .hg-agent-filter__field { flex: 1 1 calc(50% - 4px); } .hg-agent-filter__field--flex { flex: 1 1 100%; } }

/* === single-property quick-actions (above-tabs Apply + Tour) === */
.hg-prop-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.hg-prop-quick-actions__btn { flex: 0 1 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; font-weight: 700; font-size: 15px; }
.hg-prop-quick-actions__btn svg { flex-shrink: 0; }
@media (max-width: 560px) { .hg-prop-quick-actions { gap: 8px; } .hg-prop-quick-actions__btn { flex: 1 1 0; justify-content: center; padding: 0 14px; min-height: 44px; font-size: 14px; } }

/* === Tour date picker (Phase 24 — recommended slider + scrollable strip + full calendar + discount warning) === */
.hg-tour-datepicker{display:flex;flex-direction:column;gap:14px;width:100%;}
.hg-tour-section{display:flex;flex-direction:column;gap:8px;}
.hg-tour-section-label{font-size:11px;font-weight:800;letter-spacing:0.08em;color:#94a3b8;text-transform:uppercase;display:flex;align-items:center;justify-content:space-between;gap:8px;}
.hg-tour-strip-hint{font-size:10px;font-weight:600;color:#cbd5e1;letter-spacing:0;text-transform:none;}
.hg-tour-recommended{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.hg-tour-strip{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:2px 2px 8px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;}
.hg-tour-strip::-webkit-scrollbar{height:5px;}
.hg-tour-strip::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px;}
.hg-tour-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 6px;border:1.5px solid #e6eaf0;border-radius:12px;background:#fff;color:#0b3954;font-family:inherit;cursor:pointer;transition:all .15s ease;min-width:64px;scroll-snap-align:start;flex-shrink:0;text-align:center;line-height:1;}
.hg-tour-chip:hover{border-color:#6fabca;background:#f0f9fc;}
.hg-tour-chip:focus-visible{outline:none;border-color:#f5a623;box-shadow:0 0 0 3px rgba(245,166,35,.15);}
.hg-tour-chip.is-selected{border-color:#f5a623;background:#fff7e6;box-shadow:0 0 0 3px rgba(245,166,35,.15);}
.hg-tour-chip--rec{padding:14px 8px;position:relative;background:linear-gradient(180deg,#fff,#fafbfd);}
.hg-tour-chip__dow{font-size:11px;font-weight:800;color:#6fabca;text-transform:uppercase;letter-spacing:0.06em;}
.hg-tour-chip--rec .hg-tour-chip__dow{color:#08415c;}
.hg-tour-chip__day{font-size:24px;font-weight:800;line-height:1.05;margin:3px 0;color:#0b3954;}
.hg-tour-chip--rec .hg-tour-chip__day{font-size:28px;}
.hg-tour-chip__month{font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:0.06em;}
.hg-tour-chip.is-selected .hg-tour-chip__dow,.hg-tour-chip.is-selected .hg-tour-chip__month{color:#92400e;}
.hg-tour-chip.is-selected .hg-tour-chip__day{color:#7c2d12;}
.hg-tour-cal-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 14px;border:1.5px dashed #d8dee6;border-radius:12px;background:#fafbfd;color:#0b3954;font-weight:800;font-size:13.5px;cursor:pointer;font-family:inherit;letter-spacing:0.01em;}
.hg-tour-cal-toggle:hover{border-color:#6fabca;background:#f0f9fc;}
.hg-tour-cal-toggle.is-open{border-style:solid;background:#fff;border-color:#6fabca;}
.hg-tour-cal-toggle svg{color:#6fabca;flex-shrink:0;}
.hg-tour-calendar{padding:16px;border:1px solid #e6eaf0;border-radius:14px;background:#fff;user-select:none;-webkit-user-select:none;box-shadow:0 1px 3px rgba(11,57,84,.04);}
.hg-tour-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.hg-tour-cal-month-label{font-weight:800;color:#08415c;font-size:15.5px;letter-spacing:-0.01em;}
.hg-tour-cal-nav{width:34px;height:34px;border-radius:50%;border:1.5px solid #e6eaf0;background:#fff;color:#08415c;font-size:20px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;padding:0;font-family:inherit;}
.hg-tour-cal-nav:hover:not(:disabled){border-color:#6fabca;background:#f0f9fc;}
.hg-tour-cal-nav:disabled{opacity:.3;cursor:not-allowed;}
.hg-tour-cal-dow{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:6px;}
.hg-tour-cal-dow span{text-align:center;font-size:10.5px;font-weight:800;color:#94a3b8;text-transform:uppercase;letter-spacing:0.06em;padding:4px 0;}
.hg-tour-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
.hg-tour-cal-day,.hg-tour-cal-blank{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1.5px solid transparent;background:#fafbfd;border-radius:8px;color:#0b3954;font-size:13.5px;font-weight:700;cursor:pointer;transition:all .12s ease;font-family:inherit;padding:0;}
.hg-tour-cal-blank{background:transparent;cursor:default;border:0;}
.hg-tour-cal-day:hover:not(.is-disabled):not(.is-selected){border-color:#6fabca;background:#e5f2f6;}
.hg-tour-cal-day.is-disabled{color:#cbd5e1;cursor:not-allowed;background:transparent;font-weight:500;}
.hg-tour-cal-day.is-selected{background:#f5a623;color:#fff;border-color:#f5a623;box-shadow:0 2px 8px rgba(245,166,35,.4);}
.hg-tour-selected-readout{padding:10px 14px;background:#f0f9fc;border-left:3px solid #6fabca;border-radius:0 8px 8px 0;font-size:13.5px;color:#0b3954;}
.hg-tour-selected-readout-label{font-size:10.5px;text-transform:uppercase;letter-spacing:0.06em;color:#6fabca;font-weight:800;display:block;margin-bottom:3px;}
.hg-tour-selected-text{color:#08415c;font-size:14.5px;font-weight:700;}
.hg-tour-discount-warn{padding:13px 14px;background:#fef3c7;border-left:4px solid #d97706;border-radius:0 8px 8px 0;display:flex;gap:12px;align-items:flex-start;font-size:13px;color:#78350f;line-height:1.5;}
.hg-tour-discount-warn[hidden]{display:none !important;}
.hg-tour-discount-warn svg{flex:0 0 18px;color:#d97706;margin-top:2px;}
.hg-tour-discount-warn strong{display:block;color:#7c2d12;margin-bottom:3px;}
.hg-tour-discount-warn .hg-disc-date{font-weight:800;color:#7c2d12;}
@media (max-width:520px){
  .hg-tour-recommended{gap:6px;}
  .hg-tour-chip{min-width:60px;padding:9px 5px;}
  .hg-tour-chip__day{font-size:22px;}
  .hg-tour-chip--rec{padding:12px 6px;}
  .hg-tour-chip--rec .hg-tour-chip__day{font-size:24px;}
  .hg-tour-cal-day{font-size:12.5px;}
  .hg-tour-calendar{padding:12px;}
  .hg-tour-cal-month-label{font-size:14.5px;}
}

/* === Tour date picker — OK indicator + time-slot annotations (Phase 25.1) === */
.hg-tour-discount-ok{padding:13px 14px;background:#DCFCE7;border-left:4px solid #15803D;border-radius:0 8px 8px 0;display:flex;gap:12px;align-items:flex-start;font-size:13px;color:#065F46;line-height:1.5;}

/* === HG-MOBILE-HEADER-FAILSAFE-V1 — START === */
/* Goal: hamburger menu + drawer reliably visible & usable on EVERY phone size,
   from 320px (iPhone SE 1st gen) up through 1023px (small tablets / large phones landscape).
   Uses !important to defeat any LiteSpeed combined-CSS / sandbox override that
   might pin display:none on the trigger. Per-breakpoint tuning keeps the
   header row from overflowing on tiny phones. */

/* --- Mobile / tablet (≤1023px): show hamburger, hide desktop nav + search --- */
@media (max-width: 1023px) {
  .hg-nav { display: none !important; }
  .hg-header-search { display: none !important; }

  .hg-menu-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 10px 11px !important;
    background: var(--hg-bg-alt, #FAFBFD) !important;
    border: 1px solid var(--hg-line, rgba(11,57,84,0.18)) !important;
    border-radius: 10px !important;
    color: var(--hg-navy, #0B3954) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    order: 99 !important;            /* hamburger pinned to the far right */
    -webkit-tap-highlight-color: transparent;
  }
  .hg-menu-trigger span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: var(--hg-navy, #0B3954) !important;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
  }
  .hg-menu-trigger:hover { background: var(--hg-white, #fff) !important; }
  .hg-menu-trigger:focus-visible { outline: 2px solid var(--hg-amber, #F5A524); outline-offset: 2px; }

  .hg-header-main__inner {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    min-width: 0;
  }
  .hg-logo { flex: 0 1 auto !important; min-width: 0; }
  .hg-logo img { height: 56px !important; max-height: 56px !important; width: auto !important; }
  .hg-header-actions {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    min-width: 0;
  }
  .hg-header-actions .hg-header-cta--primary {
    display: inline-flex !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }
}

/* --- ≤600px: drop the ghost Sign Lease, keep Apply + hamburger --- */
@media (max-width: 600px) {
  .hg-header-cta--ghost { display: none !important; }
  .hg-header-account span { display: none !important; }   /* icon-only sign-in */
  .hg-header-account { padding: 8px 10px !important; }
  .hg-header-main__inner { gap: 6px !important; }
  .hg-logo img { height: 50px !important; max-height: 50px !important; }
  .hg-header-actions .hg-header-cta--primary {
    padding: 9px 14px !important;
    font-size: 13.5px !important;
  }
}

/* --- ≤480px (most iPhones in portrait): tighten Apply, drop account chip --- */
@media (max-width: 480px) {
  .hg-header-account { display: none !important; }
  .hg-header-main { padding: 10px 12px !important; }
  .hg-header-main__inner { gap: 6px !important; }
  .hg-logo img { height: 44px !important; max-height: 44px !important; }
  .hg-header-actions { gap: 6px !important; }
  .hg-header-actions .hg-header-cta--primary {
    padding: 9px 13px !important;
    font-size: 13px !important;
  }
  .hg-menu-trigger {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
}

/* --- ≤380px (iPhone SE 1st/2nd gen, very small Androids) --- */
@media (max-width: 380px) {
  .hg-header-main { padding: 9px 10px !important; }
  .hg-logo img { height: 40px !important; max-height: 40px !important; }
  .hg-header-actions .hg-header-cta--primary {
    padding: 8px 11px !important;
    font-size: 12.5px !important;
  }
  .hg-menu-trigger {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 9px !important;
  }
  .hg-menu-trigger span { width: 20px !important; }
}

/* --- ≤340px (iPhone 5/SE 1st gen 320px-class) --- */
@media (max-width: 340px) {
  .hg-header-actions .hg-header-cta--primary { padding: 8px 10px !important; font-size: 12px !important; }
  .hg-logo img { height: 36px !important; max-height: 36px !important; }
}

/* --- Drawer: always usable on every phone, never wider than viewport --- */
@media (max-width: 1023px) {
  .hg-mobile-nav {
    width: min(90vw, 380px) !important;
    max-width: 100vw !important;
    padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
  }
  .hg-mobile-nav__head { padding-top: max(18px, env(safe-area-inset-top)) !important; }
  .hg-mobile-backdrop { z-index: 200 !important; }
  .hg-mobile-nav { z-index: 201 !important; }
  body.hg-nav-open { overflow: hidden !important; }
}

/* --- Drawer cleanly hidden on desktop (don’t let z-index leak) --- */
@media (min-width: 1024px) {
  .hg-mobile-nav, .hg-mobile-backdrop { display: none !important; }
  .hg-menu-trigger { display: none !important; }
}
/* === HG-MOBILE-HEADER-FAILSAFE-V1 — END === */

/* HG-TOUR-LABELS 2026-05-12 */
.hg-tour-day { position: relative; }
.hg-tour-day__label { display: block; margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #b91c1c; line-height: 1; }
.hg-tour-day.is-disabled .hg-tour-day__label { color: #b91c1c; }
.hg-tour-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.hg-tour-slot__time { font-weight: 600; }
.hg-tour-slot__label { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.hg-tour-slot.is-disabled .hg-tour-slot__label { color: #b91c1c; }
.hg-tour-slot.has-3plus { border-color: #F5A623 !important; background: #FFF8EC; }
.hg-tour-slot.has-3plus .hg-tour-slot__label { color: #7C4A00; }


/* ── shortcode app pages (application, sign-in, dashboards) ──────────────
   Padding lives here rather than inline on the template so it can shrink on
   a phone. At 64px the gap between the header and the page heading was
   160px on a 390px screen — most of the first screenful was empty. */
.hg-app-page { padding-top: 56px; }
@media (max-width: 700px) {
  .hg-app-page { padding-top: 22px; }
  .hg-app-page .hg-grad { font-size: 30px; line-height: 1.12; }
}
