/* =============================================================================
   Liveinkolkata.com  -  Core stylesheet + 3-theme system
   Themes are switched by setting  <html data-theme="luxe | vibrant | mono">
   The active theme is delivered by the admin panel via /api/settings.
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

/* ---------- Theme tokens ---------- */
:root {
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  --maxw: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow: 0 18px 40px -22px rgba(15, 23, 42, .35);
  --shadow-lg: 0 40px 80px -40px rgba(15, 23, 42, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* LUXE  -  navy + gold, the premium default */
[data-theme="luxe"] {
  --font-display: 'Fraunces', Georgia, serif;
  --bg: #F7F4EC;
  --bg-soft: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #15243C;
  --ink-soft: #4A5A72;
  --muted: #7A879B;
  --line: #E7E0D0;
  --accent: #C29A3B;
  --accent-2: #E2C878;
  --accent-ink: #15243C;
  --dark: #101C30;
  --dark-2: #16263F;
  --on-dark: #F3EEE1;
  --on-dark-soft: rgba(243, 238, 225, .72);
  --ring: rgba(194, 154, 59, .25);
  --hero-overlay: linear-gradient(180deg, rgba(16,28,48,.18) 0%, rgba(16,28,48,.78) 100%);
}

/* VIBRANT  -  navy + orange, energetic and modern */
[data-theme="vibrant"] {
  --font-display: 'Sora', system-ui, sans-serif;
  --bg: #FBFAF8;
  --bg-soft: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #16233F;
  --ink-soft: #46546F;
  --muted: #76839B;
  --line: #ECEAE5;
  --accent: #F26F22;
  --accent-2: #FF8A45;
  --accent-ink: #FFFFFF;
  --dark: #16233F;
  --dark-2: #1F3158;
  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, .74);
  --ring: rgba(242, 111, 34, .22);
  --hero-overlay: linear-gradient(180deg, rgba(22,35,63,.12) 0%, rgba(22,35,63,.80) 100%);
}

/* MONO  -  black & white, editorial and minimal */
[data-theme="mono"] {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --bg: #FFFFFF;
  --bg-soft: #F6F6F4;
  --surface: #FFFFFF;
  --ink: #131313;
  --ink-soft: #3D3D3D;
  --muted: #7C7C7C;
  --line: #E4E4E0;
  --accent: #131313;
  --accent-2: #3D3D3D;
  --accent-ink: #FFFFFF;
  --dark: #0F0F0F;
  --dark-2: #1C1C1C;
  --on-dark: #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, .72);
  --ring: rgba(19, 19, 19, .16);
  --hero-overlay: linear-gradient(180deg, rgba(10,10,10,.18) 0%, rgba(10,10,10,.82) 100%);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0; letter-spacing: -.01em; }
[data-theme="mono"] h1, [data-theme="mono"] h2, [data-theme="mono"] h3 { font-weight: 600; letter-spacing: 0; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
@media (max-width: 720px) { .section { padding: 60px 0; } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); display: block; }
.eyebrow.center::after { content: ''; width: 26px; height: 2px; background: var(--accent); display: block; }
.h-xl { font-size: clamp(2.3rem, 5vw, 4rem); }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.italic { font-style: italic; }
.text-center { text-align: center; }
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px var(--accent); filter: brightness(1.03); }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-light { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--accent); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(31,168,85,.6); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 13px 0;
  background: color-mix(in srgb, var(--bg-soft) 86%, transparent);
  backdrop-filter: blur(16px) saturate(1.35);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg-soft) 95%, transparent);
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, .35);
  padding: 8px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; transition: height .3s; }
.scrolled .brand img { height: 38px; }
/* mono logo is tall/square; keep it from getting oversized in the bar */
[data-theme="mono"] .brand img { height: 40px; }
[data-theme="mono"] .scrolled .brand img { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; font-size: .94rem; color: var(--ink); position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .25s var(--ease); }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.header-on-dark .nav-links a, .header-on-dark .brand-name { color: var(--on-dark); }
.header-on-dark.scrolled .nav-links a { color: var(--ink); }
.menu-toggle { display: none; background: none; border: none; padding: 8px; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; padding: 26px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 36px; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 1.6rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-actions { margin-top: auto; display: grid; gap: 12px; }

@media (max-width: 940px) {
  .nav-links, .nav-cta .btn:not(.btn-icon) { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1100px 600px at 78% -8%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 60%);
  opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 150px 0 120px; }
.hero h1 { color: var(--on-dark); font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p { color: var(--on-dark-soft); font-size: 1.14rem; max-width: 520px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--on-dark-soft); }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent); }

.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .frame::after { content: ''; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-badge {
  position: absolute; left: -26px; bottom: 38px; background: var(--surface); color: var(--ink);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; max-width: 240px;
}
.hero-badge .ring { width: 44px; height: 44px; border-radius: 50%; background: var(--ring); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.hero-badge b { display: block; font-size: 1.05rem; }
.hero-badge small { color: var(--muted); }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; padding: 130px 0 90px; gap: 40px; }
  .hero-media { display: none; }
}

/* ---------- Search bar ---------- */
.searchbar {
  position: relative; z-index: 20; background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px;
  margin-top: -42px; border: 1px solid var(--line);
}
.searchbar .field { display: flex; flex-direction: column; gap: 6px; }
.searchbar label { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.searchbar .seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; gap: 4px; }
.searchbar .seg button { border: none; background: none; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--ink-soft); }
.searchbar .seg button.active { background: var(--accent); color: var(--accent-ink); }
.field input, .field select {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 12px;
  background: var(--surface); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.searchbar .submit { display: flex; align-items: flex-end; }
@media (max-width: 880px) {
  .searchbar { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .searchbar .submit { grid-column: 1 / -1; }
}

/* ---------- Hero live-listing card ---------- */
.hero-listing {
  position: absolute; left: -28px; bottom: 34px; width: min(300px, 78%);
  background: var(--surface); color: var(--ink); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 12px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); transition: transform .3s var(--ease);
}
.hero-listing:hover { transform: translateY(-4px); }
.hero-listing .hl-thumb { width: 64px; height: 64px; border-radius: 11px; object-fit: cover; flex-shrink: 0; background: var(--bg-soft); }
.hero-listing .hl-info { display: flex; flex-direction: column; min-width: 0; }
.hero-listing .hl-price { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.1; }
.hero-listing .hl-title { font-size: .82rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.hero-listing .hl-loc { font-size: .76rem; color: var(--muted); margin-top: 1px; }
.hero-listing .hl-chk { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-listing .hl-chk svg { width: 15px; height: 15px; }

/* ---------- Trust strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ts-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; }
.ts-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ts-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; background: var(--ring); color: var(--accent); display: grid; place-items: center; }
.ts-ic svg { width: 22px; height: 22px; }
.ts-item b { display: block; font-size: .98rem; }
.ts-item span { display: block; font-size: .85rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: 1fr; } }

/* ---------- How it works steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-n { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--accent); display: inline-block; margin-bottom: 14px; }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; }
.step p { margin-top: 10px; color: var(--ink-soft); font-size: .94rem; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 42px; right: -13px; width: 22px; height: 2px; background: var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:not(:last-child)::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); color: var(--ink); line-height: 1; }
.stat .num .accent { color: var(--accent); }
.stat .lbl { margin-top: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 18px; } }

/* ---------- Property cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.tag-rent { background: color-mix(in srgb, var(--accent) 92%, #000); color: var(--accent-ink); }
.tag-sale { background: var(--dark); color: var(--on-dark); }
.tag-feat { background: rgba(255,255,255,.92); color: var(--ink); }
.card-fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); border: none; display: grid; place-items: center; color: var(--ink); transition: color .2s, transform .2s; }
.card-fav:hover { color: var(--accent); transform: scale(1.08); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-price { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.card-price small { font-size: .8rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
.card-title { margin-top: 6px; font-weight: 700; font-size: 1.02rem; line-height: 1.35; color: var(--ink); font-family: var(--font-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-loc { margin-top: 7px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.card-loc svg { width: 15px; height: 15px; color: var(--accent); }
.card-specs { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 16px; color: var(--ink-soft); font-size: .85rem; font-weight: 600; }
.card-specs span { display: inline-flex; align-items: center; gap: 6px; }
.card-specs svg { width: 16px; height: 16px; color: var(--muted); }

/* ---------- Verified / feature chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.chip svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------- Feature / service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--ring); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.tile .ic svg { width: 26px; height: 26px; }
.tile h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; }
.tile p { margin-top: 10px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-card { position: absolute; left: 20px; bottom: 20px; background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 20px 22px; max-width: 300px; box-shadow: var(--shadow-lg); }
.quote-card p { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.4; }
.quote-card cite { display: block; margin-top: 12px; font-style: normal; color: var(--accent); font-weight: 700; font-size: .9rem; }
.bullet-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.bullet-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.bullet-list .bi { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ring); color: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.bullet-list .bi svg { width: 14px; height: 14px; }
.bullet-list b { color: var(--ink); }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; display: flex; align-items: flex-end; color: #fff; }
.loc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.loc-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,14,26,.82)); }
.loc-card:hover img { transform: scale(1.08); }
.loc-card .loc-info { position: relative; z-index: 2; padding: 20px; }
.loc-card .loc-info h3 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; }
.loc-card .loc-info span { font-size: .85rem; opacity: .85; }

/* ---------- Dark CTA band ---------- */
.band { background: var(--dark); color: var(--on-dark); border-radius: 0; position: relative; overflow: hidden; }
.band h2 { color: var(--on-dark); }
.band p { color: var(--on-dark-soft); }
.band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 120%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%); }
.band .container { position: relative; }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .t-grid { grid-template-columns: 1fr; } }
.t-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.t-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.t-card p { color: var(--ink-soft); font-size: 1rem; }
.t-who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.t-who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ring); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.t-who b { display: block; font-size: .95rem; }
.t-who small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .3s, border-color .3s; color: var(--accent); }
.faq details[open] .ico { transform: rotate(45deg); border-color: var(--accent); }
.faq .ans { padding: 0 0 22px; color: var(--ink-soft); max-width: 90%; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; background: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-soft); padding: 70px 0 30px; }
.footer h4 { color: var(--on-dark); font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer a { color: var(--on-dark-soft); transition: color .2s; display: inline-block; padding: 5px 0; }
.footer a:hover { color: var(--accent); }
.footer .logo-foot { height: 50px; margin-bottom: 16px; background: rgba(255,255,255,.96); padding: 8px 12px; border-radius: 10px; display: inline-block; }
/* footer wordmark (clean on dark, no image chip) */
.foot-brand { display: inline-flex; align-items: center; gap: 12px; }
.foot-brand .fw-mark { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -1px; }
.foot-brand .fw-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--on-dark); letter-spacing: -.01em; }
.foot-brand .fw-text b { color: var(--accent); font-weight: 600; }
.foot-brand .fw-text small { color: var(--on-dark-soft); font-size: .9rem; }

/* ---------- PWA install banner (non-intrusive, mobile only) ---------- */
.pwa-banner {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 280;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 14px 16px; display: none; align-items: center; gap: 14px;
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.pwa-banner.show { display: flex; transform: none; }
.pwa-banner img { width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0; }
.pwa-banner .pb-txt b { display: block; font-size: .98rem; }
.pwa-banner .pb-txt span { font-size: .82rem; color: var(--muted); }
.pwa-banner .pb-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pwa-banner .pb-close { background: none; border: none; color: var(--muted); font-size: 1.3rem; padding: 4px 8px; }
@media (min-width: 860px) { .pwa-banner { left: auto; right: 20px; bottom: 20px; max-width: 380px; } }
/* footer install button shows only when installable */
.install-cta { display: none; }
.install-cta.available { display: inline-flex; }
.footer .social { display: flex; gap: 10px; margin-top: 16px; }
.footer .social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.footer .social a:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- AI chat widget ---------- */
.ai-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 300; display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink); border: none; padding: 14px 20px 14px 16px; border-radius: 999px;
  box-shadow: var(--shadow-lg); font-weight: 700; transition: transform .25s var(--ease);
}
.ai-fab:hover { transform: translateY(-3px) scale(1.02); }
.ai-fab svg { width: 22px; height: 22px; }
.ai-fab .pulse { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(46,204,113,.5);} 70%{ box-shadow:0 0 0 10px rgba(46,204,113,0);} 100%{ box-shadow:0 0 0 0 rgba(46,204,113,0);} }

.ai-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 320; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 40px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s;
}
.ai-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.ai-head { background: var(--dark); color: var(--on-dark); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.ai-head .av { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; }
.ai-head b { display: block; font-size: .98rem; }
.ai-head small { color: var(--on-dark-soft); display: flex; align-items: center; gap: 6px; }
.ai-head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; }
.ai-head .close { margin-left: auto; background: none; border: none; color: var(--on-dark); opacity: .8; }
.ai-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.ai-msg { max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: .94rem; line-height: 1.5; white-space: pre-wrap; }
.ai-msg.bot { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-msg.user { background: var(--accent); color: var(--accent-ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .2s; } .ai-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100%{ opacity:.25;} 30%{ opacity:1;} }
.ai-cards { display: flex; flex-direction: column; gap: 8px; align-self: flex-start; max-width: 92%; }
.ai-card { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; transition: border-color .2s, transform .2s; }
.ai-card:hover { border-color: var(--accent); transform: translateX(2px); }
.ai-card img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; flex-shrink: 0; background: var(--bg-soft); }
.ai-card-b { display: flex; flex-direction: column; min-width: 0; }
.ai-card-p { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.ai-card-t { font-size: .8rem; color: var(--muted); }
.ai-lead-ok { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; background: rgba(34,197,94,.12); color: #16a34a; font-weight: 700; font-size: .85rem; padding: 8px 13px; border-radius: 999px; }
.ai-lead-ok svg { width: 15px; height: 15px; }
.ai-quick { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 18px 10px; background: var(--bg); }
.ai-quick button { font-size: .8rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); }
.ai-quick button:hover { border-color: var(--accent); color: var(--accent); }
.ai-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: var(--surface); }
.ai-input input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; background: var(--bg); color: var(--ink); }
.ai-input input:focus { outline: none; border-color: var(--accent); }
.ai-input button { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); border: none; display: grid; place-items: center; flex-shrink: 0; }
.ai-input button:disabled { opacity: .5; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--dark); color: var(--on-dark); padding: 13px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 10px; animation: toastin .3s var(--ease); }
.toast.ok { border-left: 3px solid #2ecc71; } .toast.err { border-left: 3px solid #e74c3c; }
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Misc utilities ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.skeleton { background: linear-gradient(90deg, var(--bg-soft) 25%, var(--line) 50%, var(--bg-soft) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { width: 18px; height: 18px; border: 2.5px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.wrap { flex-wrap: wrap; }

/* ---------- Small-screen refinements ---------- */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-inner { padding: 116px 0 64px; }
  .hero h1 { font-size: 2.15rem; line-height: 1.14; }
  .hero p { font-size: 1.02rem; }
  .h-xl { font-size: 2.1rem; }
  .h-lg { font-size: 1.7rem; }
  .btn-lg { padding: 14px 22px; font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .searchbar { padding: 14px; gap: 10px; }
  .section { padding: 52px 0; }
}
/* keep the AI launcher clear of the install banner on phones */
body.pwa-on .ai-fab { bottom: 100px; }
@media (max-width: 859px) {
  .ai-fab { right: 14px; bottom: 14px; padding: 12px 16px 12px 14px; font-size: .88rem; }
  .ai-fab svg { width: 19px; height: 19px; }
}
