/* ==========================================================================
   Bani Estates
   ========================================================================== */
:root {
  --bg: #fbfaf7;
  --bg-2: #f3f0ea;
  --ink: #161513;
  --ink-2: #3b3833;
  --muted: #7d766b;
  --line: #e5e0d6;
  --accent: #a8834f;
  --accent-2: #c9a46c;
  --accent-dark: #8c6a3b;
  --accent-soft: rgba(168, 131, 79, .14);
  --deal: #2f7a55;
  --deal-soft: #e3f1e9;
  --serif: "Cormorant Garamond", "Noto Serif Georgian", Georgia, serif;
  --sans: "Manrope", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(16px, 4vw, 56px);
  --track: .2em;
}
html[lang="ka"] { --track: .06em; --serif: "Noto Serif Georgian", "Cormorant Garamond", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
html[lang="ka"] h1, html[lang="ka"] h2 { letter-spacing: 0; }
html[lang="ka"] h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-size: .72rem; letter-spacing: calc(var(--track) * 1.3); text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow.light { color: rgba(255,255,255,.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 26px;
  font-size: .76rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 600;
  border-radius: 999px; text-align: center; line-height: 1.2;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-text { min-height: 0; padding: 8px 0; color: var(--muted); }
.btn-text:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.solid {
  background: rgba(251, 250, 247, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: "Cormorant Garamond", serif; font-size: 1.25rem; line-height: 1; perspective: 120px; }
.logo-mark .b-spin { display: inline-block; animation: b-spin 6s linear infinite; backface-visibility: visible; }
@keyframes b-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.logo-text { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; letter-spacing: .32em; font-weight: 500; white-space: nowrap; }
.main-nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.main-nav a { font-size: .74rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-cb { display: none; }
.lang-switch { display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; gap: 2px; flex-shrink: 0; }
.lang-switch button { font-size: .7rem; font-weight: 600; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; transition: background .25s, color .25s; }
.site-header .lang-switch button.active { background: #fff; color: var(--ink); }
.site-header.solid .lang-switch button.active, .site-header.menu-open .lang-switch button.active { background: var(--ink); color: #fff; }
.header-cb { min-height: 42px; padding: 0 20px; font-size: .7rem; flex-shrink: 0; }
.menu-toggle { display: none; width: 40px; height: 40px; position: relative; flex-shrink: 0; }
.menu-toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 24px; }
.menu-open .menu-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: calc(var(--header-h) + 40px) var(--pad) clamp(32px, 6vh, 64px); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; background: #1b1916; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center 45%;
  opacity: 0; transform: scale(1.02); transform-origin: 50% 50%;
  transition: opacity 1.8s ease, transform 9s linear; will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; transform: scale(1.12); }
.hero-slide:nth-child(2n) { transform-origin: 30% 40%; }
.hero-slide:nth-child(3n) { transform-origin: 70% 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.6) 0%, rgba(10,9,8,.35) 28%, rgba(10,9,8,.65) 55%, rgba(10,9,8,.9) 100%); }
.hero-content { position: relative; max-width: 1400px; width: 100%; margin: 0 auto 36px; animation: rise 1s .1s var(--ease) both; }
.hero h1 { font-size: clamp(1.6rem, 3.8vw, 3rem); font-weight: 500; margin-bottom: .35em; max-width: 900px; }
html[lang="ka"] .hero h1 { font-size: clamp(1.3rem, 2.8vw, 2.2rem); }
.hero h1 em { font-style: italic; color: var(--accent-2); }
html[lang="ka"] .hero h1 em { font-style: normal; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 620px; color: rgba(255,255,255,.9); font-weight: 300; }
.hero-search { position: relative; z-index: 5; animation: rise 1s .3s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Search ---------- */
.search {
  display: grid; gap: 10px; max-width: 1400px; margin: 0 auto;
  grid-template-columns: repeat(12, minmax(0, 1fr)) 140px;
  grid-template-areas:
    "type type type type project project project project loc loc loc loc go"
    "beds beds beds floor floor floor area area price price cur cur go";
}
.f-type { grid-area: type; } .f-project { grid-area: project; } .f-loc { grid-area: loc; }
.f-beds { grid-area: beds; } .f-floor { grid-area: floor; } .f-area { grid-area: area; } .f-price { grid-area: price; }
.sf-cur { grid-area: cur; } .sf-submit { grid-area: go; }
.sf { position: relative; min-width: 0; }
.sf-btn {
  width: 100%; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 18px; text-align: left;
  color: #fff; background: rgba(18, 17, 15, .62); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .25s, background .25s;
}
.sf-btn:hover, .sf.open .sf-btn { border-color: rgba(255,255,255,.45); background: rgba(18, 17, 15, .78); }
.sf.has-val .sf-btn { border-color: var(--accent-2); }
.ico { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico.chev { width: 18px; height: 18px; margin-left: auto; transition: transform .25s; }
.sf.open .ico.chev { transform: rotate(180deg); }
.sf-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sf-label { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf.has-val .sf-label { font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.sf-val { font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.sf-panel {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 100%; width: max-content; max-width: min(360px, 92vw);
  background: #fff; color: var(--ink); border-radius: 8px; padding: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.sf.open .sf-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.f-price .sf-panel, .f-loc .sf-panel { right: 0; left: auto; }
.sf-opts.multi { display: grid; gap: 2px; min-width: 220px; }
.sf-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; cursor: pointer; font-size: .92rem; position: relative; }
.sf-opt:hover { background: var(--bg-2); }
.sf-opt input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.sf-opts.chips { display: flex; gap: 8px; flex-wrap: wrap; width: 250px; max-width: 100%; }
.sf-opts.chips .sf-opt { padding: 0; }
.sf-opts.chips .sf-opt:hover { background: none; }
.sf-opts.chips input { position: absolute; opacity: 0; pointer-events: none; }
.sf-opts.chips span { display: inline-block; min-width: 46px; text-align: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; transition: all .2s; }
.sf-opts.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.sf-opts.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sf-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 280px; max-width: 100%; }
.sf-range label { position: relative; display: grid; gap: 4px; }
.sf-range small { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sf-range input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 0 30px 0 12px; font: inherit; font-size: .95rem; background: var(--bg); color: var(--ink); -moz-appearance: textfield; }
.sf-range input::-webkit-outer-spin-button, .sf-range input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sf-range input:focus { outline: none; border-color: var(--ink); }
.sf-range em { position: absolute; right: 10px; bottom: 12px; font-style: normal; font-size: .8rem; color: var(--muted); }
.sf-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); gap: 12px; }
.sf-clear { font-size: .8rem; color: var(--muted); }
.sf-clear:hover { color: var(--ink); }
.sf-done { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; }
.sf-cur { display: flex; gap: 6px; padding: 6px; height: 64px; background: rgba(18, 17, 15, .62); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sf-cur button { flex: 1; border-radius: 3px; color: #fff; font-size: 1.15rem; font-weight: 600; transition: background .2s, color .2s; }
.sf-cur button.active { background: #fff; color: var(--ink); }
.sf-cur button:not(.active):hover { background: rgba(255,255,255,.12); }
.sf-submit {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: #fff; border-radius: var(--radius) 22px var(--radius) var(--radius);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; transition: background .25s;
}
.sf-submit .ico { width: 28px; height: 28px; stroke-width: 2; }
.sf-submit:hover { background: var(--accent-dark); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) var(--pad); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin: 0 auto 40px; max-width: 1400px; }
.section-head h2 { margin: 0; }

/* ---------- USP ---------- */
.usp-head { max-width: 1400px; margin: 0 auto 40px; }
.usp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 1400px; margin: 0 auto; }
.usp-item { background: var(--bg); padding: 34px 28px; }
.usp-item h3 { font-size: 1.5rem; margin: 18px 0 8px; }
html[lang="ka"] .usp-item h3 { font-size: 1.2rem; }
.usp-item p { color: var(--muted); margin: 0; font-size: .95rem; }
.usp-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); }
.usp-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.usp-main { background: var(--ink); color: #fff; }
.usp-main p { color: rgba(255,255,255,.72); }
.usp-main .usp-ico { background: var(--accent); }
.usp-main .usp-ico svg { stroke: #fff; }

/* ---------- Projects ---------- */
.projects { background: var(--bg-2); }
.project-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1400px; margin: 0 auto; }
.project-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--bg); border-radius: var(--radius); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.project-card:hover { box-shadow: 0 24px 50px rgba(40, 30, 15, .12); transform: translateY(-4px); }
.project-card-img { position: relative; min-height: 380px; overflow: hidden; }
.project-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover .project-card-img img { transform: scale(1.04); }
.project-status { position: absolute; top: 16px; left: 16px; background: var(--deal); color: #fff; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.project-card-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.project-card-body h3 { font-family: "Cormorant Garamond", serif; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.project-card-facts { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.project-card-facts li { border-top: 1px solid var(--line); padding-top: 10px; }
.project-card-facts strong { display: block; font-family: "Cormorant Garamond", "Noto Serif Georgian", serif; font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.project-card-facts span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.project-card-body .btn { margin-top: auto; align-self: flex-start; }
.project-card.soon { display: flex; border: 1.5px dashed #cfc7b8; background: transparent; }
.project-card.soon:hover { transform: none; box-shadow: none; }
.soon-inner { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; width: 100%; }
.soon-inner h3 { margin: 0; color: var(--muted); }
.soon-plus { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--muted); display: grid; place-items: center; font-size: 1.6rem; color: var(--muted); margin-bottom: 20px; }
.soon-inner h3 { font-size: 1.7rem; }
html[lang="ka"] .soon-inner h3 { font-size: 1.3rem; }
.soon-inner p { color: var(--muted); }

/* ---------- Apartment cards ---------- */
.featured { background: var(--bg); }
.apt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; max-width: 1400px; margin: 0 auto; }
.apt-grid.compact { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.apt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); animation: rise .6s var(--ease) both; }
.apt-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(40, 30, 15, .12); }
.apt-card-img { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; position: relative; overflow: hidden; }
.apt-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.apt-card:hover .apt-card-img img { transform: scale(1.05); }
.apt-card-tags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.apt-card-tag { font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; background: var(--bg-2); padding: 5px 10px; border-radius: 999px; }
.apt-card-tag.reserved { background: #f2e3c4; }
.apt-card-tag.sold { background: #e8d6d0; }
.apt-card-tag.deal { background: var(--deal); color: #fff; }
.apt-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 1px solid var(--line); }
.apt-card-proj { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0; }
.apt-card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.apt-card-title h3 { font-size: 1.5rem; margin: 0; }
html[lang="ka"] .apt-card-title h3 { font-size: 1.2rem; }
.apt-card-title span { font-size: .8rem; color: var(--muted); white-space: nowrap; font-weight: 600; }
.apt-card-meta { display: flex; gap: 14px; font-size: .86rem; color: var(--ink-2); flex-wrap: wrap; }
.apt-card-meta b { font-weight: 600; }
.apt-card-meta .cond { color: var(--deal); font-weight: 600; }
.apt-card-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); gap: 12px; }
.apt-card-price { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 600; line-height: 1.1; display: flex; flex-direction: column; }
.apt-card-price small { font-family: var(--sans); font-size: .7rem; color: var(--muted); font-weight: 500; margin-top: 2px; letter-spacing: .02em; }
.apt-card-cta { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.apt-card-cta::after { content: "→"; transition: transform .3s var(--ease); }
.apt-card:hover .apt-card-cta::after { transform: translateX(4px); }

/* ---------- How it works ---------- */
.how { background: var(--bg-2); }
.how-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1400px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how-steps li { border-top: 2px solid var(--ink); padding-top: 22px; }
.how-steps span { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; color: var(--accent); line-height: 1; }
.how-steps h3 { font-size: 1.5rem; margin: 12px 0 6px; }
html[lang="ka"] .how-steps h3 { font-size: 1.2rem; }
.how-steps p { color: var(--muted); margin: 0; }

/* ---------- Callback ---------- */
.callback-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.callback-band::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/interior-2.webp") center / cover; opacity: .14; }
.callback-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); max-width: 1300px; margin: 0 auto; align-items: center; }
.cb-sub { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.cb-card { background: #fff; color: var(--ink); border-radius: 8px; padding: clamp(22px, 3.5vw, 40px); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.cb-form { display: grid; gap: 18px; }
.cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fld > span, .fld legend { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0; margin-bottom: 6px; }
.fld input, .fld select { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); width: 100%; border: 1px solid var(--line); border-radius: 6px; height: 48px; padding: 0 14px; transition: border-color .2s; }
.fld select { appearance: none; padding-right: 36px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161513'/%3E%3C/svg%3E") right 14px center no-repeat; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--ink); }
.fld .invalid { border-color: #b4523f; background: #fbf1ee; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; transition: all .2s; background: var(--bg); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cb-submit { width: 100%; min-height: 56px; font-size: .82rem; }
.cb-submit:disabled { opacity: .6; cursor: wait; }
.cb-privacy { font-size: .78rem; color: var(--muted); margin: -4px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cb-success { text-align: center; padding: 30px 10px; }
.cb-check { width: 64px; height: 64px; border-radius: 50%; background: var(--deal); color: #fff; display: inline-grid; place-items: center; font-size: 1.8rem; margin-bottom: 14px; animation: pop .45s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.cb-success h3 { font-size: 2rem; }
.cb-success p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); max-width: 1300px; margin: 0 auto; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; }
.contact-list a, .contact-list span { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.contact-list small { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 110px; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px var(--pad) 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto 28px; }
.footer-logo { margin-bottom: 10px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; align-content: start; }
.footer-contact { text-align: right; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.copy { max-width: 1400px; margin: 0 auto; color: var(--muted); }

/* ---------- Search results ---------- */
.search-band { background: var(--ink) url("../assets/img/building-side.webp") center 40% / cover; position: relative; z-index: 2; color: #fff; padding: calc(var(--header-h) + 40px) var(--pad) 40px; }
.search-band::before { content: ""; position: absolute; inset: 0; background: rgba(12, 11, 10, .72); }
.search-band > * { position: relative; }
.search-band-inner { max-width: 1400px; margin: 0 auto 28px; }
.search-band h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.results { padding-top: 40px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto 28px; }
.results-bar p { margin: 0; font-family: var(--serif); font-size: 1.6rem; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.sort select { font: inherit; font-size: .9rem; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; height: 42px; padding: 0 36px 0 16px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161513'/%3E%3C/svg%3E") right 14px center no-repeat; }
.results-empty { max-width: 640px; margin: 20px auto; text-align: center; color: var(--muted); }

/* ---------- Project page ---------- */
.project-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; }
.project-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.project-hero-content { position: relative; padding: calc(var(--header-h) + 20px) var(--pad) 48px; width: 100%; max-width: 1500px; margin: 0 auto; }
.project-hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); font-family: "Cormorant Garamond", serif; font-weight: 400; }
.project-facts { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.25); margin-top: 20px; }
.project-facts div { padding: 16px 0 0; margin-right: 48px; }
.project-facts small { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.project-facts strong { font-family: "Cormorant Garamond", "Noto Serif Georgian", serif; font-size: 1.5rem; font-weight: 500; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); }
.crumbs.light { color: rgba(255,255,255,.7); }
.crumbs.light a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: var(--ink); }

.choose-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1400px; margin: 0 auto; }
.choose-grid + .choose-grid { margin-top: 80px; }
.building-stage { position: relative; }
.building-frame { position: relative; max-height: 82vh; margin: 0 auto; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.building-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.floor-shape { fill: #fff; fill-opacity: 0; stroke: #fff; stroke-opacity: 0; stroke-width: .8; cursor: pointer; transition: fill-opacity .25s var(--ease), stroke-opacity .25s var(--ease); }
.floor-shape.has-apts { fill: var(--accent-2); fill-opacity: .22; stroke: #fff; stroke-opacity: .35; stroke-width: .5; }
.floor-shape:hover, .floor-shape.hover, .floor-shape:focus { fill: #fff; fill-opacity: .62; stroke-opacity: 1; outline: none; }
.building-tip, .plan-tip {
  position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius);
  font-size: .82rem; line-height: 1.4; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.96);
  transition: opacity .18s, transform .18s; box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.building-tip.show, .plan-tip.show { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
.building-tip strong, .plan-tip strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; display: block; }
.building-tip em, .plan-tip em { font-style: normal; color: var(--accent-2); }
.choose-panel h2 { margin-bottom: .2em; }
.choose-lead { margin-top: 1rem; color: var(--ink-2); max-width: 440px; }
.floor-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.floor-list li button { width: 100%; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; transition: background .25s var(--ease), padding .25s var(--ease); }
.floor-list li button:hover, .floor-list li button.hover { background: var(--accent-soft); padding-left: 14px; }
.fl-num { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; line-height: 1; white-space: nowrap; }
.fl-num small { font-family: var(--sans); font-size: .62rem; letter-spacing: .08em; color: var(--muted); margin-right: 6px; vertical-align: middle; text-transform: uppercase; }
.fl-info { font-size: .85rem; color: var(--muted); }
.fl-count { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--accent); white-space: nowrap; }
.fl-count.none { color: var(--muted); font-weight: 400; }

.project-about { background: var(--bg-2); }
.lifestyle-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; align-items: center; }
.ls-img { margin: 0; overflow: hidden; border-radius: var(--radius); }
.ls-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ls-img:hover img { transform: scale(1.04); }
.ls-img-a { grid-column: 1 / 6; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.ls-text { grid-column: 7 / 13; grid-row: 1; padding: 20px 0; }
.ls-img-b { grid-column: 7 / 10; grid-row: 2; aspect-ratio: 3 / 4; }
.ls-img-c { grid-column: 10 / 13; grid-row: 2; aspect-ratio: 3 / 4; }
.ls-text h2 { font-family: "Cormorant Garamond", serif; }
.ls-text p { color: var(--ink-2); max-width: 540px; }
.ls-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ls-points li { display: flex; gap: 16px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; color: var(--ink-2); }
.ls-points span { font-family: "Cormorant Garamond", "Noto Serif Georgian", serif; font-size: 1.4rem; color: var(--accent); min-width: 120px; }

/* ---------- Floor & apartment pages ---------- */
.page-top { padding: calc(var(--header-h) + 28px) var(--pad) 0; }
.floor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 64px); padding: 8px var(--pad) 80px; align-items: start; }
.floor-plan-wrap { position: relative; }
.plan-frame { position: relative; aspect-ratio: 2394 / 1200; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plan-frame svg, .locator-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-dim { fill: #fbfaf7; fill-opacity: .66; pointer-events: none; }
.apt-shape { fill: var(--accent-2); fill-opacity: .18; stroke: var(--accent); stroke-width: 6; cursor: pointer; transition: fill-opacity .25s var(--ease), stroke-width .25s var(--ease); }
.apt-shape:hover, .apt-shape.hover, .apt-shape:focus { fill-opacity: .42; stroke-width: 10; outline: none; }
.apt-shape.reserved { fill: #e3b85c; stroke: #c48f22; }
.apt-shape.sold { fill: #999; stroke: #777; cursor: default; }
.apt-shape-label { font-family: "Cormorant Garamond", serif; font-size: 64px; font-weight: 600; fill: var(--ink); text-anchor: middle; dominant-baseline: central; pointer-events: none; paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 10px; }
.apt-shape-sub { font-family: var(--sans); font-size: 30px; font-weight: 600; fill: var(--ink-2); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 8px; }
.plan-legend { display: flex; gap: 24px; margin-top: 16px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.plan-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 12px; display: inline-block; border-radius: 2px; }
.lg-avail { background: rgba(201, 164, 108, .45); border: 1.5px solid var(--accent); }
.lg-other { background: #eeebe5; border: 1px solid var(--line); }
.floor-side .eyebrow { margin-bottom: 18px; }
.floor-stepper { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.floor-badge { display: inline-flex; align-items: baseline; gap: 10px; border: 1px solid var(--ink); border-radius: 999px; padding: 10px 26px; }
.floor-badge small { font-size: .7rem; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.floor-badge strong { font-family: "Cormorant Garamond", serif; font-size: 2rem; line-height: 1; font-weight: 600; }
.floor-badge > span { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; color: var(--muted); }
.stepper-btns { display: grid; gap: 2px; }
.stepper-btns button { width: 34px; height: 24px; border: 1px solid var(--line); border-radius: 4px; font-size: 1rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.stepper-btns button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.stepper-btns button:disabled { opacity: .3; cursor: default; }
.floor-apts { display: grid; gap: 12px; margin: 22px 0 28px; }
.floor-apt { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.floor-apt:hover, .floor-apt.hover { border-color: var(--accent); background: #fff; transform: translateX(4px); }
.floor-apt img { width: 84px; height: 64px; object-fit: contain; background: #fff; }
.floor-apt h3 { font-size: 1.2rem; margin: 0 0 2px; }
.floor-apt p { margin: 0; font-size: .8rem; color: var(--muted); }
.floor-apt .fa-price { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.15rem; text-align: right; white-space: nowrap; }
.link-back { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); cursor: pointer; }
.link-back:hover { color: var(--ink); }

.apt-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(24px, 5vw, 80px); padding: 8px var(--pad) 40px; align-items: start; }
.view-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 18px; background: var(--bg); }
.view-tabs button { padding: 8px 22px; border-radius: 999px; font-size: .78rem; letter-spacing: .16em; font-weight: 600; color: var(--muted); transition: all .25s var(--ease); }
.view-tabs button.active { background: var(--ink); color: #fff; }
.apt-main-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; padding: clamp(12px, 3vw, 36px); }
.apt-main-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s var(--ease); }
.apt-main-img img.loading { opacity: 0; }
.zoom-hint { position: absolute; right: 14px; bottom: 12px; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 999px; }
.apt-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.apt-thumbs button { aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; transition: border-color .25s; position: relative; }
.apt-thumbs button.active { border-color: var(--ink); }
.apt-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.apt-thumbs span { position: absolute; left: 8px; top: 6px; font-size: .62rem; letter-spacing: .14em; font-weight: 600; color: var(--muted); }
.apt-info { position: sticky; top: calc(var(--header-h) + 20px); }
.apt-title { font-size: clamp(2.4rem, 4.5vw, 3.6rem); margin-bottom: .1em; }
html[lang="ka"] .apt-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.apt-area { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; color: var(--accent); margin-bottom: 24px; }
.apt-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 24px; border-top: 1px solid var(--line); }
.apt-specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.apt-specs div:nth-child(odd) { padding-right: 16px; }
.apt-specs dt { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.apt-specs dd { margin: 0; font-size: 1.02rem; font-weight: 500; }
.apt-price { display: grid; gap: 2px; margin-bottom: 24px; justify-items: start; }
.apt-price small { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.apt-price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.apt-price strong { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; font-weight: 600; line-height: 1.1; }
.apt-price s { color: var(--muted); font-size: 1.05rem; }
.apt-price > span { color: var(--muted); font-size: .9rem; }
.save-pill { margin-top: 8px; background: var(--deal-soft); color: var(--deal) !important; font-weight: 700; font-size: .82rem !important; padding: 6px 12px; border-radius: 999px; }
.apt-ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.apt-locator small { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.locator-frame { position: relative; aspect-ratio: 2394 / 1200; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.locator-frame .apt-shape { fill-opacity: .45; stroke-width: 12; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { fill-opacity: .2; } }
.apt-nav { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin: 0 var(--pad); }
.apt-nav-link { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding: 10px 0; }
.apt-nav-link:hover { color: var(--ink); }
.apt-nav-link.next { margin-left: auto; }
.more-apts { padding-top: 60px; }

/* ---------- Floating buttons ---------- */
.fabs { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab-wa { background: #25d366; }
.fab-cb { background: var(--accent); animation: ring 5s ease-in-out 3s infinite; }
@keyframes ring { 0%, 90%, 100% { transform: rotate(0); } 92% { transform: rotate(-12deg); } 94% { transform: rotate(12deg); } 96% { transform: rotate(-8deg); } 98% { transform: rotate(6deg); } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(15, 14, 12, .6); display: grid; place-items: center; padding: 20px; animation: fadeIn .25s both; overflow-y: auto; }
.modal-card { position: relative; background: #fff; border-radius: 10px; width: min(600px, 100%); padding: clamp(24px, 4vw, 44px); animation: rise .35s var(--ease) both; max-height: calc(100svh - 40px); overflow-y: auto; }
.modal-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .3em; padding-right: 30px; }
.modal-card > .muted { margin-bottom: 22px; }
.modal-close { position: absolute; top: 10px; right: 14px; font-size: 2rem; width: 44px; height: 44px; line-height: 1; color: var(--muted); }
.modal-close:hover { color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(251,250,247,.97); display: grid; place-items: center; padding: 60px 70px; animation: fadeIn .25s both; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lb-close { position: absolute; top: 16px; right: 22px; font-size: 2.4rem; line-height: 1; width: 48px; height: 48px; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; width: 56px; height: 80px; color: var(--ink-2); }
.lb-arrow:hover { color: var(--accent); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: .88rem; opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 120; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.view { animation: fadeIn .4s var(--ease) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .search {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas:
      "type type project project loc loc"
      "beds beds floor floor area area"
      "price price price price cur cur"
      "go go go go go go";
  }
  .sf-submit { flex-direction: row; min-height: 58px; border-radius: var(--radius); font-size: .8rem; }
  .sf-submit .ico { width: 22px; height: 22px; }
  .main-nav { gap: 20px; }
}
@media (max-width: 1080px) {
  .floor-layout, .apt-layout { grid-template-columns: 1fr; }
  .apt-info { position: static; }
  .usp-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .site-header { gap: 14px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); color: var(--ink); padding: 8px var(--pad) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden; transition: all .3s var(--ease);
  }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
  .main-nav a::after { display: none; }
  .nav-cb { display: inline-flex; margin-top: 18px; }
  .menu-open .main-nav { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .site-header.menu-open { background: var(--bg); color: var(--ink); }
  .menu-toggle { display: block; }
  .header-cb { display: none; }
  .lang-switch { margin-left: auto; }
  .logo-text { font-size: 1.05rem; letter-spacing: .26em; }
  .logo-mark { width: 32px; height: 32px; font-size: 1.1rem; }
  .choose-grid { grid-template-columns: 1fr; }
  .lifestyle-grid { grid-template-columns: 1fr 1fr; }
  .ls-text { grid-column: 1 / -1; grid-row: auto; }
  .ls-img-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .ls-img-b { grid-column: 1; grid-row: auto; }
  .ls-img-c { grid-column: 2; grid-row: auto; }
  .contact-grid, .callback-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-card-img { min-height: 260px; }
  .footer-contact { text-align: left; }
}
@media (max-width: 640px) {
  .logo-text { display: none; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero-content { margin-bottom: 24px; }
  .search { grid-template-columns: 1fr 1fr; gap: 8px; grid-template-areas: "type project" "loc beds" "floor area" "price cur" "go go"; }
  .sf-btn, .sf-cur { height: 56px; }
  .sf-btn { padding: 0 12px; gap: 8px; }
  .sf-btn .ico:first-child { width: 18px; height: 18px; }
  .sf-label { font-size: .85rem; }
  .f-project .sf-panel, .f-beds .sf-panel, .f-area .sf-panel { right: 0; left: auto; }
  .f-price .sf-panel { left: 0; right: auto; }
  .sf-range { width: 250px; }
  .usp-grid, .how-steps { grid-template-columns: 1fr; }
  .cb-row { grid-template-columns: 1fr; }
  .floor-list li button { grid-template-columns: 1fr auto; }
  .fl-info { display: none; }
  .apt-grid { grid-template-columns: 1fr; }
  .floor-apt { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .floor-apt img { width: 64px; height: 52px; }
  .apt-ctas .btn { flex: 1 1 auto; }
  .plan-frame .apt-shape-label, .plan-frame .apt-shape-sub { display: none; }
  .plan-frame .apt-shape { stroke-width: 16; fill-opacity: .32; }
  .project-facts div { margin-right: 28px; }
  .lightbox { padding: 60px 12px; }
  .lb-arrow { width: 40px; font-size: 2.4rem; }
  .fabs { right: 14px; bottom: 14px; gap: 10px; }
  .fab { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.active { transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Payment toggle ---------- */
.pay-toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.pay-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pt-track { width: 48px; height: 28px; border-radius: 999px; background: #d6d0c4; position: relative; transition: background .25s; flex-shrink: 0; }
.pt-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.pay-toggle.on .pt-track { background: var(--deal); }
.pay-toggle.on .pt-knob { transform: translateX(20px); }
.pay-toggle input:focus-visible + .pt-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.pt-label { font-size: .86rem; font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.pay-box { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin-bottom: 24px; background: #fff; }
.pay-box .pay-toggle-slot { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.pay-box .apt-price { margin-bottom: 0; }
.apt-price strong { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; font-weight: 600; line-height: 1.1; }
.plan-alt { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.plan-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.plan-info .plan-title { grid-column: 1 / -1; font-weight: 700; margin: 0 0 6px; font-size: .92rem; }
.plan-info div { padding: 8px 0; }
.plan-info dt { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan-info dd { margin: 0; font-weight: 600; }
.plan-info .wide { grid-column: 1 / -1; }

/* ---------- Lifestyle (home) ---------- */
.life { background: var(--bg); }
.life-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1400px; margin: 0 auto; }
.life-text p { color: var(--ink-2); max-width: 460px; margin-bottom: 28px; }
.life-links { display: flex; gap: 10px; flex-wrap: wrap; }
.life-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 200px 200px 200px; gap: 12px; }
.lm { margin: 0; overflow: hidden; border-radius: var(--radius); }
.lm img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lm:hover img { transform: scale(1.05); }
.lm-1 { grid-column: 1 / 4; grid-row: 1 / 3; }
.lm-2 { grid-column: 4 / 7; grid-row: 1 / 2; }
.lm-3 { grid-column: 4 / 7; grid-row: 2 / 4; }
.lm-4 { grid-column: 1 / 3; grid-row: 3 / 4; }
.lm-5 { grid-column: 3 / 4; grid-row: 3 / 4; }

/* ---------- Courtyard (project) ---------- */
.yard { background: var(--bg); }
.yard .section-head { align-items: flex-end; }
.yard-intro { max-width: 520px; color: var(--ink-2); margin: 0; font-size: 1.05rem; }
.yard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1400px; margin: 0 auto; }
.yard-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.yard-card figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.yard-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.yard-card:hover img { transform: scale(1.05); }
.yard-card-body { padding: 20px 22px 24px; }
.yard-num { font-family: "Cormorant Garamond", serif; color: var(--accent); font-size: 1.3rem; }
.yard-card h3 { font-size: 1.45rem; margin: 6px 0 8px; }
html[lang="ka"] .yard-card h3 { font-size: 1.15rem; }
.yard-card p { color: var(--muted); margin: 0; font-size: .94rem; }
.yard-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; }
.yard-card.wide figure { aspect-ratio: auto; min-height: 420px; }
.yard-card.wide img { object-position: center 55%; }
.yard-card.wide .yard-card-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.yard-card.wide h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.yard-card.wide p { font-size: 1.05rem; }
.yard-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; max-width: 1400px; margin: 20px auto 0; padding-bottom: 8px; scrollbar-width: thin; }
.yard-strip figure { flex: 0 0 auto; width: clamp(200px, 22vw, 300px); aspect-ratio: 3 / 4; margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.yard-strip img { width: 100%; height: 100%; object-fit: cover; }
.yard-note { max-width: 1400px; margin: 12px auto 0; font-size: .78rem; color: var(--muted); }

@media (max-width: 1080px) {
  .yard-grid { grid-template-columns: 1fr 1fr; }
  .life-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .yard-grid { grid-template-columns: 1fr; }
  .yard-card.wide { grid-template-columns: 1fr; }
  .yard-card.wide figure { min-height: 260px; }
  .yard-card figure { aspect-ratio: 4 / 3; }
  .life-mosaic { grid-template-rows: 140px 140px 140px; gap: 8px; }
  .plan-info { grid-template-columns: 1fr; }
}

/* ---------- Chat assistant ---------- */
.fab-chat { background: var(--ink); box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 10px 30px rgba(0,0,0,.25); }
body.chat-open .fabs .fab:not(.fab-chat) { opacity: 0; pointer-events: none; transform: scale(.6); }
body.chat-open .fab-chat { background: var(--accent); }
.chat {
  position: fixed; right: 22px; bottom: 92px; z-index: 60; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 130px));
  background: #fff; border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden;
  animation: rise .3s var(--ease) both;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: #fff; }
.chat-head div { flex: 1; min-width: 0; line-height: 1.3; }
.chat-head strong { display: block; font-size: .95rem; font-weight: 600; }
.chat-head small { color: rgba(255,255,255,.65); font-size: .74rem; }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); font-family: "Cormorant Garamond", serif; font-size: 1.2rem; flex-shrink: 0; }
.chat-x { font-size: 1.7rem; line-height: 1; width: 36px; height: 36px; color: rgba(255,255,255,.8); }
.chat-x:hover { color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { display: flex; flex-direction: column; max-width: 88%; animation: rise .25s var(--ease) both; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.bubble { padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.chat-msg.bot .bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.user .bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-actions button { font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--accent); color: #fff; transition: background .2s; }
.chat-actions button:hover { background: var(--accent-dark); }
.chat-actions button[data-act="whatsapp"] { background: #25d366; }
.chat-actions button[data-act="search"], .chat-actions button[data-act="courtyard"] { background: var(--ink); }
.typing .bubble { display: flex; gap: 4px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.chat-quick { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; scrollbar-width: none; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick button { flex-shrink: 0; font-size: .8rem; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; transition: border-color .2s, background .2s; }
.chat-quick button:hover { border-color: var(--ink); background: var(--bg); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.chat-form input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: .92rem; background: var(--bg); color: var(--ink); }
.chat-form input:focus { outline: none; border-color: var(--ink); }
.chat-send { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chat-send:hover { background: var(--accent); }
@media (max-width: 640px) {
  .chat { right: 8px; left: 8px; width: auto; bottom: 76px; height: calc(100svh - 150px); }
}

/* ---------- Cookie consent ---------- */
.cookie-bar {
  position: fixed; left: 22px; bottom: 22px; z-index: 70; width: min(460px, calc(100vw - 110px));
  background: var(--ink); color: #fff; border-radius: 10px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3);
  display: grid; gap: 12px; animation: rise .4s var(--ease) both;
}
.cookie-bar p { margin: 0; font-size: .86rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.cookie-bar div { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-bar button { font-size: .8rem; font-weight: 600; padding: 9px 18px; border-radius: 999px; }
.ck-yes { background: var(--accent); color: #fff; }
.ck-yes:hover { background: var(--accent-dark); }
.ck-no { color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.3); }
.ck-no:hover { color: #fff; border-color: #fff; }
.ck-settings { font-size: inherit; color: var(--muted); text-decoration: underline; }
.ck-settings:hover { color: var(--ink); }
@media (max-width: 640px) {
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; width: auto; }
}

/* ---------- About (home) ---------- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1400px; margin: 0 auto; }
.about-story h2 { margin-bottom: .6em; }
.about-story p { color: var(--ink-2); max-width: 560px; font-size: 1.02rem; }
.about-story .about-lead { font-size: 1.15rem; color: var(--ink); }
.about-stats { display: grid; grid-template-columns: auto auto auto; justify-content: start; gap: 0 40px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.about-stats div { min-width: 0; }
.about-stats strong { display: block; font-family: "Cormorant Garamond", "Noto Serif Georgian", serif; font-size: 2.4rem; font-weight: 500; line-height: 1.1; color: var(--accent); }
.about-stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.about-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-proj { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: #fff; }
.about-proj:nth-child(2) { transform: translateY(48px); }
.about-proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-proj:hover img { transform: scale(1.05); }
.about-proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,9,8,.75)); }
.about-proj span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-family: "Cormorant Garamond", serif; font-size: 1.45rem; line-height: 1.15; }
.about-proj small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 1400px; margin: clamp(72px, 8vw, 110px) auto 0; }
.about-point { background: var(--bg); padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.about-point:first-child { background: var(--ink); color: #fff; }
.about-point:first-child p { color: rgba(255,255,255,.72); }
.about-point:first-child .usp-ico { background: var(--accent); }
.about-point:first-child .usp-ico svg { stroke: #fff; }
.about-point .usp-ico { flex-shrink: 0; }
.about-point h3 { font-size: 1.35rem; margin: 4px 0 6px; }
html[lang="ka"] .about-point h3 { font-size: 1.1rem; }
.about-point p { margin: 0; color: var(--muted); }
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-proj:nth-child(2) { transform: none; }
  .about-points { margin-top: 48px; }
}
@media (max-width: 640px) {
  .about-points { grid-template-columns: 1fr; }
  .about-stats { gap: 0 22px; }
  .about-stats strong { font-size: 1.7rem; }
}

/* ---------- Customer accounts ---------- */
.head-account { font-size: .74rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.head-account::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.head-account:hover { color: var(--accent-2); }
.nav-account { display: none; }
#view-account { min-height: 70vh; }
.acc-wrap { max-width: 1100px; margin: 0 auto; padding: calc(var(--header-h) + 36px) var(--pad) 80px; }
.acc-wrap.narrow { max-width: 640px; }
.acc-auth { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: start; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3.5vw, 36px); margin-bottom: 22px; }
.acc-card h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.acc-card h2 { font-size: 1.45rem; margin-bottom: .4em; }
.acc-card h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; font-weight: 700; }
.acc-why { background: var(--ink); color: #fff; border-radius: 10px; padding: 28px; }
.acc-why h3 { font-size: 1.3rem; margin-bottom: 14px; }
.acc-why ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.acc-why li { padding-left: 26px; position: relative; color: rgba(255,255,255,.85); font-size: .95rem; }
.acc-why li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.acc-links { margin: 0; font-size: .9rem; color: var(--muted); }
.acc-links a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }
.hint { font-size: .8rem; color: var(--muted); margin: -8px 0 0; }
.form-err { background: #fbece8; color: #9c3a28; border-radius: 6px; padding: 10px 14px; margin: 0; font-size: .9rem; }
.form-err.ok, .acc-ok { background: var(--deal-soft); color: var(--deal); border-radius: 6px; padding: 12px 14px; margin: 0; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.acc-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; }
.acc-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.fld-static { display: grid; gap: 4px; margin: 0; }
.fld-static span { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.acc-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-inline input { flex: 1; min-width: 200px; height: 48px; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; font: inherit; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; background: var(--bg); }
.acc-inline .form-err { flex-basis: 100%; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.acc-head h1 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.acc-head-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.acc-head-actions .btn { min-height: 42px; padding: 0 18px; }
.acc-sale-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.acc-sale-head h2 { margin: 0 0 4px; }
.acc-sale-head a { color: var(--accent-dark); text-decoration: underline; }
.acc-closed { background: var(--bg-2); border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.acc-stats small, .acc-next small { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.acc-stats strong { font-family: "Cormorant Garamond", serif; font-size: 1.9rem; font-weight: 600; line-height: 1.15; }
.acc-stats .good, .good { color: var(--deal); }
.bad { color: #b4332b; }
.acc-bar { height: 10px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin: 14px 0; }
.acc-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--deal), #4fae7a); border-radius: 99px; transition: width .8s var(--ease); }
.acc-next { margin: 0 0 8px; font-size: 1.05rem; }
.acc-rating { border-radius: 10px; padding: 18px; border: 1.5px solid; }
.acc-rating.z-green { border-color: #9fd3b4; background: #f2faf5; }
.acc-rating.z-red { border-color: #ecb5aa; background: #fdf4f2; }
.acc-rating-top { display: flex; gap: 14px; align-items: center; }
.acc-rating-top small { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.acc-rating-top strong { display: block; font-size: 1.15rem; }
.acc-rating-top span { font-size: .88rem; color: var(--ink-2); }
.acc-grade { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; color: #fff; font: 800 1.9rem/1 var(--sans); flex-shrink: 0; }
.r-A { background: #1f7a4d; } .r-B { background: #4f9a5c; } .r-C { background: #d29a2c; } .r-D { background: #d0663a; } .r-E { background: #b4332b; }
.acc-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 14px 0 10px; }
.acc-scale span { height: 26px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; opacity: .3; }
.acc-scale span.on { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor; transform: scaleY(1.1); }
.acc-bonus { font-size: .9rem; margin: 0 0 6px; color: var(--ink-2); }
.acc-bonus.good { color: var(--deal); font-weight: 600; }
.acc-rules-btn { padding: 4px 0; font-size: .74rem; }
.acc-rules { font-size: .82rem; color: var(--ink-2); margin: 6px 0 0; }
.acc-table { overflow-x: auto; }
.acc-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.acc-table th { text-align: left; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 700; }
.acc-table td { padding: 10px; border-bottom: 1px solid #f0ece4; vertical-align: top; }
.acc-table .num { text-align: right; white-space: nowrap; }
.acc-table tr.st-paid td { color: var(--muted); }
.acc-table tr.st-overdue td { background: #fdf4f2; }
.acc-table .btn-text { padding: 0; color: var(--accent-dark); font-weight: 700; text-decoration: underline; letter-spacing: .04em; }
.acc-st { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.acc-st.st-paid { background: var(--deal-soft); color: var(--deal); }
.acc-st.st-partial { background: #f7eedb; color: #8a6414; }
.acc-st.st-due { background: #e8eef7; color: #2b4f7e; }
.acc-st.st-overdue { background: #fbece8; color: #b4332b; }
.ext { color: #2b4f7e; font-weight: 600; }
.acc-reqs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.acc-reqs li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 12px; background: var(--bg); border-radius: 6px; font-size: .9rem; }
.acc-reqs small { flex-basis: 100%; }
.acc-req { font-weight: 700; font-size: .78rem; }
.acc-req.st-pending { color: #8a6414; } .acc-req.st-approved, .acc-req.st-refunded { color: var(--deal); } .acc-req.st-declined { color: #b4332b; }
.acc-exit { margin-top: 24px; padding-top: 14px; border-top: 1px dashed var(--line); text-align: right; }
.acc-exit .btn-text { color: var(--muted); text-decoration: underline; }
.acc-newdate { font-weight: 700; margin: 0; }
.crumb-back a { color: var(--muted); font-size: .85rem; }
@media (max-width: 980px) {
  .head-account { display: none; }
  .nav-account { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .8rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 600; }
  .acc-auth, .acc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .acc-stats { grid-template-columns: 1fr 1fr; }
  .acc-stats div:first-child { grid-column: 1 / -1; }
  .acc-table th:nth-child(5), .acc-table td:nth-child(5) { padding-left: 4px; }
}

.acc-sale-closed { opacity: .75; }
.acc-sale-closed h2 { font-size: 1.2rem; }
