/* ==========================================================================
   GHome · "Warm Home" theme
   cream paper · espresso · terracotta · lamp-light gold
   Loaded LAST (injected by the Worker) so it overrides every earlier sheet.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --espresso: #2b1f17;
  --espresso-2: #3d2b1e;
  --cream: #fff4e2;
  --sand: #f3e4c8;
  --glow: #f6b93b;
  --gh-ease: cubic-bezier(.2, .7, .2, 1);
  --gh-hero: url("/ghome-hero.svg?v=20261107-warm");
}

:root:not([data-theme="dark"]),
:root:not([data-theme="dark"]) body.home-page {
  color-scheme: light;
  --page: #faf5ec;
  --page-soft: #fdf9f2;
  --surface: #fffdf8;
  --surface-raised: #fffdf8;
  --surface-soft: #f6efe2;
  --ink: #2a2018;
  --ink-soft: #4a3b2e;
  --muted: #7a6857;
  --line: #ebe0cd;
  --line-strong: #dccbb0;
  --brand: #b4502a;
  --brand-bright: #a84823;
  --brand-deep: #7f3417;
  --brand-soft: #fbe8da;
  --on-primary: #ffffff;
  --on-brand: #ffffff;
  --gold: #c98a1b;
  --gold-soft: #fbf0d6;
  --success: #3f7a4f;
  --success-soft: #e7f2e6;
  --danger: #b4343a;
  --danger-soft: #fbeaea;
  --shadow-sm: 0 4px 16px rgba(80, 45, 20, .07);
  --shadow-md: 0 12px 34px rgba(80, 45, 20, .12);
  --shadow-lg: 0 24px 60px rgba(80, 45, 20, .18);
}

:root[data-theme="dark"],
:root[data-theme="dark"] body.home-page {
  color-scheme: dark;
  --page: #17110d;
  --page-soft: #1b140f;
  --surface: #221913;
  --surface-raised: #2a1f17;
  --surface-soft: #2c2018;
  --ink: #f6ece0;
  --ink-soft: #dccbb8;
  --muted: #b9a590;
  --line: #3a2b20;
  --line-strong: #4f3b2b;
  --brand: #ee8a5e;
  --brand-bright: #f2976d;
  --brand-deep: #f6b08c;
  --brand-soft: #3d2517;
  --on-primary: #2a1208;
  --on-brand: #2a1208;
  --gold: #e8b04a;
  --gold-soft: #3a2c14;
  --success: #7bc28c;
  --success-soft: #1f3324;
  --danger: #ef8a8f;
  --danger-soft: #3d2023;
  --shadow-sm: 0 8px 26px rgba(0, 0, 0, .25);
  --shadow-md: 0 20px 54px rgba(0, 0, 0, .35);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, .5);
}

html, body.home-page, body.home-page[data-catalog] { background: var(--page); }
::selection { background: #f4c9a8; color: #2a1208; }
:focus-visible { outline-color: var(--brand); }

/* ---------- 2. Buttons ---------- */
:root .primary,
:root .gh-search-submit,
:root .dashboard-welcome-actions .primary {
  background: linear-gradient(180deg, #c35d33, #b4502a);
  color: #fff;
  border: 1px solid #a24621;
  box-shadow: 0 8px 20px rgba(180, 80, 42, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
  font-weight: 800;
}
:root .primary:hover:not(:disabled),
:root .gh-search-submit:hover:not(:disabled) {
  background: linear-gradient(180deg, #b9532a, #9f451f);
  color: #fff; border-color: #8d3b19;
  box-shadow: 0 12px 26px rgba(180, 80, 42, .36);
  transform: translateY(-1px);
}
:root[data-theme="dark"] .primary,
:root[data-theme="dark"] .dashboard-welcome-actions .primary {
  background: linear-gradient(180deg, #f39a70, #ee8a5e); color: #2a1208; border-color: #f39a70;
  box-shadow: 0 10px 26px rgba(238, 138, 94, .22);
}
:root[data-theme="dark"] .primary:hover:not(:disabled) { background: linear-gradient(180deg, #f7ac88, #f39a70); color: #2a1208; }
:root .primary:disabled { opacity: .55; box-shadow: none; }

.plain, .secondary-button, .filter-button { border-color: var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 700; }
.plain:hover:not(:disabled), .secondary-button:hover:not(:disabled), .filter-button:hover:not(:disabled) {
  border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep);
}
.text-button { color: var(--brand-bright); font-weight: 750; }

/* ---------- 3. Header + custom logo ---------- */
.site-header { background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: 1px solid var(--line); box-shadow: 0 8px 28px -22px rgba(80, 45, 20, .7); }
body.home-page .site-header { background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); }
.brand-logo { gap: 10px; }
.brand-symbol, :root[data-theme="dark"] .brand-symbol {
  width: 40px; height: 40px; border-radius: 12px; background: none; box-shadow: 0 6px 14px -4px rgba(160, 70, 33, .55);
  display: block; padding: 0; overflow: hidden;
}
.brand-symbol svg { width: 100%; height: 100%; display: block; stroke: none; }
.brand-name { font-size: 24px; font-weight: 850; letter-spacing: -.015em; color: var(--ink); line-height: 1; text-transform: none; }
.brand-name b { color: var(--brand); font-weight: 850; }
.brand-wordmark i { color: var(--brand); }

body.home-page .home-nav-row { border-top: 1px solid var(--line); }
body.home-page .home-nav-row .main-nav { gap: 4px; }
body.home-page .home-nav-row .main-nav a,
body.home-page .home-nav-row .home-nav-contact {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  color: var(--ink-soft); font-size: 13px; font-weight: 650; text-decoration: none; transition: background .16s, color .16s;
}
body.home-page .home-nav-row a:hover { background: var(--brand-soft); color: var(--brand-deep); text-decoration: none; }
body.home-page .home-nav-row a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-deep); }
body.home-page .home-nav-row .home-nav-contact { border: 1px solid var(--line-strong); }
body.home-page .home-nav-row { padding-block: 5px; }

body.home-page .header-add#add {
  background: linear-gradient(180deg, #c35d33, #b4502a); color: #fff; border: 1px solid #a24621;
  box-shadow: 0 8px 18px rgba(180, 80, 42, .28); font-weight: 800; border-radius: 12px;
}
body.home-page .header-add#add:hover { background: linear-gradient(180deg, #b9532a, #9f451f); border-color: #8d3b19; }
:root[data-theme="dark"] body.home-page .header-add#add { background: linear-gradient(180deg, #f39a70, #ee8a5e); color: #2a1208; border-color: #f39a70; }
.auth-login:hover, .header-text-button:hover { background: var(--brand-soft); color: var(--brand-deep); }
.auth-register { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.auth-register:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.account-avatar { background: var(--espresso-2); color: var(--cream); }
:root[data-theme="dark"] .account-avatar { background: var(--brand); color: #2a1208; }
.theme-toggle, #language { border-color: var(--line-strong); background: var(--surface); }

/* ---------- 4. Hero: dusk city, lit windows ---------- */
body.home-page > main { margin-top: 0; }

.gh-hero { position: relative; width: 100vw; margin: 0 0 0 calc(50% - 50vw); padding: clamp(34px, 5vw, 64px) 0 clamp(64px, 8vw, 118px); isolation: isolate; }
.gh-hero:has(.catalog-standard-intro) { padding-bottom: clamp(40px, 5vw, 70px); }
.gh-hero-art {
  position: absolute; inset: 0; z-index: -1; background: #2a1c2c var(--gh-hero) center bottom / cover no-repeat;
  border-radius: 0 0 clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px);
  box-shadow: 0 30px 50px -34px rgba(60, 25, 10, .75);
}
.gh-hero-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(24, 12, 14, .55), rgba(24, 12, 14, .12) 62%, transparent); }
.gh-hero > :not(.gh-hero-art) { position: relative; width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.gh-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: auto !important; margin: 0 0 14px !important; margin-inline-start: max(24px, calc((100% - 1240px) / 2)) !important;
  padding: 6px 13px; border-radius: 999px; background: rgba(255, 244, 226, .14); border: 1px solid rgba(255, 244, 226, .3); color: var(--cream);
  font-size: 12px; font-weight: 700; letter-spacing: .02em; backdrop-filter: blur(6px);
}
.gh-hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px 2px rgba(246, 185, 59, .75); }
.gh-hero .home-search-heading, .gh-hero .catalog-standard-intro h1 {
  position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal;
  margin: 0 auto; padding: 0; color: var(--cream); font-weight: 850; letter-spacing: -.02em; line-height: 1.18; text-shadow: 0 2px 24px rgba(20, 8, 6, .45);
}
.gh-hero .home-search-heading { font-size: clamp(30px, 4.6vw, 54px); max-width: min(1240px, calc(100% - 48px)); }
.gh-hero-sub { margin: 12px auto 0 !important; color: rgba(255, 244, 226, .86); font-size: clamp(14px, 1.5vw, 17px); line-height: 1.7; max-width: min(1240px, calc(100% - 48px)) !important; text-shadow: 0 1px 14px rgba(20, 8, 6, .5); }
.gh-hero .catalog-standard-intro { padding: 0; background: none; border: 0; border-radius: 0; margin-bottom: 4px; }
.gh-hero .catalog-standard-intro h1 { font-size: clamp(26px, 3.6vw, 42px); margin: 0 0 6px; }
.gh-hero .catalog-standard-intro p { color: rgba(255, 244, 226, .85); font-size: 14px; margin: 0; }
.gh-hero .catalog-standard-intro .eyebrow { color: var(--glow); font-weight: 800; letter-spacing: .14em; }
.gh-hero .catalog-tier-links a { color: var(--cream); border-color: rgba(255, 244, 226, .35); background: rgba(255, 244, 226, .1); }

.gh-hero #search-area { margin-top: clamp(20px, 3vw, 32px); }
.gh-hero #search-area.gh-search-ready { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }

/* search pill */
.gh-hero .gh-search-fields { background: var(--surface); border: 2px solid var(--cream); border-radius: 18px; box-shadow: 0 18px 40px -12px rgba(20, 8, 6, .65); }
:root[data-theme="dark"] .gh-hero .gh-search-fields { border-color: var(--line-strong); }
.gh-hero .gh-search-segment:hover, .gh-hero .gh-search-segment[aria-expanded="true"] { background: var(--brand-soft); color: var(--brand-deep); }
.gh-hero .gh-search-strip .gh-filter-trigger {
  background: rgba(255, 244, 226, .14); border: 1px solid rgba(255, 244, 226, .4); color: var(--cream); border-radius: 16px; backdrop-filter: blur(6px);
}
.gh-hero .gh-search-strip .gh-filter-trigger:is(:hover, [aria-expanded="true"]) { background: var(--cream); color: var(--espresso); }
.gh-hero .gh-search-strip .gh-search-submit { border-radius: 16px; font-size: 15px; }

/* quick types: glass chips */
.gh-hero #search-area.gh-search-ready > .quick-types { margin-top: 18px; gap: 12px; }
.gh-hero #search-area .quick-types > :is(button, a) {
  min-height: 58px; border: 1px solid rgba(255, 244, 226, .28); border-radius: 16px; background: rgba(36, 20, 14, .38); color: var(--cream);
  backdrop-filter: blur(8px); font-weight: 700; transition: background .18s var(--gh-ease), transform .18s var(--gh-ease), color .18s;
}
.gh-hero #search-area .quick-types > :is(button, a):hover, .gh-hero #search-area .quick-types > .selected {
  background: var(--cream); color: var(--espresso); border-color: var(--cream); transform: translateY(-2px);
}
.gh-hero #search-area .quick-types svg { stroke: #f6c58b; stroke-width: 1.7; }
.gh-hero #search-area .quick-types > :is(button, a):hover svg, .gh-hero #search-area .quick-types > .selected svg { stroke: var(--brand); }

/* fallback before search.js upgrades the form */
.gh-hero .search-panel { background: var(--surface); border-color: var(--line-strong); }
.search-tabs button.selected, .search-tabs button:hover { color: var(--brand-deep); }
.search-tabs button::after { background: var(--brand); }

body.home-page .home-search-actions { margin-top: 20px; }
body.home-page .market-shortcuts > :is(a, button) { border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-weight: 650; }
body.home-page .market-shortcuts > :is(a, button):hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }

/* ---------- 5. Section headings, carousel controls ---------- */
body.home-page .promotion-section .section-heading h2 { font-weight: 850; color: var(--ink); }
body.home-page .promotion-section .section-heading h2::before { width: 6px; height: 26px; border-radius: 4px; background: var(--brand); }
body.home-page .vip-section .section-heading h2::before { background: var(--glow); }
body.home-page .premium-section .section-heading h2::before { background: var(--espresso-2); }
:root[data-theme="dark"] body.home-page .premium-section .section-heading h2::before { background: var(--brand); }
.section-label { color: var(--brand-bright); font-weight: 800; }
.section-label b { background: var(--glow); color: #3a2600; border-radius: 6px; padding: 2px 7px; }
body.home-page .promotion-section .catalog-see-all {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--brand-deep); padding: 8px 14px; border-radius: 999px; font-weight: 750; font-size: 12px; min-height: 38px;
}
body.home-page .promotion-section .catalog-see-all:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.carousel-controls button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--brand-deep); transition: background .16s, color .16s; }
.carousel-controls button:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 6. Listing cards ---------- */
body.home-page .card, .card {
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden;
  transition: transform .22s var(--gh-ease), box-shadow .22s var(--gh-ease), border-color .22s;
}
body.home-page .card:hover, .card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 18px 38px -18px rgba(80, 45, 20, .45); }
body.home-page .card.tier-vip { border-color: #ecc77e; box-shadow: 0 0 0 1px rgba(246, 185, 59, .25); }
body.home-page .card.tier-premium { border-color: var(--line-strong); }
body.home-page .card .card-photo { aspect-ratio: 4 / 3; background: var(--surface-soft); }
body.home-page .card .card-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(30, 15, 8, .45)); }
body.home-page .card .card-photo > * { z-index: 1; }
body.home-page .card .badge { background: rgba(43, 31, 23, .8); color: var(--cream); border-radius: 9px; font-weight: 750; backdrop-filter: blur(6px); box-shadow: none; }
body.home-page .card.tier-vip .badge { background: linear-gradient(180deg, #f7c04e, #eba72a); color: #3a2600; }
body.home-page .card.tier-premium .badge { background: linear-gradient(180deg, #c35d33, #a8481f); color: #fff; }
body.home-page .card .photo-count { background: rgba(43, 31, 23, .7); color: #fff; border-radius: 8px; }
body.home-page .card .heart { background: rgba(255, 253, 248, .95); color: #4a3b2e; box-shadow: 0 4px 12px rgba(30, 15, 8, .25); }
body.home-page .card .heart:hover, body.home-page .card .heart.saved { color: #d23f4f; background: #fff; }
.card-gallery-arrow { background: rgba(255, 253, 248, .94); color: #2a2018; }
.card-gallery-arrow:hover { background: var(--brand); color: #fff; }
body.home-page .card .price { color: var(--ink); font-weight: 850; letter-spacing: -.01em; }
body.home-page .card .card-title { color: var(--ink); font-weight: 650; }
body.home-page .card .card-title:hover { color: var(--brand-bright); }
body.home-page .card .location { color: var(--brand-bright); font-weight: 600; }
body.home-page .card .specs span { color: var(--ink-soft); }
body.home-page .card .card-footer { border-color: var(--line); }
.listing-currency button { border-color: var(--line-strong); }
.listing-currency button[aria-pressed="true"] { background: var(--espresso-2); border-color: var(--espresso-2); color: var(--cream); font-weight: 800; }
:root[data-theme="dark"] .listing-currency button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #2a1208; }

.promotion-empty { background: var(--gold-soft); border: 1.5px dashed var(--line-strong); border-radius: 16px; color: var(--ink-soft); }
.promotion-empty b { color: var(--brand-deep); }
/* OPTIONAL — hide VIP/PREMIUM blocks while they are empty (uncomment):
body.home-page .promotion-section:has(> .promotion-empty:not([hidden])) { display: none; }
*/

.view-switch { background: var(--surface-soft); border: 1px solid var(--line-strong); }
.view-switch button.selected { background: var(--espresso-2); color: var(--cream); font-weight: 800; box-shadow: none; }
:root[data-theme="dark"] .view-switch button.selected { background: var(--brand); color: #2a1208; }
.listing-pagination button { border-color: var(--line-strong); }
.listing-pagination button:hover:not(:disabled) { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.load-more { background: var(--surface); border: 1px solid var(--brand); color: var(--brand-deep); font-weight: 800; }
.load-more:hover:not(:disabled) { background: var(--brand); color: #fff; }
.catalog-nav { border-color: var(--line-strong); background: var(--surface); }
.catalog-nav a[aria-current="page"] { background: var(--espresso-2); border-color: var(--espresso-2); color: var(--cream); }
.catalog-nav a:hover { color: var(--brand-deep); }
.catalog-nav a[aria-current="page"] b { background: rgba(255, 244, 226, .18); border-color: transparent; }
.catalog-bottom-link { background: linear-gradient(120deg, var(--brand-soft), var(--surface) 75%); border-color: var(--line-strong); border-radius: 18px; }
.catalog-bottom-link p { color: var(--ink-soft); }

/* ---------- 7. NEW home blocks (injected) ---------- */
.gh-sec { margin: clamp(34px, 4.4vw, 54px) 0; }
.gh-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.gh-sec-head h2 { display: flex; align-items: center; gap: 11px; margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 850; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.gh-sec-head h2::before { content: ""; width: 6px; height: 26px; border-radius: 4px; background: var(--brand); flex: none; }
.gh-sec-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.gh-sec-link { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--brand-deep); font-size: 12px; font-weight: 750; }
.gh-sec-link:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.gh-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gh-cat { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px 18px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; transition: transform .22s var(--gh-ease), box-shadow .22s var(--gh-ease), border-color .22s; }
.gh-cat::after { content: ""; position: absolute; right: -26px; top: -26px; width: 92px; height: 92px; border-radius: 50%; background: var(--brand-soft); opacity: .8; transition: transform .35s var(--gh-ease); }
.gh-cat:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 18px 34px -18px rgba(160, 70, 33, .5); }
.gh-cat:hover::after { transform: scale(1.5); }
.gh-cat i { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--espresso-2); color: var(--glow); }
.gh-cat svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gh-cat strong { position: relative; z-index: 1; font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.gh-cat small { position: relative; z-index: 1; color: var(--muted); font-size: 12px; line-height: 1.5; }
.gh-cat b { position: relative; z-index: 1; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--brand-bright); font-size: 12px; font-weight: 800; }
:root[data-theme="dark"] .gh-cat i { background: var(--brand-soft); color: var(--brand-bright); }

.gh-cities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gh-city { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-height: 92px; padding: 16px 16px 14px; border-radius: 18px; color: var(--cream); overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); transition: transform .22s var(--gh-ease), box-shadow .22s var(--gh-ease); }
.gh-city::before { content: ""; position: absolute; inset: 0; background: radial-gradient(160px 80px at 85% 0, rgba(255, 220, 160, .35), transparent 70%); }
.gh-city::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; opacity: .22; background: var(--city-skyline) bottom / 220px 34px repeat-x; }
.gh-city:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(40, 18, 8, .7); color: #fff; }
.gh-city strong { position: relative; z-index: 1; font-size: 16px; font-weight: 800; line-height: 1.3; }
.gh-city span { position: relative; z-index: 1; font-size: 18px; opacity: .85; transition: transform .2s; }
.gh-city:hover span { transform: translateX(3px); }
.gh-city:nth-child(5n+1) { --c1: #8c3f22; --c2: #c9693c; }
.gh-city:nth-child(5n+2) { --c1: #5a3b2e; --c2: #a56a47; }
.gh-city:nth-child(5n+3) { --c1: #7a3a3a; --c2: #c07a55; }
.gh-city:nth-child(5n+4) { --c1: #4a3328; --c2: #8c5c3d; }
.gh-city:nth-child(5n) { --c1: #9a5a2a; --c2: #d6954f; }
.gh-city { --city-skyline: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='34' viewBox='0 0 220 34'%3E%3Cpath fill='%23fff' d='M0 34V18h12v-6h10v10h10V8h14v26h8V16h12v-8h12v26h10V20h14v-6h10v20h12V12h12v22h10V18h14v16z'/%3E%3C/svg%3E"); }

.gh-band { position: relative; padding: clamp(26px, 3.4vw, 42px); border-radius: 28px; color: var(--cream); overflow: hidden; background: linear-gradient(115deg, #2b1f17 35%, #4a2e22); box-shadow: var(--shadow-md); }
.gh-band::before { content: ""; position: absolute; inset: 0; background: var(--gh-hero) right bottom / cover no-repeat; opacity: .28; }
.gh-band > * { position: relative; }
.gh-band h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 850; letter-spacing: -.02em; color: var(--cream); }
.gh-band > p { margin: 0 0 24px; max-width: 620px; color: rgba(255, 244, 226, .78); font-size: 14px; line-height: 1.7; }
.gh-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gh-feat { padding: 18px; border: 1px solid rgba(255, 244, 226, .16); border-radius: 18px; background: rgba(43, 31, 23, .72); }
.gh-feat i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 13px; background: rgba(246, 185, 59, .16); color: var(--glow); }
.gh-feat svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gh-feat strong { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 800; color: var(--cream); }
.gh-feat span { display: block; font-size: 12.5px; line-height: 1.65; color: rgba(255, 244, 226, .75); }

.gh-tools-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.gh-tools { align-content: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gh-tool { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: transform .22s var(--gh-ease), border-color .22s, box-shadow .22s; }
.gh-tool:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 16px 30px -18px rgba(160, 70, 33, .5); }
.gh-tool i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 4px; }
.gh-tool svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gh-tool strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.gh-tool span { font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.gh-calc { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(160deg, var(--surface), var(--surface-soft)); box-shadow: var(--shadow-sm); }
.gh-calc h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 18px; font-weight: 850; color: var(--ink); }
.gh-calc h3 svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gh-calc > p { margin: 0 0 16px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.gh-calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gh-calc label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.gh-calc label.wide { grid-column: 1 / -1; }
.gh-calc input, .gh-calc select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 650; }
.gh-calc-out { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--espresso-2); color: var(--cream); display: grid; gap: 10px; }
.gh-calc-out .big small { display: block; font-size: 12px; opacity: .75; margin-bottom: 2px; }
.gh-calc-out .big strong { font-size: clamp(26px, 3vw, 34px); font-weight: 850; color: var(--glow); letter-spacing: -.02em; }
.gh-calc-out .row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding-top: 10px; border-top: 1px solid rgba(255, 244, 226, .16); }
.gh-calc-out .row b { font-weight: 800; }
.gh-calc small.note { display: block; margin-top: 10px; font-size: 11px; line-height: 1.6; color: var(--muted); }

.gh-pop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface-soft); }
.gh-pop h3 { margin: 0 0 12px; font-size: 14px; font-weight: 850; color: var(--ink); letter-spacing: .01em; }
.gh-pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gh-pop a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; transition: color .15s, transform .15s; }
.gh-pop a:hover { color: var(--brand-bright); transform: translateX(3px); }

/* ---------- 8. Sell banner + footer ---------- */
body.home-page .sell-banner-between, .sell-banner {
  position: relative; overflow: hidden; border: 0; color: var(--cream); box-shadow: var(--shadow-md);
  background: linear-gradient(100deg, #2b1f17 38%, rgba(43, 31, 23, .55)), var(--gh-hero) right bottom / cover no-repeat, #2b1f17;
}
.sell-banner .section-label { color: var(--glow); }
.sell-banner h2 { color: var(--cream); font-weight: 850; }
.sell-banner p { color: rgba(255, 244, 226, .8); }
.sell-banner .primary { background: linear-gradient(180deg, #f7c04e, #eba72a); color: #3a2600; border-color: #eba72a; box-shadow: 0 12px 28px rgba(0, 0, 0, .4); }
.sell-banner .primary:hover:not(:disabled) { background: #fff4e2; color: #2b1f17; border-color: #fff4e2; }

.site-footer { background: #241913; border-top: 4px solid var(--brand); color: #e8d9c4; margin-top: 56px; }
:root[data-theme="dark"] .site-footer { background: #130d09; }
.site-footer .brand-name, .site-footer .brand-logo { color: var(--cream); }
.site-footer .brand-name b { color: #f08a5d; }
.site-footer .footer-brand p, .site-footer .footer-column, .site-footer .footer-shell > small { color: #bfa88e; }
.site-footer .footer-column strong, .site-footer .footer-column strong a { color: var(--cream); }
.site-footer .footer-column a, .site-footer .footer-column button { color: #e8d9c4; transition: color .15s; }
.site-footer .footer-column a:hover, .site-footer .footer-column button:hover { color: var(--glow); }
.site-footer .footer-shell > small { border-top-color: rgba(255, 244, 226, .14); }
.site-footer .contact-method { border-color: rgba(255, 244, 226, .18); background: rgba(255, 244, 226, .06); color: var(--cream); }
.site-footer .contact-method:hover { background: rgba(246, 185, 59, .14); border-color: var(--glow); color: var(--glow); }
.site-footer .contact-method-icon { color: var(--glow); }
.site-footer .contact-method-copy span, .site-footer .footer-contact .contact-method--phone .contact-method-copy > span { color: #f5e8d3; }
.site-footer .footer-contact .contact-method--phone { background: none; border: 0; }

/* ---------- 9. Mobile bottom nav, dialogs, inputs ---------- */
.mobile-bottom-nav { background: var(--surface); border-top: 1px solid var(--line-strong); box-shadow: 0 -10px 30px -18px rgba(80, 45, 20, .6); }
.mobile-bottom-nav [aria-current="page"] { color: var(--brand-deep); background: var(--brand-soft); }
.mobile-bottom-nav > .mobile-nav-add, :root[data-theme="dark"] .mobile-bottom-nav > .mobile-nav-add { background: linear-gradient(180deg, #c35d33, #b4502a); color: #fff; font-weight: 800; }
:root[data-theme="dark"] .mobile-bottom-nav > .mobile-nav-add { background: linear-gradient(180deg, #f39a70, #ee8a5e); color: #2a1208; }
.gh-search-eyebrow { color: var(--brand-bright); }
.gh-search-dialog::backdrop, .market-dialog::backdrop { background: rgba(35, 18, 8, .55); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(180, 80, 42, .2); outline: none; }
input[type="checkbox"], input[type="radio"], input[type="range"] { accent-color: var(--brand); }
.account-panel a:hover, .account-panel button:hover { background: var(--brand-soft); }
.account-panel .account-links svg { stroke: var(--brand-bright); }

/* ---------- 10. Other pages (dashboard, listing, admin, hub) ---------- */
:root:not([data-theme="dark"]) .dashboard-welcome, :root:not([data-theme="dark"]) .info-hero { background: linear-gradient(135deg, var(--sand), var(--surface) 70%); border-color: var(--line-strong); }
.profile-avatar { background: var(--espresso-2); color: var(--cream); }
.admin-page .admin-nav button.selected, :root:not([data-theme="dark"]) .admin-page .admin-nav button.selected { background: var(--brand-soft); color: var(--brand-deep); }
.hub-button.primary, .hub-button:not(.secondary):not(.plain) { background: linear-gradient(180deg, #c35d33, #b4502a); color: #fff; }
.dashboard-metrics strong { color: var(--brand-deep); }
:root[data-theme="dark"] .dashboard-metrics strong { color: var(--brand); }
.monthly-offer { background: var(--gold-soft); }

/* ---------- 11. Responsive ---------- */
@media (max-width: 1100px) {
  .gh-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gh-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gh-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-tools-wrap { grid-template-columns: 1fr; }
  .gh-pop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .gh-hero { padding: 26px 0 24px; }
  .gh-hero > :not(.gh-hero-art) { width: calc(100% - 28px); }
  .gh-hero-eyebrow { margin-inline-start: 14px !important; }
  .gh-hero .home-search-heading, .gh-hero-sub { max-width: calc(100% - 28px) !important; }
  .gh-hero #search-area.gh-search-ready > .quick-types { margin-top: 14px; gap: 8px; }
  .gh-hero #search-area .quick-types > :is(button, a) { min-height: 52px; }
  body.home-page .card:hover { transform: none; }
}
@media (max-width: 600px) {
  .gh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gh-cat { padding: 16px 14px; border-radius: 16px; }
  .gh-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gh-city { min-height: 76px; padding: 12px; border-radius: 15px; }
  .gh-city strong { font-size: 14px; }
  .gh-feats { grid-template-columns: 1fr; }
  .gh-tools { grid-template-columns: 1fr; }
  .gh-pop { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 20px 16px; }
  .gh-calc-grid { grid-template-columns: 1fr; }
  .gh-band { border-radius: 22px; }
}
@media (hover: none) {
  body.home-page .card:hover, .gh-cat:hover, .gh-tool:hover, .gh-city:hover { transform: none; }
  .gh-hero #search-area .quick-types > :is(button, a):hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   12. Phase 3 — inner-page headers, wordmark, dashboard, profiles, directory
   ========================================================================== */

/* ---- 12.1 Inner-page headers: full-width bar, content aligned with the page container ---- */
body:is(.dashboard-page, .auth-page, .admin-page, .listing-page) > header {
  width: 100%; max-width: none; box-sizing: border-box; margin: 0;
  padding-inline: max(24px, calc((100% - var(--container, 1240px)) / 2));
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px -24px rgba(80, 45, 20, .5);
}
body:is(.dashboard-page, .auth-page, .admin-page, .listing-page) > header .brand-symbol { flex: none; }
.dashboard-header-label {
  display: inline-flex; align-items: center; gap: 8px; margin-inline-start: 4px; padding: 7px 14px;
  border-radius: 999px; background: var(--brand-soft); border: 1px solid var(--line-strong);
  color: var(--brand-deep); font-size: 13px; font-weight: 800; letter-spacing: 0; white-space: nowrap;
}
.dashboard-header-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
@media (max-width: 820px) {
  body:is(.dashboard-page, .auth-page, .admin-page, .listing-page) > header { padding-inline: 14px; gap: 10px; }
}

/* ---- 12.2 "GHome" wordmark inside headings ---- */
.gh-word {
  display: inline-block; position: relative; margin-inline: .06em; padding: .02em .3em .08em;
  border-radius: .36em; font-weight: 900; letter-spacing: -.02em; color: var(--cream);
  background: linear-gradient(135deg, rgba(240, 138, 93, .30), rgba(246, 185, 59, .16));
  box-shadow: inset 0 0 0 1px rgba(246, 185, 59, .38), 0 10px 30px -12px rgba(240, 138, 93, .7);
}
.gh-word b {
  font-weight: 900; font-size: 1.12em; padding-inline-end: .02em;
  background: linear-gradient(180deg, #ffc49a, #f08a5d 55%, #e8862f); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gh-word::after { content: ""; position: absolute; left: .3em; right: .3em; bottom: -.1em; height: .09em; border-radius: 99px; background: linear-gradient(90deg, #f08a5d, #f6b93b); }

/* ---- 12.3 Dashboard: warm profile card (no green) ---- */
main.dashboard-shell > section.dashboard-welcome {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 22px 28px;
  padding: 138px clamp(18px, 3vw, 36px) clamp(20px, 2.6vw, 30px); margin: 0;
  border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md);
}
main.dashboard-shell > section.dashboard-welcome::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 112px;
  background: linear-gradient(120deg, #2b1f17 0%, #4a2e22 58%, #b4502a 135%);
}
main.dashboard-shell > section.dashboard-welcome::after {
  content: ""; position: absolute; inset: 0 0 auto 0; width: auto; height: 112px; border: 0; border-radius: 0;
  background: var(--gh-hero) right 30% / cover no-repeat; opacity: .42; pointer-events: none;
}
.dashboard-welcome .profile-summary { align-items: flex-end; gap: 20px; }
.dashboard-welcome .profile-avatar {
  width: 104px; height: 104px; flex: 0 0 104px; margin-top: -70px; border-radius: 28px; border: 5px solid var(--surface);
  background: var(--brand-soft); color: var(--brand-deep); font-size: 40px; box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.dashboard-welcome .profile-summary .eyebrow { color: var(--brand-bright); font-size: 12px; letter-spacing: .06em; }
.dashboard-welcome .profile-summary h1 { color: var(--ink); font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; margin: 2px 0; }
.dashboard-welcome .profile-summary p { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.dashboard-welcome .profile-rating strong { color: var(--ink); font-size: 13px; }
.dashboard-welcome .profile-rating > span { color: var(--muted); font-size: 12px; }
.dashboard-welcome-actions { align-self: end; flex-wrap: wrap; justify-content: flex-end; }
.dashboard-welcome .dashboard-welcome-actions .secondary-button,
.dashboard-welcome .dashboard-welcome-actions .dashboard-role-shortcut {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); min-height: 46px; border-radius: 12px; padding-inline: 16px;
}
.dashboard-welcome .dashboard-welcome-actions .secondary-button:hover,
.dashboard-welcome .dashboard-welcome-actions .dashboard-role-shortcut:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.dashboard-welcome .dashboard-welcome-actions .primary { min-height: 46px; border-radius: 12px; padding-inline: 20px; background: linear-gradient(180deg, #c35d33, #b4502a); color: #fff; box-shadow: 0 10px 24px -10px rgba(180, 80, 42, .7); }
:root[data-theme="dark"] .dashboard-welcome .dashboard-welcome-actions .primary { background: linear-gradient(180deg, #f7ac88, #ee8a5e); color: #2a1208; }
.dashboard-welcome .dashboard-metrics { border-top: 0; padding-top: 0; gap: 12px; }
.dashboard-welcome .dashboard-metrics > div { gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.dashboard-welcome .dashboard-metrics span { color: var(--muted); font-size: 12px; font-weight: 700; }
.dashboard-welcome .dashboard-metrics strong { color: var(--brand-deep); font-size: 28px; font-weight: 850; }
:root[data-theme="dark"] .dashboard-welcome .dashboard-metrics strong { color: var(--brand); }
.dashboard-welcome .dashboard-feedback { grid-column: 1 / -1; position: relative; z-index: 1; }
.dashboard-nav { border-radius: 16px; border-color: var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); }
.dashboard-nav button { font-size: 13px; }
.dashboard-nav button:hover, .dashboard-nav button.selected { background: var(--brand-soft); color: var(--brand-deep); }
#toast { background: var(--espresso); color: var(--cream); }
.bank-card { background: linear-gradient(125deg, #2b1f17, #4a2e22) !important; }
:root[data-theme="dark"] .info-hero { background: linear-gradient(135deg, #2c2018, var(--surface) 75%); }
.promotion-price-strip > div { background: var(--gold-soft); border-color: var(--line-strong); }
@media (max-width: 820px) {
  main.dashboard-shell > section.dashboard-welcome { display: flex; flex-direction: column; align-items: stretch; padding-top: 128px; border-radius: 22px; }
  .dashboard-welcome .profile-summary { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dashboard-welcome .dashboard-welcome-actions { justify-content: stretch; }
  .dashboard-welcome .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- 12.4 Account-type chooser: tiles ---- */
.gh-type-card { border-radius: 22px; border-color: var(--line); box-shadow: var(--shadow-sm); }
.gh-type-chip { background: var(--gold-soft); color: var(--brand-deep); border-color: var(--line-strong); font-weight: 800; }
.gh-type-card .gh-role-options { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.gh-type-card .gh-role-choice.gh-role-tile {
  position: relative; display: flex; align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px; min-height: 0;
  border: 1.5px solid var(--line-strong); border-radius: 18px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.gh-role-tile:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.gh-role-tile:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.gh-type-card .gh-role-tile input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.gh-role-tile:has(input:checked)::after {
  content: "✓"; position: absolute; top: 12px; inset-inline-end: 12px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800;
}
.gh-role-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--brand-soft); color: var(--brand-deep); }
.gh-role-tile:has(input:checked) .gh-role-ic { background: var(--brand); color: #fff; }
.gh-role-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gh-role-choice.gh-role-tile strong { font-size: 16px; }
.gh-role-choice.gh-role-tile small { font-size: 13px; line-height: 1.55; }

/* ---- 12.5 Professional setup form ---- */
.gh-pf-intro { border-radius: 24px; border-color: var(--line); background: linear-gradient(135deg, var(--surface), var(--sand) 170%); }
:root[data-theme="dark"] .gh-pf-intro { background: linear-gradient(135deg, var(--surface), #2c2018); }
.gh-pf { display: grid; gap: 18px; }
.gh-pf-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; }
.gh-pf-top h2 { margin: 6px 0 4px; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.025em; line-height: 1.25; }
.gh-pf-top p { margin: 0; color: var(--muted); font-size: 14px; max-width: 60ch; }
.gh-pf-kicker { font-size: 11px; letter-spacing: .08em; font-weight: 800; color: var(--brand-bright); }
.gh-pf-steps { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.gh-pf-steps li { display: flex; align-items: center; gap: 9px; padding: 7px 16px 7px 7px; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--muted); font-weight: 750; font-size: 13px; }
.gh-pf-steps li b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--line); color: var(--ink-soft); font-size: 12px; }
.gh-pf-steps li.now { color: var(--ink); border-color: var(--brand); background: var(--brand-soft); }
.gh-pf-steps li.now b { background: var(--brand); color: #fff; }
.gh-pf-steps li.done { color: var(--ink-soft); }
.gh-pf-steps li.done b { background: var(--success); color: #fff; }
.gh-pf-status { display: grid; gap: 3px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface-soft); font-size: 14px; }
.gh-pf-status span { color: var(--ink-soft); }
.gh-pf-status.is-ok { background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 40%, transparent); }
.gh-pf-status.is-wait { background: var(--gold-soft); }
.gh-pf-status.is-bad { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.gh-pf-form { display: grid; gap: 18px; }
.gh-pf-card { padding: clamp(16px, 2.4vw, 26px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gh-pf-card h3 { margin: 0 0 14px; font-size: 17px; letter-spacing: -.01em; }
.gh-pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gh-pf-field { display: grid; align-content: start; gap: 6px; min-width: 0; font-size: 13px; font-weight: 750; color: var(--ink-soft); }
.gh-pf-field.wide, .gh-pf-agency-wrap { grid-column: 1 / -1; }
.gh-pf-agency-wrap[hidden] { display: none; }
.gh-pf-field > span { display: flex; align-items: center; gap: 6px; }
.gh-pf-field > span i { color: var(--danger); font-style: normal; }
.gh-pf-field > span svg { width: 13px; height: 13px; fill: none; stroke: var(--muted); stroke-width: 2; }
.gh-pf-field input:not([type="checkbox"]), .gh-pf-field textarea {
  width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: 500 15px/1.45 var(--font); transition: border-color .2s, box-shadow .2s;
}
.gh-pf-field textarea { min-height: 128px; resize: vertical; }
.gh-pf-field :is(input, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.gh-pf-field.is-locked input { background: var(--surface-soft); color: var(--muted); }
.gh-pf-field small { font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.5; }
.gh-pf-note { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.gh-pf-preview { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.gh-pf-cover { position: relative; display: grid; place-items: center; height: clamp(150px, 20vw, 240px); cursor: pointer; overflow: hidden; color: #fff; background: linear-gradient(120deg, #2b1f17, #4a2e22 60%, #b4502a 140%); }
.gh-pf-cover::before { content: ""; position: absolute; inset: 0; background: var(--gh-hero) right bottom / cover no-repeat; opacity: .4; }
.gh-pf-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gh-pf-cover input[type="file"], .gh-pf-logo input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.gh-pf-cam { position: relative; display: grid; justify-items: center; gap: 4px; padding: 14px 22px; border-radius: 16px; text-align: center; background: rgba(24, 14, 9, .58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .2s; }
.gh-pf-cam svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gh-pf-cam b { font-size: 14px; }
.gh-pf-cam small { font-size: 12px; opacity: .8; }
.gh-pf-cover.has-img .gh-pf-cam { opacity: 0; }
.gh-pf-cover.has-img:hover .gh-pf-cam, .gh-pf-cover.has-img:focus-within .gh-pf-cam { opacity: 1; }
.gh-pf-ident { position: relative; display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 16px; margin-top: -48px; padding: 0 clamp(14px, 2.4vw, 26px) 18px; }
.gh-pf-logo { position: relative; flex: none; display: grid; place-items: center; width: 108px; height: 108px; overflow: hidden; cursor: pointer; border-radius: 26px; border: 5px solid var(--surface); background: var(--surface-soft); box-shadow: var(--shadow-md); }
.gh-pf-logo.is-locked { cursor: default; }
.gh-pf-logo img { width: 100%; height: 100%; object-fit: cover; }
.gh-pf-initial { font-size: 40px; font-weight: 850; color: var(--brand-deep); }
.gh-pf-plus { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); pointer-events: none; }
.gh-pf-plus svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.gh-pf-live { display: grid; gap: 2px; min-width: 0; padding-top: 58px; padding-bottom: 6px; }
.gh-pf-live strong { font-size: 20px; overflow-wrap: anywhere; }
.gh-pf-live small { color: var(--muted); font-size: 13px; }
.gh-pf-rm { margin-inline-start: auto; }
.gh-pf-entity { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.gh-pf-entity legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 14px; }
.gh-pf-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gh-pf-tile { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.gh-pf-tile input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.gh-pf-tile:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.gh-pf-tile:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.gh-pf-tile-i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-deep); }
.gh-pf-tile:has(input:checked) .gh-pf-tile-i { background: var(--brand); color: #fff; }
.gh-pf-tile-i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gh-pf-tile strong { display: block; font-size: 16px; }
.gh-pf-tile small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.gh-pf-consent .hub-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; cursor: pointer; }
.gh-pf-consent .hub-check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.gh-pf-actions { position: sticky; bottom: 12px; z-index: 5; justify-content: flex-end; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 18px; background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); }
@media (max-width: 700px) {
  .gh-pf-grid, .gh-pf-tiles { grid-template-columns: minmax(0, 1fr); }
  .gh-pf-logo { width: 92px; height: 92px; border-radius: 22px; }
  .gh-pf-actions { position: static; flex-direction: column-reverse; box-shadow: none; }
  .gh-pf-cam small { display: none; }
  .gh-pf-live { padding-top: 54px; }
  .gh-pf-live strong { font-size: 18px; }
  .gh-pf-actions .hub-button { width: 100%; }
}

/* ---- 12.6 Hub header (profiles + directory) ---- */
.hub-header { background: color-mix(in srgb, var(--surface) 96%, transparent); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px -24px rgba(80, 45, 20, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hub-header-inner { min-height: 72px; }
.hub-header nav a { padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.hub-header nav a:hover { background: var(--brand-soft); color: var(--brand-deep); text-decoration: none; }
.hub-header nav a.is-here { background: var(--brand-soft); color: var(--brand-deep); }
@media (max-width: 760px) {
  .hub-header .hub-header-inner { flex-wrap: wrap; row-gap: 6px; padding-block: 8px; min-height: 0; }
  .hub-header .hub-header-inner nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; justify-content: flex-start; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .hub-header .hub-header-inner nav::-webkit-scrollbar { display: none; }
  .hub-header .hub-header-inner nav a { flex: none; white-space: nowrap; padding: 8px 13px; font-size: 13px; }
  .hub-header .hub-header-inner nav .theme-toggle { margin-inline-start: auto; }
}
.hub-crumb { font-size: 13px; }
.hub-surface { border-color: var(--line); }

/* ---- 12.7 Public professional profile ---- */
.gh-pro { padding: 0; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-md); }
.gh-pro-cover { position: relative; height: clamp(160px, 23vw, 300px); background: linear-gradient(120deg, #2b1f17, #4a2e22 58%, #b4502a 135%); }
.gh-pro-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gh-pro-cover-art { position: absolute; inset: 0; background: var(--gh-hero) right bottom / cover no-repeat; opacity: .55; }
.gh-pro-head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 16px 26px; margin-top: calc(clamp(54px, 6.4vw, 76px) * -1); padding: 0 clamp(16px, 3vw, 38px); }
.gh-pro-logo { display: grid; place-items: center; overflow: hidden; width: clamp(104px, 12vw, 140px); height: clamp(104px, 12vw, 140px); border-radius: 28px; border: 6px solid var(--surface); background: var(--surface); box-shadow: var(--shadow-md); }
.gh-pro-logo img { width: 100%; height: 100%; object-fit: cover; }
.gh-pro-agency .gh-pro-logo img, .gh-pro-developer .gh-pro-logo img { object-fit: contain; padding: 10px; box-sizing: border-box; }
.gh-pro-logo span { display: grid; place-items: center; width: 100%; height: 100%; background: var(--brand-soft); color: var(--brand-deep); font-size: 48px; font-weight: 850; }
.gh-pro-title { min-width: 0; padding-top: calc(clamp(54px, 6.4vw, 76px) + 14px); }
.gh-pro-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: 12px; font-weight: 800; border: 1px solid color-mix(in srgb, var(--success) 35%, transparent); }
.gh-pro-badge i { font-style: normal; }
.gh-pro-title h1 { margin: 10px 0 4px; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.gh-pro-title p { margin: 0; color: var(--muted); font-size: 15px; }
.gh-pro-cta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: calc(clamp(54px, 6.4vw, 76px) + 14px); }
.gh-pro-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 20px; border-radius: 15px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 800 14px/1.2 var(--font); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.gh-pro-btn:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-sm); color: var(--brand-deep); }
.gh-pro-btn svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gh-pro-btn-main, .gh-pro-btn-main:hover { background: linear-gradient(180deg, #c35d33, #b4502a); border-color: #b4502a; color: #fff; box-shadow: 0 12px 26px -12px rgba(180, 80, 42, .8); }
.gh-pro-btn small { padding-inline-start: 10px; border-inline-start: 1px solid rgba(255, 255, 255, .45); font-size: 12px; font-weight: 700; opacity: .9; }
.gh-reveal-num { letter-spacing: .03em; }
.gh-pro-stats { display: flex; flex-wrap: wrap; gap: 12px; padding: 24px clamp(16px, 3vw, 38px) 0; }
.gh-pro-stats > div { min-width: 150px; max-width: 100%; padding: 13px 18px; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--line); }
.gh-pro-stats b { display: block; font-size: 20px; color: var(--brand-deep); overflow-wrap: anywhere; }
:root[data-theme="dark"] .gh-pro-stats b { color: var(--brand); }
.gh-pro-stats span { font-size: 12px; color: var(--muted); font-weight: 700; }
.gh-pro-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: 30px; padding: 26px clamp(16px, 3vw, 38px) clamp(22px, 3vw, 38px); }
.gh-pro-about h2, .gh-pro-card h2 { margin: 0 0 12px; font-size: 18px; }
.gh-pro-about p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; font-size: 15px; color: var(--ink-soft); }
.gh-muted { color: var(--muted) !important; }
.gh-pro-card { align-self: start; padding: 18px 20px; border-radius: 20px; background: var(--surface-soft); border: 1px solid var(--line); }
.gh-pro-card ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.gh-pro-card li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.gh-pro-card li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gh-pro-card li > div { min-width: 0; }
.gh-pro-card small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.gh-pro-card span, .gh-pro-card li a { font-size: 14px; font-weight: 750; color: var(--ink); overflow-wrap: anywhere; text-decoration: none; }
.gh-pro-card li a:hover { color: var(--brand-deep); text-decoration: underline; }
.gh-pro-listings { margin-top: 30px; }
@media (max-width: 860px) {
  .gh-pro-head { grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: -60px; }
  .gh-pro-title, .gh-pro-cta { padding-top: 0; }
  .gh-pro-cta { justify-content: flex-start; }
  .gh-pro-btn { flex: 1 1 auto; justify-content: center; }
  .gh-pro-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gh-pro { border-radius: 22px; }
}

/* ---- 12.8 Directory: agencies / agents / developers ---- */
.gh-dir-head { position: relative; overflow: hidden; padding: clamp(22px, 3.6vw, 44px); border-radius: 28px; background: linear-gradient(135deg, var(--surface), var(--sand) 170%); box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] .gh-dir-head { background: linear-gradient(135deg, var(--surface), #2c2018); }
.gh-dir-head::after { content: ""; position: absolute; inset: 0; background: var(--gh-hero) right bottom / auto 125% no-repeat; opacity: .22; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 70%); mask-image: linear-gradient(90deg, transparent 22%, #000 70%); }
.gh-dir-head > * { position: relative; z-index: 1; }
.gh-dir-head h1 { margin: 8px 0 8px; font-size: clamp(26px, 4vw, 44px); line-height: 1.15; letter-spacing: -.035em; max-width: 22ch; }
.gh-dir-head p { margin: 0; max-width: 56ch; color: var(--muted); font-size: 15px; }
.gh-dir-search { display: flex; gap: 10px; max-width: 660px; margin-top: 22px; }
.gh-dir-search input { flex: 1; min-width: 0; min-height: 54px; padding: 0 18px; border-radius: 15px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 15px var(--font); }
.gh-dir-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.gh-dir-search button { min-height: 54px; padding: 0 28px; border: 0; border-radius: 15px; background: linear-gradient(180deg, #c35d33, #b4502a); color: #fff; font: 800 15px var(--font); cursor: pointer; box-shadow: 0 12px 26px -12px rgba(180, 80, 42, .8); }
.gh-dir-tabs { display: flex; gap: 8px; margin: 22px 0 16px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.gh-dir-tabs::-webkit-scrollbar { display: none; }
.gh-dir-tabs a { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft); font-size: 14px; font-weight: 800; white-space: nowrap; text-decoration: none; transition: border-color .2s, background .2s; }
.gh-dir-tabs a:hover { border-color: var(--brand); color: var(--brand-deep); }
.gh-dir-tabs a b { min-width: 24px; padding: 2px 8px; border-radius: 99px; background: var(--surface-soft); color: var(--muted); font-size: 12px; text-align: center; }
.gh-dir-tabs a.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.gh-dir-tabs a.is-active b { background: rgba(255, 244, 226, .18); color: var(--cream); }
:root[data-theme="dark"] .gh-dir-tabs a.is-active { background: var(--brand); border-color: var(--brand); color: #2a1208; }
:root[data-theme="dark"] .gh-dir-tabs a.is-active b { background: rgba(42, 18, 8, .2); color: #2a1208; }
.gh-dir-list { display: grid; gap: 12px; }
.gh-dc { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(200px, auto) auto; align-items: center; gap: 16px 24px; padding: 16px 22px 16px 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.gh-dc:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.gh-dc-logo { display: grid; place-items: center; overflow: hidden; width: 96px; height: 96px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface-soft); }
.gh-dc-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.gh-dc-agent .gh-dc-logo img { object-fit: cover; padding: 0; }
.gh-dc-logo span { display: grid; place-items: center; width: 100%; height: 100%; background: var(--brand-soft); color: var(--brand-deep); font-size: 36px; font-weight: 850; }
.gh-dc-main { min-width: 0; }
.gh-dc-main h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; line-height: 1.3; }
.gh-dc-main h2 a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.gh-dc-main h2 a:hover { color: var(--brand-deep); }
.gh-dc-check { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: 12px; }
.gh-dc-type { margin: 3px 0 0; font-size: 13px; font-weight: 750; color: var(--brand-bright); }
.gh-dc-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 7px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.gh-dc-meta { display: grid; gap: 7px; min-width: 0; font-size: 13.5px; color: var(--ink-soft); }
.gh-dc-meta span { overflow-wrap: anywhere; }
.gh-dc-count b { font-size: 20px; color: var(--brand-deep); }
:root[data-theme="dark"] .gh-dc-count b { color: var(--brand); }
.gh-dc-phone { font-weight: 800; letter-spacing: .03em; }
.gh-dc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 13px; border: 1.5px solid var(--brand); color: var(--brand-deep); background: transparent; font: 800 14px var(--font); text-decoration: none; transition: background .2s, color .2s; }
.gh-dc-btn:hover { background: var(--brand); color: #fff; }
:root[data-theme="dark"] .gh-dc-btn { color: var(--brand); }
:root[data-theme="dark"] .gh-dc-btn:hover { color: #2a1208; }
.gh-dir-empty { padding: 40px 24px; text-align: center; border-radius: 22px; }
.gh-dir-empty p { margin: 6px 0 0; color: var(--muted); }
.gh-dir-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 22px 26px; border-radius: 22px; background: linear-gradient(115deg, #2b1f17 35%, #4a2e22); color: var(--cream); border-color: transparent; }
.gh-dir-cta p { margin: 4px 0 0; color: rgba(255, 244, 226, .75); font-size: 14px; }
.gh-dir-cta strong { font-size: 18px; }
.gh-pg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 0; }
.gh-pg a, .gh-pg span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft); font-weight: 800; font-size: 14px; text-decoration: none; }
.gh-pg a:hover { border-color: var(--brand); color: var(--brand-deep); }
.gh-pg .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.gh-pg .gh-pg-dots { border: 0; background: transparent; }
:root[data-theme="dark"] .gh-pg .is-current { color: #2a1208; }
@media (max-width: 920px) {
  .gh-dc { grid-template-columns: 78px minmax(0, 1fr); padding: 14px; }
  .gh-dc-logo { width: 78px; height: 78px; border-radius: 18px; }
  .gh-dc-meta { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .gh-dc-btn { grid-column: 1 / -1; }
  .gh-dir-search { flex-direction: column; }
}

/* ---- 12.9 Infinite scroll ---- */
.gh-infinite #listing-pagination { display: none !important; }
.gh-more { display: grid; place-items: center; min-height: 12px; padding: 18px 0 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.gh-more.is-busy::before { content: ""; width: 22px; height: 22px; margin-bottom: 8px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--brand); animation: gh-spin .8s linear infinite; }
.gh-more.is-end { padding-block: 22px; }
@keyframes gh-spin { to { transform: rotate(360deg); } }

/* ---- 12.10 Home: professionals teaser, owner profile ---- */
.gh-cats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .gh-cats-3 { grid-template-columns: minmax(0, 1fr); } }

/* Owner public page (/agent/…) */
.agent-shell { margin-top: 28px; }
.agent-intro.gh-ai { display: block; position: relative; padding: 0; overflow: hidden; border-radius: 28px; border-color: var(--line); box-shadow: var(--shadow-md); margin-bottom: 30px; }
.gh-ai-cover { height: clamp(120px, 17vw, 200px); background: linear-gradient(120deg, #2b1f17, #4a2e22 58%, #b4502a 135%); position: relative; }
.gh-ai-cover::after { content: ""; position: absolute; inset: 0; background: var(--gh-hero) right bottom / cover no-repeat; opacity: .5; }
.gh-ai-body { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 14px 24px; margin-top: -58px; padding: 0 clamp(16px, 3vw, 36px); }
.agent-intro > img.gh-ai-avatar, .gh-ai-avatar { width: 120px; height: 120px; border-radius: 28px; border: 6px solid var(--surface); background: var(--surface); object-fit: cover; box-shadow: var(--shadow-md); }
.gh-ai-initial { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); font-size: 46px; font-weight: 850; }
.gh-ai-main { min-width: 0; padding-top: 72px; }
.gh-ai-call { margin-top: 70px; }
.gh-ai-kind { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--brand-deep); border: 1px solid var(--line-strong); font-size: 12px; font-weight: 800; }
.agent-intro .gh-ai-main h1 { margin: 10px 0 4px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.03em; }
.agent-intro p.gh-ai-sub { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; white-space: normal; }
.gh-ai-call { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 15px; text-decoration: none; background: linear-gradient(180deg, #c35d33, #b4502a) !important; color: #fff !important; font-weight: 800; box-shadow: 0 12px 26px -12px rgba(180, 80, 42, .8); }
.gh-ai-call small { padding-inline-start: 10px; border-inline-start: 1px solid rgba(255, 255, 255, .45); font-size: 12px; font-weight: 700; }
.gh-ai-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px clamp(16px, 3vw, 36px) 0; }
.gh-ai-chip { padding: 9px 16px; border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.gh-ai-chip b { color: var(--brand-deep); font-size: 17px; margin-inline-end: 4px; }
:root[data-theme="dark"] .gh-ai-chip b { color: var(--brand); }
.agent-intro p.gh-ai-bio { margin: 0; padding: 18px clamp(16px, 3vw, 36px) clamp(22px, 3vw, 34px); max-width: 80ch; color: var(--ink-soft); font-size: 15px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-card { border-radius: 20px; border-color: var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.agent-card a { color: inherit; text-decoration: none; }
.agent-card strong { color: var(--brand-deep); }
:root[data-theme="dark"] .agent-card strong { color: var(--brand); }
@media (max-width: 760px) {
  .gh-ai-body { grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: -52px; }
  .gh-ai-main { padding-top: 0; }
  .gh-ai-call { justify-content: center; margin-top: 0; }
  .agent-intro.gh-ai { border-radius: 22px; }
}

/* Dashboard: profile editor + panels */
.profile-editor-grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 30px; padding: clamp(18px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.profile-editor-grid h2 { margin: 6px 0; font-size: 24px; letter-spacing: -.02em; }
.profile-editor-grid .muted { font-size: 14px; line-height: 1.7; }
.profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.profile-form .full { grid-column: 1 / -1; }
.profile-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; color: var(--ink-soft); }
.profile-form :is(input, textarea) { min-height: 50px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 15px/1.45 var(--font); }
.profile-form textarea { min-height: 128px; resize: vertical; }
.profile-form :is(input, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.profile-form input:disabled { background: var(--surface-soft); color: var(--muted); }
.profile-photo-editor { border-radius: 20px; background: var(--surface-soft); }
.profile-photo-preview { flex-basis: 92px; width: 92px; height: 92px; border: 4px solid var(--surface); box-shadow: var(--shadow-sm); border-radius: 26px; }
.dashboard-listing-row { border-radius: 18px; box-shadow: var(--shadow-sm); }
.dashboard-panel .section-heading h2 { letter-spacing: -.02em; }
@media (max-width: 860px) { .profile-editor-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } .profile-form { grid-template-columns: minmax(0, 1fr); } }

/* profile listing cards (the global card rules are scoped to the home page) */
.pro-portfolio .card { position: relative; min-width: 0; }
.pro-portfolio .card .card-body { padding: 12px 14px 14px; }
.pro-portfolio .card .card-photo { position: relative; }
.pro-portfolio .card .card-photo > a, .pro-portfolio .card .card-photo img { display: block; width: 100%; height: 100%; }
.pro-portfolio .card .card-photo img { object-fit: cover; }
.pro-portfolio .card .card-title { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; text-decoration: none; }
.pro-portfolio .card .location { display: flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 12px; }
.pro-portfolio .card .location span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-portfolio .card :is(.location, .specs) svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pro-portfolio .card .specs { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 9px; font-size: 12px; }
.pro-portfolio .card .specs span { display: inline-flex; align-items: center; gap: 4px; }
.pro-portfolio .card .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 11px; }
.pro-portfolio .card .card-footer a { color: var(--brand-bright); font-weight: 750; text-decoration: none; }
.pro-portfolio .card .mobile-compare-toggle { display: none; }

/* ======================================================================
   13. HOME — new section order, "იპოვე მარტივად" image tiles, map banner
   ====================================================================== */
/* "ვეძებ ბინას" button and the map-search shortcut leave the quick row */
[data-market-board],
#market-shortcuts > a[href*="browse_map"] { display: none !important; }

/* VIP -> trusted professionals -> PREMIUM -> projects -> find easily -> ... */
body.home-page > main { display: flex; flex-direction: column; }
body.home-page > main > * { min-width: 0; }
body.home-page > main > #projects-section,
body.home-page > main > #projects-coming-soon { order: 1; }
body.home-page > main > #premium-section ~ * { order: 1; }

.gh-sec-find { margin-top: 20px; }
.gh-find { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 210px 250px; gap: 22px; }
.gh-ft {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 24px; border-radius: 22px; color: #fff; background: #5a4a40 var(--gh-img) center / cover no-repeat;
  box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease;
}
.gh-ft::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 18, 12, 0) 25%, rgba(30, 18, 12, .78) 100%); }
.gh-ft:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gh-ft-a { grid-row: 1 / 3; }
.gh-ft-d { grid-column: 2 / 4; }
.gh-ft-link { color: #fff; text-decoration: none; }
.gh-ft-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gh-ft-link strong { display: block; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.2; letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.gh-ft-chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.gh-ft-chips a {
  padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 750; line-height: 1.2; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .2s, color .2s, transform .2s;
}
.gh-ft-chips a:hover { background: #fff; color: var(--brand-deep); transform: translateY(-1px); text-decoration: none; }
@media (max-width: 900px) {
  .gh-find { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: minmax(230px, auto); gap: 16px; }
  .gh-ft-a { grid-row: auto; min-height: 340px; }
  .gh-ft-d { grid-column: auto; background-position: 78% center; }
  .gh-ft { padding: 18px; border-radius: 20px; }
}

.gh-sec-mapban { margin-top: 26px; }
.gh-mapban {
  position: relative; display: flex; align-items: center; min-height: 230px; overflow: hidden; border-radius: 26px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--surface-soft); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.gh-mapban:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.gh-mapban-art { position: absolute; inset: 0 0 0 28%; background: var(--gh-img) right center / cover no-repeat; }
:root[data-theme="dark"] .gh-mapban-art { filter: brightness(.55) saturate(.8); }
.gh-mapban-copy { position: relative; display: grid; gap: 9px; justify-items: start; max-width: 560px; padding: 34px clamp(22px, 4vw, 52px); }
.gh-mapban-copy small { color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.gh-mapban-copy strong { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.03em; }
.gh-mapban-copy > span { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.gh-mapban-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 13px 22px; border-radius: 14px; background: linear-gradient(180deg, #c35d33, #b4502a); color: #fff; font-size: 14px; box-shadow: 0 12px 26px -12px rgba(180, 80, 42, .8); }
@media (max-width: 760px) {
  .gh-mapban { min-height: 300px; align-items: flex-end; }
  .gh-mapban-art { inset: 0; background-position: 62% top; background-size: 190% auto; }
  .gh-mapban-copy { width: 100%; max-width: none; padding: 150px 20px 22px; background: linear-gradient(180deg, transparent, var(--surface-soft) 46%); }
}

/* ======================================================================
   14. ADD LISTING — one long page, packages at the very bottom
   ====================================================================== */
.listing-editor-page #lp-previous,
.listing-editor-page #lp-next { display: none !important; }
.listing-editor-page .lp-step { margin: 0 0 24px; scroll-margin-top: 96px; }
.listing-editor-page .lp-review { display: none !important; }
.listing-editor-page .lp-actions { position: static; margin-top: 4px; padding: 22px 24px; border-radius: 22px; border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.listing-editor-page #editor-submit { min-width: 260px; min-height: 52px; font-size: 14px; }
.listing-editor-page .lp-section-heading span { background: var(--brand-soft); color: var(--brand-deep); }
#lp-steps button[aria-current="step"] { background: var(--brand-soft); }
#lp-steps button.is-complete b { background: var(--brand); border-color: var(--brand); color: #fff; }

/* package panel (VIP / PREMIUM) */
.lp-step .commerce-promotion {
  padding: 28px; border-radius: 24px; border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-soft) 70%, var(--surface)), var(--surface-soft));
}
.commerce-promotion .eyebrow { color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.commerce-promotion h3 { font-size: 22px; margin: 6px 0 8px; }
.commerce-promotion > .lp-hint { max-width: 760px; font-size: 13px; }
.commerce-promotion .commerce-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 18px; }
.commerce-options .gh-plan {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 40px 22px 22px; text-align: start; cursor: pointer;
  border: 1.5px solid var(--line-strong); border-radius: 20px; background: var(--surface); color: var(--ink); font: inherit; outline: 0;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.commerce-options .gh-plan:hover { transform: translateY(-2px); border-color: var(--brand); }
.commerce-options .gh-plan.selected { background: var(--surface); border-color: var(--brand); outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent), var(--shadow-sm); }
.commerce-options .gh-plan .gh-plan-flag {
  position: absolute; inset: -1.5px -1.5px auto -1.5px; display: block; padding: 6px 10px; border-radius: 20px 20px 0 0; text-align: center;
  background: linear-gradient(180deg, #c35d33, #b4502a); color: #fff; font-size: 11.5px; font-weight: 850; letter-spacing: .04em;
}
.commerce-options .gh-plan .gh-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); }
.commerce-options .gh-plan .gh-plan-head b { font-size: 20px; letter-spacing: -.01em; }
.commerce-options .gh-plan .gh-plan-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-deep); }
.commerce-options .gh-plan-vip .gh-plan-ic { background: var(--gold-soft); color: #8a5a00; }
.commerce-options .gh-plan .gh-plan-ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.commerce-options .gh-plan .gh-plan-sub { margin: 4px 0 14px; color: var(--muted); font-size: 12.5px; }
.commerce-options .gh-plan .gh-plan-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.commerce-options .gh-plan .gh-plan-list li { position: relative; padding-inline-start: 27px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
.commerce-options .gh-plan .gh-plan-list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--success); color: #fff; font-size: 10px; font-weight: 800;
}
.commerce-options .gh-plan .gh-plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.commerce-options .gh-plan .gh-plan-price strong { font-size: 28px; letter-spacing: -.03em; color: var(--ink); }
.commerce-options .gh-plan .gh-plan-price small { color: var(--muted); font-size: 13px; }
.commerce-options .gh-plan .gh-plan-month { margin-top: 5px; padding-inline-end: 34px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.commerce-options .gh-plan .gh-plan-radio {
  position: absolute; inset-inline-end: 20px; bottom: 22px; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--line-strong); background: var(--surface); transition: border-color .2s, background .2s;
}
.commerce-options .gh-plan.selected .gh-plan-radio { border-color: var(--brand); background: radial-gradient(circle, var(--brand) 0 46%, var(--surface) 52%); }

.commerce-promotion #upload-paid-options { margin-top: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.commerce-segment { border-color: var(--line-strong); }
.commerce-segment button.selected,
html[data-theme="dark"] .commerce-segment button.selected,
:root[data-theme="dark"] .commerce-segment button.selected { background: var(--brand); color: #fff; }
.commerce-promotion .commerce-total { border-color: var(--line-strong); background: var(--surface-soft); border-radius: 14px; }
.commerce-promotion .commerce-total strong { font-size: 26px; color: var(--brand-deep); }
.commerce-project .commerce-option.selected { border-color: var(--brand); outline-color: var(--brand); }

@media (max-width: 1000px) {
  .commerce-promotion .commerce-options { grid-template-columns: minmax(0, 1fr); }
  .commerce-options .gh-plan { padding-top: 42px; }
}
@media (max-width: 820px) {
  /* compact, sticky section switcher on phones */
  .lp-sidebar { display: contents; }
  #lp-steps { position: sticky; top: 64px; z-index: 30; margin-bottom: 14px !important; display: flex !important; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px !important; }
  #lp-steps::-webkit-scrollbar { display: none; }
  #lp-steps button { width: auto !important; flex: 0 0 auto !important; flex-direction: row !important; min-height: 0 !important; padding: 9px 13px !important; gap: 8px !important; white-space: nowrap; font-size: 12px !important; }
  #lp-steps button i { display: none; }
  .listing-editor-page .lp-step { scroll-margin-top: 72px; }
  .listing-editor-page .lp-actions { padding: 16px; }
  .listing-editor-page #editor-submit { width: 100%; min-width: 0; }
  .lp-step .commerce-promotion { padding: 18px 14px; }
}

/* dashboard: stray news link under the account-type card */
.dashboard-project-links:not(:has(a:not([hidden]))) { display: none; }

/* ---------- 15. VIP space: eye-catching golden stage ---------- */
body.home-page #vip-section {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 26px; padding: 30px 30px 34px; border-radius: 30px;
  border: 1.5px solid #efc15c;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(255, 255, 255, .75), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(246, 185, 59, .28), transparent 70%),
    linear-gradient(135deg, #fff3d0 0%, #ffe6ac 52%, #fbd47e 100%);
  box-shadow: 0 30px 70px -34px rgba(201, 138, 27, .75), 0 0 0 5px rgba(246, 185, 59, .14);
}
body.home-page #vip-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%);
  background-size: 240% 100%; background-position: 130% 0; animation: gh-vip-shine 6.5s ease-in-out infinite;
}
@keyframes gh-vip-shine { 0%, 55% { background-position: 130% 0; } 100% { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { body.home-page #vip-section::before { animation: none; opacity: 0; } }
body.home-page #vip-section .section-heading { margin-bottom: 20px; }
body.home-page #vip-section .section-heading h2 { color: #3a2600; display: inline-flex; align-items: center; gap: 12px; font-size: clamp(24px, 3vw, 32px); }
body.home-page #vip-section .section-heading h2::before {
  content: "\2605"; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(180deg, #3b2a1d, #231710); color: #f7c04e; font-size: 20px; line-height: 1;
  box-shadow: 0 8px 18px -8px rgba(35, 23, 16, .7);
}
body.home-page #vip-section .section-index { display: none; }
body.home-page #vip-section .catalog-see-all { background: #3b2a1d; border-color: #3b2a1d; color: #fbe3b0; }
body.home-page #vip-section .catalog-see-all:hover { background: #231710; border-color: #231710; color: #fff; }
body.home-page #vip-section .carousel-controls button { background: rgba(255, 253, 248, .85); border-color: #e3b650; color: #5a3b00; }
body.home-page #vip-section .card, body.home-page #vip-section .card.tier-vip {
  border-color: #efc15c; box-shadow: 0 16px 34px -20px rgba(120, 70, 0, .6);
}
:root[data-theme="dark"] body.home-page #vip-section {
  border-color: #8a6420;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(246, 185, 59, .16), transparent 70%),
    linear-gradient(135deg, #3a2a14 0%, #2d2113 55%, #241a10 100%);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .8), 0 0 0 5px rgba(246, 185, 59, .08);
}
:root[data-theme="dark"] body.home-page #vip-section::before { opacity: .12; }
:root[data-theme="dark"] body.home-page #vip-section .section-heading h2 { color: #fbe3b0; }
:root[data-theme="dark"] body.home-page #vip-section .section-heading h2::before { background: linear-gradient(180deg, #f7c04e, #eba72a); color: #3a2600; }
:root[data-theme="dark"] body.home-page #vip-section .catalog-see-all { background: #f7c04e; border-color: #f7c04e; color: #3a2600; }
:root[data-theme="dark"] body.home-page #vip-section .carousel-controls button { background: rgba(255, 255, 255, .06); border-color: #8a6420; color: #f7c04e; }
@media (max-width: 760px) {
  body.home-page #vip-section { margin-top: 18px; padding: 20px 14px 22px; border-radius: 22px; }
  body.home-page #vip-section .section-heading h2::before { width: 36px; height: 36px; font-size: 17px; }
}
body.home-page #vip-section .section-heading > div:first-child { text-align: left; }
body.home-page #vip-section .section-heading h2 { display: flex; justify-content: flex-start; }
@media (max-width: 760px) { body.home-page #vip-section .section-heading { align-items: flex-start; } body.home-page #vip-section .carousel-heading-actions { width: 100%; justify-content: space-between; } }

/* ---------- 16. SEO category links + directory ---------- */
.gh-seo-links { margin: 34px auto 0; max-width: 1240px; width: 100%; box-sizing: border-box; align-self: stretch; padding: 0 16px; }
.gh-seo-wrap { display: grid; gap: 22px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-soft); }
.gh-seo-wrap h2 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.gh-seo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gh-seo-chips a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft); font-size: 13px; font-weight: 650; text-decoration: none;
  transition: background .16s, border-color .16s, color .16s, transform .16s;
}
.gh-seo-chips a b { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); }
.gh-seo-chips a:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); transform: translateY(-1px); text-decoration: none; }
.gh-seo-all { margin: 0; text-align: right; font-size: 13px; font-weight: 750; }
.gh-seo-all a { color: var(--brand-deep); text-decoration: none; }
.gh-seo-all a:hover { text-decoration: underline; }
.gh-seo-dealblock { margin-top: 18px; padding: 24px 26px; }
.gh-seo-dealblock > h2 { margin: 0 0 14px; font-size: 22px; font-weight: 850; }
.gh-seo-block { margin-top: 16px; }
.gh-seo-block h3 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--ink-soft); }
@media (max-width: 760px) { .gh-seo-links { padding: 0 12px; } .gh-seo-wrap { padding: 20px 16px; border-radius: 20px; } .gh-seo-dealblock { padding: 18px 16px; } }

/* cards on professional profile pages */
.pro-portfolio .card {
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden;
  transition: transform .22s var(--gh-ease), box-shadow .22s var(--gh-ease), border-color .22s;
}
.pro-portfolio .card:hover, .card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 18px 38px -18px rgba(80, 45, 20, .45); }
.pro-portfolio .card.tier-vip { border-color: #ecc77e; box-shadow: 0 0 0 1px rgba(246, 185, 59, .25); }
.pro-portfolio .card.tier-premium { border-color: var(--line-strong); }
.pro-portfolio .card .card-photo { aspect-ratio: 4 / 3; background: var(--surface-soft); }
.pro-portfolio .card .card-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(30, 15, 8, .45)); }
.pro-portfolio .card .card-photo > * { z-index: 1; }
.pro-portfolio .card .badge { background: rgba(43, 31, 23, .8); color: var(--cream); border-radius: 9px; font-weight: 750; backdrop-filter: blur(6px); box-shadow: none; }
.pro-portfolio .card.tier-vip .badge { background: linear-gradient(180deg, #f7c04e, #eba72a); color: #3a2600; }
.pro-portfolio .card.tier-premium .badge { background: linear-gradient(180deg, #c35d33, #a8481f); color: #fff; }
.pro-portfolio .card .photo-count { background: rgba(43, 31, 23, .7); color: #fff; border-radius: 8px; }
.pro-portfolio .card .heart { background: rgba(255, 253, 248, .95); color: #4a3b2e; box-shadow: 0 4px 12px rgba(30, 15, 8, .25); }
.pro-portfolio .card .heart:hover, .pro-portfolio .card .heart.saved { color: #d23f4f; background: #fff; }
.card-gallery-arrow { background: rgba(255, 253, 248, .94); color: #2a2018; }
.card-gallery-arrow:hover { background: var(--brand); color: #fff; }
.pro-portfolio .card .price { color: var(--ink); font-weight: 850; letter-spacing: -.01em; }
.pro-portfolio .card .card-title { color: var(--ink); font-weight: 650; }
.pro-portfolio .card .card-title:hover { color: var(--brand-bright); }
.pro-portfolio .card .location { color: var(--brand-bright); font-weight: 600; }
.pro-portfolio .card .specs span { color: var(--ink-soft); }
.pro-portfolio .card .card-footer { border-color: var(--line); }
